Repository navigation
build(pnpm): move to pnpm 11 - #70
Merged
Merged
Conversation
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>
Deploying furedea-com with
|
| 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 |
4 tasks
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.
Summary
packageManagertopnpm@11.27.0.nixpkgs-26.05-darwin(pnpm 11.27.0, same as the machine-wide pnpm) and update only thenixpkgsinput inflake.lock;nixpkgs-unstableis unchanged.nixfmt-rfc-styletonixfmt, as 26.05 warns on the old name.pnpmfield ofpackage.jsontopnpm-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) →allowBuildswith both set totrue. pnpm 11 removedonlyBuiltDependenciesand replaced it with theallowBuildsmap; listing a package withtruekeeps the same allow-list behavior.pnpm-lock.yamlis 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 unchangedpnpm check(format:check, lint, typecheck, test, knip, build, verify:build): passlefthook run pre-commit --all-files: all 7 checks pass; commit-msg (commitlint) passespnpm check:e2ecould not run locally because port 4321 is held by unrelated local servers; CI covers it.Refs furedea/dotfiles#221
🤖 Generated with Claude Code