Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.39 KB

HOWTO.md

File metadata and controls

55 lines (37 loc) · 1.39 KB

js-rpc-client

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.

How to update files

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.)

How to bump rc version and publish

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

How to publish patch version from current rc series

npm version patch
npm publish --access public
git push

Other such npm nonsense

# 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