Skip to content

fix: add repository URL for npm provenance verification#8

Merged
jim80net merged 1 commit intomainfrom
fix/package-repository-url
Mar 15, 2026
Merged

fix: add repository URL for npm provenance verification#8
jim80net merged 1 commit intomainfrom
fix/package-repository-url

Conversation

@jim80net
Copy link
Owner

Summary

  • Add repository.url to package.json

Problem

npm trusted publishing (OIDC) validates that package.json repository.url matches the GitHub repo from the provenance bundle. Without it, publish fails with:

422 Unprocessable Entity - Error verifying sigstore provenance bundle:
Failed to validate repository information: package.json: "repository.url"
is "", expected to match "https://github.com/jim80net/memex-core"

Test plan

  • Merge and verify npm publish succeeds

🤖 Generated with Claude Code

npm trusted publishing validates that package.json repository.url
matches the GitHub repo from the OIDC provenance bundle. Without it,
publish fails with 422: "expected to match https://github.com/jim80net/memex-core".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jim80net jim80net merged commit 616e325 into main Mar 15, 2026
5 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