create-fleetbo-project 1.2.94 → 1.2.96
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.
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
// 🥷 SILENCIEUX ABSOLU : S'exécute instantanément pour tuer la plomberie de NPX
|
|
4
|
+
process.stdout.write("\x1b[1A\x1b[2K".repeat(4));
|
|
5
|
+
console.clear();
|
|
6
|
+
|
|
3
7
|
const { execSync } = require('child_process');
|
|
4
8
|
const fs = require('fs');
|
|
5
9
|
const path = require('path');
|
|
@@ -134,7 +138,9 @@ async function setupProject() {
|
|
|
134
138
|
const envContent = `VITE_FLEETBO_DB_KEY=${keys.fleetboDBKey}
|
|
135
139
|
VITE_FLEETBO_ENTERPRISE_ID=${keys.enterpriseId}
|
|
136
140
|
VITE_FLEETBO_KEY_APP=${projectName}
|
|
137
|
-
VITE_FLEETBO_TESTER_EMAIL=${userEmailArg}
|
|
141
|
+
VITE_FLEETBO_TESTER_EMAIL=${userEmailArg}
|
|
142
|
+
DANGEROUSLY_DISABLE_HOST_CHECK=true
|
|
143
|
+
WDS_SOCKET_PORT=0`;
|
|
138
144
|
|
|
139
145
|
fs.writeFileSync(path.join(projectDir, '.env'), envContent, 'utf8');
|
|
140
146
|
|