Skip to content

build(pnpm): move to pnpm 11 - #70

Merged
furedea merged 1 commit into
mainfrom
build/pnpm-11
Oct 18, 2026
Merged

furedea merged 1 commit into
mainfrom
build/pnpm-11

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin packageManager to pnpm@11.27.0.
  • Move the devshell to nixpkgs-26.05-darwin (pnpm 11.27.0, same as the machine-wide pnpm) and update only the nixpkgs input in flake.lock; nixpkgs-unstable is unchanged.
  • Rename nixfmt-rfc-style to nixfmt, as 26.05 warns on the old name.
  • Move the pnpm field of package.json to pnpm-workspace.yaml. pnpm 11 no longer reads it ([WARN] The "pnpm" field in package.json is no longer read by pnpm), so without this the overrides and build approvals would be silently ignored:
    • pnpm.overrides → overrides (same 15 entries and versions).
    • pnpm.onlyBuiltDependencies (esbuild, sharp) → allowBuilds with both set to true. pnpm 11 removed onlyBuiltDependencies and replaced it with the allowBuilds map; listing a package with true keeps the same allow-list behavior.

pnpm-lock.yaml is unchanged (lockfileVersion 9.0). No CI workflow changes.

Verification

With both the devshell pnpm (11.27.0, Node 22) and the machine-wide pnpm (11.27.0, Node 24):

  • CI=true pnpm install / pnpm install --frozen-lockfile: pass, lockfile unchanged
  • pnpm check (format:check, lint, typecheck, test, knip, build, verify:build): pass
  • lefthook run pre-commit --all-files: all 7 checks pass; commit-msg (commitlint) passes

pnpm check:e2e could not run locally because port 4321 is held by unrelated local servers; CI covers it.

Refs furedea/dotfiles#221

🤖 Generated with Claude Code

Pin packageManager to pnpm@11.27.0 and move the devshell to
nixpkgs-26.05-darwin, which ships the same pnpm as the machine.
Rename nixfmt-rfc-style to nixfmt, as 26.05 warns on the old name.

pnpm 11 no longer reads the "pnpm" field in package.json, so move
overrides into pnpm-workspace.yaml and translate onlyBuiltDependencies
into allowBuilds, which replaced it in pnpm 11.

Refs furedea/dotfiles#221

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying furedea-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: b3fca73
Status: ✅  Deploy successful!
Preview URL: https://974595b9.furedea-com.pages.dev
Branch Preview URL: https://build-pnpm-11.furedea-com.pages.dev

View logs

@furedea
furedea merged commit 48c914c into main Oct 18, 2026
16 checks passed
@furedea
furedea deleted the build/pnpm-11 branch October 18, 2026 13:43
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