neex 0.6.4 → 0.6.5

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.
@@ -109,23 +109,24 @@ class DevRunner {
109
109
  }
110
110
  }
111
111
  printDevBanner() {
112
- var _a, _b;
112
+ var _a, _b, _c;
113
113
  if (!this.options.showInfo) {
114
114
  return; // Don't show banner if showInfo is false
115
115
  }
116
116
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
117
117
  const uptime = Math.floor((Date.now() - this.startTime.getTime()) / 1000);
118
118
  const uptimeStr = this.formatUptime(uptime);
119
- console.log('\n' + chalk_1.default.bgGreen.black(` ${(_a = this.options.runnerName) === null || _a === void 0 ? void 0 : _a.toUpperCase()} MODE `) + '\n');
120
- if (this.restartCount > 0) {
121
- console.log(`${prefix} ${chalk_1.default.green(`${figures_1.default.arrowUp} Restarted ${this.restartCount} times`)}`);
122
- }
123
- console.log(`${prefix} ${chalk_1.default.blue(`${figures_1.default.info} Uptime: ${uptimeStr}`)}`);
124
- console.log(`${prefix} ${chalk_1.default.blue(`${figures_1.default.info} Watching: ${((_b = this.options.watch) === null || _b === void 0 ? void 0 : _b.join(', ')) || 'current directory'}`)}`);
125
- if (this.options.ext && this.options.ext.length > 0) {
126
- console.log(`${prefix} ${chalk_1.default.blue(`${figures_1.default.info} Extensions: ${this.options.ext.join(', ')}`)}`);
119
+ if (this.options.showInfo) {
120
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} Starting file watcher...`));
121
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} File watcher started. Monitoring ${((_a = this.options.watch) === null || _a === void 0 ? void 0 : _a.length) || 1} locations`));
122
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} Watching extensions: ${((_b = this.options.ext) === null || _b === void 0 ? void 0 : _b.join(', ')) || 'js, mjs, json, ts, tsx, jsx, vue, svelte'}`));
123
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} Uptime: ${uptimeStr}`));
124
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} Watching: ${((_c = this.options.watch) === null || _c === void 0 ? void 0 : _c.join(', ')) || 'current directory'}`));
125
+ if (this.restartCount > 0) {
126
+ console.log(chalk_1.default.blue(`${prefix} ${figures_1.default.info} Restarted ${this.restartCount} times`));
127
+ }
128
+ console.log('');
127
129
  }
128
- console.log('');
129
130
  }
130
131
  formatUptime(seconds) {
131
132
  if (seconds < 60) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neex",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
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",