1.3 KiB
1.3 KiB
Release policy
This monorepo is released through Git tags. We do not use Changesets or npm publish.
Principles
- Every release points to a commit where the package
dist/is already built and committed. - Tags are package-specific, so each package can be released independently.
- Consumers install by tag using Git SSH URLs.
Tag format
tach-typography-vX.Y.Zvideo-player-vX.Y.Zcontent-suggestions-vX.Y.Z
X.Y.Z must match the version in the package's package.json.
Release checklist (single package)
- Update package version in
packages/<package>/package.json. - Build package:
yarn workspace @hublib-web/<package> build
- Verify that
dist/andpackage.jsoncontain the release changes. - Commit release files:
git add packages/<package>/package.json packages/<package>/dist
git commit -m "release(<package>): vX.Y.Z"
- Create annotated tag:
git tag -a <package>-vX.Y.Z -m "@hublib-web/<package> vX.Y.Z"
- Push commit and tags:
git push origin main --follow-tags
Multi-package release
If one commit releases several packages, create one tag per package on the same commit.
Consumer installation
Use the package-specific tag in dependency spec. See git-installation.md.