Skip to content

fix: use 'husky || true' in prepare script#103

Closed
willfarrell wants to merge 1 commit into
developfrom
fix/husky-prepare
Closed

fix: use 'husky || true' in prepare script#103
willfarrell wants to merge 1 commit into
developfrom
fix/husky-prepare

Conversation

@willfarrell
Copy link
Copy Markdown
Owner

Summary

  • Change "prepare": "husky" to "prepare": "husky || true"
  • Prevents npm ci from failing in environments where husky isn't installed (e.g. production Docker builds, CI steps using --omit=dev)

Test plan

  • Verify npm ci still installs husky hooks in dev environments
  • Verify npm ci --omit=dev no longer fails on missing husky

@willfarrell willfarrell deleted the fix/husky-prepare branch April 18, 2026 22:13
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.

1 participant