Repository navigation
Harden the pnpm conversion against Pegma-wide review findings - #8
Merged
Merged
Conversation
Keep pack, registry view, and trusted-publisher publish on a real npm CLI even when invoked through pnpm run. Match each public-package lockfile dependency to its own specifier and resolved version. Install pnpm before setup-node cache, drop Corepack from the OIDC publish job, and document corepack enable plus the npm-era bootstrap tag. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9de6c546b0
ℹ️ 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".
Document Node 22 and 24 as the local toolchain so corepack enable stays valid. Accept resolved versions that satisfy caret, tilde, and major-only ranges while keeping exact pins exact. Unquote YAML specifier and version scalars, and cover peerDependencies in the lockfile matcher tests. 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.
The pnpm conversion already landed in #7. This PR applies Pegma-wide follow-ups that actually apply to scheduler.
First pass
runNpm()already spawnednpmfrom PATH. It also stripsnpm_execpathfrom the child environment so apnpm runlifecycle cannot redirect pack, registryview, the trusted-publishing version gate, ornpm publish --provenance.npm@11.18.0pin. Already present in both publish jobs; left unchanged.link:.node scripts/release-packages.mjs publishand does not download Corepack pnpm.cache: pnpm.pnpm/action-setupis pinned to0977fd99725f1db4007ccb2928dbb4e90d06cc86(v6.0.10).Second pass (Codex on this PR + sibling notes)
*, and major/major.minor ranges accept a resolved version that satisfies the specifier (including pnpm peer suffixes).specifierandversionvalues are unquoted before comparison (specifier: '1'matches package.json1).peerDependencies; tests now cover parsing and matching that section.Intentionally not changed
workspace:/linkWorkspacePackagessettings.prepackfields.Gate
Ran locally on this branch:
pnpm run format:checkpnpm run checkpnpm test— 53 Node tests and 4 D1 testspnpm run release:check