Repository navigation
build: move to pnpm 11 - #20
Merged
Merged
Conversation
pnpm 10 is marked insecure in nixpkgs 26.05, and the machine-wide pnpm is now 11.27.0. Pin packageManager to pnpm@11.27.0, move the devshell to nixpkgs-26.05-darwin (pnpm 11.27.0), rename nixfmt-rfc-style to nixfmt, and keep the dependency build scripts pnpm 10 skipped disabled through allowBuilds, since pnpm 11 fails on unreviewed build scripts. Refs furedea/dotfiles#221 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
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:packageManagerpnpm@10.33.0→pnpm@11.27.0flake.nix/flake.lock: devshellnixpkgs→nixpkgs-26.05-darwin(pnpm 11.27.0, nodejs 24.21.0); only thenixpkgsinput was updated.nixfmt-rfc-style→nixfmt. The devshell evaluates without warnings.pnpm-workspace.yaml:allowBuildssets@google/genai,esbuild, andprotobufjstofalse. pnpm 11 failspnpm installwithERR_PNPM_IGNORED_BUILDSfor unreviewed build scripts; pnpm 10 skipped these postinstalls and everything worked, so they stay disabled (same approach as build: move to pnpm 11 effort-or-luck#87).pnpm-lock.yaml: unchanged (lockfileVersion 9.0).pnpm/action-setupreadspackageManager.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: passlefthook run pre-commit --all-files(nixfmt, statix, deadnix, format, lint, typecheck, ls-lint) and commit-msg (commitlint): passCould not be verified locally because of the agent sandbox, left to CI:
test: the hybrid-state isolation tests nestsandbox-exec(sandbox_apply: Operation not permitted), and pi-ai'sqwen-token-plan.jsonis unreadable because the sandbox denies**/*token*.jsonpaths.package:check: sameqwen-token-plan.jsonread denial.knip:productionreports@typesafe-ai/sdkas unused; it fails identically onmainand is not run in CI.Refs furedea/dotfiles#221
🤖 Generated with Claude Code