#!/bin/bash echo "๐Ÿš€ Starting frontend dependency installation..." echo "This may take several minutes depending on your network speed." echo "๐Ÿ“ฆ Installing core dependencies..." npm install --no-audit --no-fund if [ $? -eq 0 ]; then echo "โœ… Dependencies installed successfully!" echo "๐Ÿงช Running syntax check..." npx tsc --noEmit if [ $? -eq 0 ]; then echo "โœ… TypeScript compilation successful!" echo "๐Ÿš€ Starting development server..." npm run dev else echo "โŒ TypeScript compilation failed. Please check for errors." exit 1 fi else echo "โŒ Dependency installation failed. Please try again." exit 1 fi