https://github.com/fakenickels/reasonable-codemod
Trying out some ideas for codemods
https://github.com/fakenickels/reasonable-codemod
Last synced: 7 months ago
JSON representation
Trying out some ideas for codemods
- Host: GitHub
- URL: https://github.com/fakenickels/reasonable-codemod
- Owner: fakenickels
- License: mit
- Created: 2020-11-15T11:49:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T17:25:56.000Z (almost 5 years ago)
- Last Synced: 2025-06-15T23:57:04.334Z (7 months ago)
- Language: Reason
- Size: 411 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
- awesome-list - reasonable-codemod
README
# Reasonable Codemod
[Follow up my blog for updates!](https://blog.fakenickels.dev)
Upgrade from `bs-react-native-jsx3-compat` to `reason-react-native`.
### todo
- [x] Style
- [x] Linking
- [ ] Keyboard
- [ ] Animated
- [ ] Image
- [ ] Packager
- [ ] Dimension
- [ ] Alert
- [ ] FlatList
### readme yet to be updated
## Installation
```console
$ esy add reasonable-codemod
```
## Usage
```
ls **/*.re | esy x codemod
```
[WIP]
# Structure
`Codemod.re` file contains the main refactor logic. My idea is that after you'll only need to care about modifying that file and leave the rest of the boilerplate untouched.