vako 1.3.7 → 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.
- package/bin/commands/setup-executor.js +14 -2
- package/bin/vako.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
package/package.json
CHANGED