https://github.com/jrestall/react-router-codemods
Codemods to help upgrade Remix to React Router v7
https://github.com/jrestall/react-router-codemods
codemod react-router remix
Last synced: about 1 year ago
JSON representation
Codemods to help upgrade Remix to React Router v7
- Host: GitHub
- URL: https://github.com/jrestall/react-router-codemods
- Owner: jrestall
- License: mit
- Created: 2024-11-09T13:30:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T09:35:43.000Z (over 1 year ago)
- Last Synced: 2025-02-19T08:13:44.421Z (over 1 year ago)
- Topics: codemod, react-router, remix
- Language: TypeScript
- Homepage: https://codemod.com/registry/remix-2-react-router-upgrade
- Size: 158 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-router-codemods
This repo provides codemods for migrating from Remix to React Router v7.
See the README at [remix-to-react-router/README.md](./packages/remix-to-react-router/README.md) for details.
## Example
Please see the commit [here](https://github.com/jrestall/epic-stack/commit/3fac92aed4c4a987b5b00e33257d3a3d9bc61372) that uses the `epic-stack` as an example of the changes the codemod `remix/2/react-router/upgrade` will make.
## Running
1. Install Codemod: https://docs.codemod.com/deploying-codemods/cli#installation
2. Run `codemod remix/2/react-router/upgrade` on the path you want to modify.
## Publishing
```bash
cd packages/remix-to-react-router
codemod login
codemod publish
```
## License
This project is licensed under the [MIT License](LICENSE).