The Reach JS RPC client. This repo exists only for convenience when interacting with npm. See https://github.com/reach-sh/reach-lang for source.
Disclaimer: the instructions below are Dan's best guess based on limited experience with npm so far. Please update as necessary.
Prerequisites:
- You have checked out reach-sh/reach-lang in a sibling directory to this directory. (read: it's at ../reach-lang)
make refresh
This creates a commit referencing the reach-lang hash it came from. The one found in the docker image.
Manually inspect the displayed package.json diff. This is not automatically committed; bring in changes manually as needed. (Only the version line is expected to differ.)
This is probably the thing you should do 99% of the time, until we come up with a more principled version release policy.
RC releases precede the corresponding patch/minor/major release.
Prerequisites:
- npm is installed locally
- You are logged in to npm via
npm login
make bump-version-and-publish
npm version patch
npm publish --access public
git push
# start rc series for next patch/minor/major bump
# (pick one)
npm version prepatch --preid=rc
npm version preminor --preid=rc
npm version premajor --preid=rc