Skip to content

Publishing

Simon Warta edited this page Nov 11, 2019 · 8 revisions

This is for maintainers of IOV-Core only.

How to publish to npm

  1. Login using npm login
  2. Run git clean -xdf && yarn install && yarn build
  3. Run ./scripts/add_nonce.sh && git add packages/ && git commit -m "Add nonce"
  4. Run ./node_modules/.bin/lerna publish or for pre-releases run ./node_modules/.bin/lerna publish --dist-tag next and select a pre-release version

Remove npm tag

When no current pre-release exists, the next tag should be deleted:

$ ./node_modules/.bin/lerna exec --no-private -- npm dist-tag rm "\$LERNA_PACKAGE_NAME" next
Clone this wiki locally