@nu-art/build-and-install 0.204.5 → 0.204.6

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.
@@ -64,6 +64,7 @@ class ProjectManager extends ts_common_1.Logger {
64
64
  };
65
65
  this.projectScreen = new ProjectScreen_1.ProjectScreen([]);
66
66
  params_1.RuntimeParams.allLogs ? this.showAllLogs() : this.showPrettyLogs();
67
+ this.setMinLevel(ts_common_1.LogLevel.Verbose);
67
68
  }
68
69
  showAllLogs() {
69
70
  var _a;
@@ -173,7 +174,7 @@ class ProjectManager extends ts_common_1.Logger {
173
174
  didPrintPhase = true;
174
175
  }
175
176
  if (!didPrintPackages) {
176
- this.logVerbose(` - on packages: ${(0, ts_common_1.__stringify)(packages.map(mapToName))}`);
177
+ this.logDebug(` - on packages: ${(0, ts_common_1.__stringify)(packages.map(mapToName))}`);
177
178
  didPrintPackages = true;
178
179
  }
179
180
  didRun = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/build-and-install",
3
- "version": "0.204.5",
3
+ "version": "0.204.6",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",
package/phases/phases.js CHANGED
@@ -446,6 +446,7 @@ exports.Phase_Compile = {
446
446
  const pathToLocalTsConfig = `${sourceFolder}/${CONST_TS_Config}`;
447
447
  const inPackageTsConfig = await fs_1.promises.readFile(pathToLocalTsConfig, { encoding: 'utf-8' });
448
448
  const defaultPackageTsConfig = await fs_1.promises.readFile(pathToProjectTS_Config, { encoding: 'utf-8' });
449
+ ts_common_1.StaticLogger.logInfo(`Copying tsconfig: ${pathToProjectTS_Config} => ${pathToLocalTsConfig}`);
449
450
  if (!pkg.customTsConfig && inPackageTsConfig !== defaultPackageTsConfig) {
450
451
  await fs_1.promises.copyFile(pathToProjectTS_Config, pathToLocalTsConfig);
451
452
  }
@@ -75,6 +75,12 @@ class ProjectScreen {
75
75
  this.renderScreen();
76
76
  };
77
77
  this.packageData = initialData;
78
+ this.logClient.setForTerminal();
79
+ this.logClient.setComposer((tag, level) => {
80
+ ts_common_1._logger_finalDate.setTime(Date.now() - ts_common_1._logger_timezoneOffset);
81
+ const date = ts_common_1._logger_finalDate.toISOString().replace(/T/, '_').replace(/Z/, '').substring(0, 23).split('_')[1];
82
+ return ` ${date} ${(0, ts_common_1._logger_getPrefix)(level)} ${tag}: `;
83
+ });
78
84
  this.logClient.setLogAppendedListener(() => {
79
85
  this.renderScreen();
80
86
  });