@mostajs/setup 2.1.15 → 2.1.16

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.
package/dist/lib/setup.js CHANGED
@@ -184,7 +184,7 @@ async function runNetInstall(installConfig, setupConfig) {
184
184
  // Si le serveur redémarre, attendre qu'il soit de retour
185
185
  if (result.needsRestart) {
186
186
  console.log('[Setup] Serveur NET redémarre pour charger les schemas...');
187
- await new Promise(r => setTimeout(r, 2000)); // Laisser le temps au process.exit
187
+ await new Promise(r => setTimeout(r, 4000)); // Laisser le temps au process.exit + restart
188
188
  // Poll health jusqu'à ce que le serveur soit de retour (max 30s)
189
189
  for (let i = 0; i < 30; i++) {
190
190
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mostajs/setup",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "Reusable setup wizard module — multi-dialect DB configuration, .env.local writer, seed runner",
5
5
  "author": "Dr Hamid MADANI <drmdh@msn.com>",
6
6
  "license": "MIT",