chore(clone): bump packageManager to pnpm@11.1.2 for OIDC publishing#39
Merged
Conversation
pnpm OIDC trusted-publishing (the id-token exchange) landed in pnpm 11.0.7. On the previous pnpm@10.33.0 pin, `pnpm publish --provenance` performed no OIDC exchange and the tokenless release failed with ENEEDAUTH. Lockfile regenerated under pnpm 11 (still lockfileVersion 9.0, no dependency changes).
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
The
1.0.1release failed withnpm error code ENEEDAUTH. Root cause, verified against pnpm's release notes: npm OIDC trusted-publishing (the id-token exchange) landed in pnpm11.0.7. clone was pinned topnpm@10.33.0, wherepnpm publish --provenancedoes the provenance attestation but not the OIDC token exchange — so a tokenless publish has no auth. No.npmrcvalue fixes this on pnpm 10.x.Change
package.jsonpackageManager→pnpm@11.1.2(current latest 11.x; ≥ 11.0.7 required for OIDC)pnpm-lock.yamlregenerated under pnpm 11 — stilllockfileVersion: 9.0, no dependency changes (churn is the pnpm 11 writer reordering metadata)Verified under pnpm 11.1.2
pnpm lintcleanpnpm typecheckcleanpnpm test— 97/97pnpm build— ESM + CJS + dts emitted1.0.1→ OIDC + provenance publish succeeds (Trusted Publisher configured:coroboros/clone,ci.yml, no env)