Tools used to manage monorepo tasks like pre-commit hooks and npm releases.
The release script (run from the monorepo root) must be used to create and
publish releases. All releases must follow semver versioning standards, e.g.,
0.20.1.
Checkout a release branch from latest main:
git checkout main
git pull origin main
git checkout -b release/<version>You can perform a dry run by only specifying the new version for a release:
npm run release -- --pkg-version <version>Modify the CHANGELOG.md with new changes. Then commit the release:
npm run release -- --pkg-version <version> --commitPush the branch up for review:
git push origin release/<version>Once the branch has been merged, update main and the git-tag.
git checkout main
git pull origin main
git tag -am <version> "<version>"
git push --tags origin mainTo publish the release:
npm run release -- --pkg-version <version> --publish --otp 123456