Skip to content

build: add repository metadata required for npm provenance#17

Merged
indexzero merged 1 commit into
mainfrom
fix/provenance
Jun 30, 2026
Merged

build: add repository metadata required for npm provenance#17
indexzero merged 1 commit into
mainfrom
fix/provenance

Conversation

@indexzero

@indexzero indexzero commented Jun 30, 2026

Copy link
Copy Markdown
Owner

No repository field in package.json — npm provenance generation and the Trusted Publisher matcher both require it

The 2.0.0 publish has failed on every run since #11. The workflow itself
was already correct for OIDC trusted publishing (id-token: write,
registry-url, no token, pnpm pinned to 10.x). The two missing pieces were
external to it:

- The Trusted Publisher was never configured on npmjs.com (now done:
  indexzero/vlurp, release.yml).
- package.json had no `repository` field, which npm provenance and the
  Trusted Publisher matcher both require. Add it (plus bugs/homepage).

With both in place, merging to main runs `pnpm changeset publish`, which
sees package.json at 2.0.0 (npm latest is 1.2.0) and publishes it with
provenance and a v2.0.0 tag.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@indexzero indexzero changed the title ci: complete tokenless OIDC trusted publishing for npm build: add repository metadata required for npm provenance Jun 30, 2026
@indexzero
indexzero merged commit 7082efb into main Jun 30, 2026
3 checks passed
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