@nu-art/build-and-install 0.204.11 → 0.204.13

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.
@@ -250,7 +250,6 @@ class ProjectManager extends ts_common_1.Logger {
250
250
  catch (e) {
251
251
  this.logError(e);
252
252
  }
253
- ProjectScreen_1.MemKey_ProjectScreen.get().endRun();
254
253
  process.off('SIGINT', listener);
255
254
  await this.updateRunningStatus();
256
255
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/build-and-install",
3
- "version": "0.204.11",
3
+ "version": "0.204.13",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",
package/phases/phases.js CHANGED
@@ -427,6 +427,7 @@ exports.Phase_Compile = {
427
427
  return;
428
428
  try {
429
429
  const otherFiles = [
430
+ 'json',
430
431
  'scss',
431
432
  'svg',
432
433
  'png',
@@ -591,7 +592,7 @@ exports.Phase_Launch = {
591
592
  await (0, ts_common_1.sleep)(1000 * counter++);
592
593
  const allPorts = Array.from({ length: 10 }, (_, i) => `${pkg.envConfig.basePort + i}`);
593
594
  const command = nvm_1.NVM.createInteractiveCommando(basic_1.Cli_Basic)
594
- .cd(pkg.path).debug()
595
+ .cd(pkg.path)
595
596
  .append(`nvm use`)
596
597
  .append(`array=($(lsof -ti:${allPorts.join(',')}))`)
597
598
  .append(`((\${#array[@]} > 0)) && kill -9 "\${array[@]}"`);
@@ -12,6 +12,7 @@ export declare class ProjectScreen {
12
12
  private phaseBox;
13
13
  private packageTable;
14
14
  private logger;
15
+ private titleElement;
15
16
  readonly logClient: LogClient_MemBuffer;
16
17
  private enabled;
17
18
  constructor(initialData: PackageStatus[]);
@@ -134,7 +134,7 @@ class ProjectScreen {
134
134
  },
135
135
  }
136
136
  });
137
- blessed.text({
137
+ this.titleElement = blessed.text({
138
138
  parent: this.screen,
139
139
  top: 0,
140
140
  right: 0,
@@ -171,10 +171,11 @@ class ProjectScreen {
171
171
  this.enabled = false;
172
172
  if (!this.screen)
173
173
  return;
174
- this.screen.detach();
175
174
  this.phaseBox.detach();
176
175
  this.packageTable.detach();
176
+ this.titleElement.detach();
177
177
  this.logger.detach();
178
+ this.screen.detach();
178
179
  this.screen.clear();
179
180
  this.screen.destroy();
180
181
  process.stdout.write('\x1bc'); // This sends the terminal reset escape code