Use case
Framework
Owner
React Router/6/UseHistory To UseNavigate
This codemod migrates
useHistory
touseNavigate
in React Router codebases. It replacesuseHistory
imports and updates all instances ofhistory.push
,history.replace
,go
,goBack
, andgoForward
to align with theuseNavigate
API.React Router/6/Migrate StaticRouter Import
This codemod updates imports of
StaticRouter
to use thereact-router-dom/server
package instead ofreact-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 tofalse
and moves the function to theplugins
array.Set Target To False And Update Plugins
This codemod migrates the
target
property in Webpack configurations from a function tofalse
and moves the function to theplugins
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 .
Webpack/V5/Migrate Library Target To Library Object
This codemod migrates the
output.library
andoutput.libraryTarget
properties in Webpack configurations to the new format required by Webpack 5. It changesoutput.library
tooutput.library.name
andoutput.libraryTarget
tooutput.library.type
.Remix Js/V2/Migration Recipe
This recipe is a set of codemods that will help migrate to Remix.js v2.
Meteor/V3/Migration Recipe
This recipe is a set of codemods that will help migrate to meteor v3 from meteor 2.x .
Remix Js/V2/Webpack V2 Migrate Dev Server Port
In your remix.config.js, rename devServerPort to future.v2_dev.port.