Skip to content

Switch from npm to pnpm - #53

Merged
FlyOverCoderKY merged 1 commit into
mainfrom
cursor/pnpm-migration-985a
Aug 14, 2026
Merged

FlyOverCoderKY merged 1 commit into
mainfrom
cursor/pnpm-migration-985a

Conversation

@FlyOverCoderKY

@FlyOverCoderKY FlyOverCoderKY commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

This repository used npm (package-lock.json, no packageManager). Local git worktrees were rewriting a full node_modules tree on every create/delete.

What changed

  • Set packageManager to Corepack-pinned pnpm@10.34.5.
  • Created pnpm-lock.yaml from the existing package-lock.json via pnpm import (dependency versions unchanged).
  • Removed package-lock.json.
  • CI and deploy now corepack enable, cache pnpm, and run pnpm install --frozen-lockfile plus the same check/test/build/deploy steps.
  • Operator READMEs and current command docs use pnpm / pnpm exec wrangler.
  • Allowed esbuild and workerd postinstall scripts (onlyBuiltDependencies) so Wrangler binaries still install. No shamefully-hoist.

Not a workspace, so no pnpm-workspace.yaml. Historical scan notes and npx mcp-remote client instructions are unchanged.

Checks

Local and GitHub CI (CI / validate) both passed: pnpm install --frozen-lockfile, pnpm run check, pnpm test (208 Node + 2 D1), pnpm run build.

Open in Web Open in Cursor 

Pin pnpm 10.34.5 via Corepack, import the existing lockfile, and point
CI, deploy, and operator docs at pnpm install/exec so creating or
deleting git worktrees no longer rewrites a full node_modules tree.

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 1d643d9 into main Aug 14, 2026
3 checks passed
@FlyOverCoderKY
FlyOverCoderKY deleted the cursor/pnpm-migration-985a branch August 14, 2026 21:04
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