• @Nodejs/Correct Ts Specifiers

    This package transforms import specifiers from the old tsc (TypeScript's compiler) requirement of using .js file extensions in source-code to import files that are actually typescript; the corrected specifiers enable source-code to be runnable by standards-compliant software like Node.js.

    by@nodejs
  • Correct Ts Specifiers

    This package transforms import specifiers from the old tsc (TypeScript's compiler) requirement of using .js file extensions in source-code to import files that are actually typescript; the corrected specifiers enable source-code to be runnable by standards-compliant software like Node.js.

    by@jakobjingleheimer
  • Goto To Location Href

    Codemod Description

    This codemod is designed to replace specific patterns in TypeScript files with updated code logic. It transforms instances of goto($A) into window.location.href = $A; when the $A value is a URL starting with http:// or https://. This refactor makes external navigation more explicit by using window.location.href.

    by@priyanshuthapliyal2005
  • Dynamic To Static Env Transformer

    This codemod transforms import {$A} from '$env/dynamic/public'; and import {$A} from '$env/dynamic/private'; into their static counterparts, replacing them with import {$A} from '$env/static/public'; and import {$A} from '$env/static/private';, respectively. It ensures compatibility for prerendered pages and static deployments.

    by@priyanshuthapliyal2005
  • Replace Throw With Error Call

    This codemod simplifies error handling and redirects in your TypeScript project by replacing throw error() and throw redirect() statements with direct calls to error() and redirect(). This change aligns with modern practices and results in cleaner, more readable code.

    by@priyanshuthapliyal2005
  • React Router/6/Update Relative Links

    This codemod modernizes Route and Link components in React Router by:

    1. Removing the deprecated exact prop from Route.
    2. Updating Route to use the element prop.
    3. Rewriting dynamic Link and Route paths that use template literals like ${match.url} and ${match.path}.
    by@manishjha-04
  • Webpack To Rspack/Migration Recipe

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

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

  • Fastify/5/MigrationRecipe

    This recipe provides a set of codemods designed to assist with migrating to Fastify 5. Each codemod addresses specific changes and enhancements introduced in Fastify 5.

    by@manishjha-04
  • Fastify/5/Replace Hardcoded Url In Hasroute

    This codemod highlights the shift in how routes with dynamic parameters should be referenced in fastify.hasRoute in Fastify v5.

    by@manishjha-04
  • Meteor/V3/Add Await To Async Webapp Methods

    Below are some webapp methods which are now async, thats why added await

    by@yugal41735
  • Ethers/6/Utilities

    This codemod does tranformation based on changes in the utils in ethers.js

    by@yugal41735
  • Ethers/6/Providers

    In addition to all the ethers.providers.* being moved to ethers.*, the biggest change developers need to keep in mind is that Web3Provider (which historically was used to wrap link-web3 providers) is now called BrowserProvider which is designed to wrap EIP-1193 providers, which is the standard that both modern Web3.js and injected providers offer.

    by@yugal41735
  • Fastify/4/Migration Recipe

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

    by@arshcodemod
  • Fastify/4/Url Params Optional

    This codemod declares the optional parameters explicitly.

    by@arshcodemod
  • Msw/2/Upgrade Recipe

    This recipe is a set of codemods that will upgrade your project from using msw v1 to v2.

    by@alexbit-codemod
  • Msw/2/Type Args

    There is a change to generic type interface of rest.method() calls. This codemod puts the generic arguments in the correct order to keep type safety.

    by@codemod
  • Msw/2/Request Changes

    Following the original msw upgrade guide, the signature of the request handler have changed. Some of the parameters have changed their type, some widely used objects are available directly on the callback argument object for convenience. Following changes are applied by this codemod:

    by@codemod
  • Msw/2/Callback Signature

    Following the original msw upgrade guide, the signature of the request handler have changed. This codemod hard replaces the callback signature to the new one and cleans up unused variables.

    by@codemod