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
13 lines
379 B
Plaintext
Executable File
13 lines
379 B
Plaintext
Executable File
|
|
|
|
# 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
|