feat: Switch project tooling from npm to bun and add enhanced pre-commit

checks

- Replace npm commands with bun/bunx in scripts, docs, and CI - Add
enhanced pre-commit checks with parallel execution - Document pre-commit
hook behavior in PRE_COMMIT_HOOKS.md - Update .gitignore/.dockerignore
for bun-debug.log - Refine ESLint config for bun and Prettier
integration - Add scripts/type-check-staged.sh for fast staged type
checks - Improve developer workflow and code quality automation
This commit is contained in:
William Valentin
2025-09-07 12:40:57 -07:00
parent 585c526a65
commit 8fa2d3fb60
14 changed files with 492 additions and 54 deletions

View File

@@ -1,4 +1,12 @@
# Run lint-staged for file-specific checks
npm run pre-commit
echo "✅ Pre-commit checks passed!"
# Enhanced pre-commit checks
# Set FAST_COMMIT=1 to skip enhanced checks and run only basic formatting
if [ "$FAST_COMMIT" = "1" ]; then
echo "🏃‍♂️ Fast commit mode - running basic checks only..."
bun run pre-commit
echo "✅ Basic pre-commit checks passed!"
else
echo "🔧 Running enhanced pre-commit checks..."
./scripts/pre-commit-checks.sh
fi