neex 0.6.64 → 0.6.65

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.
@@ -190,7 +190,14 @@ class StartManager {
190
190
  // Handle worker output
191
191
  (_a = workerProcess.stdout) === null || _a === void 0 ? void 0 : _a.on('data', (data) => {
192
192
  const message = data.toString().trim();
193
- if (message && !message.includes('[dotenv@') && !message.includes('injecting env')) {
193
+ // Suppress common startup messages from workers
194
+ if (message &&
195
+ !message.includes('[dotenv@') &&
196
+ !message.includes('injecting env') &&
197
+ !/express/i.test(message) &&
198
+ !/local:/i.test(message) &&
199
+ !/health check:/i.test(message) &&
200
+ !/environment:/i.test(message)) {
194
201
  const prefix = this.options.verbose ?
195
202
  chalk_1.default.dim(`[Worker ${workerId}] `) : '';
196
203
  console.log(prefix + message);
@@ -290,16 +297,21 @@ class StartManager {
290
297
  return;
291
298
  }
292
299
  // Multi-worker mode
300
+ this.log(`${chalk_1.default.blue(figures_1.default.play)} Starting production server (${this.options.workers} workers)`);
293
301
  const startPromises = [];
294
302
  for (let i = 0; i < this.options.workers; i++) {
295
303
  startPromises.push(this.startWorker(i + 1));
296
304
  }
297
305
  try {
298
306
  await Promise.all(startPromises);
307
+ this.log(`${chalk_1.default.green(figures_1.default.tick)} Server ready on port ${this.options.port || 8000} (${this.workers.size} workers)`);
299
308
  }
300
309
  catch (error) {
301
310
  this.log(`Failed to start some workers: ${error.message}`, 'error');
302
311
  // Continue with successfully started workers
312
+ if (this.workers.size > 0) {
313
+ this.log(`${chalk_1.default.green(figures_1.default.tick)} Server partially ready on port ${this.options.port || 8000} (${this.workers.size} workers)`);
314
+ }
303
315
  }
304
316
  }
305
317
  setupHealthCheck() {
@@ -420,11 +432,6 @@ class StartManager {
420
432
  this.setupWatcher();
421
433
  // Start the application
422
434
  await this.startCluster();
423
- // Success message
424
- const port = this.options.port || 8000;
425
- const workerInfo = this.options.workers === 1 ?
426
- '' : ` (${this.workers.size} workers)`;
427
- logger_manager_js_1.loggerManager.printLine(`${chalk_1.default.green(figures_1.default.tick)} Server ready on port ${port}${workerInfo}`, 'info');
428
435
  }
429
436
  catch (error) {
430
437
  this.log(`Failed to start server: ${error.message}`, 'error');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neex",
3
- "version": "0.6.64",
3
+ "version": "0.6.65",
4
4
  "description": "The Modern Build System for Polyrepo-in-Monorepo Architecture",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",