Skip to content

chore: bump pnpm to 11.1.1#550

Merged
AlemTuzlak merged 4 commits into
mainfrom
chore/bump-pnpm-11.1.1
May 12, 2026
Merged

chore: bump pnpm to 11.1.1#550
AlemTuzlak merged 4 commits into
mainfrom
chore/bump-pnpm-11.1.1

Conversation

@AlemTuzlak
Copy link
Copy Markdown
Contributor

Summary

Bump the pinned packageManager from pnpm@10.17.0 to pnpm@11.1.1 (latest patch on the 11.1 line). This is a major-version bump of pnpm; corepack/CI will pick up the new version automatically from the packageManager field — no workflow changes needed.

Test plan

  • CI green (lint, types, build, test, e2e) on this PR.
  • pnpm install locally regenerates the lockfile cleanly (lockfile format may change between major pnpm versions; if a lockfile update is needed it should land in this PR before merge).

Notes

  • The pnpm 11 release notes are worth a skim for any monorepo-relevant changes (peer-dep resolution, hoist defaults, etc.). If the lockfile diff or any test fails after a clean install, that's where to look first.

…encies

pnpm 11 removed the package.json `pnpm.ignoredBuiltDependencies` field and
replaced it (along with onlyBuiltDependencies, neverBuiltDependencies, etc.)
with `allowBuilds` in pnpm-workspace.yaml, requiring an explicit boolean per
package whose lifecycle scripts need to run.

- Migrate `ignoredBuiltDependencies: [isolated-vm]` to `allowBuilds.isolated-vm: false`.
- Set every other package whose install scripts ran under pnpm 10 (esbuild,
  sharp, puppeteer, etc.) to `true` to preserve prior behavior.
- Regenerate pnpm-lock.yaml under pnpm 11.1.1.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

🚀 Changeset Version Preview

No changeset entries found. Merging this PR will not cause a version bump for any packages.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 12, 2026

Open in StackBlitz

@tanstack/ai

npm i https://pkg.pr.new/@tanstack/ai@550

@tanstack/ai-anthropic

npm i https://pkg.pr.new/@tanstack/ai-anthropic@550

@tanstack/ai-client

npm i https://pkg.pr.new/@tanstack/ai-client@550

@tanstack/ai-code-mode

npm i https://pkg.pr.new/@tanstack/ai-code-mode@550

@tanstack/ai-code-mode-skills

npm i https://pkg.pr.new/@tanstack/ai-code-mode-skills@550

@tanstack/ai-devtools-core

npm i https://pkg.pr.new/@tanstack/ai-devtools-core@550

@tanstack/ai-elevenlabs

npm i https://pkg.pr.new/@tanstack/ai-elevenlabs@550

@tanstack/ai-event-client

npm i https://pkg.pr.new/@tanstack/ai-event-client@550

@tanstack/ai-fal

npm i https://pkg.pr.new/@tanstack/ai-fal@550

@tanstack/ai-gemini

npm i https://pkg.pr.new/@tanstack/ai-gemini@550

@tanstack/ai-grok

npm i https://pkg.pr.new/@tanstack/ai-grok@550

@tanstack/ai-groq

npm i https://pkg.pr.new/@tanstack/ai-groq@550

@tanstack/ai-isolate-cloudflare

npm i https://pkg.pr.new/@tanstack/ai-isolate-cloudflare@550

@tanstack/ai-isolate-node

npm i https://pkg.pr.new/@tanstack/ai-isolate-node@550

@tanstack/ai-isolate-quickjs

npm i https://pkg.pr.new/@tanstack/ai-isolate-quickjs@550

@tanstack/ai-ollama

npm i https://pkg.pr.new/@tanstack/ai-ollama@550

@tanstack/ai-openai

npm i https://pkg.pr.new/@tanstack/ai-openai@550

@tanstack/ai-openrouter

npm i https://pkg.pr.new/@tanstack/ai-openrouter@550

@tanstack/ai-preact

npm i https://pkg.pr.new/@tanstack/ai-preact@550

@tanstack/ai-react

npm i https://pkg.pr.new/@tanstack/ai-react@550

@tanstack/ai-react-ui

npm i https://pkg.pr.new/@tanstack/ai-react-ui@550

@tanstack/ai-solid

npm i https://pkg.pr.new/@tanstack/ai-solid@550

