Skip to content

Fix npm release provenance - #37

Merged
ejsmith merged 1 commit into
mainfrom
fix/npm-provenance
Jul 29, 2026
Merged

Fix npm release provenance#37
ejsmith merged 1 commit into
mainfrom
fix/npm-provenance

Conversation

@ejsmith

@ejsmith ejsmith commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add the repository metadata npm provenance expects to the tarball generated by deno pack
  • add an explicit manual recovery input for npm and GitHub Packages releases
  • keep JSR publication tag-only so recovering version 1.3.4 cannot republish the already-successful JSR package

Root cause

The v1.3.4 release workflow built, tested, and published to JSR successfully. npm rejected the generated tarball with E422 because package.json.repository.url was missing and therefore did not match the GitHub repository in the signed provenance bundle.

Recovery

After this merges, dispatching CI with release_version=1.3.4 will publish the corrected tarball to npm and GitHub Packages while skipping JSR.

Validation

  • deno task format-check
  • deno task lint
  • deno task check
  • deno task test (200 tests)
  • corrected tarball contains repository.url = https://github.com/FoundatioFx/FetchClient
  • npm publish fetchclient.tgz --dry-run --provenance --access public

@ejsmith
ejsmith marked this pull request as ready for review July 29, 2026 00:47
@ejsmith
ejsmith merged commit 23369a0 into main Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant