mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
- Rename index.ts to cli.ts as single entry point - Merge app.ts and shutdown-state.ts into server.ts - Update all imports and references to use new structure - Update e2e tests and dev script to spawn via cli.ts - Remove execution code from server.ts (only cli.ts executes) - Clean up tsconfig.client.json exclude path This creates a cleaner separation where cli.ts is the only entry point that decides whether to run server or forward mode. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
No EOL
388 B
JavaScript
16 lines
No EOL
388 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
function removeRecursive(dirPath) {
|
|
if (fs.existsSync(dirPath)) {
|
|
fs.rmSync(dirPath, { recursive: true, force: true });
|
|
console.log(`Removed: ${dirPath}`);
|
|
}
|
|
}
|
|
|
|
// Clean build output directories
|
|
removeRecursive('public');
|
|
removeRecursive('dist');
|
|
removeRecursive('native');
|
|
|
|
console.log('Clean completed successfully'); |