@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.
@@ -68472,22 +68472,22 @@ var init_lib = __esm({
68472
68472
  });
68473
68473
 
68474
68474
  // packages/config/src/schema.ts
68475
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
68475
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
68476
68476
  var init_schema = __esm({
68477
68477
  "packages/config/src/schema.ts"() {
68478
68478
  init_lib();
68479
68479
  init_constants();
68480
- 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");
68480
+ 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");
68481
68481
  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");
68482
- 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");
68482
+ 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");
68483
68483
  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");
68484
68484
  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");
68485
- LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
68485
+ LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
68486
68486
  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");
68487
- SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
68488
- InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
68487
+ SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
68488
+ InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
68489
68489
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
68490
- ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
68490
+ DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
68491
68491
  FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
68492
68492
  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");
68493
68493
  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");
@@ -68502,7 +68502,7 @@ var init_schema = __esm({
68502
68502
  success: SuccessColorSchema,
68503
68503
  info: InfoColorSchema,
68504
68504
  warning: WarningColorSchema,
68505
- error: ErrorColorSchema,
68505
+ danger: DangerColorSchema,
68506
68506
  fatal: FatalColorSchema,
68507
68507
  positive: PositiveColorSchema,
68508
68508
  negative: NegativeColorSchema
@@ -68518,7 +68518,7 @@ var init_schema = __esm({
68518
68518
  success: SuccessColorSchema,
68519
68519
  info: InfoColorSchema,
68520
68520
  warning: WarningColorSchema,
68521
- error: ErrorColorSchema,
68521
+ danger: DangerColorSchema,
68522
68522
  fatal: FatalColorSchema,
68523
68523
  positive: PositiveColorSchema,
68524
68524
  negative: NegativeColorSchema
@@ -68538,7 +68538,7 @@ var init_schema = __esm({
68538
68538
  success: SuccessColorSchema,
68539
68539
  info: InfoColorSchema,
68540
68540
  warning: WarningColorSchema,
68541
- error: ErrorColorSchema,
68541
+ danger: DangerColorSchema,
68542
68542
  fatal: FatalColorSchema,
68543
68543
  positive: PositiveColorSchema,
68544
68544
  negative: NegativeColorSchema
@@ -68640,7 +68640,7 @@ var init_types = __esm({
68640
68640
  "help",
68641
68641
  "info",
68642
68642
  "warning",
68643
- "error",
68643
+ "danger",
68644
68644
  "fatal",
68645
68645
  "positive",
68646
68646
  "negative"
@@ -68676,7 +68676,7 @@ var init_get_default_config = __esm({
68676
68676
  "success": "#087f5b",
68677
68677
  "info": "#0550ae",
68678
68678
  "warning": "#e3b341",
68679
- "error": "#a40e26",
68679
+ "danger": "#D8314A",
68680
68680
  "positive": "#22c55e",
68681
68681
  "negative": "#dc2626"
68682
68682
  },
@@ -68689,7 +68689,7 @@ var init_get_default_config = __esm({
68689
68689
  "success": "#10b981",
68690
68690
  "info": "#58a6ff",
68691
68691
  "warning": "#f3d371",
68692
- "error": "#d1242f",
68692
+ "danger": "#D8314A",
68693
68693
  "positive": "#22c55e",
68694
68694
  "negative": "#dc2626"
68695
68695
  }
@@ -68712,7 +68712,6 @@ var init_get_default_config = __esm({
68712
68712
  organization: "storm-software",
68713
68713
  configFile: null,
68714
68714
  runtimeVersion: "1.0.0",
68715
- colors: { ...DEFAULT_COLOR_CONFIG },
68716
68715
  extensions: {}
68717
68716
  };
68718
68717
  getDefaultConfig = (config = {}, root) => {
@@ -68755,7 +68754,7 @@ var init_get_default_config = __esm({
68755
68754
  }
68756
68755
  return ret;
68757
68756
  }, {}),
68758
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
68757
+ colors: config.colors,
68759
68758
  workspaceRoot,
68760
68759
  name,
68761
68760
  namespace,
@@ -68876,10 +68875,9 @@ var init_logger = __esm({
68876
68875
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
68877
68876
  return (message) => {
68878
68877
  console.error(
68879
- `
68880
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
68878
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
68881
68879
  " \u{1F480} Fatal "
68882
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
68880
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
68883
68881
  `
68884
68882
  );
68885
68883
  };
@@ -68887,10 +68885,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
68887
68885
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
68888
68886
  return (message) => {
68889
68887
  console.error(
68890
- `
68891
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
68888
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
68892
68889
  " \u2718 Error "
68893
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
68890
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
68894
68891
  `
68895
68892
  );
68896
68893
  };
@@ -68898,10 +68895,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
68898
68895
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
68899
68896
  return (message) => {
68900
68897
  console.warn(
68901
- `
68902
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
68898
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
68903
68899
  " \u26A0 Warn "
68904
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
68900
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
68905
68901
  `
68906
68902
  );
68907
68903
  };
@@ -68909,10 +68905,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
68909
68905
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
68910
68906
  return (message) => {
68911
68907
  console.info(
68912
- `
68913
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
68908
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
68914
68909
  " \u2713 Success "
68915
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
68910
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
68916
68911
  `
68917
68912
  );
68918
68913
  };
@@ -68920,10 +68915,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
68920
68915
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
68921
68916
  return (message) => {
68922
68917
  console.info(
68923
- `
68924
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
68918
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
68925
68919
  " \u2139 Info "
68926
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
68920
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
68927
68921
  `
68928
68922
  );
68929
68923
  };
@@ -68931,20 +68925,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
68931
68925
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
68932
68926
  return (message) => {
68933
68927
  console.debug(
68934
- `
68935
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68928
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68936
68929
  " \u{1F6E0} Debug "
68937
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
68930
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
68938
68931
  `
68939
68932
  );
68940
68933
  };
68941
68934
  }
68942
68935
  return (message) => {
68943
68936
  console.log(
68944
- `
68945
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68937
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68946
68938
  " \u2709 System "
68947
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
68939
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
68948
68940
  `
68949
68941
  );
68950
68942
  };
@@ -69296,7 +69288,7 @@ var init_get_env = __esm({
69296
69288
  success: process.env[`${prefix}SUCCESS`],
69297
69289
  info: process.env[`${prefix}INFO`],
69298
69290
  warning: process.env[`${prefix}WARNING`],
69299
- error: process.env[`${prefix}ERROR`],
69291
+ danger: process.env[`${prefix}DANGER`],
69300
69292
  fatal: process.env[`${prefix}FATAL`],
69301
69293
  positive: process.env[`${prefix}POSITIVE`],
69302
69294
  negative: process.env[`${prefix}NEGATIVE`]
@@ -69322,7 +69314,7 @@ var init_get_env = __esm({
69322
69314
  success: process.env[`${prefix}SUCCESS`],
69323
69315
  info: process.env[`${prefix}INFO`],
69324
69316
  warning: process.env[`${prefix}WARNING`],
69325
- error: process.env[`${prefix}ERROR`],
69317
+ danger: process.env[`${prefix}DANGER`],
69326
69318
  fatal: process.env[`${prefix}FATAL`],
69327
69319
  positive: process.env[`${prefix}POSITIVE`],
69328
69320
  negative: process.env[`${prefix}NEGATIVE`]
@@ -69550,8 +69542,8 @@ var init_set_env = __esm({
69550
69542
  if (config.warning) {
69551
69543
  process.env[`${prefix}WARNING`] = config.warning;
69552
69544
  }
69553
- if (config.error) {
69554
- process.env[`${prefix}ERROR`] = config.error;
69545
+ if (config.danger) {
69546
+ process.env[`${prefix}DANGER`] = config.danger;
69555
69547
  }
69556
69548
  if (config.fatal) {
69557
69549
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -69600,8 +69592,8 @@ var init_set_env = __esm({
69600
69592
  if (config.warning) {
69601
69593
  process.env[`${prefix}WARNING`] = config.warning;
69602
69594
  }
69603
- if (config.error) {
69604
- process.env[`${prefix}ERROR`] = config.error;
69595
+ if (config.danger) {
69596
+ process.env[`${prefix}DANGER`] = config.danger;
69605
69597
  }
69606
69598
  if (config.fatal) {
69607
69599
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -66151,22 +66151,22 @@ var init_lib = __esm({
66151
66151
  });
66152
66152
 
66153
66153
  // packages/config/src/schema.ts
66154
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
66154
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
66155
66155
  var init_schema = __esm({
66156
66156
  "packages/config/src/schema.ts"() {
66157
66157
  init_lib();
66158
66158
  init_constants();
66159
- 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");
66159
+ 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");
66160
66160
  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");
66161
- 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");
66161
+ 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");
66162
66162
  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");
66163
66163
  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");
66164
- LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66164
+ LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
66165
66165
  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");
66166
- SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66167
- InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66166
+ SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
66167
+ InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
66168
66168
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66169
- ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66169
+ DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
66170
66170
  FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66171
66171
  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");
66172
66172
  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");
@@ -66181,7 +66181,7 @@ var init_schema = __esm({
66181
66181
  success: SuccessColorSchema,
66182
66182
  info: InfoColorSchema,
66183
66183
  warning: WarningColorSchema,
66184
- error: ErrorColorSchema,
66184
+ danger: DangerColorSchema,
66185
66185
  fatal: FatalColorSchema,
66186
66186
  positive: PositiveColorSchema,
66187
66187
  negative: NegativeColorSchema
@@ -66197,7 +66197,7 @@ var init_schema = __esm({
66197
66197
  success: SuccessColorSchema,
66198
66198
  info: InfoColorSchema,
66199
66199
  warning: WarningColorSchema,
66200
- error: ErrorColorSchema,
66200
+ danger: DangerColorSchema,
66201
66201
  fatal: FatalColorSchema,
66202
66202
  positive: PositiveColorSchema,
66203
66203
  negative: NegativeColorSchema
@@ -66217,7 +66217,7 @@ var init_schema = __esm({
66217
66217
  success: SuccessColorSchema,
66218
66218
  info: InfoColorSchema,
66219
66219
  warning: WarningColorSchema,
66220
- error: ErrorColorSchema,
66220
+ danger: DangerColorSchema,
66221
66221
  fatal: FatalColorSchema,
66222
66222
  positive: PositiveColorSchema,
66223
66223
  negative: NegativeColorSchema
@@ -66319,7 +66319,7 @@ var init_types = __esm({
66319
66319
  "help",
66320
66320
  "info",
66321
66321
  "warning",
66322
- "error",
66322
+ "danger",
66323
66323
  "fatal",
66324
66324
  "positive",
66325
66325
  "negative"
@@ -66355,7 +66355,7 @@ var init_get_default_config = __esm({
66355
66355
  "success": "#087f5b",
66356
66356
  "info": "#0550ae",
66357
66357
  "warning": "#e3b341",
66358
- "error": "#a40e26",
66358
+ "danger": "#D8314A",
66359
66359
  "positive": "#22c55e",
66360
66360
  "negative": "#dc2626"
66361
66361
  },
@@ -66368,7 +66368,7 @@ var init_get_default_config = __esm({
66368
66368
  "success": "#10b981",
66369
66369
  "info": "#58a6ff",
66370
66370
  "warning": "#f3d371",
66371
- "error": "#d1242f",
66371
+ "danger": "#D8314A",
66372
66372
  "positive": "#22c55e",
66373
66373
  "negative": "#dc2626"
66374
66374
  }
@@ -66391,7 +66391,6 @@ var init_get_default_config = __esm({
66391
66391
  organization: "storm-software",
66392
66392
  configFile: null,
66393
66393
  runtimeVersion: "1.0.0",
66394
- colors: { ...DEFAULT_COLOR_CONFIG },
66395
66394
  extensions: {}
66396
66395
  };
66397
66396
  getDefaultConfig = (config = {}, root) => {
@@ -66434,7 +66433,7 @@ var init_get_default_config = __esm({
66434
66433
  }
66435
66434
  return ret;
66436
66435
  }, {}),
66437
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66436
+ colors: config.colors,
66438
66437
  workspaceRoot,
66439
66438
  name,
66440
66439
  namespace,
@@ -66555,10 +66554,9 @@ var init_logger = __esm({
66555
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66556
66555
  return (message) => {
66557
66556
  console.error(
66558
- `
66559
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66560
66558
  " \u{1F480} Fatal "
66561
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66559
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66562
66560
  `
66563
66561
  );
66564
66562
  };
@@ -66566,10 +66564,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
66566
66564
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66567
66565
  return (message) => {
66568
66566
  console.error(
66569
- `
66570
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
66567
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66571
66568
  " \u2718 Error "
66572
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66573
66570
  `
66574
66571
  );
66575
66572
  };
@@ -66577,10 +66574,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
66577
66574
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66578
66575
  return (message) => {
66579
66576
  console.warn(
66580
- `
66581
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66577
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66582
66578
  " \u26A0 Warn "
66583
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66584
66580
  `
66585
66581
  );
66586
66582
  };
@@ -66588,10 +66584,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66588
66584
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66589
66585
  return (message) => {
66590
66586
  console.info(
66591
- `
66592
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66587
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66593
66588
  " \u2713 Success "
66594
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66595
66590
  `
66596
66591
  );
66597
66592
  };
@@ -66599,10 +66594,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66599
66594
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66600
66595
  return (message) => {
66601
66596
  console.info(
66602
- `
66603
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66597
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66604
66598
  " \u2139 Info "
66605
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66606
66600
  `
66607
66601
  );
66608
66602
  };
@@ -66610,20 +66604,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
66610
66604
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66611
66605
  return (message) => {
66612
66606
  console.debug(
66613
- `
66614
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66607
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66615
66608
  " \u{1F6E0} Debug "
66616
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66617
66610
  `
66618
66611
  );
66619
66612
  };
66620
66613
  }
66621
66614
  return (message) => {
66622
66615
  console.log(
66623
- `
66624
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66616
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66625
66617
  " \u2709 System "
66626
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66627
66619
  `
66628
66620
  );
66629
66621
  };
@@ -66975,7 +66967,7 @@ var init_get_env = __esm({
66975
66967
  success: process.env[`${prefix}SUCCESS`],
66976
66968
  info: process.env[`${prefix}INFO`],
66977
66969
  warning: process.env[`${prefix}WARNING`],
66978
- error: process.env[`${prefix}ERROR`],
66970
+ danger: process.env[`${prefix}DANGER`],
66979
66971
  fatal: process.env[`${prefix}FATAL`],
66980
66972
  positive: process.env[`${prefix}POSITIVE`],
66981
66973
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67001,7 +66993,7 @@ var init_get_env = __esm({
67001
66993
  success: process.env[`${prefix}SUCCESS`],
67002
66994
  info: process.env[`${prefix}INFO`],
67003
66995
  warning: process.env[`${prefix}WARNING`],
67004
- error: process.env[`${prefix}ERROR`],
66996
+ danger: process.env[`${prefix}DANGER`],
67005
66997
  fatal: process.env[`${prefix}FATAL`],
67006
66998
  positive: process.env[`${prefix}POSITIVE`],
67007
66999
  negative: process.env[`${prefix}NEGATIVE`]
@@ -67229,8 +67221,8 @@ var init_set_env = __esm({
67229
67221
  if (config.warning) {
67230
67222
  process.env[`${prefix}WARNING`] = config.warning;
67231
67223
  }
67232
- if (config.error) {
67233
- process.env[`${prefix}ERROR`] = config.error;
67224
+ if (config.danger) {
67225
+ process.env[`${prefix}DANGER`] = config.danger;
67234
67226
  }
67235
67227
  if (config.fatal) {
67236
67228
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -67279,8 +67271,8 @@ var init_set_env = __esm({
67279
67271
  if (config.warning) {
67280
67272
  process.env[`${prefix}WARNING`] = config.warning;
67281
67273
  }
67282
- if (config.error) {
67283
- process.env[`${prefix}ERROR`] = config.error;
67274
+ if (config.danger) {
67275
+ process.env[`${prefix}DANGER`] = config.danger;
67284
67276
  }
67285
67277
  if (config.fatal) {
67286
67278
  process.env[`${prefix}FATAL`] = config.fatal;