mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-03 16:47:42 +01:00
- Bump version to 0.1.1 for tracking - Add webpack-bundle-optimizer script for Next.js config - Simplify ESLint configuration to resolve missing dependencies - Prepare for production deployment with proper version control This deployment includes: - Profile update fixes with banner_url support - LN address validation - Auth cookie fixes for profile updates - Various documentation and testing improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
788 B
Bash
27 lines
788 B
Bash
#!/bin/bash
|
|
|
|
# 🚀 ORANGECAT DEV SCRIPT - NO MORE PORT CONFLICTS!
|
|
# This script ensures a clean development environment every time
|
|
|
|
echo "🧹 Cleaning up existing development processes..."
|
|
|
|
# Kill any existing Node.js processes
|
|
powershell "Stop-Process -Name node -Force -ErrorAction SilentlyContinue" 2>/dev/null || echo "No Node processes to kill"
|
|
|
|
# Wait a moment for processes to fully terminate
|
|
sleep 2
|
|
|
|
echo "🗑️ Clearing Next.js cache..."
|
|
|
|
# Clear Next.js cache
|
|
rm -rf .next 2>/dev/null || echo "No .next cache to clear"
|
|
|
|
# Clear npm cache if needed
|
|
npm cache clean --force 2>/dev/null || echo "npm cache already clean"
|
|
|
|
echo "🔧 Starting development server on port 3000..."
|
|
|
|
# Start the development server
|
|
npm run dev
|
|
|
|
echo "✅ Development server started successfully!" |