cursor, correted roo, and windsurf rules readded and will update on project build
This commit is contained in:
16
tools/cli.js
16
tools/cli.js
@@ -3,6 +3,7 @@
|
||||
const { Command } = require('commander');
|
||||
const WebBuilder = require('./builders/web-builder');
|
||||
const V3ToV4Upgrader = require('./upgraders/v3-to-v4-upgrader');
|
||||
const IdeSetup = require('./installer/lib/ide-setup');
|
||||
const path = require('path');
|
||||
|
||||
const program = new Command();
|
||||
@@ -39,6 +40,21 @@ program
|
||||
await builder.buildTeams();
|
||||
}
|
||||
|
||||
// Generate IDE configuration folders
|
||||
console.log('Generating IDE configuration folders...');
|
||||
const installDir = process.cwd();
|
||||
|
||||
// Generate configurations for all supported IDEs
|
||||
const ides = ['cursor', 'claude-code', 'windsurf', 'roo'];
|
||||
for (const ide of ides) {
|
||||
try {
|
||||
console.log(`Setting up ${ide} integration...`);
|
||||
await IdeSetup.setup(ide, installDir);
|
||||
} catch (error) {
|
||||
console.warn(`Warning: Failed to setup ${ide}:`, error.message);
|
||||
}
|
||||
}
|
||||
|
||||
console.log('Build completed successfully!');
|
||||
} catch (error) {
|
||||
console.error('Build failed:', error.message);
|
||||
|
||||
Reference in New Issue
Block a user