Skip to content

Convert the workspace from npm to pnpm - #12

Merged
FlyOverCoderKY merged 2 commits into
mainfrom
cursor/convert-to-pnpm-5b5f
Aug 14, 2026
Merged

FlyOverCoderKY merged 2 commits into
mainfrom
cursor/convert-to-pnpm-5b5f

Conversation

@FlyOverCoderKY

@FlyOverCoderKY FlyOverCoderKY commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

This repository used npm workspaces and package-lock.json. Creating or deleting git worktrees rewrote a full node_modules tree each time. The workspace now uses pnpm so those trees can be shared through the store.

Changes

  • Pin packageManager to pnpm@10.34.5 via Corepack (Node engines stay >=22; nothing required pnpm 9).
  • Add pnpm-workspace.yaml for packages/*, matching the previous npm workspaces list.
  • Create pnpm-lock.yaml with pnpm import from the existing package-lock.json, then remove the npm lockfile.
  • Switch CI and the release prepare job to pnpm install --frozen-lockfile and pnpm run.
  • Keep reviewed npm@11.18.0 for npm pack, npm view, and OIDC trusted npm publish. The publisher job still installs no dependencies and still runs npm run release:publish.
  • Silence workspace prepack (pnpm run --silent build) so npm pack --json metadata stays parseable.
  • Update contributor and release docs to the same commands.

Dependency versions are unchanged. shamefully-hoist is not enabled.

Verification

Locally, with the frozen lockfile:

  • pnpm run format:check
  • pnpm run check
  • pnpm test (61/61)
  • pnpm run release:check
  • pnpm run release:pack -- -- --output .release
Open in Web Open in Cursor 

cursoragent and others added 2 commits August 14, 2026 19:52
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
FlyOverCoderKY marked this pull request as ready for review August 14, 2026 19:54
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@FlyOverCoderKY
FlyOverCoderKY merged commit 70e4a28 into main Aug 14, 2026
3 checks passed
@FlyOverCoderKY
FlyOverCoderKY deleted the cursor/convert-to-pnpm-5b5f branch August 14, 2026 21:03
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.

2 participants