Skip to content

Commit 459572e

Browse files
chore: align npm provenance metadata
1 parent de76dc6 commit 459572e

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ This repository ships with `.github/workflows/npm-publish.yml`, which publishes
297297
3. Ensure your release process pushes tags after running `npm run release:<type>` so the workflow triggers.
298298
4. Confirm `npm run build` succeeds locally; the workflow runs the build before publishing so broken bundles block the release.
299299
5. GitHub provenance is enabled via `npm publish --provenance`. Leave GitHub Actions' default OIDC permissions enabled so the job can request an ID token.
300+
6. Keep the `repository.url` field in `package.json` pointing at this GitHub repo. Provenance validation fails if it does not match the repository that built the package.
300301

301302
The workflow verifies that the tag version matches `package.json` before publishing and fails fast if they diverge.
302303

package-lock.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
],
3131
"author": "",
3232
"license": "MIT",
33+
"repository": {
34+
"type": "git",
35+
"url": "https://github.com/programinglive/dev-workflow-mcp-server.git"
36+
},
3337
"dependencies": {
3438
"@modelcontextprotocol/sdk": "^1.0.0",
3539
"better-sqlite3": "^11.8.0",

0 commit comments

Comments
 (0)