create-fleetbo-project 1.2.28 → 1.2.29

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.
@@ -44,10 +44,8 @@ if (GENERATOR_COMMANDS.includes(command)) {
44
44
  const UPDATE_NETWORK_URL = 'https://us-central1-myapp-259bf.cloudfunctions.net/updateDeveloperNetwork';
45
45
  const PORT = 3000;
46
46
 
47
- // Définir la redirection nulle selon l'OS
48
- const NULL_DEV = process.platform === 'win32' ? '>nul 2>&1' : '2>/dev/null';
49
47
 
50
- // Gestion des processus système (Mac/Linux/Windows)
48
+ const NULL_DEV = process.platform === 'win32' ? '>nul 2>&1' : '2>/dev/null';
51
49
  function killProcessOnPort(port) {
52
50
  try {
53
51
  if (process.platform !== 'win32') {
@@ -56,12 +54,9 @@ function killProcessOnPort(port) {
56
54
  execSync(\`kill -9 \${pid.split('\\n').join(' ')} \${NULL_DEV}\`);
57
55
  }
58
56
  }
59
- // Pas de kill port spécifique Windows ici car géré par le kill global souvent,
60
- // ou nécessiterait netstat complexe. On laisse faire pour l'instant.
61
57
  } catch (e) {}
62
58
  }
63
59
 
64
- // Gestion du service réseau
65
60
  function killNetworkService() {
66
61
  try {
67
62
  const cmd = process.platform === 'win32' ? 'taskkill /IM cloudflared.exe /F' : 'pkill cloudflared';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {