vako 1.3.10 → 1.3.11

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.
@@ -703,9 +703,14 @@ ${plugins.map(p => ` ⚡ ${p}`).join('\n') || ' No plugins selected'}
703
703
  async handleError(error) {
704
704
  console.log(chalk.red.bold('\n❌ Setup Error\n'));
705
705
 
706
+ // Éviter d'afficher le message d'erreur si c'est juste chalk.rainbow
707
+ const errorMessage = error.message.includes('chalk.rainbow')
708
+ ? 'An error occurred during setup. Please update vako: npm install -g vako@latest'
709
+ : error.message;
710
+
706
711
  const errorBox = boxen(
707
712
  chalk.red('An error occurred during setup:\n\n') +
708
- chalk.white(error.message) + '\n\n' +
713
+ chalk.white(errorMessage) + '\n\n' +
709
714
  chalk.gray('Please try again or report this issue if it persists.'),
710
715
  {
711
716
  padding: 1,
package/bin/vako.js CHANGED
@@ -21,7 +21,7 @@ const program = new Command();
21
21
  program
22
22
  .name('vako')
23
23
  .description('Vako Framework CLI')
24
- .version('1.3.10');
24
+ .version('1.3.11');
25
25
 
26
26
  // ============= DEV COMMAND =============
27
27
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vako",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "🚀 Ultra-modern Node.js framework with hot reload, plugins, authentication, TypeScript support, and Next.js integration",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",