@storm-software/git-tools 2.63.5 → 2.65.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.
@@ -37264,13 +37264,15 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
37264
37264
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
37265
37265
  var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
37266
37266
  var 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");
37267
- var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
37267
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
37268
37268
  var 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");
37269
37269
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
37270
37270
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
37271
37271
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
37272
37272
  var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
37273
37273
  var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
37274
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
37275
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
37274
37276
  var DarkThemeColorConfigSchema = z.object({
37275
37277
  foreground: LightColorSchema,
37276
37278
  background: DarkColorSchema,
@@ -37283,7 +37285,9 @@ var DarkThemeColorConfigSchema = z.object({
37283
37285
  info: InfoColorSchema,
37284
37286
  warning: WarningColorSchema,
37285
37287
  error: ErrorColorSchema,
37286
- fatal: FatalColorSchema
37288
+ fatal: FatalColorSchema,
37289
+ positive: PositiveColorSchema,
37290
+ negative: NegativeColorSchema
37287
37291
  });
37288
37292
  var LightThemeColorConfigSchema = z.object({
37289
37293
  foreground: DarkColorSchema,
@@ -37297,7 +37301,9 @@ var LightThemeColorConfigSchema = z.object({
37297
37301
  info: InfoColorSchema,
37298
37302
  warning: WarningColorSchema,
37299
37303
  error: ErrorColorSchema,
37300
- fatal: FatalColorSchema
37304
+ fatal: FatalColorSchema,
37305
+ positive: PositiveColorSchema,
37306
+ negative: NegativeColorSchema
37301
37307
  });
37302
37308
  var MultiThemeColorConfigSchema = z.object({
37303
37309
  dark: DarkThemeColorConfigSchema,
@@ -37315,7 +37321,9 @@ var SingleThemeColorConfigSchema = z.object({
37315
37321
  info: InfoColorSchema,
37316
37322
  warning: WarningColorSchema,
37317
37323
  error: ErrorColorSchema,
37318
- fatal: FatalColorSchema
37324
+ fatal: FatalColorSchema,
37325
+ positive: PositiveColorSchema,
37326
+ negative: NegativeColorSchema
37319
37327
  });
37320
37328
  var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
37321
37329
  var RegistryConfigSchema = z.object({
@@ -37403,24 +37411,26 @@ var DEFAULT_COLOR_CONFIG = {
37403
37411
  "foreground": "#1d1e22",
37404
37412
  "brand": "#1fb2a6",
37405
37413
  "alternate": "#db2777",
37406
- "link": "#01B4F5",
37407
37414
  "help": "#5C4EE5",
37408
37415
  "success": "#087f5b",
37409
37416
  "info": "#0550ae",
37410
37417
  "warning": "#e3b341",
37411
- "error": "#a40e26"
37418
+ "error": "#a40e26",
37419
+ "positive": "#22c55e",
37420
+ "negative": "#dc2626"
37412
37421
  },
37413
37422
  "dark": {
37414
37423
  "background": "#1d1e22",
37415
37424
  "foreground": "#cbd5e1",
37416
37425
  "brand": "#2dd4bf",
37417
37426
  "alternate": "#db2777",
37418
- "link": "#01B4F5",
37419
37427
  "help": "#818cf8",
37420
37428
  "success": "#10b981",
37421
37429
  "info": "#58a6ff",
37422
37430
  "warning": "#f3d371",
37423
- "error": "#d1242f"
37431
+ "error": "#d1242f",
37432
+ "positive": "#22c55e",
37433
+ "negative": "#dc2626"
37424
37434
  }
37425
37435
  };
37426
37436
  var DEFAULT_STORM_CONFIG = {
package/src/index.js CHANGED
@@ -225740,13 +225740,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
225740
225740
  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");
225741
225741
  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");
225742
225742
  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");
225743
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
225743
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
225744
225744
  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");
225745
225745
  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");
225746
225746
  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");
225747
225747
  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");
225748
225748
  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");
225749
225749
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
225750
+ 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");
225751
+ 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");
225750
225752
  var DarkThemeColorConfigSchema = z2.object({
225751
225753
  foreground: LightColorSchema,
225752
225754
  background: DarkColorSchema,
@@ -225759,7 +225761,9 @@ var DarkThemeColorConfigSchema = z2.object({
225759
225761
  info: InfoColorSchema,
225760
225762
  warning: WarningColorSchema,
225761
225763
  error: ErrorColorSchema,
225762
- fatal: FatalColorSchema
225764
+ fatal: FatalColorSchema,
225765
+ positive: PositiveColorSchema,
225766
+ negative: NegativeColorSchema
225763
225767
  });
225764
225768
  var LightThemeColorConfigSchema = z2.object({
225765
225769
  foreground: DarkColorSchema,
@@ -225773,7 +225777,9 @@ var LightThemeColorConfigSchema = z2.object({
225773
225777
  info: InfoColorSchema,
225774
225778
  warning: WarningColorSchema,
225775
225779
  error: ErrorColorSchema,
225776
- fatal: FatalColorSchema
225780
+ fatal: FatalColorSchema,
225781
+ positive: PositiveColorSchema,
225782
+ negative: NegativeColorSchema
225777
225783
  });
225778
225784
  var MultiThemeColorConfigSchema = z2.object({
225779
225785
  dark: DarkThemeColorConfigSchema,
@@ -225791,7 +225797,9 @@ var SingleThemeColorConfigSchema = z2.object({
225791
225797
  info: InfoColorSchema,
225792
225798
  warning: WarningColorSchema,
225793
225799
  error: ErrorColorSchema,
225794
- fatal: FatalColorSchema
225800
+ fatal: FatalColorSchema,
225801
+ positive: PositiveColorSchema,
225802
+ negative: NegativeColorSchema
225795
225803
  });
225796
225804
  var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
225797
225805
  var RegistryConfigSchema = z2.object({
@@ -225876,14 +225884,19 @@ var StormConfigSchema = z2.object({
225876
225884
  var COLOR_KEYS = [
225877
225885
  "dark",
225878
225886
  "light",
225887
+ "base",
225879
225888
  "brand",
225889
+ "alternate",
225880
225890
  "accent",
225881
- "help",
225891
+ "link",
225882
225892
  "success",
225893
+ "help",
225883
225894
  "info",
225884
225895
  "warning",
225885
225896
  "error",
225886
- "fatal"
225897
+ "fatal",
225898
+ "positive",
225899
+ "negative"
225887
225900
  ];
225888
225901
 
225889
225902
  // packages/config-tools/src/utilities/get-default-config.ts
@@ -225895,24 +225908,26 @@ var DEFAULT_COLOR_CONFIG = {
225895
225908
  "foreground": "#1d1e22",
225896
225909
  "brand": "#1fb2a6",
225897
225910
  "alternate": "#db2777",
225898
- "link": "#01B4F5",
225899
225911
  "help": "#5C4EE5",
225900
225912
  "success": "#087f5b",
225901
225913
  "info": "#0550ae",
225902
225914
  "warning": "#e3b341",
225903
- "error": "#a40e26"
225915
+ "error": "#a40e26",
225916
+ "positive": "#22c55e",
225917
+ "negative": "#dc2626"
225904
225918
  },
225905
225919
  "dark": {
225906
225920
  "background": "#1d1e22",
225907
225921
  "foreground": "#cbd5e1",
225908
225922
  "brand": "#2dd4bf",
225909
225923
  "alternate": "#db2777",
225910
- "link": "#01B4F5",
225911
225924
  "help": "#818cf8",
225912
225925
  "success": "#10b981",
225913
225926
  "info": "#58a6ff",
225914
225927
  "warning": "#f3d371",
225915
- "error": "#d1242f"
225928
+ "error": "#d1242f",
225929
+ "positive": "#22c55e",
225930
+ "negative": "#dc2626"
225916
225931
  }
225917
225932
  };
225918
225933
  var DEFAULT_STORM_CONFIG = {
@@ -225976,7 +225991,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
225976
225991
  }
225977
225992
  return ret;
225978
225993
  }, {}),
225979
- colors: { ...DEFAULT_COLOR_CONFIG, ...config2.colors },
225994
+ colors: config2.colors ? { ...config2.colors } : { ...DEFAULT_COLOR_CONFIG },
225980
225995
  workspaceRoot: workspaceRoot3,
225981
225996
  name,
225982
225997
  namespace,
@@ -225984,7 +225999,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
225984
225999
  license: license ?? DEFAULT_STORM_CONFIG.license,
225985
226000
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
225986
226001
  docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
225987
- licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
226002
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
225988
226003
  extensions: {
225989
226004
  ...config2.extensions
225990
226005
  }
@@ -226364,7 +226379,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
226364
226379
  info: process.env[`${prefix}INFO`],
226365
226380
  warning: process.env[`${prefix}WARNING`],
226366
226381
  error: process.env[`${prefix}ERROR`],
226367
- fatal: process.env[`${prefix}FATAL`]
226382
+ fatal: process.env[`${prefix}FATAL`],
226383
+ positive: process.env[`${prefix}POSITIVE`],
226384
+ negative: process.env[`${prefix}NEGATIVE`]
226368
226385
  };
226369
226386
  };
226370
226387
  var getMultiThemeColorConfigEnv = (prefix) => {
@@ -226388,7 +226405,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
226388
226405
  info: process.env[`${prefix}INFO`],
226389
226406
  warning: process.env[`${prefix}WARNING`],
226390
226407
  error: process.env[`${prefix}ERROR`],
226391
- fatal: process.env[`${prefix}FATAL`]
226408
+ fatal: process.env[`${prefix}FATAL`],
226409
+ positive: process.env[`${prefix}POSITIVE`],
226410
+ negative: process.env[`${prefix}NEGATIVE`]
226392
226411
  };
226393
226412
  };
226394
226413
 
@@ -226611,6 +226630,12 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
226611
226630
  if (config2.fatal) {
226612
226631
  process.env[`${prefix}FATAL`] = config2.fatal;
226613
226632
  }
226633
+ if (config2.positive) {
226634
+ process.env[`${prefix}POSITIVE`] = config2.positive;
226635
+ }
226636
+ if (config2.negative) {
226637
+ process.env[`${prefix}NEGATIVE`] = config2.negative;
226638
+ }
226614
226639
  };
226615
226640
  var setMultiThemeColorConfigEnv = (prefix, config2) => {
226616
226641
  return {
@@ -226655,6 +226680,12 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
226655
226680
  if (config2.fatal) {
226656
226681
  process.env[`${prefix}FATAL`] = config2.fatal;
226657
226682
  }
226683
+ if (config2.positive) {
226684
+ process.env[`${prefix}POSITIVE`] = config2.positive;
226685
+ }
226686
+ if (config2.negative) {
226687
+ process.env[`${prefix}NEGATIVE`] = config2.negative;
226688
+ }
226658
226689
  };
226659
226690
 
226660
226691
  // packages/config-tools/src/create-storm-config.ts
@@ -5721,13 +5721,15 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
5721
5721
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
5722
5722
  var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
5723
5723
  var 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");
5724
- var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
5724
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
5725
5725
  var 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");
5726
5726
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
5727
5727
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
5728
5728
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
5729
5729
  var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
5730
5730
  var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
5731
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
5732
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
5731
5733
  var DarkThemeColorConfigSchema = z.object({
5732
5734
  foreground: LightColorSchema,
5733
5735
  background: DarkColorSchema,
@@ -5740,7 +5742,9 @@ var DarkThemeColorConfigSchema = z.object({
5740
5742
  info: InfoColorSchema,
5741
5743
  warning: WarningColorSchema,
5742
5744
  error: ErrorColorSchema,
5743
- fatal: FatalColorSchema
5745
+ fatal: FatalColorSchema,
5746
+ positive: PositiveColorSchema,
5747
+ negative: NegativeColorSchema
5744
5748
  });
5745
5749
  var LightThemeColorConfigSchema = z.object({
5746
5750
  foreground: DarkColorSchema,
@@ -5754,7 +5758,9 @@ var LightThemeColorConfigSchema = z.object({
5754
5758
  info: InfoColorSchema,
5755
5759
  warning: WarningColorSchema,
5756
5760
  error: ErrorColorSchema,
5757
- fatal: FatalColorSchema
5761
+ fatal: FatalColorSchema,
5762
+ positive: PositiveColorSchema,
5763
+ negative: NegativeColorSchema
5758
5764
  });
5759
5765
  var MultiThemeColorConfigSchema = z.object({
5760
5766
  dark: DarkThemeColorConfigSchema,
@@ -5772,7 +5778,9 @@ var SingleThemeColorConfigSchema = z.object({
5772
5778
  info: InfoColorSchema,
5773
5779
  warning: WarningColorSchema,
5774
5780
  error: ErrorColorSchema,
5775
- fatal: FatalColorSchema
5781
+ fatal: FatalColorSchema,
5782
+ positive: PositiveColorSchema,
5783
+ negative: NegativeColorSchema
5776
5784
  });
5777
5785
  var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
5778
5786
  var RegistryConfigSchema = z.object({
@@ -5860,24 +5868,26 @@ var DEFAULT_COLOR_CONFIG = {
5860
5868
  "foreground": "#1d1e22",
5861
5869
  "brand": "#1fb2a6",
5862
5870
  "alternate": "#db2777",
5863
- "link": "#01B4F5",
5864
5871
  "help": "#5C4EE5",
5865
5872
  "success": "#087f5b",
5866
5873
  "info": "#0550ae",
5867
5874
  "warning": "#e3b341",
5868
- "error": "#a40e26"
5875
+ "error": "#a40e26",
5876
+ "positive": "#22c55e",
5877
+ "negative": "#dc2626"
5869
5878
  },
5870
5879
  "dark": {
5871
5880
  "background": "#1d1e22",
5872
5881
  "foreground": "#cbd5e1",
5873
5882
  "brand": "#2dd4bf",
5874
5883
  "alternate": "#db2777",
5875
- "link": "#01B4F5",
5876
5884
  "help": "#818cf8",
5877
5885
  "success": "#10b981",
5878
5886
  "info": "#58a6ff",
5879
5887
  "warning": "#f3d371",
5880
- "error": "#d1242f"
5888
+ "error": "#d1242f",
5889
+ "positive": "#22c55e",
5890
+ "negative": "#dc2626"
5881
5891
  }
5882
5892
  };
5883
5893
  var DEFAULT_STORM_CONFIG = {