fleetbo-cockpit-cli 1.0.8 β†’ 1.0.10

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 +16 -2
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -318,6 +318,20 @@ if (command === 'alex') {
318
318
  // COMMAND: android / ios (PROPULSION BUILD)
319
319
  // ============================================
320
320
  else if (command === 'android' || command === 'ios') {
321
+ // πŸ›‘ INTERCEPTION IOS : BLOQUAGE NET (MAINTENANCE/BETA)
322
+ if (command === 'ios') {
323
+ console.log(`\n\x1b[36m⚑ FLEETBO IOS PROPULSION\x1b[0m`);
324
+ console.log(`\x1b[33m[0/3] Initializing Neural Uplink...\x1b[0m`);
325
+
326
+ // Simulation d'un petit temps de chargement pour l'effet "OS"
327
+ await new Promise(r => setTimeout(r, 800));
328
+
329
+ console.log(`\n\x1b[31mβ›” PROPULSION ABORTED: iOS Frequency Restricted.\x1b[0m`);
330
+ console.log(`\x1b[90m This module is currently reserved for Vanguard Pilots (Closed Beta).\x1b[0m`);
331
+ console.log(`\x1b[90m Please engage propulsion on Android frequency for now.\x1b[0m\n`);
332
+
333
+ process.exit(1); // ArrΓͺt propre du processus
334
+ }
321
335
  checkGitSecurity();
322
336
  const platform = command;
323
337
  const nativeDir = platform === 'android' ? 'public/native/android/' : 'public/native/ios/';
@@ -429,7 +443,7 @@ else if (command === 'android' || command === 'ios') {
429
443
  console.log(` \x1b[32mβœ“\x1b[0m Bundle ready: ${sizeMB} MB`);
430
444
 
431
445
  // Γ‰tape 3: Upload vers Cloud Function
432
- console.log(`\n\x1b[33m[3/3]\x1b[0m Uploading to Fleetbo Factory...`);
446
+ console.log(`\n\x1b[33m[3/3]\x1b[0m Uploading to Fleetbo OS...`);
433
447
  await showEnergyTransfer();
434
448
 
435
449
  // 🟒 ON UTILISE UNE VARIABLE LOCALE POUR LA RΓ‰PONSE
@@ -461,7 +475,7 @@ else if (command === 'android' || command === 'ios') {
461
475
  console.log(`\x1b[32mβœ“ ${platform.toUpperCase()} PROPULSION SUCCESSFUL\x1b[0m`);
462
476
  console.log(`\x1b[32m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1b[0m`);
463
477
  console.log(`\x1b[90m Deployment ID: ${uploadResponse.data.deploymentId || 'N/A'}\x1b[0m`);
464
- console.log(`\x1b[90m Your ${platform} bundle is now in the Factory queue.\x1b[0m\n`);
478
+ console.log(`\x1b[90m Your ${platform} bundle is now in the OS.\x1b[0m\n`);
465
479
  } else {
466
480
  // Ce cas ne devrait pas arriver si le backend est bien codΓ© (il renverrait une erreur HTTP), mais au cas oΓΉ :
467
481
  throw new Error(uploadResponse.data?.error || 'Unknown logical error from Factory');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",