Skip to content

chore: switch worktree node_modules from symlink to pnpm install#42

Merged
MrSmart00 merged 2 commits into
mainfrom
chore/worktree-pnpm-install
Apr 14, 2026
Merged

chore: switch worktree node_modules from symlink to pnpm install#42
MrSmart00 merged 2 commits into
mainfrom
chore/worktree-pnpm-install

Conversation

@MrSmart00
Copy link
Copy Markdown
Owner

Summary

  • worktreeのnode_modulesをシンボリックリンクからpnpm installに変更
  • iOSビルドでシンボリックリンク越しのパス解決が失敗する問題を解消

Changes

  • .claude/settings.json: symlinkDirectories を空にし、SessionStart hookで pnpm install --frozen-lockfile を自動実行するよう変更

Test plan

  • 新しいworktreeを作成し、node_modulesがシンボリックリンクではなく実ディレクトリであることを確認
  • worktree内で pnpm expo start → iOSシミュレータでビルド・起動を確認

Related Issues

  • N/A

シンボリックリンクではiOSビルドが動かないため、
SessionStart hookでpnpm installを実行する方式に変更

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

Coverage Report

Lines Statements Branches Functions
Coverage: 99%
98.59% (351/356) 90.22% (120/133) 99.06% (106/107)

Full Report

node_modulesが存在しない or シンボリックリンクの場合のみ実行するよう条件を追加

Co-Authored-By: Claude <noreply@anthropic.com>
@MrSmart00 MrSmart00 merged commit 9f452c2 into main Apr 14, 2026
1 check passed
@MrSmart00 MrSmart00 deleted the chore/worktree-pnpm-install branch April 14, 2026 14:38
github-actions Bot added a commit that referenced this pull request Apr 14, 2026
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