-
Notifications
You must be signed in to change notification settings - Fork 62
Publish Flow
Ido Rosenthal edited this page Mar 21, 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:
- pull latest master
- 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 tag <NEW VERSION>
(e.g.v4.10.0
) git push; git push --tags