Repository navigation
Switch the workspace from npm to pnpm - #3
Conversation
Pin pnpm 10.34.5 via packageManager and Corepack, import the existing lockfile, and point CI, docs, and release checks at pnpm while leaving npm pack/publish/provenance in place for trusted publishing. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Prettier does not ignore pnpm-lock.yaml by default, and reformatting a lockfile would be incorrect. Also wrap a long test line to satisfy the format check. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1581ddab3f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1581dda. Configure here.
runNpm no longer follows npm_execpath, so pack, registry view, the trusted-publishing version gate, and provenance publish stay on the npm CLI when invoked from pnpm run. Restore the digest-pinned npm@11.18.0 bootstrap in the prepare job, invoke the publish helper with node in the OIDC job, document corepack enable, and revert the already-published prepack script. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Node 25+ no longer bundles Corepack, so the first README command would fail on those releases. The gate already runs on 22 and 24 only. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>

This repository used npm workspaces and
package-lock.json. Local git worktrees were rewriting a fullnode_modulestree on every create/delete. pnpm is now the source of truth so worktrees can share a content-addressable store.Changes
packageManagertopnpm@10.34.5(current pnpm 10 via Corepack)pnpm-workspace.yamlfor the existingpackages/*workspacepnpm-lock.yamlfrom the previouspackage-lock.json(pnpm import); dependency versions are unchangedpackage-lock.jsoncorepack enable+pnpm install --frozen-lockfileview, the trusted-publishing version gate, andnpm publish --provenanceon a real npm CLI (runNpmno longer followsnpm_execpath)npm@11.18.0bootstrap in the prepare job so packing does not use Node's bundled npmnode scripts/release-packages.mjs publish(no Corepack/pnpm download in that job)corepack enablebefore the first localpnpmcommand, and constrain development docs to Node 22 or 24 (Corepack is not bundled on Node 25+)@pegma/spine@0.1.2prepackfield tonpm run build.prettierignoreforpnpm-lock.yaml(Prettier does not ignore it by default)shamefully-hoistis not enabled. The publish job still installs no project dependencies.Gate
Ran locally on Node 22:
pnpm install --frozen-lockfilepnpm run format:checkpnpm run checkpnpm testpnpm run release:check