vako 1.3.6 → 1.3.8

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.
@@ -167,7 +167,7 @@ class SetupExecutor {
167
167
  author: author || '',
168
168
  license: license || 'MIT',
169
169
  dependencies: {
170
- vako: '^1.3.4'
170
+ vako: '^1.3.6'
171
171
  }
172
172
  }, null, 2);
173
173
 
@@ -327,12 +327,24 @@ module.exports = router;
327
327
 
328
328
  async installDependencies() {
329
329
  try {
330
+ // Afficher un message informatif
331
+ console.log(chalk.gray(' Installing dependencies... This may take a few minutes.'));
332
+
330
333
  execSync('npm install', {
331
334
  cwd: this.projectPath,
332
- stdio: 'pipe'
335
+ stdio: 'pipe',
336
+ timeout: 300000 // 5 minutes timeout
333
337
  });
338
+
339
+ console.log(chalk.green(' ✓ Dependencies installed successfully'));
334
340
  } catch (error) {
335
- throw new Error('Failed to install dependencies. Run "npm install" manually.');
341
+ // Ne pas faire planter le setup si l'installation échoue
342
+ console.log(chalk.yellow(' ⚠ Installation des dépendances échouée'));
343
+ console.log(chalk.gray(' Vous pouvez installer manuellement avec: npm install'));
344
+ console.log(chalk.gray(' Le projet a été créé avec succès, vous pouvez continuer.'));
345
+
346
+ // Ne pas throw l'erreur pour ne pas faire planter le setup
347
+ // L'utilisateur peut installer manuellement après
336
348
  }
337
349
  }
338
350
 
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.6');
24
+ .version('1.3.8');
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.6",
3
+ "version": "1.3.8",
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",