create-fleetbo-project 1.2.79 → 1.2.81
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.
|
@@ -189,7 +189,7 @@ if (command === 'alex') {
|
|
|
189
189
|
process.stdout.write(\` \\x1b[32mOK\x1b[0m\n\`);
|
|
190
190
|
} catch (err) {
|
|
191
191
|
process.stdout.write(\` \\x1b[31mFAILED\x1b[0m\n\`);
|
|
192
|
-
console.error(\`
|
|
192
|
+
console.error(\` ⚠️ Config sync failed: \${err.message}\`);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
if (instructions && Array.isArray(instructions) && instructions.length > 0) {
|
|
@@ -295,7 +295,6 @@ if (command === 'android' || command === 'ios') {
|
|
|
295
295
|
archive.finalize();
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
-
// Correction du saut de ligne ici aussi
|
|
299
298
|
console.log(\`\\n\\x1b[33mSyncing \${platform} logic bundle...\\x1b[0m\`);
|
|
300
299
|
await showEnergyTransfer();
|
|
301
300
|
|
|
@@ -340,7 +339,6 @@ const killNetworkService = () => {
|
|
|
340
339
|
}
|
|
341
340
|
};
|
|
342
341
|
|
|
343
|
-
|
|
344
342
|
let isExiting = false;
|
|
345
343
|
async function cleanupAndExit(code = 0) {
|
|
346
344
|
if (isExiting) return;
|
|
@@ -489,7 +487,7 @@ async function setupProject() {
|
|
|
489
487
|
|
|
490
488
|
process.chdir(projectDir);
|
|
491
489
|
|
|
492
|
-
console.log('
|
|
490
|
+
console.log(' [2.5/7] Standardizing Architecture (src/app)...');
|
|
493
491
|
const oldPath = path.join(projectDir, 'src/pages');
|
|
494
492
|
const newPath = path.join(projectDir, 'src/app');
|
|
495
493
|
|
|
@@ -538,7 +536,7 @@ async function setupProject() {
|
|
|
538
536
|
packageJson.scripts = { ...packageJson.scripts, "fleetbo": "node scripts/cli.js", "dev": "node scripts/cli.js" };
|
|
539
537
|
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8');
|
|
540
538
|
console.log('\n \x1b[32m [Fleetbo] Project successfully created!\x1b[0m');
|
|
541
|
-
console.log(`\n Run: cd ${projectName}
|
|
539
|
+
console.log(`\n Run: cd ${projectName}`);
|
|
542
540
|
console.log('\n \x1b[32m [Fleetbo] To start architecting with Alex, run: npm run fleetbo alex!\x1b[0m');
|
|
543
541
|
console.log('');
|
|
544
542
|
} catch (error) {
|