Repository navigation
build(pnpm): move to pnpm 11 - #20
Merged
Merged
Conversation
Pin packageManager to pnpm@11.27.0 and move the devshell to nixpkgs-26.05-darwin, which ships the same pnpm. nixfmt-rfc-style is renamed to nixfmt in 26.05. The lockfile is unchanged. Refs furedea/dotfiles#221 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
furedea
added a commit
to furedea/reflex-state
that referenced
this pull request
Oct 18, 2026
## Summary pnpm 10 is marked insecure in nixpkgs 26.05 and the machine-wide pnpm is now 11.27.0, so this repository moves to pnpm 11, following furedea/template-typescript#20. - `package.json`: `packageManager` `pnpm@10.33.0` → `pnpm@11.27.0` - `flake.nix` / `flake.lock`: devshell `nixpkgs` → `nixpkgs-26.05-darwin` (pnpm 11.27.0, nodejs 24.21.0); only the `nixpkgs` input was updated. `nixfmt-rfc-style` → `nixfmt`. The devshell evaluates without warnings. - `pnpm-workspace.yaml`: `allowBuilds` sets `@google/genai`, `esbuild`, and `protobufjs` to `false`. pnpm 11 fails `pnpm install` with `ERR_PNPM_IGNORED_BUILDS` for unreviewed build scripts; pnpm 10 skipped these postinstalls and everything worked, so they stay disabled (same approach as furedea/effort-or-luck#87). - `pnpm-lock.yaml`: unchanged (lockfileVersion 9.0). - No CI workflow changes; `pnpm/action-setup` reads `packageManager`. ## Verification Run locally with both the devshell pnpm and the machine-wide pnpm (both 11.27.0): - `pnpm install --frozen-lockfile`, `format:check`, `lint`, `typecheck`, `test:release`, `knip`, `build`: pass - `lefthook run pre-commit --all-files` (nixfmt, statix, deadnix, format, lint, typecheck, ls-lint) and commit-msg (commitlint): pass Could not be verified locally because of the agent sandbox, left to CI: - `test`: the hybrid-state isolation tests nest `sandbox-exec` (`sandbox_apply: Operation not permitted`), and pi-ai's `qwen-token-plan.json` is unreadable because the sandbox denies `**/*token*.json` paths. - `package:check`: same `qwen-token-plan.json` read denial. `knip:production` reports `@typesafe-ai/sdk` as unused; it fails identically on `main` and is not run in CI. Refs furedea/dotfiles#221 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <132188853+furedea@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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(waspnpm@10.34.6).nixpkgsinput tonixpkgs-26.05-darwin(pnpm 11.27.0, matching the machine-wide pnpm) and update only that input inflake.lock.nixpkgs-unstable(lefthook) is unchanged.nixfmt-rfc-styletonixfmt, as the old name warns in 26.05.pnpm 10 is marked insecure in nixpkgs 26.05, and a
pnpm@10.xpin breaks the machine-wide pnpm 11.pnpm-lock.yamlis unchanged (lockfileVersion 9.0). No CI workflow changes:pnpm/action-setupreadspackageManager.Verification
With both the devshell pnpm and the machine-wide pnpm (11.27.0):
pnpm install --frozen-lockfile: passpnpm run check,format:check,knip,knip:production,lint,test,typecheck: passlefthook run pre-commit --all-files: all commands pass; commit-msg (commitlint) passesnix developevaluates without warningsRefs furedea/dotfiles#221
🤖 Generated with Claude Code