/codemods

A collection of codemods

Primary LanguageTypeScript

codemods

A collection of codemods

Run these using the Codemod CLI

npm i -g codemod
codemod remix/single-fetch/enable-flag

Local usage

Clone the repository and open one of the codemod folders.

  • npm install
  • npm build
  • Copy the codemod directory path

And then in the project where you want to apply the codemod, in a clean git branch so you can easily revert the changes, run the following:

codemod --source=<codemod-directory-path>