Repository navigation
Switch the monorepo from npm to pnpm - #12
Merged
Merged
Conversation
Pin pnpm@10.34.5 via Corepack, import the existing lockfile, and update CI, docs, and release metadata checks so local worktrees no longer rewrite a full node_modules tree. Registry pack, publish, and consumer smoke tests still use npm so trusted publishing stays unchanged. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
The generated lockfile is not a source file; formatting it would fight pnpm and fail the existing format:check gate. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
FlyOverCoderKY
marked this pull request as ready for review
August 14, 2026 20:19
|
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: 9b70b9ab8c
ℹ️ 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".
Resolve a real npm CLI for pack, registry view, the trusted-publishing version gate, and npm publish --provenance so pnpm run cannot substitute itself via npm_execpath. Restore the reviewed npm@11.18.0 pin in the prepare job, invoke the OIDC publish helper with node directly, match each lockfile dependency to its own specifier and resolved version, put pnpm on PATH before setup-node cache, and document corepack enable for local installs. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Release lockfile sync now unquotes YAML scalars, treats a resolved version as valid when it satisfies a semver range, and includes peerDependencies. Local docs install Corepack before enabling it. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This repository used npm workspaces and
package-lock.json. Local git worktrees were rewriting a fullnode_modulestree on every create/delete. This PR switches the repo package manager to pnpm while keeping install, gate, and publish behavior the same.Follow-up aligns the conversion with the sibling Pegma template (verified against review notes on spine#3, webhooks#12, audit#4, identity#9, health#7, scheduler#8, sessions#13, support-desk#19, and this PR’s Codex comment).
Package manager
packageManagertopnpm@10.34.5via Corepackpnpm-workspace.yamlmatching the existingpackages/*workspacespnpm-lock.yamlfrom the previous npm lockfile and removepackage-lock.jsonpnpm-lock.yamlin Prettierpnpm/action-setuppinned tofc06bc1257f339d1d5d8b3a19a8cae5388b55320, v4.4.0) beforesetup-nodecache: pnpmnpm install -g corepack) then runcorepack enablebefore the firstpnpmcommand. Official Node 25+ builds do not bundle Corepack.Release path
view, the trusted-publishing version gate, andnpm publish --provenanceresolve a realnpm-cli.jsand refusenpm_execpathwhen it points at pnpmnpm@11.18.0pinnode scripts/release-packages.mjs publishand does not download Corepack pnpmrelease:checkmatches each dependency, includingpeerDependencies, to its own lockfile specifier and resolved version. Exact pins match exactly; a range such as^1.2.0accepts a satisfying resolution such as1.2.3. YAML scalars are unquoted before comparison.pnpm-lock.yamland the reviewed npm pin; the one-time bootstrap remainsnpm publishUnchanged
prepackfields left as this conversion already set them (pnpm run build)workspace:protocol added in this follow-upnpm install @pegma/...Verification
pnpm run format:checkpnpm run checkpnpm testpnpm run release:check