@storm-software/workspace-tools 1.43.2 → 1.43.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.43.2](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.1...workspace-tools-v1.43.2) (2024-01-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **git-tools:** Updated console formatting and text colors ([82e869f](https://github.com/storm-software/storm-ops/commit/82e869f0395d112c0a2906223e0827fd9b243e54))
7
+
1
8
  ## [1.43.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.0...workspace-tools-v1.43.1) (2024-01-16)
2
9
 
3
10
 
package/index.js CHANGED
@@ -130251,9 +130251,12 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130251
130251
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
130252
130252
  return (message) => {
130253
130253
  console.error(
130254
- ` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
130254
+ ` ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
130255
+ ">"
130256
+ )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
130255
130257
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
130256
130258
  )(message)}
130259
+
130257
130260
  `
130258
130261
  );
130259
130262
  };
@@ -130261,9 +130264,12 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130261
130264
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
130262
130265
  return (message) => {
130263
130266
  console.error(
130264
- ` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
130267
+ ` ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
130268
+ ">"
130269
+ )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
130265
130270
  config?.colors?.error ? config.colors.error : "#7d1a1a"
130266
130271
  )(message)}
130272
+
130267
130273
  `
130268
130274
  );
130269
130275
  };
@@ -130271,9 +130277,12 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130271
130277
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
130272
130278
  return (message) => {
130273
130279
  console.warn(
130274
- ` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130280
+ ` ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
130281
+ ">"
130282
+ )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130275
130283
  config?.colors?.warning ? config.colors.warning : "#fcc419"
130276
130284
  )(message)}
130285
+
130277
130286
  `
130278
130287
  );
130279
130288
  };
@@ -130281,9 +130290,10 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130281
130290
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130282
130291
  return (message) => {
130283
130292
  console.info(
130284
- ` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
130293
+ ` ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
130285
130294
  config?.colors?.info ? config.colors.info : "#0ea5e9"
130286
130295
  )(message)}
130296
+
130287
130297
  `
130288
130298
  );
130289
130299
  };
@@ -130291,9 +130301,12 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130291
130301
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130292
130302
  return (message) => {
130293
130303
  console.info(
130294
- ` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
130304
+ ` ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
130305
+ ">"
130306
+ )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
130295
130307
  config?.colors?.success ? config.colors.success : "#087f5b"
130296
130308
  )(message)}
130309
+
130297
130310
  `
130298
130311
  );
130299
130312
  };
@@ -130301,18 +130314,24 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130301
130314
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
130302
130315
  return (message) => {
130303
130316
  console.debug(
130304
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
130317
+ ` ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130318
+ ">"
130319
+ )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
130305
130320
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130306
130321
  )(message)}
130322
+
130307
130323
  `
130308
130324
  );
130309
130325
  };
130310
130326
  }
130311
130327
  return (message) => {
130312
130328
  console.log(
130313
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
130329
+ ` ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130330
+ ">"
130331
+ )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
130314
130332
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130315
130333
  )(message)}
130334
+
130316
130335
  `
130317
130336
  );
130318
130337
  };
@@ -138150,7 +138169,7 @@ var _isFunction = (value) => {
138150
138169
 
138151
138170
  // packages/workspace-tools/src/executors/tsup-neutral/get-config.ts
138152
138171
  var import_devkit4 = __toESM(require_devkit());
138153
- function neutralConfig({
138172
+ var neutralConfig = ({
138154
138173
  entry,
138155
138174
  outDir,
138156
138175
  projectRoot,
@@ -138174,7 +138193,7 @@ function neutralConfig({
138174
138193
  generatePackageJson,
138175
138194
  dtsTsConfig,
138176
138195
  getTransform
138177
- }) {
138196
+ }) => {
138178
138197
  const outputPath = (0, import_devkit4.joinPathFragments)(outDir, "dist");
138179
138198
  const options = {
138180
138199
  name: "neutral",
@@ -138230,16 +138249,13 @@ function neutralConfig({
138230
138249
  };
138231
138250
  }
138232
138251
  return options;
138233
- }
138252
+ };
138234
138253
 
138235
138254
  // packages/workspace-tools/src/executors/tsup-neutral/executor.ts
138236
138255
  var tsupNeutralBuildExecutorFn = (options, context, config) => {
138237
138256
  return tsupExecutorFn(
138238
138257
  {
138239
138258
  ...options,
138240
- getConfig: {
138241
- dist: neutralConfig
138242
- },
138243
138259
  platform: "neutral",
138244
138260
  banner: getFileBanner(
138245
138261
  context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (Neutral Platform)"
@@ -138249,6 +138265,9 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
138249
138265
  },
138250
138266
  env: {
138251
138267
  ...process.env
138268
+ },
138269
+ getConfig: {
138270
+ dist: neutralConfig
138252
138271
  }
138253
138272
  },
138254
138273
  context,