fix(javascript-npm-packages): disable pnpm 10.33.0 package-manager self-switch#18
Merged
Conversation
…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.
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
pnpm-linux-x64@10.33.0binary, but pnpm 10.33.0 readpackageManager: pnpm@11.xfrom the consumer package.json and triedpnpm add @pnpm/exe@11.xto self-switch the package manager. That command crashes against the single-file standalone binary withERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "/snapshot/dist/pnpm.cjs" not found.--config.manage-package-manager-versions=falseto the pinned 10.33.0 binary on both calls (--version,publish). Self-switch is disabled, the binary runs as-is, and the publish reads_authTokenfrom.npmrc.pnpm publish --provenance --no-git-checks) is unchanged.Continued from
v0.1.5→v0.1.6→v0.1.7→v0.1.8→ this. After this, the bootstrap-via-token path should be green andcoroboros/uri@1.0.0lands on npm.Test plan
v0.coroboros/uri: delete1.0.0local + remote, re-tag, re-push. Logs show"<temp>/pnpm-10.33.0" --config.manage-package-manager-versions=false --versionprinting10.33.0(no self-switch attempt) andpnpm publishsucceeding.npm view @coroboros/uri versionreturns1.0.0. uri'spackage.jsonpackageManagerremainspnpm@11.1.3.