create-fleetbo-project 1.2.48 ā 1.2.49
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.
|
@@ -404,8 +404,10 @@ async function setupProject() {
|
|
|
404
404
|
packageJson.name = projectName;
|
|
405
405
|
packageJson.scripts = { ...packageJson.scripts, "fleetbo": "node scripts/cli.js", "dev": "node scripts/cli.js" };
|
|
406
406
|
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8');
|
|
407
|
-
console.log('\n [Fleetbo]
|
|
408
|
-
console.log(`\n
|
|
407
|
+
console.log('\n \x1b[32m [Fleetbo] Project successfully created!\x1b[0m');
|
|
408
|
+
console.log(`\n Run: cd ${projectName} && npm run fleetbo`);
|
|
409
|
+
console.log('\ x1b[32m [Fleetbo] To start architecting with Alex, run: npm run fleetbo alex!\x1b[0m');
|
|
410
|
+
console.log('');
|
|
409
411
|
} catch (error) {
|
|
410
412
|
console.error('\nā Setup failed:', error.message);
|
|
411
413
|
if (fs.existsSync(projectDir)) try { fs.rmSync(projectDir, { recursive: true, force: true }); } catch(e){}
|