This repository uses Changesets to version and publish workspace packages.
- pnpm installed (see
package.json'spackageManagerfield) - You are logged in to npm and allowed to publish
@calimero-network/*packages- Run
npm whoamito verify - If your npm account has 2FA, be ready to enter an OTP (or use an automation token)
- Run
- Interactive (recommended):
pnpm changeset-
Select packages to release
-
Choose bump type (patch/minor/major)
-
Enter a short summary
-
Non-interactive (advanced): add a Markdown file under
.changeset/with frontmatter like:
---
"@calimero-network/mero-ui": patch
"@calimero-network/mero-icons": patch
---
Your summary here.
pnpm changeset versionThis updates package versions and writes CHANGELOG entries. Commit the result if not auto-committed.
pnpm -w buildEnsure all packages compile and produce artifacts in dist/.
pnpm changeset publish- If prompted for an OTP, enter the code from your authenticator
- For CI or non-interactive publishing, use an npm automation token with 2FA = automation
git push origin HEAD:main --follow-tags- Base branch is
main(configured in.changeset/config.json) - The Storybook app is named
@calimero-network/storybook-appand is ignored by Changesets - Node 20 LTS is pinned via
enginesand.nvmrcto avoid known pnpm/Node 22 registry issues - If publish fails on OTP in CI, prefer using an npm automation token, or run the publish step locally