Repository navigation
fix(pnpm): move the shared virtual store setting to pnpm 11's config.yaml - #223
Merged
Merged
Conversation
…yaml pnpm 11 reads only auth and registry settings from rc files, so the store-dir and enable-global-virtual-store lines in ~/.config/pnpm/rc were silently ignored. Packages then unpacked into each project's node_modules again, where the agent sandbox denies the .idea directories some ship, and pnpm install failed with EPERM. pnpm 11 takes these settings from $XDG_CONFIG_HOME/pnpm/config.yaml. Refs #221 Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
furedea
added a commit
that referenced
this pull request
Nov 16, 2026
agent-config の PostToolUse フックが ADR 編集後に実行する `adr-check` を PATH に置く.`jev-lint` と同じ方法で `home.packages` に追加し,`agent-config` 入力を #225 を含むリビジョンに更新する. Refs furedea/agent-config#169 ## 変更内容 - `nix/home/default.nix`: `adrCheckPackage = agent-config.packages.${system}.adr-check;` を `jevLintPackage` の隣に追加し,`home.packages` に加えた(furedea/agent-config#225). - `flake.lock`: `agent-config` を `2ab23eb` → `138c542` に更新した(`nix flake update agent-config`). ## agent-config の更新内容(2ab23eb → 138c542,23 コミット) - lint: go-style / rust-style / python-style / TypeScript / bash-style / github-actions-style / agents/AGENTS.md のルールを ast-grep・jev-lint・model rules へ移行(#190, #191, #192, #193, #194, #195),Go の `util`・`common` パッケージ検出(#202),ブロッキング ast-grep ルールの欠落修正(#216) - hooks: 静的ルールエラーでの編集ブロックと ast-grep-ignore の保護(#203),ask プレフィックスの限定(#199),リポジトリフック回避オプションの拒否(#212),コードセルの判定修正(#224) - skills: issue / git / setup ワークフローを `development-cycle` に統合(#211),agent 実行の verify ステップ削除(#213),範囲外指摘への回答と all-green 待機(#223) - docs/ADR: MADR の採用(#215),スキル責務の配置(#208),コマンド判定の方針(#198),ast-grep のブロック方針(#214),AGENTS.md の整理(#205) - build/ci: マイナーバージョン上げの設定(#217),jev-lint モデルルールテストを CI で実行(#218) - feat: `adr-check` コマンドの追加(#225) ## 検証 - `nix build '.#homeConfigurations."kaito@mbp".activationPackage'`: 成功.生成物の `home-path/bin` に `adr-check` が含まれることを確認した. - `darwin-rebuild switch` は実行していない. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.
pnpm installin the furedea.com lane for #221 failed withERR_PNPM_EPERMonmkdir …/node_modules/.pnpm/[email protected]/…/.idea/codeStyles.pnpm 11 reads only auth and registry settings from rc files, so
store-dirandenable-global-virtual-storein~/.config/pnpm/rc(#204) were silently ignored:pnpm config get enable-global-virtual-storeandstore-dirboth printundefinedon pnpm 11.27.0. Packages then unpacked into the project'snode_modulesagain, where the agent sandbox denies the.ideadirectories some packages ship. pnpm 11 reads its own settings from$XDG_CONFIG_HOME/pnpm/config.yaml.Changes
nix/home/default.nix: replacepnpm/rcwithpnpm/config.yamlholdingstoreDirandenableGlobalVirtualStore: true.nix/checks.nix:pnpm-shared-virtual-storenow checks the YAML file.Verification
pnpm-shared-virtual-storewas updated first and failed (attribute "pnpm/config.yaml" missing).XDG_CONFIG_HOMEholding the same YAML, pnpm 11.27.0 resolvesenableGlobalVirtualStoretotrueandstoreDirto~/.local/share/pnpm/store.nix build .#checks.aarch64-darwin.home-configuration .#checks.aarch64-darwin.host-configuration .#darwinConfigurations.mbp.system: pass.After merge,
darwin-rebuild switchinstalls the file.Refs #221
🤖 Generated with Claude Code