Skip to content

chore: enforce pnpm 11#224

Merged
KevinVandy merged 1 commit into
TanStack:mainfrom
Sheraff:opencode/enforce-pnpm-11
May 21, 2026
Merged

chore: enforce pnpm 11#224
KevinVandy merged 1 commit into
TanStack:mainfrom
Sheraff:opencode/enforce-pnpm-11

Conversation

@Sheraff
Copy link
Copy Markdown
Contributor

@Sheraff Sheraff commented May 21, 2026

Adds engines.pnpm >=11.0.0 to TanStack/pacer.

Scenario Result
pnpm@11+ install Allowed
pnpm@11+ run ... Allowed
pnpm@9 install Blocked by engines.pnpm
pnpm@9 run ... Blocked by engines.pnpm
pnpm@10 install with default pnpm version management Usually hands off to packageManager and runs as the declared pnpm version
pnpm@10 run ... with default pnpm version management Usually hands off to packageManager and runs as the declared pnpm version
pnpm@10 install with version handoff disabled Blocked by engines.pnpm
pnpm@10 run ... with version handoff disabled Blocked by engines.pnpm
pnpm@9/10 list Not blocked
pnpm@9/10 exec ... Not blocked
Field What It Does
packageManager Helps tools/newer pnpm select or hand off to the declared pnpm version
engines.pnpm: \">=11.0.0\" Fails important project workflows when an older pnpm is actually executing them
engines.pnpm Does not intercept every pnpm subcommand

Summary by CodeRabbit

  • Chores
    • Updated minimum package manager version requirement to pnpm >=11.0.0

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

📝 Walkthrough

Walkthrough

A new engines field is added to package.json to declare that pnpm version 11.0.0 or higher is required. This ensures that contributors and CI environments use a compatible package manager version when working with the project.

Changes

Package Manager Compatibility

Layer / File(s) Summary
pnpm Version Constraint
package.json
The engines field specifies a minimum pnpm version of >=11.0.0 to ensure tooling compatibility.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🐰 A rabbit's care for the package tree,
declares which pnpm must be,
eleven or higher, let's all agree—
compatibility flowing wild and free! 🌳✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks the required template sections (Changes, Checklist, Release Impact), though it provides detailed context about the change and its behavior. Add the required template sections with proper headings and complete the checklist items to meet repository standards for pull request descriptions.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: enforcing pnpm version 11 as a minimum requirement in the project.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 21, 2026

View your CI Pipeline Execution ↗ for commit 689399a

Command Status Duration Result
nx affected --targets=test:eslint,test:sherif,t... ✅ Succeeded 6m 53s View ↗
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 18s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-21 21:13:53 UTC

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
package.json (1)

9-11: package.json: pnpm engine constraint looks good, but review pnpm v11 breaking/migration behavior

  • pnpm@11.0.0 is a released version (tagged v11.0.0; released 2026-04-28), and 11.1.1 >= 11.0.0 so the constraint is consistent with the existing packageManager.
  • pnpm v11 includes migration/behavior changes (notably config-reading changes and pnpm link behavior); ensure the repo/CI/scripts don’t rely on the pre-v11 behavior.
  • Since patch releases followed quickly (e.g., v11.0.5 includes multiple fixes), consider setting the minimum to a later 11.0.x (if you want to reduce exposure to early 11.0.0 issues).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` around lines 9 - 11, The pnpm engine constraint in package.json
currently allows >=11.0.0 which may expose us to early v11 issues; update the
engines/pnpm constraint to a safer minimum (for example >=11.0.5) and audit any
scripts/CI that reference packageManager or call pnpm commands (including pnpm
link and config-reading code) for v11 behavioral changes; specifically check the
"engines" entry and the project’s packageManager usage and CI job steps that
invoke pnpm, adjust version constraint and any scripts to be compatible with
pnpm v11 migration behavior or pin to a fixed 11.x patch to reduce exposure.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@package.json`:
- Around line 9-11: The pnpm engine constraint in package.json currently allows
>=11.0.0 which may expose us to early v11 issues; update the engines/pnpm
constraint to a safer minimum (for example >=11.0.5) and audit any scripts/CI
that reference packageManager or call pnpm commands (including pnpm link and
config-reading code) for v11 behavioral changes; specifically check the
"engines" entry and the project’s packageManager usage and CI job steps that
invoke pnpm, adjust version constraint and any scripts to be compatible with
pnpm v11 migration behavior or pin to a fixed 11.x patch to reduce exposure.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e0bd60a7-925c-41c0-9edb-e9569a870aa1

📥 Commits

Reviewing files that changed from the base of the PR and between a894009 and 689399a.

📒 Files selected for processing (1)
  • package.json

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 21, 2026

More templates

@tanstack/angular-pacer

npm i https://pkg.pr.new/@tanstack/angular-pacer@224

@tanstack/pacer

npm i https://pkg.pr.new/@tanstack/pacer@224

@tanstack/pacer-devtools

npm i https://pkg.pr.new/@tanstack/pacer-devtools@224

@tanstack/pacer-lite

npm i https://pkg.pr.new/@tanstack/pacer-lite@224

@tanstack/preact-pacer

npm i https://pkg.pr.new/@tanstack/preact-pacer@224

@tanstack/preact-pacer-devtools

npm i https://pkg.pr.new/@tanstack/preact-pacer-devtools@224

@tanstack/react-pacer

npm i https://pkg.pr.new/@tanstack/react-pacer@224

@tanstack/react-pacer-devtools

npm i https://pkg.pr.new/@tanstack/react-pacer-devtools@224

@tanstack/solid-pacer

npm i https://pkg.pr.new/@tanstack/solid-pacer@224

@tanstack/solid-pacer-devtools

npm i https://pkg.pr.new/@tanstack/solid-pacer-devtools@224

commit: 689399a

@KevinVandy KevinVandy merged commit 1a383f3 into TanStack:main May 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants