• Editor State

    This codemod migrates from using useContext(EditorContext) to the new useSlate() hook in Slate. It transforms the editor state management approach and adds new state hooks.

  • Cursor Selection Handling

    This codemod shows how to migrate cursor and selection handling from Slate v0.88 to v0.104, including the Preventing runtime errors from null selections.

  • Deno Replace Import Assertions

    This codemod helps migrate JavaScript/TypeScript files from using the deprecated import assertions syntax to the updated import attributes syntax. The change aligns with the updated proposal for import attributes and ensures compatibility with newer versions of runtimes like Deno 2 and modern browsers that have already removed support for import assertions.

  • Flatten Deno.Json

    This codemod helps developers migrate their deno.json configuration files to the new flattened schema format, making them easier to read and write. It automates the transformation of nested properties to their new top-level structure as outlined in recent Deno updates.

  • React Router/6/UseHistory To UseNavigate

    This codemod migrates useHistory to useNavigate in React Router codebases. It replaces useHistory imports and updates all instances of history.push, history.replace, go, goBack, and goForward to align with the useNavigate API.

  • React Router/6/Migrate StaticRouter Import

    This codemod updates imports of StaticRouter to use the react-router-dom/server package instead of react-router-dom, in line with updated React Router requirements.

  • Webpack To Rspack/Migrate Terser Plugin

    Change import and usage of from TerserPlugin to use included rspack.SwcJsMinimizerRspackPlugin.

    Before

  • Webpack To Rspack/Migrate Html Plugin

    Change import and usage of from html-webpack-tags-plugin to use includedhtml-rspack-tags-plugin.

  • Webpack To Rspack/Migrate Manifest Plugin

    Change import from webpack-manifest-plugin torspack-manifest-plugin.

  • Webpack To Rspack/Migration Recipe

    This recipe is a set of codemods that will help migrate from webpack to rspack.

  • Webpack To Rspack/Migrate Update Babel Loader To Swc Loader

    Using builtin:swc-loader offers better performance compared to the babel-loader and the external swc-loader, as it avoids frequent communication between JavaScript and Rust.

  • Reka Ui/Migration Recipe

    This recipe is a set of codemods that will help migrate to Style Dictionary 4.

  • Jasmine/V5/Migration Recipe

    This recipe is a set of codemods that will help migrate to jasmine v5 from jasmine 4.x .

  • Jasmine/V5/Handling Env Execute Callbacks

    This codemod migrates Env.execute callbacks to await.

  • Webpack/V5/Migration Recipe

    This recipe is a set of codemods that will help migrate webpack v4 to v5.

  • Svelte/5/Migration Recipe

    This recipe is a set of codemods that will help migrate to Svelte 5.

  • Webpack/V5/Set Target To False And Update Plugins

    This codemod migrates the target property in Webpack configurations from a function to false and moves the function to the plugins array.

  • Set Target To False And Update Plugins

    This codemod migrates the target property in Webpack configurations from a function to false and moves the function to the plugins array.

  • Webpack/V5/Json Imports To Default Imports

    This codemod migrates imports from JSON modules that use named exports to use default exports instead.

  • Three/R168/Migration Recipe

    This recipe is a set of codemods that will help migrate to three r168 from three r167 .