@storm-software/workspace-tools 1.196.0 → 1.198.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.
@@ -93065,22 +93065,22 @@ var init_lib = __esm({
93065
93065
  });
93066
93066
 
93067
93067
  // packages/config/src/schema.ts
93068
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
93068
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
93069
93069
  var init_schema = __esm({
93070
93070
  "packages/config/src/schema.ts"() {
93071
93071
  init_lib();
93072
93072
  init_constants();
93073
- 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");
93073
+ 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");
93074
93074
  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");
93075
- 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");
93075
+ 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");
93076
93076
  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");
93077
93077
  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");
93078
- LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
93078
+ LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
93079
93079
  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");
93080
- SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
93081
- InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
93080
+ SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
93081
+ InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
93082
93082
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
93083
- ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
93083
+ DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
93084
93084
  FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
93085
93085
  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");
93086
93086
  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");
@@ -93095,7 +93095,7 @@ var init_schema = __esm({
93095
93095
  success: SuccessColorSchema,
93096
93096
  info: InfoColorSchema,
93097
93097
  warning: WarningColorSchema,
93098
- error: ErrorColorSchema,
93098
+ danger: DangerColorSchema,
93099
93099
  fatal: FatalColorSchema,
93100
93100
  positive: PositiveColorSchema,
93101
93101
  negative: NegativeColorSchema
@@ -93111,7 +93111,7 @@ var init_schema = __esm({
93111
93111
  success: SuccessColorSchema,
93112
93112
  info: InfoColorSchema,
93113
93113
  warning: WarningColorSchema,
93114
- error: ErrorColorSchema,
93114
+ danger: DangerColorSchema,
93115
93115
  fatal: FatalColorSchema,
93116
93116
  positive: PositiveColorSchema,
93117
93117
  negative: NegativeColorSchema
@@ -93131,7 +93131,7 @@ var init_schema = __esm({
93131
93131
  success: SuccessColorSchema,
93132
93132
  info: InfoColorSchema,
93133
93133
  warning: WarningColorSchema,
93134
- error: ErrorColorSchema,
93134
+ danger: DangerColorSchema,
93135
93135
  fatal: FatalColorSchema,
93136
93136
  positive: PositiveColorSchema,
93137
93137
  negative: NegativeColorSchema
@@ -93233,7 +93233,7 @@ var init_types = __esm({
93233
93233
  "help",
93234
93234
  "info",
93235
93235
  "warning",
93236
- "error",
93236
+ "danger",
93237
93237
  "fatal",
93238
93238
  "positive",
93239
93239
  "negative"
@@ -93269,7 +93269,7 @@ var init_get_default_config = __esm({
93269
93269
  "success": "#087f5b",
93270
93270
  "info": "#0550ae",
93271
93271
  "warning": "#e3b341",
93272
- "error": "#a40e26",
93272
+ "danger": "#D8314A",
93273
93273
  "positive": "#22c55e",
93274
93274
  "negative": "#dc2626"
93275
93275
  },
@@ -93282,7 +93282,7 @@ var init_get_default_config = __esm({
93282
93282
  "success": "#10b981",
93283
93283
  "info": "#58a6ff",
93284
93284
  "warning": "#f3d371",
93285
- "error": "#d1242f",
93285
+ "danger": "#D8314A",
93286
93286
  "positive": "#22c55e",
93287
93287
  "negative": "#dc2626"
93288
93288
  }
@@ -93305,7 +93305,6 @@ var init_get_default_config = __esm({
93305
93305
  organization: "storm-software",
93306
93306
  configFile: null,
93307
93307
  runtimeVersion: "1.0.0",
93308
- colors: { ...DEFAULT_COLOR_CONFIG },
93309
93308
  extensions: {}
93310
93309
  };
93311
93310
  getDefaultConfig = (config = {}, root) => {
@@ -93348,7 +93347,7 @@ var init_get_default_config = __esm({
93348
93347
  }
93349
93348
  return ret;
93350
93349
  }, {}),
93351
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
93350
+ colors: config.colors,
93352
93351
  workspaceRoot: workspaceRoot2,
93353
93352
  name,
93354
93353
  namespace,
@@ -93469,10 +93468,9 @@ var init_logger = __esm({
93469
93468
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
93470
93469
  return (message) => {
93471
93470
  console.error(
93472
- `
93473
- ${_chalk.bold.hex(colors2.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.fatal ?? "#7d1a1a").whiteBright(
93471
+ `${_chalk.bold.hex(colors2.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.fatal ?? "#7d1a1a").whiteBright(
93474
93472
  " \u{1F480} Fatal "
93475
- )} ${_chalk.hex(colors2.error ?? "#f85149")(formatLogMessage(message))}
93473
+ )} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}\r
93476
93474
  `
93477
93475
  );
93478
93476
  };
@@ -93480,10 +93478,9 @@ ${_chalk.bold.hex(colors2.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.
93480
93478
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
93481
93479
  return (message) => {
93482
93480
  console.error(
93483
- `
93484
- ${_chalk.bold.hex(colors2.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.error ?? "#f85149").whiteBright(
93481
+ `${_chalk.bold.hex(colors2.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.danger ?? "#f85149").whiteBright(
93485
93482
  " \u2718 Error "
93486
- )} ${_chalk.hex(colors2.error ?? "#f85149")(formatLogMessage(message))}
93483
+ )} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}\r
93487
93484
  `
93488
93485
  );
93489
93486
  };
@@ -93491,10 +93488,9 @@ ${_chalk.bold.hex(colors2.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.
93491
93488
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
93492
93489
  return (message) => {
93493
93490
  console.warn(
93494
- `
93495
- ${_chalk.bold.hex(colors2.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors2.warning ?? "#e3b341").whiteBright(
93491
+ `${_chalk.bold.hex(colors2.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors2.warning ?? "#e3b341").whiteBright(
93496
93492
  " \u26A0 Warn "
93497
- )} ${_chalk.hex(colors2.warning ?? "#e3b341")(formatLogMessage(message))}
93493
+ )} ${_chalk.hex(colors2.warning ?? "#e3b341")(formatLogMessage(message))}\r
93498
93494
  `
93499
93495
  );
93500
93496
  };
@@ -93502,10 +93498,9 @@ ${_chalk.bold.hex(colors2.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors
93502
93498
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
93503
93499
  return (message) => {
93504
93500
  console.info(
93505
- `
93506
- ${_chalk.bold.hex(colors2.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors2.success ?? "#56d364").whiteBright(
93501
+ `${_chalk.bold.hex(colors2.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors2.success ?? "#56d364").whiteBright(
93507
93502
  " \u2713 Success "
93508
- )} ${_chalk.hex(colors2.success ?? "#56d364")(formatLogMessage(message))}
93503
+ )} ${_chalk.hex(colors2.success ?? "#56d364")(formatLogMessage(message))}\r
93509
93504
  `
93510
93505
  );
93511
93506
  };
@@ -93513,10 +93508,9 @@ ${_chalk.bold.hex(colors2.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors
93513
93508
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
93514
93509
  return (message) => {
93515
93510
  console.info(
93516
- `
93517
- ${_chalk.bold.hex(colors2.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors2.info ?? "#58a6ff").whiteBright(
93511
+ `${_chalk.bold.hex(colors2.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors2.info ?? "#58a6ff").whiteBright(
93518
93512
  " \u2139 Info "
93519
- )} ${_chalk.hex(colors2.info ?? "#58a6ff")(formatLogMessage(message))}
93513
+ )} ${_chalk.hex(colors2.info ?? "#58a6ff")(formatLogMessage(message))}\r
93520
93514
  `
93521
93515
  );
93522
93516
  };
@@ -93524,20 +93518,18 @@ ${_chalk.bold.hex(colors2.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors2.i
93524
93518
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
93525
93519
  return (message) => {
93526
93520
  console.debug(
93527
- `
93528
- ${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
93521
+ `${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
93529
93522
  " \u{1F6E0} Debug "
93530
- )} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
93523
+ )} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
93531
93524
  `
93532
93525
  );
93533
93526
  };
93534
93527
  }
93535
93528
  return (message) => {
93536
93529
  console.log(
93537
- `
93538
- ${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
93530
+ `${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
93539
93531
  " \u2709 System "
93540
- )} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
93532
+ )} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
93541
93533
  `
93542
93534
  );
93543
93535
  };
@@ -93889,7 +93881,7 @@ var init_get_env = __esm({
93889
93881
  success: process.env[`${prefix}SUCCESS`],
93890
93882
  info: process.env[`${prefix}INFO`],
93891
93883
  warning: process.env[`${prefix}WARNING`],
93892
- error: process.env[`${prefix}ERROR`],
93884
+ danger: process.env[`${prefix}DANGER`],
93893
93885
  fatal: process.env[`${prefix}FATAL`],
93894
93886
  positive: process.env[`${prefix}POSITIVE`],
93895
93887
  negative: process.env[`${prefix}NEGATIVE`]
@@ -93915,7 +93907,7 @@ var init_get_env = __esm({
93915
93907
  success: process.env[`${prefix}SUCCESS`],
93916
93908
  info: process.env[`${prefix}INFO`],
93917
93909
  warning: process.env[`${prefix}WARNING`],
93918
- error: process.env[`${prefix}ERROR`],
93910
+ danger: process.env[`${prefix}DANGER`],
93919
93911
  fatal: process.env[`${prefix}FATAL`],
93920
93912
  positive: process.env[`${prefix}POSITIVE`],
93921
93913
  negative: process.env[`${prefix}NEGATIVE`]
@@ -94143,8 +94135,8 @@ var init_set_env = __esm({
94143
94135
  if (config.warning) {
94144
94136
  process.env[`${prefix}WARNING`] = config.warning;
94145
94137
  }
94146
- if (config.error) {
94147
- process.env[`${prefix}ERROR`] = config.error;
94138
+ if (config.danger) {
94139
+ process.env[`${prefix}DANGER`] = config.danger;
94148
94140
  }
94149
94141
  if (config.fatal) {
94150
94142
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -94193,8 +94185,8 @@ var init_set_env = __esm({
94193
94185
  if (config.warning) {
94194
94186
  process.env[`${prefix}WARNING`] = config.warning;
94195
94187
  }
94196
- if (config.error) {
94197
- process.env[`${prefix}ERROR`] = config.error;
94188
+ if (config.danger) {
94189
+ process.env[`${prefix}DANGER`] = config.danger;
94198
94190
  }
94199
94191
  if (config.fatal) {
94200
94192
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -66639,22 +66639,22 @@ var init_lib = __esm({
66639
66639
  });
66640
66640
 
66641
66641
  // packages/config/src/schema.ts
66642
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
66642
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
66643
66643
  var init_schema = __esm({
66644
66644
  "packages/config/src/schema.ts"() {
66645
66645
  init_lib();
66646
66646
  init_constants();
66647
- 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");
66647
+ 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");
66648
66648
  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");
66649
- 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");
66649
+ 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");
66650
66650
  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");
66651
66651
  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");
66652
- LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66652
+ LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
66653
66653
  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");
66654
- SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66655
- InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66654
+ SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
66655
+ InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
66656
66656
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66657
- ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66657
+ DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
66658
66658
  FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66659
66659
  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");
66660
66660
  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");
@@ -66669,7 +66669,7 @@ var init_schema = __esm({
66669
66669
  success: SuccessColorSchema,
66670
66670
  info: InfoColorSchema,
66671
66671
  warning: WarningColorSchema,
66672
- error: ErrorColorSchema,
66672
+ danger: DangerColorSchema,
66673
66673
  fatal: FatalColorSchema,
66674
66674
  positive: PositiveColorSchema,
66675
66675
  negative: NegativeColorSchema
@@ -66685,7 +66685,7 @@ var init_schema = __esm({
66685
66685
  success: SuccessColorSchema,
66686
66686
  info: InfoColorSchema,
66687
66687
  warning: WarningColorSchema,
66688
- error: ErrorColorSchema,
66688
+ danger: DangerColorSchema,
66689
66689
  fatal: FatalColorSchema,
66690
66690
  positive: PositiveColorSchema,
66691
66691
  negative: NegativeColorSchema
@@ -66705,7 +66705,7 @@ var init_schema = __esm({
66705
66705
  success: SuccessColorSchema,
66706
66706
  info: InfoColorSchema,
66707
66707
  warning: WarningColorSchema,
66708
- error: ErrorColorSchema,
66708
+ danger: DangerColorSchema,
66709
66709
  fatal: FatalColorSchema,
66710
66710
  positive: PositiveColorSchema,
66711
66711
  negative: NegativeColorSchema
@@ -66807,7 +66807,7 @@ var init_types = __esm({
66807
66807
  "help",
66808
66808
  "info",
66809
66809
  "warning",
66810
- "error",
66810
+ "danger",
66811
66811
  "fatal",
66812
66812
  "positive",
66813
66813
  "negative"
@@ -66843,7 +66843,7 @@ var init_get_default_config = __esm({
66843
66843
  "success": "#087f5b",
66844
66844
  "info": "#0550ae",
66845
66845
  "warning": "#e3b341",
66846
- "error": "#a40e26",
66846
+ "danger": "#D8314A",
66847
66847
  "positive": "#22c55e",
66848
66848
  "negative": "#dc2626"
66849
66849
  },
@@ -66856,7 +66856,7 @@ var init_get_default_config = __esm({
66856
66856
  "success": "#10b981",
66857
66857
  "info": "#58a6ff",
66858
66858
  "warning": "#f3d371",
66859
- "error": "#d1242f",
66859
+ "danger": "#D8314A",
66860
66860
  "positive": "#22c55e",
66861
66861
  "negative": "#dc2626"
66862
66862
  }
@@ -66879,7 +66879,6 @@ var init_get_default_config = __esm({
66879
66879
  organization: "storm-software",
66880
66880
  configFile: null,
66881
66881
  runtimeVersion: "1.0.0",
66882
- colors: { ...DEFAULT_COLOR_CONFIG },
66883
66882
  extensions: {}
66884
66883
  };
66885
66884
  getDefaultConfig = (config = {}, root) => {
@@ -66922,7 +66921,7 @@ var init_get_default_config = __esm({
66922
66921
  }
66923
66922
  return ret;
66924
66923
  }, {}),
66925
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66924
+ colors: config.colors,
66926
66925
  workspaceRoot,
66927
66926
  name,
66928
66927
  namespace,
@@ -67043,10 +67042,9 @@ var init_logger = __esm({
67043
67042
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
67044
67043
  return (message) => {
67045
67044
  console.error(
67046
- `
67047
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
67045
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
67048
67046
  " \u{1F480} Fatal "
67049
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67047
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
67050
67048
  `
67051
67049
  );
67052
67050
  };
@@ -67054,10 +67052,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67054
67052
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
67055
67053
  return (message) => {
67056
67054
  console.error(
67057
- `
67058
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67055
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
67059
67056
  " \u2718 Error "
67060
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67057
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
67061
67058
  `
67062
67059
  );
67063
67060
  };
@@ -67065,10 +67062,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
67065
67062
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
67066
67063
  return (message) => {
67067
67064
  console.warn(
67068
- `
67069
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67065
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67070
67066
  " \u26A0 Warn "
67071
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
67067
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
67072
67068
  `
67073
67069
  );
67074
67070
  };
@@ -67076,10 +67072,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
67076
67072
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
67077
67073
  return (message) => {
67078
67074
  console.info(
67079
- `
67080
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
67075
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
67081
67076
  " \u2713 Success "
67082
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
67077
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
67083
67078
  `
67084
67079
  );
67085
67080
  };
@@ -67087,10 +67082,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
67087
67082
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
67088
67083
  return (message) => {
67089
67084
  console.info(
67090
- `
67091
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
67085
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
67092
67086
  " \u2139 Info "
67093
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
67087
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
67094
67088
  `
67095
67089
  );
67096
67090
  };
@@ -67098,20 +67092,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
67098
67092
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
67099
67093
  return (message) => {
67100
67094
  console.debug(
67101
- `
67102
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
67095
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
67103
67096
  " \u{1F6E0} Debug "
67104
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
67097
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
67105
67098
  `
67106
67099
  );
67107
67100
  };
67108
67101
  }
67109
67102
  return (message) => {
67110
67103
  console.log(
67111
- `
67112
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
67104
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
67113
67105
  " \u2709 System "
67114
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
67106
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
67115
67107
  `
67116
67108
  );
67117
67109
  };
@@ -67463,7 +67455,7 @@ var init_get_env = __esm({
67463
67455
  success: process.env[`${prefix}SUCCESS`],
67464
67456
  info: process.env[`${prefix}INFO`],
67465
67457
  warning: process.env[`${prefix}WARNING`],
67466
- error: process.env[`${prefix}ERROR`],
67458
+ danger: process.env[`${prefix}DANGER`],
67467
67459
  fatal: process.env[`${prefix}FATAL`],
67468
67460
  positive: process.env[`${prefix}POSITIVE`],
67469
67461
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67489,7 +67481,7 @@ var init_get_env = __esm({
67489
67481
  success: process.env[`${prefix}SUCCESS`],
67490
67482
  info: process.env[`${prefix}INFO`],
67491
67483
  warning: process.env[`${prefix}WARNING`],
67492
- error: process.env[`${prefix}ERROR`],
67484
+ danger: process.env[`${prefix}DANGER`],
67493
67485
  fatal: process.env[`${prefix}FATAL`],
67494
67486
  positive: process.env[`${prefix}POSITIVE`],
67495
67487
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67717,8 +67709,8 @@ var init_set_env = __esm({
67717
67709
  if (config.warning) {
67718
67710
  process.env[`${prefix}WARNING`] = config.warning;
67719
67711
  }
67720
- if (config.error) {
67721
- process.env[`${prefix}ERROR`] = config.error;
67712
+ if (config.danger) {
67713
+ process.env[`${prefix}DANGER`] = config.danger;
67722
67714
  }
67723
67715
  if (config.fatal) {
67724
67716
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -67767,8 +67759,8 @@ var init_set_env = __esm({
67767
67759
  if (config.warning) {
67768
67760
  process.env[`${prefix}WARNING`] = config.warning;
67769
67761
  }
67770
- if (config.error) {
67771
- process.env[`${prefix}ERROR`] = config.error;
67762
+ if (config.danger) {
67763
+ process.env[`${prefix}DANGER`] = config.danger;
67772
67764
  }
67773
67765
  if (config.fatal) {
67774
67766
  process.env[`${prefix}FATAL`] = config.fatal;