@storm-software/workspace-tools 1.131.0 → 1.132.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.
@@ -61292,8 +61292,8 @@ var init_correct_paths = __esm({
61292
61292
  if (!path5) {
61293
61293
  return "";
61294
61294
  }
61295
- if (path5?.toUpperCase()?.startsWith("C:")) {
61296
- return path5.replaceAll("/", "\\");
61295
+ if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
+ path5 = `C:${path5}`;
61297
61297
  }
61298
61298
  return path5.replaceAll("\\", "/");
61299
61299
  };
@@ -65302,13 +65302,15 @@ var init_lib = __esm({
65302
65302
  });
65303
65303
 
65304
65304
  // packages/config/src/schema.ts
65305
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AccentColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
65305
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Brand3ColorSchema, AccentColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
65306
65306
  var init_schema = __esm({
65307
65307
  "packages/config/src/schema.ts"() {
65308
65308
  init_lib();
65309
- DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
65309
+ 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");
65310
65310
  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");
65311
65311
  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");
65312
+ Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
65313
+ Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
65312
65314
  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");
65313
65315
  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");
65314
65316
  SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
@@ -65320,6 +65322,8 @@ var init_schema = __esm({
65320
65322
  foreground: LightColorSchema,
65321
65323
  background: DarkColorSchema,
65322
65324
  brand: BrandColorSchema,
65325
+ brand2: Brand2ColorSchema,
65326
+ brand3: Brand3ColorSchema,
65323
65327
  accent: AccentColorSchema,
65324
65328
  help: HelpColorSchema,
65325
65329
  success: SuccessColorSchema,
@@ -65332,6 +65336,8 @@ var init_schema = __esm({
65332
65336
  foreground: DarkColorSchema,
65333
65337
  background: LightColorSchema,
65334
65338
  brand: BrandColorSchema,
65339
+ brand2: Brand2ColorSchema,
65340
+ brand3: Brand3ColorSchema,
65335
65341
  accent: AccentColorSchema,
65336
65342
  help: HelpColorSchema,
65337
65343
  success: SuccessColorSchema,
@@ -65348,6 +65354,8 @@ var init_schema = __esm({
65348
65354
  dark: DarkColorSchema,
65349
65355
  light: LightColorSchema,
65350
65356
  brand: BrandColorSchema,
65357
+ brand2: Brand2ColorSchema,
65358
+ brand3: Brand3ColorSchema,
65351
65359
  accent: AccentColorSchema,
65352
65360
  help: HelpColorSchema,
65353
65361
  success: SuccessColorSchema,
@@ -65475,15 +65483,17 @@ var init_src = __esm({
65475
65483
  var import_node_fs10, import_node_path6, DEFAULT_COLOR_CONFIG, DEFAULT_STORM_CONFIG, getDefaultConfig;
65476
65484
  var init_get_default_config = __esm({
65477
65485
  "packages/config-tools/src/utilities/get-default-config.ts"() {
65486
+ init_src();
65478
65487
  import_node_fs10 = require("node:fs");
65479
65488
  import_node_path6 = require("node:path");
65480
- init_src();
65481
65489
  init_find_workspace_root();
65482
65490
  DEFAULT_COLOR_CONFIG = {
65483
65491
  light: {
65484
65492
  background: "#f4f4f5",
65485
65493
  foreground: "#1d232a",
65486
65494
  brand: "#1fb2a6",
65495
+ brand2: "#7434DB",
65496
+ brand3: "#00C2CE",
65487
65497
  help: "#8250df",
65488
65498
  success: "#087f5b",
65489
65499
  info: "#0550ae",
@@ -65491,9 +65501,11 @@ var init_get_default_config = __esm({
65491
65501
  error: "#a40e26"
65492
65502
  },
65493
65503
  dark: {
65494
- background: "#22272E",
65504
+ background: "#0D1017",
65495
65505
  foreground: "#fcfcf5",
65496
65506
  brand: "#1fb2a6",
65507
+ brand2: "#7434DB",
65508
+ brand3: "#00C2CE",
65497
65509
  help: "#8256D0",
65498
65510
  success: "#087f5b",
65499
65511
  info: "#316DCA",
@@ -67271,7 +67283,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67271
67283
  console.error(
67272
67284
  `
67273
67285
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67274
- " \u2718 Error "
67286
+ " \u2718 Error "
67275
67287
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67276
67288
  `
67277
67289
  );
@@ -67723,6 +67735,8 @@ var init_get_env = __esm({
67723
67735
  dark: process.env[`${prefix}DARK`],
67724
67736
  light: process.env[`${prefix}LIGHT`],
67725
67737
  brand: process.env[`${prefix}BRAND`],
67738
+ brand2: process.env[`${prefix}BRAND2`],
67739
+ brand3: process.env[`${prefix}BRAND3`],
67726
67740
  accent: process.env[`${prefix}ACCENT`],
67727
67741
  help: process.env[`${prefix}HELP`],
67728
67742
  success: process.env[`${prefix}SUCCESS`],
@@ -67745,6 +67759,8 @@ var init_get_env = __esm({
67745
67759
  foreground: process.env[`${prefix}FOREGROUND`],
67746
67760
  background: process.env[`${prefix}BACKGROUND`],
67747
67761
  brand: process.env[`${prefix}BRAND`],
67762
+ brand2: process.env[`${prefix}BRAND2`],
67763
+ brand3: process.env[`${prefix}BRAND3`],
67748
67764
  accent: process.env[`${prefix}ACCENT`],
67749
67765
  help: process.env[`${prefix}HELP`],
67750
67766
  success: process.env[`${prefix}SUCCESS`],
@@ -67762,8 +67778,8 @@ var setExtensionEnv, setConfigEnv, setThemeColorConfigEnv, setSingleThemeColorCo
67762
67778
  var init_set_env = __esm({
67763
67779
  "packages/config-tools/src/env/set-env.ts"() {
67764
67780
  init_types2();
67765
- init_get_log_level();
67766
67781
  init_correct_paths();
67782
+ init_get_log_level();
67767
67783
  setExtensionEnv = (extensionName, extension) => {
67768
67784
  for (const key of Object.keys(extension ?? {})) {
67769
67785
  if (extension[key]) {
@@ -67949,6 +67965,12 @@ var init_set_env = __esm({
67949
67965
  if (config.brand) {
67950
67966
  process.env[`${prefix}BRAND`] = config.brand;
67951
67967
  }
67968
+ if (config.brand2) {
67969
+ process.env[`${prefix}BRAND2`] = config.brand2;
67970
+ }
67971
+ if (config.brand3) {
67972
+ process.env[`${prefix}BRAND3`] = config.brand3;
67973
+ }
67952
67974
  if (config.accent) {
67953
67975
  process.env[`${prefix}ACCENT`] = config.accent;
67954
67976
  }
@@ -67987,6 +68009,12 @@ var init_set_env = __esm({
67987
68009
  if (config.brand) {
67988
68010
  process.env[`${prefix}BRAND`] = config.brand;
67989
68011
  }
68012
+ if (config.brand2) {
68013
+ process.env[`${prefix}BRAND2`] = config.brand2;
68014
+ }
68015
+ if (config.brand3) {
68016
+ process.env[`${prefix}BRAND3`] = config.brand3;
68017
+ }
67990
68018
  if (config.accent) {
67991
68019
  process.env[`${prefix}ACCENT`] = config.accent;
67992
68020
  }