create-fleetbo-project 1.2.91 → 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
|
-
|
|
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": "
|
|
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 {
|