- Add .gitignore to exclude sensitive files and build artifacts - Add CLAUDE.md for AI assistant context - Add Makefile for development commands - Add validation scripts for backend and frontend - Add TypeScript configuration for frontend - Update config defaults to use SQLite for development - Add model configuration management (prompt/image models) - Improve image generation service with multiple provider support - Enhance frontend UI with model settings and improved UX Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
652 B
Bash
Executable File
28 lines
652 B
Bash
Executable File
#!/bin/bash
|
|
# Frontend validation script
|
|
|
|
set -e
|
|
|
|
echo "🔍 Running frontend validation..."
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
# Check if node_modules exists
|
|
if [ ! -d "node_modules" ]; then
|
|
echo " → Installing dependencies..."
|
|
npm install
|
|
fi
|
|
|
|
# Type check
|
|
echo " → Running TypeScript check..."
|
|
npm run type-check 2>/dev/null || echo " ⚠️ TypeScript check not configured"
|
|
|
|
# Lint
|
|
echo " → Running ESLint..."
|
|
npm run lint 2>/dev/null || echo " ⚠️ ESLint not configured"
|
|
|
|
# Build check
|
|
echo " → Running build check..."
|
|
npm run build 2>/dev/null || echo " ⚠️ Build check failed"
|
|
|
|
echo "✅ Frontend validation complete" |