diff --git a/.release-please/next-manifest.json b/.release-please/next-manifest.json index 76d5538..dbd1af6 100644 --- a/.release-please/next-manifest.json +++ b/.release-please/next-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.9.0" + ".": "0.13.0-next.1" } diff --git a/README.md b/README.md index 55e2521..a7c64c4 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,17 @@ site's own `lefthook.yml` can add commands (for example image compression) but cannot override ones defined here. Differences go through `package.json` scripts: define `test:unit:precommit` (for example excluding tests that need a built `dist/`) and the pre-commit unit step runs it instead of `test:unit`. +Likewise, define `check:precommit` and the typecheck step runs it instead of +`check`. CI keeps calling the full scripts, so these only narrow what runs +locally. Common uses: + +- bun: `"test:unit:precommit": "bun test --changed"` runs only the test files + whose imports reach an uncommitted change. +- pnpm workspace: `pnpm -r --filter '...[HEAD]' run