@storm-software/git-tools 2.63.5 → 2.64.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.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/bin/git.js +38 -12
- package/bin/post-checkout.js +38 -12
- package/bin/post-commit.js +38 -12
- package/bin/post-merge.js +38 -12
- package/bin/pre-commit.js +38 -12
- package/bin/pre-install.js +38 -12
- package/bin/pre-push.js +38 -12
- package/bin/prepare.js +38 -12
- package/bin/version-warning.js +38 -12
- package/package.json +1 -1
- package/src/cli/index.js +38 -12
- package/src/commit/index.js +18 -8
- package/src/commitizen/index.js +18 -8
- package/src/index.js +38 -12
- package/src/release/index.js +18 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 2.64.0 (2024-10-31)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Update the Nx package code to conform to latest type definitions ([b1dbdff8](https://github.com/storm-software/storm-ops/commit/b1dbdff8))
|
|
6
|
+
- **storm-ops:** Upgrade the Nx package versions used in the repository ([369fad24](https://github.com/storm-software/storm-ops/commit/369fad24))
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **storm-ops:** Resolve issue with invalid Nx ouput configuration ([9ca60bc0](https://github.com/storm-software/storm-ops/commit/9ca60bc0))
|
|
11
|
+
|
|
1
12
|
## 2.63.5 (2024-10-22)
|
|
2
13
|
|
|
3
14
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/git.js
CHANGED
|
@@ -229902,13 +229902,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
229902
229902
|
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");
|
|
229903
229903
|
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");
|
|
229904
229904
|
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");
|
|
229905
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
229905
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
229906
229906
|
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");
|
|
229907
229907
|
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");
|
|
229908
229908
|
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");
|
|
229909
229909
|
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");
|
|
229910
229910
|
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");
|
|
229911
229911
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
229912
|
+
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");
|
|
229913
|
+
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");
|
|
229912
229914
|
var DarkThemeColorConfigSchema = z2.object({
|
|
229913
229915
|
foreground: LightColorSchema,
|
|
229914
229916
|
background: DarkColorSchema,
|
|
@@ -229921,7 +229923,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
229921
229923
|
info: InfoColorSchema,
|
|
229922
229924
|
warning: WarningColorSchema,
|
|
229923
229925
|
error: ErrorColorSchema,
|
|
229924
|
-
fatal: FatalColorSchema
|
|
229926
|
+
fatal: FatalColorSchema,
|
|
229927
|
+
positive: PositiveColorSchema,
|
|
229928
|
+
negative: NegativeColorSchema
|
|
229925
229929
|
});
|
|
229926
229930
|
var LightThemeColorConfigSchema = z2.object({
|
|
229927
229931
|
foreground: DarkColorSchema,
|
|
@@ -229935,7 +229939,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
229935
229939
|
info: InfoColorSchema,
|
|
229936
229940
|
warning: WarningColorSchema,
|
|
229937
229941
|
error: ErrorColorSchema,
|
|
229938
|
-
fatal: FatalColorSchema
|
|
229942
|
+
fatal: FatalColorSchema,
|
|
229943
|
+
positive: PositiveColorSchema,
|
|
229944
|
+
negative: NegativeColorSchema
|
|
229939
229945
|
});
|
|
229940
229946
|
var MultiThemeColorConfigSchema = z2.object({
|
|
229941
229947
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -229953,7 +229959,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
229953
229959
|
info: InfoColorSchema,
|
|
229954
229960
|
warning: WarningColorSchema,
|
|
229955
229961
|
error: ErrorColorSchema,
|
|
229956
|
-
fatal: FatalColorSchema
|
|
229962
|
+
fatal: FatalColorSchema,
|
|
229963
|
+
positive: PositiveColorSchema,
|
|
229964
|
+
negative: NegativeColorSchema
|
|
229957
229965
|
});
|
|
229958
229966
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
229959
229967
|
var RegistryConfigSchema = z2.object({
|
|
@@ -230057,24 +230065,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
230057
230065
|
"foreground": "#1d1e22",
|
|
230058
230066
|
"brand": "#1fb2a6",
|
|
230059
230067
|
"alternate": "#db2777",
|
|
230060
|
-
"link": "#01B4F5",
|
|
230061
230068
|
"help": "#5C4EE5",
|
|
230062
230069
|
"success": "#087f5b",
|
|
230063
230070
|
"info": "#0550ae",
|
|
230064
230071
|
"warning": "#e3b341",
|
|
230065
|
-
"error": "#a40e26"
|
|
230072
|
+
"error": "#a40e26",
|
|
230073
|
+
"positive": "#22c55e",
|
|
230074
|
+
"negative": "#dc2626"
|
|
230066
230075
|
},
|
|
230067
230076
|
"dark": {
|
|
230068
230077
|
"background": "#1d1e22",
|
|
230069
230078
|
"foreground": "#cbd5e1",
|
|
230070
230079
|
"brand": "#2dd4bf",
|
|
230071
230080
|
"alternate": "#db2777",
|
|
230072
|
-
"link": "#01B4F5",
|
|
230073
230081
|
"help": "#818cf8",
|
|
230074
230082
|
"success": "#10b981",
|
|
230075
230083
|
"info": "#58a6ff",
|
|
230076
230084
|
"warning": "#f3d371",
|
|
230077
|
-
"error": "#d1242f"
|
|
230085
|
+
"error": "#d1242f",
|
|
230086
|
+
"positive": "#22c55e",
|
|
230087
|
+
"negative": "#dc2626"
|
|
230078
230088
|
}
|
|
230079
230089
|
};
|
|
230080
230090
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -230138,7 +230148,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
230138
230148
|
}
|
|
230139
230149
|
return ret;
|
|
230140
230150
|
}, {}),
|
|
230141
|
-
colors: { ...
|
|
230151
|
+
colors: config2.colors ? { ...config2.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
230142
230152
|
workspaceRoot: workspaceRoot3,
|
|
230143
230153
|
name,
|
|
230144
230154
|
namespace,
|
|
@@ -230146,7 +230156,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
230146
230156
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
230147
230157
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
230148
230158
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
230149
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
230159
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
230150
230160
|
extensions: {
|
|
230151
230161
|
...config2.extensions
|
|
230152
230162
|
}
|
|
@@ -230569,7 +230579,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
230569
230579
|
info: process.env[`${prefix}INFO`],
|
|
230570
230580
|
warning: process.env[`${prefix}WARNING`],
|
|
230571
230581
|
error: process.env[`${prefix}ERROR`],
|
|
230572
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
230582
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
230583
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
230584
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
230573
230585
|
};
|
|
230574
230586
|
};
|
|
230575
230587
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -230593,7 +230605,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
230593
230605
|
info: process.env[`${prefix}INFO`],
|
|
230594
230606
|
warning: process.env[`${prefix}WARNING`],
|
|
230595
230607
|
error: process.env[`${prefix}ERROR`],
|
|
230596
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
230608
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
230609
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
230610
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
230597
230611
|
};
|
|
230598
230612
|
};
|
|
230599
230613
|
|
|
@@ -230816,6 +230830,12 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230816
230830
|
if (config2.fatal) {
|
|
230817
230831
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
230818
230832
|
}
|
|
230833
|
+
if (config2.positive) {
|
|
230834
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
230835
|
+
}
|
|
230836
|
+
if (config2.negative) {
|
|
230837
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
230838
|
+
}
|
|
230819
230839
|
};
|
|
230820
230840
|
var setMultiThemeColorConfigEnv = (prefix, config2) => {
|
|
230821
230841
|
return {
|
|
@@ -230860,6 +230880,12 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230860
230880
|
if (config2.fatal) {
|
|
230861
230881
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
230862
230882
|
}
|
|
230883
|
+
if (config2.positive) {
|
|
230884
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
230885
|
+
}
|
|
230886
|
+
if (config2.negative) {
|
|
230887
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
230888
|
+
}
|
|
230863
230889
|
};
|
|
230864
230890
|
|
|
230865
230891
|
// packages/config-tools/src/create-storm-config.ts
|
package/bin/post-checkout.js
CHANGED
|
@@ -66218,13 +66218,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
66218
66218
|
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");
|
|
66219
66219
|
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");
|
|
66220
66220
|
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");
|
|
66221
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
66221
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66222
66222
|
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");
|
|
66223
66223
|
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");
|
|
66224
66224
|
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");
|
|
66225
66225
|
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");
|
|
66226
66226
|
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");
|
|
66227
66227
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66228
|
+
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");
|
|
66229
|
+
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");
|
|
66228
66230
|
var DarkThemeColorConfigSchema = z2.object({
|
|
66229
66231
|
foreground: LightColorSchema,
|
|
66230
66232
|
background: DarkColorSchema,
|
|
@@ -66237,7 +66239,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66237
66239
|
info: InfoColorSchema,
|
|
66238
66240
|
warning: WarningColorSchema,
|
|
66239
66241
|
error: ErrorColorSchema,
|
|
66240
|
-
fatal: FatalColorSchema
|
|
66242
|
+
fatal: FatalColorSchema,
|
|
66243
|
+
positive: PositiveColorSchema,
|
|
66244
|
+
negative: NegativeColorSchema
|
|
66241
66245
|
});
|
|
66242
66246
|
var LightThemeColorConfigSchema = z2.object({
|
|
66243
66247
|
foreground: DarkColorSchema,
|
|
@@ -66251,7 +66255,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66251
66255
|
info: InfoColorSchema,
|
|
66252
66256
|
warning: WarningColorSchema,
|
|
66253
66257
|
error: ErrorColorSchema,
|
|
66254
|
-
fatal: FatalColorSchema
|
|
66258
|
+
fatal: FatalColorSchema,
|
|
66259
|
+
positive: PositiveColorSchema,
|
|
66260
|
+
negative: NegativeColorSchema
|
|
66255
66261
|
});
|
|
66256
66262
|
var MultiThemeColorConfigSchema = z2.object({
|
|
66257
66263
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -66269,7 +66275,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66269
66275
|
info: InfoColorSchema,
|
|
66270
66276
|
warning: WarningColorSchema,
|
|
66271
66277
|
error: ErrorColorSchema,
|
|
66272
|
-
fatal: FatalColorSchema
|
|
66278
|
+
fatal: FatalColorSchema,
|
|
66279
|
+
positive: PositiveColorSchema,
|
|
66280
|
+
negative: NegativeColorSchema
|
|
66273
66281
|
});
|
|
66274
66282
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
66275
66283
|
var RegistryConfigSchema = z2.object({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66900,7 +66910,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66910
|
info: process.env[`${prefix}INFO`],
|
|
66901
66911
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66912
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66913
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66914
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66916
|
};
|
|
66905
66917
|
};
|
|
66906
66918
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66936,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66936
|
info: process.env[`${prefix}INFO`],
|
|
66925
66937
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66938
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66939
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66940
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66942
|
};
|
|
66929
66943
|
};
|
|
66930
66944
|
|
|
@@ -67147,6 +67161,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67161
|
if (config.fatal) {
|
|
67148
67162
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67163
|
}
|
|
67164
|
+
if (config.positive) {
|
|
67165
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67166
|
+
}
|
|
67167
|
+
if (config.negative) {
|
|
67168
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67169
|
+
}
|
|
67150
67170
|
};
|
|
67151
67171
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67172
|
return {
|
|
@@ -67191,6 +67211,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67211
|
if (config.fatal) {
|
|
67192
67212
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67213
|
}
|
|
67214
|
+
if (config.positive) {
|
|
67215
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67216
|
+
}
|
|
67217
|
+
if (config.negative) {
|
|
67218
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67219
|
+
}
|
|
67194
67220
|
};
|
|
67195
67221
|
|
|
67196
67222
|
// packages/config-tools/src/create-storm-config.ts
|
package/bin/post-commit.js
CHANGED
|
@@ -66218,13 +66218,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
66218
66218
|
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");
|
|
66219
66219
|
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");
|
|
66220
66220
|
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");
|
|
66221
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
66221
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66222
66222
|
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");
|
|
66223
66223
|
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");
|
|
66224
66224
|
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");
|
|
66225
66225
|
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");
|
|
66226
66226
|
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");
|
|
66227
66227
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66228
|
+
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");
|
|
66229
|
+
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");
|
|
66228
66230
|
var DarkThemeColorConfigSchema = z2.object({
|
|
66229
66231
|
foreground: LightColorSchema,
|
|
66230
66232
|
background: DarkColorSchema,
|
|
@@ -66237,7 +66239,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66237
66239
|
info: InfoColorSchema,
|
|
66238
66240
|
warning: WarningColorSchema,
|
|
66239
66241
|
error: ErrorColorSchema,
|
|
66240
|
-
fatal: FatalColorSchema
|
|
66242
|
+
fatal: FatalColorSchema,
|
|
66243
|
+
positive: PositiveColorSchema,
|
|
66244
|
+
negative: NegativeColorSchema
|
|
66241
66245
|
});
|
|
66242
66246
|
var LightThemeColorConfigSchema = z2.object({
|
|
66243
66247
|
foreground: DarkColorSchema,
|
|
@@ -66251,7 +66255,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66251
66255
|
info: InfoColorSchema,
|
|
66252
66256
|
warning: WarningColorSchema,
|
|
66253
66257
|
error: ErrorColorSchema,
|
|
66254
|
-
fatal: FatalColorSchema
|
|
66258
|
+
fatal: FatalColorSchema,
|
|
66259
|
+
positive: PositiveColorSchema,
|
|
66260
|
+
negative: NegativeColorSchema
|
|
66255
66261
|
});
|
|
66256
66262
|
var MultiThemeColorConfigSchema = z2.object({
|
|
66257
66263
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -66269,7 +66275,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66269
66275
|
info: InfoColorSchema,
|
|
66270
66276
|
warning: WarningColorSchema,
|
|
66271
66277
|
error: ErrorColorSchema,
|
|
66272
|
-
fatal: FatalColorSchema
|
|
66278
|
+
fatal: FatalColorSchema,
|
|
66279
|
+
positive: PositiveColorSchema,
|
|
66280
|
+
negative: NegativeColorSchema
|
|
66273
66281
|
});
|
|
66274
66282
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
66275
66283
|
var RegistryConfigSchema = z2.object({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66900,7 +66910,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66910
|
info: process.env[`${prefix}INFO`],
|
|
66901
66911
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66912
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66913
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66914
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66916
|
};
|
|
66905
66917
|
};
|
|
66906
66918
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66936,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66936
|
info: process.env[`${prefix}INFO`],
|
|
66925
66937
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66938
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66939
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66940
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66942
|
};
|
|
66929
66943
|
};
|
|
66930
66944
|
|
|
@@ -67147,6 +67161,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67161
|
if (config.fatal) {
|
|
67148
67162
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67163
|
}
|
|
67164
|
+
if (config.positive) {
|
|
67165
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67166
|
+
}
|
|
67167
|
+
if (config.negative) {
|
|
67168
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67169
|
+
}
|
|
67150
67170
|
};
|
|
67151
67171
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67172
|
return {
|
|
@@ -67191,6 +67211,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67211
|
if (config.fatal) {
|
|
67192
67212
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67213
|
}
|
|
67214
|
+
if (config.positive) {
|
|
67215
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67216
|
+
}
|
|
67217
|
+
if (config.negative) {
|
|
67218
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67219
|
+
}
|
|
67194
67220
|
};
|
|
67195
67221
|
|
|
67196
67222
|
// packages/config-tools/src/create-storm-config.ts
|
package/bin/post-merge.js
CHANGED
|
@@ -66218,13 +66218,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
66218
66218
|
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");
|
|
66219
66219
|
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");
|
|
66220
66220
|
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");
|
|
66221
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
66221
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66222
66222
|
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");
|
|
66223
66223
|
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");
|
|
66224
66224
|
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");
|
|
66225
66225
|
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");
|
|
66226
66226
|
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");
|
|
66227
66227
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66228
|
+
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");
|
|
66229
|
+
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");
|
|
66228
66230
|
var DarkThemeColorConfigSchema = z2.object({
|
|
66229
66231
|
foreground: LightColorSchema,
|
|
66230
66232
|
background: DarkColorSchema,
|
|
@@ -66237,7 +66239,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66237
66239
|
info: InfoColorSchema,
|
|
66238
66240
|
warning: WarningColorSchema,
|
|
66239
66241
|
error: ErrorColorSchema,
|
|
66240
|
-
fatal: FatalColorSchema
|
|
66242
|
+
fatal: FatalColorSchema,
|
|
66243
|
+
positive: PositiveColorSchema,
|
|
66244
|
+
negative: NegativeColorSchema
|
|
66241
66245
|
});
|
|
66242
66246
|
var LightThemeColorConfigSchema = z2.object({
|
|
66243
66247
|
foreground: DarkColorSchema,
|
|
@@ -66251,7 +66255,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66251
66255
|
info: InfoColorSchema,
|
|
66252
66256
|
warning: WarningColorSchema,
|
|
66253
66257
|
error: ErrorColorSchema,
|
|
66254
|
-
fatal: FatalColorSchema
|
|
66258
|
+
fatal: FatalColorSchema,
|
|
66259
|
+
positive: PositiveColorSchema,
|
|
66260
|
+
negative: NegativeColorSchema
|
|
66255
66261
|
});
|
|
66256
66262
|
var MultiThemeColorConfigSchema = z2.object({
|
|
66257
66263
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -66269,7 +66275,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66269
66275
|
info: InfoColorSchema,
|
|
66270
66276
|
warning: WarningColorSchema,
|
|
66271
66277
|
error: ErrorColorSchema,
|
|
66272
|
-
fatal: FatalColorSchema
|
|
66278
|
+
fatal: FatalColorSchema,
|
|
66279
|
+
positive: PositiveColorSchema,
|
|
66280
|
+
negative: NegativeColorSchema
|
|
66273
66281
|
});
|
|
66274
66282
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
66275
66283
|
var RegistryConfigSchema = z2.object({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66900,7 +66910,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66910
|
info: process.env[`${prefix}INFO`],
|
|
66901
66911
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66912
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66913
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66914
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66916
|
};
|
|
66905
66917
|
};
|
|
66906
66918
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66936,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66936
|
info: process.env[`${prefix}INFO`],
|
|
66925
66937
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66938
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66939
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66940
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66942
|
};
|
|
66929
66943
|
};
|
|
66930
66944
|
|
|
@@ -67147,6 +67161,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67161
|
if (config.fatal) {
|
|
67148
67162
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67163
|
}
|
|
67164
|
+
if (config.positive) {
|
|
67165
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67166
|
+
}
|
|
67167
|
+
if (config.negative) {
|
|
67168
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67169
|
+
}
|
|
67150
67170
|
};
|
|
67151
67171
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67172
|
return {
|
|
@@ -67191,6 +67211,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67211
|
if (config.fatal) {
|
|
67192
67212
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67213
|
}
|
|
67214
|
+
if (config.positive) {
|
|
67215
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67216
|
+
}
|
|
67217
|
+
if (config.negative) {
|
|
67218
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67219
|
+
}
|
|
67194
67220
|
};
|
|
67195
67221
|
|
|
67196
67222
|
// packages/config-tools/src/create-storm-config.ts
|