Skip to content

fix(pkg): add repository field so npm provenance verification passes - #27

Merged
dhanesh merged 1 commit into
mainfrom
fix/pkg-repository-for-provenance
Jul 6, 2026
Merged

fix(pkg): add repository field so npm provenance verification passes#27
dhanesh merged 1 commit into
mainfrom
fix/pkg-repository-for-provenance

Conversation

@dhanesh

@dhanesh dhanesh commented Jul 6, 2026

Copy link
Copy Markdown
Owner

The OIDC publish now authenticates and generates provenance (trusted-publisher fix worked), but npm rejected it with E422: package.json "repository.url" is "", expected https://github.com/dhanesh/mockstar. Sigstore provenance validates the repository field. Adds repository, homepage, bugs.

This fix: cuts 0.2.2, which should publish npm via OIDC with provenance — the first fully-automated release.

🤖 Generated with Claude Code

npm OIDC publish reached provenance verification (trusted publishing works)
but failed E422: `package.json "repository.url" is ""` — sigstore provenance
requires repository.url to match https://github.com/dhanesh/mockstar. Add the
standard repository, homepage, and bugs fields.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dhanesh
dhanesh merged commit b1ea4d6 into main Jul 6, 2026
8 checks passed
@dhanesh
dhanesh deleted the fix/pkg-repository-for-provenance branch July 6, 2026 21:26
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