mirror of
https://github.com/claude-did-this/claude-hub.git
synced 2026-02-15 03:31:47 +01:00
- Remove 11 JavaScript source files that have been migrated to TypeScript - Update package.json scripts to reference TypeScript files - Update documentation and scripts to reference .ts instead of .js - Keep JavaScript files without TypeScript equivalents (chatbot-related) This completes the TypeScript migration for core application files while maintaining backward compatibility for components not yet migrated. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
458 B
Bash
Executable File
16 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Get port from environment or default to 3003
|
|
DEFAULT_PORT=${PORT:-3003}
|
|
|
|
# Kill any processes using the port
|
|
echo "Checking for existing processes on port $DEFAULT_PORT..."
|
|
pid=$(lsof -ti:$DEFAULT_PORT)
|
|
if [ ! -z "$pid" ]; then
|
|
echo "Found process $pid using port $DEFAULT_PORT, killing it..."
|
|
kill -9 $pid
|
|
fi
|
|
|
|
# Start the server with the specified port
|
|
echo "Starting server on port $DEFAULT_PORT..."
|
|
PORT=$DEFAULT_PORT node dist/index.js |