Repository navigation
Convert the workspace from npm to pnpm - #12
Merged
Merged
Conversation
Pin pnpm@10.34.5 via Corepack, import the existing lockfile, and keep npm only for pack and trusted publish. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
pnpm's script banner was mixed into pack metadata and broke release preparation. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
FlyOverCoderKY
marked this pull request as ready for review
August 14, 2026 19:54
|
You have reached your Codex usage limits for security reviews. Please try again later. |
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.
This repository used npm workspaces and
package-lock.json. Creating or deleting git worktrees rewrote a fullnode_modulestree each time. The workspace now uses pnpm so those trees can be shared through the store.Changes
packageManagertopnpm@10.34.5via Corepack (Node engines stay>=22; nothing required pnpm 9).pnpm-workspace.yamlforpackages/*, matching the previous npm workspaces list.pnpm-lock.yamlwithpnpm importfrom the existingpackage-lock.json, then remove the npm lockfile.pnpm install --frozen-lockfileandpnpm run.npm@11.18.0fornpm pack,npm view, and OIDC trustednpm publish. The publisher job still installs no dependencies and still runsnpm run release:publish.prepack(pnpm run --silent build) sonpm pack --jsonmetadata stays parseable.Dependency versions are unchanged.
shamefully-hoistis not enabled.Verification
Locally, with the frozen lockfile:
pnpm run format:checkpnpm run checkpnpm test(61/61)pnpm run release:checkpnpm run release:pack -- -- --output .release