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
  3. git clean -fdx (removes all node_modules)
  4. rm -rf package-lock.json
  5. npm i (will regenerate the package-lock)
  6. commit fix: bump package-lock versions
  7. git push; git push --tags
Clone this wiki locally