create-fleetbo-project 1.2.98 → 1.2.100
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.
|
@@ -30,7 +30,6 @@ if (!projectNameArg || !bootstrapTokenArg || !userEmailArg) {
|
|
|
30
30
|
// NPM = CDN industriel, SemVer, zéro rate limit GitHub
|
|
31
31
|
const getArchiveUrl = () => {
|
|
32
32
|
const templatePackage = jsFramework === 'vue' ? 'my-fleetbo-vue' : 'my-fleetbo-react';
|
|
33
|
-
console.log(` 🔍 Resolving latest ${jsFramework.toUpperCase()} template from npm registry...`);
|
|
34
33
|
try {
|
|
35
34
|
const tarball = execSync(`npm view ${templatePackage} dist.tarball`, { stdio: ['pipe', 'pipe', 'ignore'] }).toString().trim();
|
|
36
35
|
if (!tarball) throw new Error('Empty response');
|
|
@@ -112,7 +111,7 @@ function downloadEngine(url, dest) {
|
|
|
112
111
|
}
|
|
113
112
|
|
|
114
113
|
async function setupProject() {
|
|
115
|
-
console.log(`\n ⚡ Initializing Fleetbo
|
|
114
|
+
console.log(`\n ⚡ Initializing Fleetbo Frontend for "${projectName}"...`);
|
|
116
115
|
|
|
117
116
|
try {
|
|
118
117
|
if (fs.existsSync(projectDir)) {
|
|
@@ -211,7 +210,7 @@ yarn-error.log*
|
|
|
211
210
|
console.log('\n \x1b[1;32m✓ [Fleetbo] Project successfully created!\x1b[0m');
|
|
212
211
|
console.log(`\n Installation path: \x1b[36m${projectDir}\x1b[0m\n`);
|
|
213
212
|
|
|
214
|
-
console.log(' \x1b[1;33m
|
|
213
|
+
console.log(' \x1b[1;33m NEXT STEPS (Mini-Tutorial):\x1b[0m');
|
|
215
214
|
console.log(' --------------------------------------------------');
|
|
216
215
|
console.log(` 1️ Navigate to your project : \x1b[36mcd ${projectName}\x1b[0m`);
|
|
217
216
|
console.log(' 2️ Launch the Fleetbo Engine : \x1b[36mnpm run fleetbo\x1b[0m');
|