Repository navigation
Switch the workspace from npm to pnpm - #7
Conversation
Pin pnpm 10.34.5 via Corepack, import the lockfile, and keep npm only for registry pack, view, and trusted-publisher provenance. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
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: ecc4a08124
ℹ️ 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".
Restore the reviewed npm 11.18.0 pin, invoke the publish helper with node so the OIDC job never downloads pnpm, pair each lockfile dependency with its own specifier and resolved version, and put pnpm on PATH before setup-node cache. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Accept resolved versions that satisfy ^/~ specifiers, decode YAML scalars before comparing, and check peerDependencies when a public package declares them. Document Node 22 or 24 so Corepack is the bundled shim. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
pnpm records peers under packages snapshots, not importers. Lockfile sync now checks only importer dependencies and optionalDependencies. Exact prerelease pins match by identity, and caret 0.x / 0.0.x ranges follow npm rules. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default 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 1853c21. Configure here.
Resolved identities like 4.1.10(@types/node@…)(vite@…(…)) must compare as 4.1.10 so exact pins and ranges still match. 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.Changes
packageManagertopnpm@10.34.5(current pnpm 10 via Corepack).pnpm-workspace.yamlfor the existingpackages/*workspace.pnpm-lock.yamlfrom the previouspackage-lock.jsonand remove the npm lockfile.pnpm install --frozen-lockfile/pnpm run/pnpm test..prettierignore).corepack enablebefore the first localpnpmcommand.pnpm/action-setupSHA) beforeactions/setup-nodecache: pnpm.npm@11.18.0pin for pack / smoke-test / registry operations.node scripts/release-packages.mjs …so those steps never go throughpnpm run/npm_execpath.runNpm()always spawns the npm CLI and stripsnpm_execpath.release:checkpairs each importer dependency (and optionalDependency) with its own specifier and resolved version, after decoding YAML scalars. It does not look forpeerDependencieson the importer — pnpm records those underpackagessnapshots. Exact pins, including prereleases, match by identity;^/~ranges follow npm caret-zero rules.No dependency versions were changed.
shamefully-hoistis not enabled.Gate