create-fleetbo-project 1.2.90 → 1.2.92

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.
@@ -153,10 +153,9 @@ yarn-error.log*
153
153
  fs.writeFileSync(path.join(projectDir, '.gitignore'), gitignoreContent, 'utf8');
154
154
 
155
155
  console.log(' [7/8] Installing dependencies...');
156
- execSync('npm install', { stdio: 'inherit' });
157
-
158
- // Installer cloudflared comme devDependency (nécessaire pour le tunnel)
159
- execSync('npm install cloudflared --save-dev', { stdio: 'ignore' });
156
+ execSync('npm install --no-audit --no-fund --silent', { stdio: 'inherit' });
157
+
158
+ execSync('npm install cloudflared --save-dev --no-audit --no-fund --silent', { stdio: 'ignore' });
160
159
 
161
160
  console.log(' [8/8] Finalizing setup...');
162
161
  const packageJsonPath = path.join(projectDir, 'package.json');
@@ -167,12 +166,12 @@ yarn-error.log*
167
166
  packageJson.scripts = {
168
167
  ...packageJson.scripts,
169
168
  "fleetbo": "npx fleetbo-cockpit-cli@latest",
170
- "dev": "npx fleetbo-cockpit-cli@latest"
169
+ "dev": "vite",
170
+ "build": "vite build"
171
171
  };
172
172
 
173
173
  fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8');
174
174
 
175
- // Supprimer le dossier scripts local (car on utilise le CLI npm)
176
175
  const scriptsDir = path.join(projectDir, 'scripts');
177
176
  if (fs.existsSync(scriptsDir)) {
178
177
  try {
@@ -182,9 +181,20 @@ yarn-error.log*
182
181
  }
183
182
  }
184
183
 
185
- console.log('\n \x1b[32m✓ [Fleetbo] Project successfully created!\x1b[0m');
186
- console.log(`\n Run: cd ${projectName} && npm run fleetbo`);
187
- console.log('\n \x1b[32m✓ [Fleetbo] To start architecting with Alex, run: npm run fleetbo alex\x1b[0m');
184
+ // ==========================================
185
+ // 🎯 L'ANNONCE DE SUCCÈS ET LE MINI-TUTO
186
+ // ==========================================
187
+ console.log('\n \x1b[1;32m✓ [Fleetbo] Project successfully created!\x1b[0m');
188
+ console.log(`\n Installation path: \x1b[36m${projectDir}\x1b[0m\n`);
189
+
190
+ console.log(' \x1b[1;33m🚀 NEXT STEPS (Mini-Tutorial):\x1b[0m');
191
+ console.log(' --------------------------------------------------');
192
+ console.log(` 1️ Navigate to your project : \x1b[36mcd ${projectName}\x1b[0m`);
193
+ console.log(' 2️ Launch the Fleetbo Engine : \x1b[36mnpm run fleetbo\x1b[0m');
194
+ console.log(' 3️ Summon Alex (AI Architect): \x1b[36mnpm run fleetbo alex\x1b[0m');
195
+ console.log(' --------------------------------------------------');
196
+ console.log('\n \x1b[2mHappy coding! Build something amazing without limits.\x1b[0m\n');
197
+
188
198
  console.log('');
189
199
 
190
200
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.90",
3
+ "version": "1.2.92",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {