Release flow
Publishing is handled by CI when a pull request is merged into the default branch.
| Branch prefix | npm version bump |
|---|---|
fix/* | Patch |
feat/* | Minor |
break/* | Major |
Branches without one of these prefixes still run CI, but they do not publish to npm.
Before opening a release PR
bash
yarn lint
yarn test
yarn buildWhat CI publishes
The package publishes only the compiled dist directory.
The package metadata declares:
- CommonJS entrypoint:
dist/index.js - Type declarations:
dist/index.d.ts sideEffects: false- Public npm access