Use case
Framework
Owner
ChakraUI/V3/Remove Theme Tools
Theme tools has been removed, so this codemod transforms it, to use CSS color mix.
I18n/23/Remove Options
Modification of the InterpolationOptions type. In version 23.0.0, the ns property within InterpolationOptions is now constrained to be of type Namespace instead of being a string or a readonly string[]. This change requires you to adjust your code accordingly.
Array To Set Conversion
A codemod which makes the array search operation more optimal and efficient, by converting the array into a set and executing the set's has method to find the desired element.
Minimatch To Named Imports
Example
This codemod turns default import statements for minimatch to named imports.
React Router/7/Update Imports
In v7 the react-router and react-router-dom packages are combined so this codemod import everything directly from "react-router" except for the RouterProvider exception.
Unwrap Wait For When It Has Find By
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
Replace Get By With Find My
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
Webpack To Rspack/Copywebpackplugin Community To Included Plugin
Handles the migration of the CopyWebpackPlugin web pack plug into an included plugin in rspack.
Webpack To Rspack/Migration Recipe
This recipe is a set of codemods that will help migrate from webpack to rspack.
Webpack To Rspack/Remove Tsconfigpathsplugin Paths Plugin
Handles the migration of the TsconfigPathsPlugin web pack plug into an included plugin in rspack.
Webpack To Rspack/Remove Raw Loader To Type Asset Source
Rspack implements Webpack 5's Asset Modules, using asset modules to replace raw-loader to 'asset/source' for better performance.
Webpack To Rspack/Remove Url Loader To Type Asset Inline
Rspack implements Webpack 5's Asset Modules, using asset modules to replace url-loader to 'asset/inline' for better performance.
React Router/7/Migration Recipe
This codemods designed to facilitate the migration of your project from React Router to version 7. Each codemod targets specific changes and improvements introduced in React Router v7, ensuring a smoother transition.
Styledictionary/4/Hook Api Filters
This codemod updates registered filters to be placed inside the
hooks.filters
property, instead offilter
. Note the shift from the singular to the plural form in this update.Styledictionary/4/Logging
This codemod updates the logging system to be more configurable, as detailed in the Logging docs. You can now customize the verbosity of logs and silence warnings and success logs, in addition to the previous option of setting
log: 'error'
to change the default behavior to throw warnings as errors.Styledictionary/4/Hook Api Transform Groups
This codemod updates registered transform groups to be placed inside the
hooks.transformGroups
property, instead oftransformGroup
, with a shift from the singular to the plural form.Styledictionary/4/Hook Api Transform
This codemod updates registered transforms to be placed inside the
hooks.transforms
property, instead oftransform
, with a shift from the singular to the plural form. Additionally, the name of the filter function has been changed frommatcher
tofilter
for consistency.Styledictionary/4/Hook Api Preprocessors
This codemod updates registered preprocessors to be placed inside the
hooks.preprocessors
property, instead ofpreprocessor
, with a shift from the singular to the plural form. Registered preprocessors now apply globally without requiring explicit application in the config.Styledictionary/4/Hook Api Parsers
This codemod updates registered parsers to be placed inside the
hooks.parsers
property, instead ofparser
, with a shift from the singular to the plural form. Registered parsers now apply globally without needing explicit application in the config. Additionally, theparse
function has been renamed toparser
for consistency.Styledictionary/4/Hook Api File Header
This codemod updates registered file headers to be placed inside the
hooks.fileHeaders
property, instead offileHeader
. Note the shift from the singular to the plural form in this update.