-
Notifications
You must be signed in to change notification settings - Fork 62
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:
- clean, build and test the repo before release as always
npx lerna version <patch|minor|major> --force-publish --no-push --no-git-tag-version
-
git clean -fdx
(important to remove allnode_modules
) rm -rf package-lock.json
-
npm i
(will regenerate the package-lock) - commit
<NEW VERSION>
(e.g.v4.10.0
) git push; git push --tags