Skip to content

fix(javascript-npm-packages): disable pnpm 10.33.0 package-manager self-switch#18

Merged
ob-aion merged 1 commit into
mainfrom
fix/pnpm-10-no-self-switch
May 20, 2026
Merged

fix(javascript-npm-packages): disable pnpm 10.33.0 package-manager self-switch#18
ob-aion merged 1 commit into
mainfrom
fix/pnpm-10-no-self-switch

Conversation

@ob-aion
Copy link
Copy Markdown
Contributor

@ob-aion ob-aion commented May 20, 2026

Summary

  • v0.1.8 successfully fetched and SHA-verified the standalone pnpm-linux-x64@10.33.0 binary, but pnpm 10.33.0 read packageManager: pnpm@11.x from the consumer package.json and tried pnpm add @pnpm/exe@11.x to self-switch the package manager. That command crashes against the single-file standalone binary with ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "/snapshot/dist/pnpm.cjs" not found.
  • Pass --config.manage-package-manager-versions=false to the pinned 10.33.0 binary on both calls (--version, publish). Self-switch is disabled, the binary runs as-is, and the publish reads _authToken from .npmrc.
  • OIDC branch (pnpm publish --provenance --no-git-checks) is unchanged.

Continued from v0.1.5v0.1.6v0.1.7v0.1.8 → this. After this, the bootstrap-via-token path should be green and coroboros/uri@1.0.0 lands on npm.

Test plan

  • After merge: roll v0.
  • On coroboros/uri: delete 1.0.0 local + remote, re-tag, re-push. Logs show "<temp>/pnpm-10.33.0" --config.manage-package-manager-versions=false --version printing 10.33.0 (no self-switch attempt) and pnpm publish succeeding. npm view @coroboros/uri version returns 1.0.0. uri's package.json packageManager remains pnpm@11.1.3.
  • OIDC branch unchanged.

…lf-switch

v0.1.8 fetched and SHA-verified the standalone pnpm 10.33.0 binary
correctly, but pnpm 10.33.0 read packageManager pnpm@11.x from the
consumer package.json and tried pnpm add @pnpm/exe@11.x to self-switch,
which crashes against the single-file standalone binary
(snapshot/dist/pnpm.cjs not found).

Pass --config.manage-package-manager-versions=false so the pinned
10.33.0 binary runs as-is and publishes via .npmrc token. The OIDC
branch is unchanged.

Bumps 0.1.8 to 0.1.9 and prepends the changelog entry.
@ob-aion ob-aion merged commit 1011437 into main May 20, 2026
6 checks passed
@ob-aion ob-aion deleted the fix/pnpm-10-no-self-switch branch May 20, 2026 06:42
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