fix(npm): add repository metadata for provenance checks#11
Merged
Conversation
Add repository URL metadata to all npm package manifests so npm provenance validation matches the GitHub source repository during trusted publishing. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Adds repository metadata to all npm package manifests published by the release workflow so npm provenance/trusted publishing can associate the published artifacts with the correct GitHub source repository.
Changes:
- Added
repositorymetadata to the main@stefanosala/vc-clinpm package manifest. - Added the same
repositorymetadata to each platform-specific binary package manifest.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| npm/vc-cli/package.json | Adds repository metadata for the main CLI npm package. |
| npm/cli-win32-x64/package.json | Adds repository metadata for the Windows x64 platform package. |
| npm/cli-linux-x64/package.json | Adds repository metadata for the Linux x64 platform package. |
| npm/cli-darwin-arm64/package.json | Adds repository metadata for the macOS arm64 platform package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
repositorymetadata to all npm package manifests published by the release workflowhttps://github.com/stefanosala/vc-clito match GitHub provenance sourceE422) during trusted publishingTest plan
.github/workflows/release-npm.ymlwithdry_run=false--provenance@stefanosala/vc-clipackage publish succeedsMade with Cursor