morph_cli/recipes/mod.rs
1pub mod commonjs_to_esm;
2pub mod express_to_fastify;
3pub mod js_to_ts;
4pub mod react_class_to_hooks;
5
6use crate::core::registry::RecipeRegistry;
7
8pub fn register_all(registry: &mut RecipeRegistry) {
9 registry.register(commonjs_to_esm::CommonJsToEsmRecipe);
10 registry.register(express_to_fastify::ExpressToFastifyRecipe::new());
11 registry.register(js_to_ts::JsToTsRecipe::conservative());
12 registry.register(react_class_to_hooks::ReactClassToHooksRecipe);
13}