create-fleetbo-project 1.2.92 → 1.2.93
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.
|
@@ -152,6 +152,9 @@ yarn-error.log*
|
|
|
152
152
|
`;
|
|
153
153
|
fs.writeFileSync(path.join(projectDir, '.gitignore'), gitignoreContent, 'utf8');
|
|
154
154
|
|
|
155
|
+
const npmrcContent = `loglevel=error\nupdate-notifier=false\n`;
|
|
156
|
+
fs.writeFileSync(path.join(projectDir, '.npmrc'), npmrcContent, 'utf8');
|
|
157
|
+
|
|
155
158
|
console.log(' [7/8] Installing dependencies...');
|
|
156
159
|
execSync('npm install --no-audit --no-fund --silent', { stdio: 'inherit' });
|
|
157
160
|
|
|
@@ -165,7 +168,7 @@ yarn-error.log*
|
|
|
165
168
|
// Configuration pour utiliser le package NPM centralisé
|
|
166
169
|
packageJson.scripts = {
|
|
167
170
|
...packageJson.scripts,
|
|
168
|
-
"fleetbo": "npx fleetbo-cockpit-cli@latest",
|
|
171
|
+
"fleetbo": "@npx -y fleetbo-cockpit-cli@latest",
|
|
169
172
|
"dev": "vite",
|
|
170
173
|
"build": "vite build"
|
|
171
174
|
};
|