Skip to content

Enable pnpm before the first local or CI command - #54

Merged
FlyOverCoderKY merged 2 commits into
mainfrom
cursor/pnpm-follow-up-8005
Aug 14, 2026
Merged

FlyOverCoderKY merged 2 commits into
mainfrom
cursor/pnpm-follow-up-8005

Conversation

@FlyOverCoderKY

@FlyOverCoderKY FlyOverCoderKY commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #53. This is the marketing/docs site, not a published npm workspace, so only the site-real leftovers are in this PR.

What changed

  • README: stock Node 22/24 ships Corepack but no pnpm shim. Node 25+ does not bundle Corepack, so local blocks now start with npm install -g corepack then corepack enable before the first pnpm command, plus a short local-development gate.
  • CI / deploy: #53 ran corepack enable on the runner image, then setup-node with cache: pnpm on Node 22 (which has no shim yet). Both workflows now SHA-pin pnpm/action-setup@v6.0.10 (0977fd99725f1db4007ccb2928dbb4e90d06cc86) before setup-node so the cache step can see pnpm. The action reads packageManager from package.json; no extra version or Corepack hash is invented. CI stays on Node 22 and does not tell operators to run corepack enable.

Intentionally skipped

  • No CONTRIBUTING.md exists; none was invented.
  • No release script, lockfile-sync, trusted-publishing, or OIDC publish workflow exists; none was invented.
  • No workspace: protocol, Semgrep pnpm settings, or fake Corepack hash.
  • Historical notes stay historical: docs/securityscan.md (2026-07-29 npm audit / package-lock.json exclusion), Phase E activation gates in docs/GITHUB_RELEASE_WEBHOOK_PLAN.md, and the Webhooks package’s own npm run gates. npx mcp-remote remains a client instruction, not this repo’s install path.
  • No review threads on this PR to reply to (only a Codex usage-limit issue comment).

Checks

Local gates passed on the first commit: corepack enable, pnpm install --frozen-lockfile, pnpm run check (0 diagnostics), pnpm test (208 Node + 2 D1), pnpm run build. The second commit is README-only.

Open in Web Open in Cursor 

Stock Node 22/24 ships Corepack without a pnpm shim, and setup-node
cache: pnpm needs pnpm on PATH before it runs. Document corepack enable
in the README and SHA-pin pnpm/action-setup ahead of setup-node.

Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

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

Official Node 25+ no longer bundles Corepack, so the first local
command cannot be corepack enable alone. Install Corepack with npm
first; CI stays on Node 22 via SHA-pinned pnpm/action-setup.

Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
@FlyOverCoderKY
FlyOverCoderKY merged commit aa94851 into main Aug 14, 2026
3 checks passed
@FlyOverCoderKY
FlyOverCoderKY deleted the cursor/pnpm-follow-up-8005 branch August 14, 2026 23:17
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