Skip to content

Commit

Permalink
Update package.json to include the repository key (#6)
Browse files Browse the repository at this point in the history
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
	*@npmcli/node-gyp
  • Loading branch information
msftenhanceprovenance committed Oct 4, 2021
1 parent c05b650 commit 40cf1a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
},
"repository": {
"type": "git",
"url": "https://github.com/npm/node-gyp.git"
},
"keywords": [
"npm",
"cli",
Expand Down

0 comments on commit 40cf1a2

Please sign in to comment.