Skip to content

fix: Add repository to package.json for npm provenance - #21

Merged
hackwell merged 1 commit into
masterfrom
package-repository
Nov 17, 2026
Merged

hackwell merged 1 commit into
masterfrom
package-repository

Conversation

@hackwell

Copy link
Copy Markdown
Member

Trusted publishing reached npm but was rejected with 422: "Failed to validate repository information: package.json". npm compares repository.url with the provenance (flagbit/config-commitlint).

npm rejects trusted publishing when package.json does not name the repository the provenance comes from.
@hackwell
hackwell merged commit 2e4f46c into master Nov 17, 2026
1 check passed
@hackwell
hackwell deleted the package-repository branch November 17, 2026 14:27
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