fix: add repository.url to package.json (required for npm provenance) - #87
Conversation
npm OIDC trusted publishing validates that package.json repository.url matches the GitHub repo from the signed provenance statement — ours was empty, causing E422 on publish.
| "prettier --write" | ||
| ] | ||
| }, | ||
| "repository": { |
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/berget-ai/cli.git" |
There was a problem hiding this comment.
✅ good — URL matches the actual origin remote (github.com/berget-ai/cli), which is what npm provenance validation requires.
ReviewSummaryAdds a RiskLOW — the change itself is correct and harmless, but the PR is fully redundant: the byte-identical Issues
Suggestions
ArchitectureNo structural change — 4 lines of npm package metadata. CodeSense score: 9/10 — the change is minimal, correct, and verified against the real origin remote ( Inline findingsBerget AI (berget/zai-org/GLM-5.3-Flash) | PR #87 |
OIDC trusted publishing got as far as signing the provenance statement, then E422:
package.json: repository.url is "", expected to match https://github.com/berget-ai/cli. Adds the missing field.