From 5aeff7585b465fa9479c538b67b99978d12455b1 Mon Sep 17 00:00:00 2001 From: jeffusion Date: Tue, 24 Mar 2026 12:43:35 +0800 Subject: [PATCH] fix(build): guard husky prepare for production installs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80ed592..91fda3b 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "start:prod": "bun run dist/index.js", "lint": "biome check src/", "test": "bun test", - "prepare": "husky" + "prepare": "command -v husky >/dev/null 2>&1 && husky || true" }, "keywords": [ "code-review",