• Correct Ts Specifiers

    This package transforms import specifiers in source-code from the broken state TypeScript's compiler (tsc) required (prior TypeScript v5.7 RC) into proper ones. This is useful when source-code is processed by standards-compliant software like Node.js. This is a one-and-done process, and the updated source-code should be committed to your version control (ex git); thereafter, source-code import statements should be authored compliant with the ECMAScript (JavaScript) standard.

  • React 17 Default Props To Params

    Example

    This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.

  • 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.

  • Webpack To Rspack/Remove File Loader To Type Asset Resource

    Rspack implements Webpack 5's Asset Modules, using asset modules to replace file-loader to 'asset/resource' for better performance.

  • React Router/7/Errorfirst Mutation Reorder

    This transformation restructures action functions to perform error checking before data mutations. This change aligns with the new behavior in v7 where loaders no longer revalidate by default after an action throws or returns a Response with a 4xx/5xx status code.

  • Three/R168/Logluvloader To UltraHDRLoader

    This codemod removes LogLuvLoader, and replaces it with UltraHDRLoader

  • Remix/Single Fetch/New Response To Response

    This codemod removes new Response() calls in actions and loaders and replaces them with mutations to the new response arg from Single Fetch.