Skip to content

Publish Flow

Avi Vahl edited this page Mar 26, 2022 · 11 revisions

Currently due to npm not updating package-lock.json files for local monorepo package, we perform a manually controlled release.

Steps to perform at repository root:

  1. pull latest master
  2. clean, build and test the repository before release as always
  3. npx lerna version <patch|minor|major> --force-publish --no-push --no-git-tag-version
  4. git clean -fdx (important to remove all node_modules)
  5. rm package-lock.json
  6. npm i (will regenerate the package-lock)
  7. commit <NEW VERSION> (e.g. v4.10.0)
  8. git tag <NEW VERSION> (e.g. v4.10.0)
  9. git push && git push --tags
Clone this wiki locally