This is just Reason repacked into a binary for easy use with BuckleScript/ReScript.
The goal is to have an always up-to-date distribution of Reason as BuckleScript/ReScript ships with an outdated version.
Run this in your project:
$ npm install -D reason-repacked
Then in bsconfig.json
change or add a refmt
field as follows:
{
"refmt": "./node_modules/.bin/refmt"
}
Enjoy your let binding operators! ❤️
Follow these instructions to create a new ml/refmt_main3.ml
and ml/refmt_main3.mli
files and make a PR with them! Making an npm
release is as simple as creating a new tag that starts with a v
thanks to GitHub actions AND THE POWER OF AUTOMATION!
All the Reason code remains fully copyrighted to Facebook under MIT. My contribution here is only the continuos deployment in .github
folder.