@tanstack/ai-solid-ui

npm i https://pkg.pr.new/@tanstack/ai-solid-ui@550

@tanstack/ai-svelte

npm i https://pkg.pr.new/@tanstack/ai-svelte@550

@tanstack/ai-utils

npm i https://pkg.pr.new/@tanstack/ai-utils@550

@tanstack/ai-vue

npm i https://pkg.pr.new/@tanstack/ai-vue@550

@tanstack/ai-vue-ui

npm i https://pkg.pr.new/@tanstack/ai-vue-ui@550

@tanstack/openai-base

npm i https://pkg.pr.new/@tanstack/openai-base@550

@tanstack/preact-ai-devtools

npm i https://pkg.pr.new/@tanstack/preact-ai-devtools@550

@tanstack/react-ai-devtools

npm i https://pkg.pr.new/@tanstack/react-ai-devtools@550

@tanstack/solid-ai-devtools

npm i https://pkg.pr.new/@tanstack/solid-ai-devtools@550

commit: 7c76d8d

Trimmed `allowBuilds` to the minimum set whose lifecycle scripts are
required for `pnpm test:ci` to pass on a fresh checkout:

- `esbuild`: kept true — Vite needs the platform binary
- `protobufjs`: kept true — @google/genai (used by @tanstack/ai-gemini in
  CI) loads files generated by protobufjs's postinstall

Everything else is `false`:

- `sharp`, `workerd`: only reachable via `wrangler` (ai-isolate-cloudflare
  `dev:worker`/`deploy:worker` scripts — not in CI).
- `puppeteer`: only used in examples/ts-code-mode-web (examples aren't
  built by Nx).
- `@openrouter/sdk`: postinstall is `node scripts/check-types.js || true`,
  i.e. a no-op.
- `@parcel/watcher`, `unrs-resolver`, `nx`: perf optimisations with
  working software fallbacks; skipping the postinstall loses cache/daemon
  speed, not correctness.
- `isolated-vm`: already disabled (matches prior ignoredBuiltDependencies).

Verified end-to-end:
- Nuked node_modules, fresh `pnpm install` → no IGNORED_BUILDS warning.
- `pnpm test:pr` (full CI gate: sherif/knip/docs/eslint/lib/types/build/build)
  → 169/169 tasks green.
Six commits behind on the pinned SHA; range is routine maintenance plus
two action bumps relevant to this repo:

- nrwl/nx-set-shas → v5
- pnpm/action-setup → v6 (handy now that we're on pnpm 11.1.1)

Plus renovate config tweaks and dependency lockfile maintenance inside
the upstream `TanStack/config` repo.
@AlemTuzlak AlemTuzlak merged commit 2405f25 into main May 12, 2026
7 checks passed
@AlemTuzlak AlemTuzlak deleted the chore/bump-pnpm-11.1.1 branch May 12, 2026 12:52
AlemTuzlak added a commit that referenced this pull request May 14, 2026
…pace.yaml (#558)

pnpm v11 stopped reading settings from the \`pnpm\` field of \`package.json\`
(https://github.com/pnpm/pnpm/releases/tag/v11.0.0). Settings have to live
in \`pnpm-workspace.yaml\` instead. The repo's \`packageManager\` was
bumped from pnpm v10 to v11.1.1 in #550, but the two settings under the
\`pnpm\` key — \`overrides\` and \`patchedDependencies\` — weren't moved,
so they've been silently ignored ever since.

The \`abbrev\` override is benign, but the missing
\`@changesets/assemble-release-plan\` patch is the cause of PR #554's
broken bumps (anthropic 0.8.6 → 1.0.0 instead of → 0.9.0, gemini 0.10.3
→ 1.0.0 instead of → 0.11.0, etc.). The patch short-circuits
\`shouldBumpMajor\` for any \`peerDependencies\` change so peer-only bumps
don't cascade into major bumps across the workspace.

Verified locally with \`rm -rf node_modules && pnpm install\`: the patch
is now applied (the early-return \`if (depType === 'peerDependencies')\`
is present in
\`node_modules/.pnpm/@changesets+assemble-releas_<hash>/node_modules/@changesets/assemble-release-plan/dist/changesets-assemble-release-plan.cjs.js\`).

Once this lands, the changesets workflow on the next push to main will
regenerate \`changeset-release/main\` with the correct minor bumps.
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.

1 participant