Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 767 Bytes

File metadata and controls

42 lines (25 loc) · 767 Bytes

Reselect Codemods

A collection of codemods for updating legacy Reselect API usage patterns to modern patterns.

Usage

To run a specific codemod from this project, you would run the following:

npx reselect-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add reselect-codemods
reselect-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Local Usage

node ./bin/cli.mjs <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test