Skip to content

Make husky prepare script graceful for fresh installs#4

Merged
jpr5 merged 1 commit intomainfrom
fix-husky-prepare
Mar 3, 2026
Merged

Make husky prepare script graceful for fresh installs#4
jpr5 merged 1 commit intomainfrom
fix-husky-prepare

Conversation

@jpr5
Copy link
Contributor

@jpr5 jpr5 commented Mar 3, 2026

Summary

  • Change "prepare": "husky" to "prepare": "husky || true"
  • Prevents ELIFECYCLE failure when husky binary isn't available yet (fresh clone, CI, package consumers running pnpm install)

Test plan

  • pnpm install succeeds on fresh clone
  • Pre-commit hook still works after install

@jpr5 jpr5 merged commit 10c0f98 into main Mar 3, 2026
6 of 8 checks passed
@jpr5 jpr5 deleted the fix-husky-prepare branch March 16, 2026 02:25
@jpr5 jpr5 mentioned this pull request Mar 19, 2026
4 tasks
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