Release process¶
Latkit uses Changesets for versioning and GitHub Actions for publishing. This page is for maintainers preparing a release candidate.
Make the code or documentation change.
Add a changeset with
pnpm changeset.Merge the change to
main.The release workflow opens or updates a version PR.
Merge the version PR to publish changed packages to npm.
The release workflow uses npm Trusted Publishing. Package publishing is tied to .github/workflows/release.yml through GitHub OIDC rather than a long-lived npm token.
Local checks¶
Before merging a release candidate, run:
pnpm build
pnpm typecheck
pnpm test:run
pnpm docs:build
pnpm -r --filter "./packages/**" exec npm pack --dry-run
pnpm docs:build regenerates TypeDoc Markdown before running Sphinx, so a separate pnpm docs:api command is only needed when you want to inspect generated reference files without building HTML.