create-fleetbo-project 1.2.93 → 1.2.95

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.
@@ -134,7 +134,9 @@ async function setupProject() {
134
134
  const envContent = `VITE_FLEETBO_DB_KEY=${keys.fleetboDBKey}
135
135
  VITE_FLEETBO_ENTERPRISE_ID=${keys.enterpriseId}
136
136
  VITE_FLEETBO_KEY_APP=${projectName}
137
- VITE_FLEETBO_TESTER_EMAIL=${userEmailArg}`;
137
+ VITE_FLEETBO_TESTER_EMAIL=${userEmailArg}
138
+ DANGEROUSLY_DISABLE_HOST_CHECK=true
139
+ WDS_SOCKET_PORT=0`;
138
140
 
139
141
  fs.writeFileSync(path.join(projectDir, '.env'), envContent, 'utf8');
140
142
 
@@ -152,7 +154,7 @@ yarn-error.log*
152
154
  `;
153
155
  fs.writeFileSync(path.join(projectDir, '.gitignore'), gitignoreContent, 'utf8');
154
156
 
155
- const npmrcContent = `loglevel=error\nupdate-notifier=false\n`;
157
+ const npmrcContent = `loglevel=silent\nupdate-notifier=false\n`;
156
158
  fs.writeFileSync(path.join(projectDir, '.npmrc'), npmrcContent, 'utf8');
157
159
 
158
160
  console.log(' [7/8] Installing dependencies...');
@@ -168,7 +170,7 @@ yarn-error.log*
168
170
  // Configuration pour utiliser le package NPM centralisé
169
171
  packageJson.scripts = {
170
172
  ...packageJson.scripts,
171
- "fleetbo": "@npx -y fleetbo-cockpit-cli@latest",
173
+ "fleetbo": "npx -y fleetbo-cockpit-cli@latest",
172
174
  "dev": "vite",
173
175
  "build": "vite build"
174
176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.93",
3
+ "version": "1.2.95",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {