Skip to content

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

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 (was pnpm@10.34.6).
  • Move the devshell nixpkgs input to nixpkgs-26.05-darwin (pnpm 11.27.0, matching the machine-wide pnpm) and update only that input in flake.lock. nixpkgs-unstable (lefthook) is unchanged.
  • Rename nixfmt-rfc-style to nixfmt, as the old name warns in 26.05.

pnpm 10 is marked insecure in nixpkgs 26.05, and a pnpm@10.x pin breaks the machine-wide pnpm 11. pnpm-lock.yaml is unchanged (lockfileVersion 9.0). No CI workflow changes: pnpm/action-setup reads packageManager.

Verification

With both the devshell pnpm and the machine-wide pnpm (11.27.0):

  • pnpm install --frozen-lockfile: pass
  • pnpm run check, format:check, knip, knip:production, lint, test, typecheck: pass
  • lefthook run pre-commit --all-files: all commands pass; commit-msg (commitlint) passes
  • nix develop evaluates without warnings

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. 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
furedea merged commit 12463bc into main Oct 18, 2026
11 checks passed
@furedea
furedea deleted the build/pnpm-11 branch October 18, 2026 13:40
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>
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