Commit e793cd3
Symlink node_modules and husky in worktrees for JS tooling (#8422)
Worktrees don't have node_modules or .husky/_/husky.sh, breaking
pre-commit hooks (prettier, eslint) and JS tests. Fix by symlinking
both from the main repo after worktree creation.
Also add .husky/_ to .gitignore so the symlink doesn't show as
untracked, and update worktree paths to use ./worktrees/.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 49eb174 commit e793cd3
2 files changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
129 | 135 | | |
130 | 136 | | |
131 | 137 | | |
132 | | - | |
| 138 | + | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments