Skip to content

Conversation

@reverentgeek
Copy link
Collaborator

Summary

  • Change prepare script from husky to husky || true
  • Allows production installs (pnpm install --prod) to succeed when husky isn't available

Context

Docker production builds use --prod flag which skips dev dependencies. The prepare script still runs but husky isn't installed, causing build failure:

. prepare$ husky
. prepare: sh: husky: not found
ELIFECYCLE  Command failed.

Test plan

  • Docker build succeeds with this fix

🤖 Generated with Claude Code

The prepare script runs during `pnpm install --prod` but husky is a
dev dependency. Use `husky || true` to gracefully handle when husky
isn't installed (e.g., Docker production builds).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@reverentgeek reverentgeek merged commit 5e1da48 into main Jan 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants