fix(release): validate npm provenance and mutable staging #14

Merged
chrnx merged 3 commits from hotfix/npm-release-provenance into develop 2026-08-03 03:44:13 +00:00
Owner

Summary

  • Add canonical repository, issue tracker, and documentation metadata required by npm Trusted Publishing provenance.
  • Stage Verdaccio candidates only from release branches and reject stable versions.
  • Keep staging intentionally mutable by removing an existing prerelease before publishing the refreshed candidate.
  • Run dependency audit and the complete prepublish gate before mutating Verdaccio.

Validation

  • Regression tests demonstrated the missing metadata and mutable-staging policy before implementation and now pass.
  • 357 tests passed across 56 files.
  • Typecheck, package build, and 23-page website build passed.
  • Root and website audits report 0 vulnerabilities.
  • actionlint and Prettier checks passed.
  • npm publish dry-run produced the 35-file beta tarball with canonical repository metadata.

Release flow

Merge this PR into develop first. No Verdaccio publication is triggered by this hotfix branch or PR. Promote develop to main in a separate PR, then recreate the failed GitHub tag on the promoted commit.

## Summary - Add canonical repository, issue tracker, and documentation metadata required by npm Trusted Publishing provenance. - Stage Verdaccio candidates only from release branches and reject stable versions. - Keep staging intentionally mutable by removing an existing prerelease before publishing the refreshed candidate. - Run dependency audit and the complete prepublish gate before mutating Verdaccio. ## Validation - Regression tests demonstrated the missing metadata and mutable-staging policy before implementation and now pass. - 357 tests passed across 56 files. - Typecheck, package build, and 23-page website build passed. - Root and website audits report 0 vulnerabilities. - actionlint and Prettier checks passed. - npm publish dry-run produced the 35-file beta tarball with canonical repository metadata. ## Release flow Merge this PR into develop first. No Verdaccio publication is triggered by this hotfix branch or PR. Promote develop to main in a separate PR, then recreate the failed GitHub tag on the promoted commit.
chrnx added 2 commits 2026-08-03 03:39:17 +00:00
Link the package to its public source, issue tracker, and documentation so npm Trusted Publishing can validate provenance and consumers receive canonical project links.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
fix(ci): make Verdaccio staging idempotent
CI / build (pull_request) Successful in 32s
29aafde84c
Stage only release branches and preserve immutable versions. Repeated identical candidates now exit successfully, while content changes under an existing version require a prerelease bump.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx added 1 commit 2026-08-03 03:42:44 +00:00
fix(ci): keep Verdaccio staging mutable
CI / build (pull_request) Successful in 34s
9398a5a2df
Replace an existing prerelease before publishing the refreshed candidate. Verdaccio remains mutable for validation while npmjs release versions stay immutable.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx changed title from fix(release): validate npm provenance and staging integrity to fix(release): validate npm provenance and mutable staging 2026-08-03 03:42:58 +00:00
chrnx merged commit 5fccd3cc8c into develop 2026-08-03 03:44:13 +00:00
Sign in to join this conversation.