Skip to content

Publish Flow

Tom Raviv edited this page Jan 4, 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. clean, build and test the repo before release as always
  2. npx lerna version <patch|minor|major> --force-publish --no-push --no-git-tag-version
  3. git clean -fdx (important to remove all node_modules)
  4. rm -rf package-lock.json
  5. npm i (will regenerate the package-lock)
  6. commit <NEW VERSION> (e.g. v4.10.0)
  7. git tag <NEW VERSION> (e.g. v4.10.0)
  8. git push; git push --tags
Clone this wiki locally