From 4e8b113b4eb11920dca6e8661c8f31271b3017c1 Mon Sep 17 00:00:00 2001 From: Mauricio Barragan Date: Thu, 16 Jul 2026 14:01:54 -0600 Subject: [PATCH] fix(build): make husky prepare tolerant so Docker build doesn't fail npm ci --prefix web installs the web package's file:.. dependency on root, which runs the root prepare script (husky). In the Docker build stages husky isn't installed, so 'husky' exits 127 and the build fails. 'husky || true' no-ops when the binary is absent (Docker/CI) while still running normally in local dev where husky is present. Co-authored-by: Cursor --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80bd5e0..917a884 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:e2e": "playwright test", "test:observability": "playwright test observability.spec.ts", "lint": "eslint .", - "prepare": "husky" + "prepare": "husky || true" }, "lint-staged": { "src/**/*.ts": [