@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.
@@ -3945,13 +3945,15 @@ var init_lib = __esm({
3945
3945
  });
3946
3946
 
3947
3947
  // packages/config/src/schema.ts
3948
- var DarkColorSchema, LightColorSchema, BrandColorSchema, AccentColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
3948
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Brand3ColorSchema, AccentColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
3949
3949
  var init_schema = __esm({
3950
3950
  "packages/config/src/schema.ts"() {
3951
3951
  init_lib();
3952
- DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
3952
+ DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
3953
3953
  LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3954
3954
  BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3955
+ Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
3956
+ Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
3955
3957
  AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
3956
3958
  HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
3957
3959
  SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
@@ -3963,6 +3965,8 @@ var init_schema = __esm({
3963
3965
  foreground: LightColorSchema,
3964
3966
  background: DarkColorSchema,
3965
3967
  brand: BrandColorSchema,
3968
+ brand2: Brand2ColorSchema,
3969
+ brand3: Brand3ColorSchema,
3966
3970
  accent: AccentColorSchema,
3967
3971
  help: HelpColorSchema,
3968
3972
  success: SuccessColorSchema,
@@ -3975,6 +3979,8 @@ var init_schema = __esm({
3975
3979
  foreground: DarkColorSchema,
3976
3980
  background: LightColorSchema,
3977
3981
  brand: BrandColorSchema,
3982
+ brand2: Brand2ColorSchema,
3983
+ brand3: Brand3ColorSchema,
3978
3984
  accent: AccentColorSchema,
3979
3985
  help: HelpColorSchema,
3980
3986
  success: SuccessColorSchema,
@@ -3991,6 +3997,8 @@ var init_schema = __esm({
3991
3997
  dark: DarkColorSchema,
3992
3998
  light: LightColorSchema,
3993
3999
  brand: BrandColorSchema,
4000
+ brand2: Brand2ColorSchema,
4001
+ brand3: Brand3ColorSchema,
3994
4002
  accent: AccentColorSchema,
3995
4003
  help: HelpColorSchema,
3996
4004
  success: SuccessColorSchema,
@@ -65374,8 +65382,8 @@ var init_correct_paths = __esm({
65374
65382
  if (!path5) {
65375
65383
  return "";
65376
65384
  }
65377
- if (path5?.toUpperCase()?.startsWith("C:")) {
65378
- return path5.replaceAll("/", "\\");
65385
+ if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
65386
+ path5 = `C:${path5}`;
65379
65387
  }
65380
65388
  return path5.replaceAll("\\", "/");
65381
65389
  };
@@ -65475,15 +65483,17 @@ var init_find_workspace_root = __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
  }