Repository navigation
Convert the workspace from npm to pnpm 10 - #9
Conversation
Use Corepack-pinned pnpm@10.34.5 as the package manager so git worktrees share a content-addressed store instead of rewriting a full node_modules tree. Import the existing lockfile, keep trusted-publisher npm publish, and teach the release gate to validate pnpm-lock.yaml provenance. 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: 1af5d9a919
ℹ️ 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 1af5d9a. Configure here.
Keep pack, registry view, the trusted-publishing npm version gate, and npm publish --provenance on a real npm CLI (never npm_execpath/pnpm). Restore the reviewed npm@11.18.0 pin, compare lockfile specifier and resolved version, document corepack enable, and run the OIDC publish helper with node instead of Corepack pnpm. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Unquote YAML specifiers/versions before comparing, treat exact pins as exact, and accept resolved versions that satisfy a declared range. Check peerDependencies when present. Document npm install -g corepack before corepack enable because Node 25+ no longer bundles it. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>

This repository used npm workspaces (
package-lock.json,packageManager: npm@11.18.0). Local git worktrees were rewriting a fullnode_modulestree on every create/delete. This PR switches the source of truth to Corepack-pinned pnpm 10.34.5.What changed
package.jsonpackageManagertopnpm@10.34.5and addedpnpm-workspace.yamlforpackages/*.pnpm-lock.yamlwithpnpm importfrom the existing npm lockfile, then removedpackage-lock.json.corepack enable, activate the reviewed package manager, and runpnpm install --frozen-lockfile,pnpm audit --prod --audit-level=high, andpnpm run/pnpm test.pnpm-lock.yamlv9: exact pins match exactly, ranged specifiers accept a satisfying resolved version, YAML scalars are unquoted before compare, andpeerDependenciesare checked when present.npm install -g corepackthencorepack enable(required on Node 25+). The historical0.0.0bootstrap receipt keeps its npm-compatible commands.Release-path follow-up
runNpm()always invokes thenpmbinary and neverprocess.env.npm_execpath. Isolated release env also dropsnpm_execpath.>= 11.5.1).publish.ymlrestores the reviewednpm@11.18.0pin.node scripts/release-package.mjs publish.Intentionally unchanged
npm publish --provenance.shamefully-hoistis not enabled.prepackwas alreadypnpm run buildin this conversion; left as-is.Verification
Locally, matching the CI gate after this second-pass revision.