vako 1.3.11 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/setup.js +12 -1
- package/bin/vako.js +1 -1
- package/package.json +1 -1
package/bin/commands/setup.js
CHANGED
|
@@ -587,7 +587,18 @@ ${plugins.map(p => ` ⚡ ${p}`).join('\n') || ' No plugins selected'}
|
|
|
587
587
|
});
|
|
588
588
|
|
|
589
589
|
console.log(completionBox);
|
|
590
|
-
|
|
590
|
+
|
|
591
|
+
// Utiliser gradient.rainbow avec fallback sur chalk.green
|
|
592
|
+
try {
|
|
593
|
+
if (gradient && typeof gradient.rainbow === 'function') {
|
|
594
|
+
console.log(gradient.rainbow('\n✨ Happy coding with Vako! ✨\n'));
|
|
595
|
+
} else {
|
|
596
|
+
console.log(chalk.green('\n✨ Happy coding with Vako! ✨\n'));
|
|
597
|
+
}
|
|
598
|
+
} catch (error) {
|
|
599
|
+
// Fallback si gradient.rainbow échoue
|
|
600
|
+
console.log(chalk.green('\n✨ Happy coding with Vako! ✨\n'));
|
|
601
|
+
}
|
|
591
602
|
}
|
|
592
603
|
|
|
593
604
|
/**
|
package/bin/vako.js
CHANGED
package/package.json
CHANGED