Skip to content

chore: enforce pnpm 11#1545

Open
Sheraff wants to merge 2 commits into
TanStack:mainfrom
Sheraff:opencode/enforce-pnpm-11
Open

chore: enforce pnpm 11#1545
Sheraff wants to merge 2 commits 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/db.

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 pnpm requirement to version 11.0.0 or higher.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4ea7d807-11cb-49cc-a1be-4f565367c6b1

📥 Commits

Reviewing files that changed from the base of the PR and between be656be and 23b8451.

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

📝 Walkthrough

Walkthrough

The package.json file now includes an engines configuration block that enforces a minimum pnpm package manager version of >=11.0.0. This ensures developers and CI environments use a compatible pnpm version when working with the project.

Changes

Package Manager Configuration

Layer / File(s) Summary
pnpm version requirement
package.json
The engines.pnpm field declares a minimum version requirement of >=11.0.0 to enforce package manager compatibility.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A tiny hop, a version bound,
pnpm eleven now holds ground,
No more ancient tools at bay,
The engines say: "upgrade today!" ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description provides detailed information about the change and its behavior, but does not follow the required template structure with the 'Changes' and 'Checklist' sections. Restructure the description to follow the template: add '## 🎯 Changes' section summarizing the modification, include '## ✅ Checklist' with testing confirmation, and specify release impact in '## 🚀 Release Impact'.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: enforcing pnpm version 11 as a 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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 21, 2026

More templates

@tanstack/angular-db

npm i https://pkg.pr.new/@tanstack/angular-db@1545

@tanstack/browser-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/browser-db-sqlite-persistence@1545

@tanstack/capacitor-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/capacitor-db-sqlite-persistence@1545

@tanstack/cloudflare-durable-objects-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/cloudflare-durable-objects-db-sqlite-persistence@1545

@tanstack/db

npm i https://pkg.pr.new/@tanstack/db@1545

@tanstack/db-ivm

npm i https://pkg.pr.new/@tanstack/db-ivm@1545

@tanstack/db-sqlite-persistence-core

npm i https://pkg.pr.new/@tanstack/db-sqlite-persistence-core@1545

@tanstack/electric-db-collection

npm i https://pkg.pr.new/@tanstack/electric-db-collection@1545

@tanstack/electron-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/electron-db-sqlite-persistence@1545

@tanstack/expo-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/expo-db-sqlite-persistence@1545

@tanstack/node-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/node-db-sqlite-persistence@1545

@tanstack/offline-transactions

npm i https://pkg.pr.new/@tanstack/offline-transactions@1545

@tanstack/powersync-db-collection

npm i https://pkg.pr.new/@tanstack/powersync-db-collection@1545

@tanstack/query-db-collection

npm i https://pkg.pr.new/@tanstack/query-db-collection@1545

@tanstack/react-db

npm i https://pkg.pr.new/@tanstack/react-db@1545

@tanstack/react-native-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/react-native-db-sqlite-persistence@1545

@tanstack/rxdb-db-collection

npm i https://pkg.pr.new/@tanstack/rxdb-db-collection@1545

@tanstack/solid-db

npm i https://pkg.pr.new/@tanstack/solid-db@1545

@tanstack/svelte-db

npm i https://pkg.pr.new/@tanstack/svelte-db@1545

@tanstack/tauri-db-sqlite-persistence

npm i https://pkg.pr.new/@tanstack/tauri-db-sqlite-persistence@1545

@tanstack/trailbase-db-collection

npm i https://pkg.pr.new/@tanstack/trailbase-db-collection@1545

@tanstack/vue-db

npm i https://pkg.pr.new/@tanstack/vue-db@1545

commit: 23b8451

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