Is it possible to build codemods?

I would like to experiment by building codemods for personal use. Is this possible?

bsc -format MyFile.re > MyFile.res

This will work for any codebase. We’d release a more elaborate codemod script (which essentially defers to this) but there’s no reason to wait.

Edit: oh you meant a codemod for refactoring some functions etc. It’s possible, but currently the infra isn’t ready for that yet; most of those have been one-off. Like the ReasonReact codemods we’ve done before, etc.

3 Likes

Oh ok! well looking forward to it :slight_smile:
I enjoy playing with code mods from time to time