chore(ci): replace Bun with pnpm in Husky pre-commit hook#1202
chore(ci): replace Bun with pnpm in Husky pre-commit hook#1202MrgSub merged 2 commits intoMail-0:stagingfrom
Conversation
WalkthroughThe pre-commit hook script was updated to use Changes
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.husky/pre-commit (1)
1-1: Preferpnpm exec lint-stagedto invoke local binaries
Usingpnpm exec lint-stagedexplicitly runs the project’s locallint-stagedbinary, avoiding reliance on a global PNPM installation. Ensure PNPM is listed as a prerequisite and update development docs (e.g., CONTRIBUTING.md) to reflect this change.- pnpm lint-staged + pnpm exec lint-staged
Merge activity
|
Description
Previously, the pre-commit hook was configured to use bun lint-staged.
commits failed unless Bun was globally installed.
Type of Change
Please delete options that are not relevant.
Areas Affected
Please check all that apply:
Testing Done
Describe the tests you've done:
Security Considerations
For changes involving data or authentication:
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license.
Summary by CodeRabbit