0.1.1 • Published 1 year ago

react-router-v4-codemods v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-router-v4-codemods

Build and Deploy npm version

A collection of codemods for migrating to react-router v4.

Usage

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

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

# or

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

Local Usage

node ./bin/cli.js <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

Update Documentation

  • yarn update-docs
0.1.1

1 year ago

0.1.0

1 year ago