- Verify the workspace is clean and set the target version in
package.json. - Run
npm installif dependency changes are part of the release. - Run
npm run lint. - Run
npm run test. - Run
npm run validate:package. - Run
npm run codegen:checkif generator or schema inputs changed. - Review the packed
dist/package.jsonand confirm the documentedimport,require,browser, andtypesentrypoints are correct. - Create the GitHub release tag using the exact format
v<package.json.version>. - Confirm the target npm version is not already published, or rely on CI to fail fast during release preflight if it is.
- Update release notes with any consumer-facing packaging, runtime, or migration details, especially browser ESM and UMD guidance.
- Publish the GitHub release and let the workflow verify the tag/version match before publishing from
dist.