fleetbo-cockpit-cli 1.0.79 → 1.0.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.
Files changed (2) hide show
  1. package/cli.js +10 -4
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -873,7 +873,7 @@ else {
873
873
  console.log('\x1b[32mFleetbo OS ❯\x1b[0m \x1b[1mGO GO GO ! OS IS READY\x1b[0m');
874
874
  console.log('\x1b[32mFleetbo OS ❯\x1b[0m You can now start coding and previewing. 🚀');
875
875
  console.log(`\x1b[32mFleetbo OS ❯\x1b[0m -------------------------------------------------------------`);
876
- console.log(`\x1b[34mPilot Instruction ❯\x1b[0m Return to the Workspace. The Engine is ready for your orders.\n`);
876
+ console.log(`\n\x1b[34mPilot Instruction ❯\x1b[0m Return to the Workspace. The Engine is ready for your orders.\n`);
877
877
  } catch (err) {
878
878
  console.error(`\x1b[31mFleetbo OS ❯\x1b[0m Sync Error: ${err.message}`);
879
879
  }
@@ -893,7 +893,7 @@ else {
893
893
  }
894
894
 
895
895
  const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
896
- const devServer = spawn(npmCmd, ['run', 'dev'], {
896
+ const devServer = spawn(npmCmd, ['run', 'dev', '--silent'], {
897
897
  stdio: ['ignore', 'pipe', 'pipe'],
898
898
  shell: true,
899
899
  env: {
@@ -920,7 +920,13 @@ else {
920
920
  'Starting the development server',
921
921
  'You can now view',
922
922
  'vite v',
923
- 'press h + enter'
923
+ 'VITE v', // Vite en majuscules
924
+ 'ready in', // Cache "ready in 180 ms"
925
+ '➜ Local', // Cache l'URL locale
926
+ '➜ Network', // Cache l'URL réseau
927
+ 'press h + enter',
928
+ '> vite', // Au cas où npm force l'affichage
929
+ '> fleetbo'
924
930
  ];
925
931
 
926
932
  // On filtre les lignes pour ne garder que le vrai code/debug
@@ -937,7 +943,7 @@ else {
937
943
  if (!connectionStarted && (output.includes('localhost') || output.includes('ready in'))){
938
944
  connectionStarted = true;
939
945
 
940
- console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------');
946
+ console.log('\n\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------');
941
947
  console.log(`\x1b[33mFleetbo OS ❯\x1b[0m 🔗 Establishing Secure Uplink...`);
942
948
  console.log(`\x1b[33mFleetbo OS ❯\x1b[0m ⏳ Please wait for the green message...`);
943
949
  console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.79",
3
+ "version": "1.0.81",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",