@storm-software/git-tools 2.65.0 → 2.67.0

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.
@@ -66213,17 +66213,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
66213
66213
  });
66214
66214
 
66215
66215
  // packages/config/src/schema.ts
66216
- var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
66216
+ var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
66217
66217
  var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
66218
- var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
66218
+ var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
66219
66219
  var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
66220
66220
  var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
66221
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66221
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
66222
66222
  var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
66223
- var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66224
- var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66223
+ var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
66224
+ var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
66225
66225
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66226
- var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66226
+ var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
66227
66227
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66228
66228
  var PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
66229
66229
  var NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
@@ -66238,7 +66238,7 @@ var DarkThemeColorConfigSchema = z2.object({
66238
66238
  success: SuccessColorSchema,
66239
66239
  info: InfoColorSchema,
66240
66240
  warning: WarningColorSchema,
66241
- error: ErrorColorSchema,
66241
+ danger: DangerColorSchema,
66242
66242
  fatal: FatalColorSchema,
66243
66243
  positive: PositiveColorSchema,
66244
66244
  negative: NegativeColorSchema
@@ -66254,7 +66254,7 @@ var LightThemeColorConfigSchema = z2.object({
66254
66254
  success: SuccessColorSchema,
66255
66255
  info: InfoColorSchema,
66256
66256
  warning: WarningColorSchema,
66257
- error: ErrorColorSchema,
66257
+ danger: DangerColorSchema,
66258
66258
  fatal: FatalColorSchema,
66259
66259
  positive: PositiveColorSchema,
66260
66260
  negative: NegativeColorSchema
@@ -66274,7 +66274,7 @@ var SingleThemeColorConfigSchema = z2.object({
66274
66274
  success: SuccessColorSchema,
66275
66275
  info: InfoColorSchema,
66276
66276
  warning: WarningColorSchema,
66277
- error: ErrorColorSchema,
66277
+ danger: DangerColorSchema,
66278
66278
  fatal: FatalColorSchema,
66279
66279
  positive: PositiveColorSchema,
66280
66280
  negative: NegativeColorSchema
@@ -66371,7 +66371,7 @@ var COLOR_KEYS = [
66371
66371
  "help",
66372
66372
  "info",
66373
66373
  "warning",
66374
- "error",
66374
+ "danger",
66375
66375
  "fatal",
66376
66376
  "positive",
66377
66377
  "negative"
@@ -66390,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
66390
66390
  "success": "#087f5b",
66391
66391
  "info": "#0550ae",
66392
66392
  "warning": "#e3b341",
66393
- "error": "#a40e26",
66393
+ "danger": "#D8314A",
66394
66394
  "positive": "#22c55e",
66395
66395
  "negative": "#dc2626"
66396
66396
  },
@@ -66403,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
66403
66403
  "success": "#10b981",
66404
66404
  "info": "#58a6ff",
66405
66405
  "warning": "#f3d371",
66406
- "error": "#d1242f",
66406
+ "danger": "#D8314A",
66407
66407
  "positive": "#22c55e",
66408
66408
  "negative": "#dc2626"
66409
66409
  }
@@ -66426,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
66426
66426
  organization: "storm-software",
66427
66427
  configFile: null,
66428
66428
  runtimeVersion: "1.0.0",
66429
- colors: { ...DEFAULT_COLOR_CONFIG },
66430
66429
  extensions: {}
66431
66430
  };
66432
66431
  var getDefaultConfig = (config = {}, root) => {
@@ -66469,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
66469
66468
  }
66470
66469
  return ret;
66471
66470
  }, {}),
66472
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66471
+ colors: config.colors,
66473
66472
  workspaceRoot,
66474
66473
  name,
66475
66474
  namespace,
@@ -66570,10 +66569,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66570
66569
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66571
66570
  return (message) => {
66572
66571
  console.error(
66573
- `
66574
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66572
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66575
66573
  " \u{1F480} Fatal "
66576
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66574
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66577
66575
  `
66578
66576
  );
66579
66577
  };
@@ -66581,10 +66579,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
66581
66579
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66582
66580
  return (message) => {
66583
66581
  console.error(
66584
- `
66585
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
66582
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66586
66583
  " \u2718 Error "
66587
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66584
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66588
66585
  `
66589
66586
  );
66590
66587
  };
@@ -66592,10 +66589,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
66592
66589
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66593
66590
  return (message) => {
66594
66591
  console.warn(
66595
- `
66596
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66592
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66597
66593
  " \u26A0 Warn "
66598
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66594
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66599
66595
  `
66600
66596
  );
66601
66597
  };
@@ -66603,10 +66599,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66603
66599
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66604
66600
  return (message) => {
66605
66601
  console.info(
66606
- `
66607
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66602
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66608
66603
  " \u2713 Success "
66609
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66604
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66610
66605
  `
66611
66606
  );
66612
66607
  };
@@ -66614,10 +66609,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66614
66609
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66615
66610
  return (message) => {
66616
66611
  console.info(
66617
- `
66618
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66612
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66619
66613
  " \u2139 Info "
66620
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66614
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66621
66615
  `
66622
66616
  );
66623
66617
  };
@@ -66625,20 +66619,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
66625
66619
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66626
66620
  return (message) => {
66627
66621
  console.debug(
66628
- `
66629
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66622
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66630
66623
  " \u{1F6E0} Debug "
66631
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66624
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66632
66625
  `
66633
66626
  );
66634
66627
  };
66635
66628
  }
66636
66629
  return (message) => {
66637
66630
  console.log(
66638
- `
66639
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66631
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66640
66632
  " \u2709 System "
66641
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66633
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66642
66634
  `
66643
66635
  );
66644
66636
  };
@@ -66914,7 +66906,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66914
66906
  success: process.env[`${prefix}SUCCESS`],
66915
66907
  info: process.env[`${prefix}INFO`],
66916
66908
  warning: process.env[`${prefix}WARNING`],
66917
- error: process.env[`${prefix}ERROR`],
66909
+ danger: process.env[`${prefix}DANGER`],
66918
66910
  fatal: process.env[`${prefix}FATAL`],
66919
66911
  positive: process.env[`${prefix}POSITIVE`],
66920
66912
  negative: process.env[`${prefix}NEGATIVE`]
@@ -66940,7 +66932,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66940
66932
  success: process.env[`${prefix}SUCCESS`],
66941
66933
  info: process.env[`${prefix}INFO`],
66942
66934
  warning: process.env[`${prefix}WARNING`],
66943
- error: process.env[`${prefix}ERROR`],
66935
+ danger: process.env[`${prefix}DANGER`],
66944
66936
  fatal: process.env[`${prefix}FATAL`],
66945
66937
  positive: process.env[`${prefix}POSITIVE`],
66946
66938
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67160,8 +67152,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67160
67152
  if (config.warning) {
67161
67153
  process.env[`${prefix}WARNING`] = config.warning;
67162
67154
  }
67163
- if (config.error) {
67164
- process.env[`${prefix}ERROR`] = config.error;
67155
+ if (config.danger) {
67156
+ process.env[`${prefix}DANGER`] = config.danger;
67165
67157
  }
67166
67158
  if (config.fatal) {
67167
67159
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -67210,8 +67202,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67210
67202
  if (config.warning) {
67211
67203
  process.env[`${prefix}WARNING`] = config.warning;
67212
67204
  }
67213
- if (config.error) {
67214
- process.env[`${prefix}ERROR`] = config.error;
67205
+ if (config.danger) {
67206
+ process.env[`${prefix}DANGER`] = config.danger;
67215
67207
  }
67216
67208
  if (config.fatal) {
67217
67209
  process.env[`${prefix}FATAL`] = config.fatal;
package/bin/post-merge.js CHANGED
@@ -66213,17 +66213,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
66213
66213
  });
66214
66214
 
66215
66215
  // packages/config/src/schema.ts
66216
- var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
66216
+ var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
66217
66217
  var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
66218
- var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
66218
+ var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
66219
66219
  var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
66220
66220
  var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
66221
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66221
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
66222
66222
  var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
66223
- var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66224
- var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66223
+ var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
66224
+ var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
66225
66225
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66226
- var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66226
+ var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
66227
66227
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66228
66228
  var PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
66229
66229
  var NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
@@ -66238,7 +66238,7 @@ var DarkThemeColorConfigSchema = z2.object({
66238
66238
  success: SuccessColorSchema,
66239
66239
  info: InfoColorSchema,
66240
66240
  warning: WarningColorSchema,
66241
- error: ErrorColorSchema,
66241
+ danger: DangerColorSchema,
66242
66242
  fatal: FatalColorSchema,
66243
66243
  positive: PositiveColorSchema,
66244
66244
  negative: NegativeColorSchema
@@ -66254,7 +66254,7 @@ var LightThemeColorConfigSchema = z2.object({
66254
66254
  success: SuccessColorSchema,
66255
66255
  info: InfoColorSchema,
66256
66256
  warning: WarningColorSchema,
66257
- error: ErrorColorSchema,
66257
+ danger: DangerColorSchema,
66258
66258
  fatal: FatalColorSchema,
66259
66259
  positive: PositiveColorSchema,
66260
66260
  negative: NegativeColorSchema
@@ -66274,7 +66274,7 @@ var SingleThemeColorConfigSchema = z2.object({
66274
66274
  success: SuccessColorSchema,
66275
66275
  info: InfoColorSchema,
66276
66276
  warning: WarningColorSchema,
66277
- error: ErrorColorSchema,
66277
+ danger: DangerColorSchema,
66278
66278
  fatal: FatalColorSchema,
66279
66279
  positive: PositiveColorSchema,
66280
66280
  negative: NegativeColorSchema
@@ -66371,7 +66371,7 @@ var COLOR_KEYS = [
66371
66371
  "help",
66372
66372
  "info",
66373
66373
  "warning",
66374
- "error",
66374
+ "danger",
66375
66375
  "fatal",
66376
66376
  "positive",
66377
66377
  "negative"
@@ -66390,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
66390
66390
  "success": "#087f5b",
66391
66391
  "info": "#0550ae",
66392
66392
  "warning": "#e3b341",
66393
- "error": "#a40e26",
66393
+ "danger": "#D8314A",
66394
66394
  "positive": "#22c55e",
66395
66395
  "negative": "#dc2626"
66396
66396
  },
@@ -66403,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
66403
66403
  "success": "#10b981",
66404
66404
  "info": "#58a6ff",
66405
66405
  "warning": "#f3d371",
66406
- "error": "#d1242f",
66406
+ "danger": "#D8314A",
66407
66407
  "positive": "#22c55e",
66408
66408
  "negative": "#dc2626"
66409
66409
  }
@@ -66426,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
66426
66426
  organization: "storm-software",
66427
66427
  configFile: null,
66428
66428
  runtimeVersion: "1.0.0",
66429
- colors: { ...DEFAULT_COLOR_CONFIG },
66430
66429
  extensions: {}
66431
66430
  };
66432
66431
  var getDefaultConfig = (config = {}, root) => {
@@ -66469,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
66469
66468
  }
66470
66469
  return ret;
66471
66470
  }, {}),
66472
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66471
+ colors: config.colors,
66473
66472
  workspaceRoot,
66474
66473
  name,
66475
66474
  namespace,
@@ -66570,10 +66569,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66570
66569
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66571
66570
  return (message) => {
66572
66571
  console.error(
66573
- `
66574
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66572
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66575
66573
  " \u{1F480} Fatal "
66576
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66574
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66577
66575
  `
66578
66576
  );
66579
66577
  };
@@ -66581,10 +66579,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
66581
66579
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66582
66580
  return (message) => {
66583
66581
  console.error(
66584
- `
66585
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
66582
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66586
66583
  " \u2718 Error "
66587
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66584
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66588
66585
  `
66589
66586
  );
66590
66587
  };
@@ -66592,10 +66589,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
66592
66589
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66593
66590
  return (message) => {
66594
66591
  console.warn(
66595
- `
66596
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66592
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66597
66593
  " \u26A0 Warn "
66598
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66594
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66599
66595
  `
66600
66596
  );
66601
66597
  };
@@ -66603,10 +66599,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66603
66599
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66604
66600
  return (message) => {
66605
66601
  console.info(
66606
- `
66607
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66602
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66608
66603
  " \u2713 Success "
66609
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66604
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66610
66605
  `
66611
66606
  );
66612
66607
  };
@@ -66614,10 +66609,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66614
66609
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66615
66610
  return (message) => {
66616
66611
  console.info(
66617
- `
66618
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66612
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66619
66613
  " \u2139 Info "
66620
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66614
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66621
66615
  `
66622
66616
  );
66623
66617
  };
@@ -66625,20 +66619,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
66625
66619
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66626
66620
  return (message) => {
66627
66621
  console.debug(
66628
- `
66629
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66622
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66630
66623
  " \u{1F6E0} Debug "
66631
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66624
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66632
66625
  `
66633
66626
  );
66634
66627
  };
66635
66628
  }
66636
66629
  return (message) => {
66637
66630
  console.log(
66638
- `
66639
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66631
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66640
66632
  " \u2709 System "
66641
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66633
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66642
66634
  `
66643
66635
  );
66644
66636
  };
@@ -66914,7 +66906,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66914
66906
  success: process.env[`${prefix}SUCCESS`],
66915
66907
  info: process.env[`${prefix}INFO`],
66916
66908
  warning: process.env[`${prefix}WARNING`],
66917
- error: process.env[`${prefix}ERROR`],
66909
+ danger: process.env[`${prefix}DANGER`],
66918
66910
  fatal: process.env[`${prefix}FATAL`],
66919
66911
  positive: process.env[`${prefix}POSITIVE`],
66920
66912
  negative: process.env[`${prefix}NEGATIVE`]
@@ -66940,7 +66932,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66940
66932
  success: process.env[`${prefix}SUCCESS`],
66941
66933
  info: process.env[`${prefix}INFO`],
66942
66934
  warning: process.env[`${prefix}WARNING`],
66943
- error: process.env[`${prefix}ERROR`],
66935
+ danger: process.env[`${prefix}DANGER`],
66944
66936
  fatal: process.env[`${prefix}FATAL`],
66945
66937
  positive: process.env[`${prefix}POSITIVE`],
66946
66938
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67160,8 +67152,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67160
67152
  if (config.warning) {
67161
67153
  process.env[`${prefix}WARNING`] = config.warning;
67162
67154
  }
67163
- if (config.error) {
67164
- process.env[`${prefix}ERROR`] = config.error;
67155
+ if (config.danger) {
67156
+ process.env[`${prefix}DANGER`] = config.danger;
67165
67157
  }
67166
67158
  if (config.fatal) {
67167
67159
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -67210,8 +67202,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67210
67202
  if (config.warning) {
67211
67203
  process.env[`${prefix}WARNING`] = config.warning;
67212
67204
  }
67213
- if (config.error) {
67214
- process.env[`${prefix}ERROR`] = config.error;
67205
+ if (config.danger) {
67206
+ process.env[`${prefix}DANGER`] = config.danger;
67215
67207
  }
67216
67208
  if (config.fatal) {
67217
67209
  process.env[`${prefix}FATAL`] = config.fatal;