running prettier for cleanup

This commit is contained in:
Boki 2025-06-11 10:13:25 -04:00
parent fe7733aeb5
commit d85cd58acd
151 changed files with 29158 additions and 27966 deletions

19
scripts/format.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
# Simple script to check and format TypeScript files
echo "🎨 Running Prettier on TypeScript files..."
# Check if prettier is available
if ! command -v ./node_modules/.bin/prettier &> /dev/null; then
echo "❌ Prettier not found. Please install it with: bun add -d prettier"
exit 1
fi
# Format TypeScript and JSON files
./node_modules/.bin/prettier --write \
"apps/**/*.{ts,json}" \
"libs/**/*.{ts,json}" \
"*.json" \
--ignore-path .prettierignore
echo "✅ Prettier formatting complete!"