feat: add Nuxt.js and Nuxt UI stack support
This commit is contained in:
@@ -12,7 +12,7 @@ const program = new Command();
|
||||
program
|
||||
.name('uipro')
|
||||
.description('CLI to install UI/UX Pro Max skill for AI coding assistants')
|
||||
.version('1.2.0');
|
||||
.version('1.4.0');
|
||||
|
||||
program
|
||||
.command('init')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'all';
|
||||
export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'all';
|
||||
|
||||
export interface Release {
|
||||
tag_name: string;
|
||||
@@ -20,7 +20,7 @@ export interface InstallConfig {
|
||||
force?: boolean;
|
||||
}
|
||||
|
||||
export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro','codex', 'all'];
|
||||
export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'all'];
|
||||
|
||||
export const AI_FOLDERS: Record<Exclude<AIType, 'all'>, string[]> = {
|
||||
claude: ['.claude'],
|
||||
@@ -31,4 +31,5 @@ export const AI_FOLDERS: Record<Exclude<AIType, 'all'>, string[]> = {
|
||||
kiro: ['.kiro', '.shared'],
|
||||
codex: ['.codex', '.shared'],
|
||||
roocode: ['.roo', '.shared'],
|
||||
qoder: ['.qoder', '.shared'],
|
||||
};
|
||||
|
||||
@@ -30,9 +30,13 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {
|
||||
}
|
||||
if (existsSync(join(cwd, '.codex'))) {
|
||||
detected.push('codex');
|
||||
}
|
||||
if (existsSync(join(cwd, '.roo'))) {
|
||||
detected.push('roocode');
|
||||
}
|
||||
if (existsSync(join(cwd, '.qoder'))) {
|
||||
detected.push('qoder');
|
||||
}
|
||||
|
||||
// Suggest based on what's detected
|
||||
let suggested: AIType | null = null;
|
||||
@@ -63,6 +67,8 @@ export function getAITypeDescription(aiType: AIType): string {
|
||||
return 'Codex (.codex/skills/ + .shared/)';
|
||||
case 'roocode':
|
||||
return 'RooCode (.roo/commands/ + .shared/)';
|
||||
case 'qoder':
|
||||
return 'Qoder (.qoder/rules/ + .shared/)';
|
||||
case 'all':
|
||||
return 'All AI assistants';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user