xonecas.io
719
Le

lextide / commit 26f80b2

fix: tolerate missing lefthook during publish

xonecas2026-04-11 26f80b29fc647f8185a07906e97738c85ecbbeae parent bf10fed

1 file changed

package.json+1−1
@@ -29,7 +29,7 @@
2929 "check": "biome check . && bun run typecheck && bun run test",
3030 "pack:dry": "bun publish --dry-run --access public",
3131 "prepublishOnly": "bun run build",
32- "prepare": "lefthook install"
32+ "prepare": "command -v lefthook >/dev/null 2>&1 && lefthook install || true"
3333 },
3434 "devDependencies": {
3535 "@biomejs/biome": "^2.4.11",