Repository navigation
Apply Pegma-wide pnpm follow-up fixes - #13
Merged
Merged
Conversation
Keep pack, registry view, the trusted-publishing npm gate, and `npm publish --provenance` on a real npm CLI. Match each lockfile dependency to its own specifier and resolved version. Install pnpm before setup-node caches the store, and invoke the OIDC publish helper with node instead of a package-manager lifecycle. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
|
You have reached your Codex usage limits for security reviews. Please try again later. |
The new specifier/version assertions need explicit dependency maps so `tsc -p tsconfig.test.json` accepts them. 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: 2b845d38b7
ℹ️ 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".
Validate peerDependencies, unquote YAML specifier/version scalars, and accept resolved versions that satisfy caret, tilde, or wildcard ranges while keeping exact pins exact. 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 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 #12. Codex was usage-limited on that PR, so the sibling-repo follow-ups were never filed here. This PR applies every item that actually applies to sessions.
First pass
npm_execpathafterpnpm run. Pack, registryview, the trusted-publishing version gate, andnpm publish --provenancestill invokenpm/npm.cmd. A regression test now forbidsprocess.env.npm_execpath.npm@11.18.0pin. The prepare job still installs the reviewed pin. It was not dropped; the OIDC publish job never had it (same as pre-pnpm).release:checkparsespnpm-lock.yamlimporters and matches each dependency to its own specifier and a resolved version that satisfies that specifier. Swapping two packages' specifiers fails. Exact pins must resolve to that same version.corepack enablefirst. CONTRIBUTING and the package README enable Corepack before the firstpnpmcommand.package-lock.jsonsteps remained. The historicalv0.1.0exception is still audit history, not a bootstrap recipe.node scripts/release-packages.mjs publishso it does not download Corepack pnpm just to launch the helper.pnpm/action-setuppinned to0977fd99725f1db4007ccb2928dbb4e90d06cc86(v6.0.10) beforecache: pnpm.Second pass (this PR's review + sibling follow-ups)
peerDependenciesare validated. The parser already recorded them;DEPENDENCY_SECTIONSnow includes that section so a missing, stale, or swapped peer failsrelease:check.specifier: '1'/'*'match the unquotedpackage.jsonvalues).^1.2.0/1.2.3passes; exact pins still have to match exactly. Unknown range syntax fails closed.npm install -g corepackbeforecorepack enable, and document Node 22 or 24 as the local toolchain (same as CI). Publishedenginesstay>=22.Review threads on items 1 and 2 have replies.
Intentionally not changed
workspace:/linkWorkspacePackagesprepackfield changesVerification
Locally after the second-pass commit:
pnpm run format:checkpnpm run checkpnpm test(67/67)pnpm run release:check