Merge remote-tracking branch 'origin/master' into feat/acp-snapshot-tests
This commit is contained in:
@@ -17,12 +17,12 @@ Install dependencies from the repo root:
|
||||
pnpm install
|
||||
```
|
||||
|
||||
The install also runs the root `postinstall` script, which installs lefthook from the repo dev dependency.
|
||||
The install also runs the root `postinstall` script, which installs lefthook from the repo dev dependency through `scripts/install-lefthook.mjs`; the wrapper uses lefthook's reviewed `--force` mode so linked worktrees with an existing `core.hooksPath` do not fail normal `pnpm run …` commands.
|
||||
|
||||
If hooks are missing because dependencies were restored from cache or `postinstall` was skipped, install them manually:
|
||||
|
||||
```sh
|
||||
pnpm exec lefthook install
|
||||
pnpm exec lefthook install --force
|
||||
```
|
||||
|
||||
Run typecheck once after a fresh clone:
|
||||
|
||||
Reference in New Issue
Block a user