react-router-v6-codemods

0.6.0 • Public • Published

react-router-v6-codemods

Build and Deploy npm version

A collection of codemods for react-router for upgrading to v6.

Usage

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

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

# or

yarn global add react-router-v6-codemods
react-router-v6-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

Package Sidebar

Install

npm i react-router-v6-codemods

Weekly Downloads

13

Version

0.6.0

License

MIT

Unpacked Size

54.7 kB

Total Files

96

Last publish

Collaborators

  • rajasegar