@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.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/bin/git.js +45 -14
- package/bin/post-checkout.js +45 -14
- package/bin/post-commit.js +45 -14
- package/bin/post-merge.js +45 -14
- package/bin/pre-commit.js +45 -14
- package/bin/pre-install.js +45 -14
- package/bin/pre-push.js +45 -14
- package/bin/prepare.js +45 -14
- package/bin/version-warning.js +45 -14
- package/package.json +1 -1
- package/src/cli/index.js +45 -14
- package/src/commit/index.js +18 -8
- package/src/commitizen/index.js +18 -8
- package/src/index.js +45 -14
- package/src/release/index.js +18 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 2.65.0 (2024-11-01)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **eslint:** Resolve type issues with Nx plugin in preset ([d27162e2](https://github.com/storm-software/storm-ops/commit/d27162e2))
|
|
6
|
+
|
|
7
|
+
## 2.64.0 (2024-10-31)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **workspace-tools:** Update the Nx package code to conform to latest type definitions ([b1dbdff8](https://github.com/storm-software/storm-ops/commit/b1dbdff8))
|
|
12
|
+
- **storm-ops:** Upgrade the Nx package versions used in the repository ([369fad24](https://github.com/storm-software/storm-ops/commit/369fad24))
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **storm-ops:** Resolve issue with invalid Nx ouput configuration ([9ca60bc0](https://github.com/storm-software/storm-ops/commit/9ca60bc0))
|
|
17
|
+
|
|
1
18
|
## 2.63.5 (2024-10-22)
|
|
2
19
|
|
|
3
20
|
|
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({
|
|
@@ -230038,14 +230046,19 @@ var StormConfigSchema = z2.object({
|
|
|
230038
230046
|
var COLOR_KEYS = [
|
|
230039
230047
|
"dark",
|
|
230040
230048
|
"light",
|
|
230049
|
+
"base",
|
|
230041
230050
|
"brand",
|
|
230051
|
+
"alternate",
|
|
230042
230052
|
"accent",
|
|
230043
|
-
"
|
|
230053
|
+
"link",
|
|
230044
230054
|
"success",
|
|
230055
|
+
"help",
|
|
230045
230056
|
"info",
|
|
230046
230057
|
"warning",
|
|
230047
230058
|
"error",
|
|
230048
|
-
"fatal"
|
|
230059
|
+
"fatal",
|
|
230060
|
+
"positive",
|
|
230061
|
+
"negative"
|
|
230049
230062
|
];
|
|
230050
230063
|
|
|
230051
230064
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -230057,24 +230070,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
230057
230070
|
"foreground": "#1d1e22",
|
|
230058
230071
|
"brand": "#1fb2a6",
|
|
230059
230072
|
"alternate": "#db2777",
|
|
230060
|
-
"link": "#01B4F5",
|
|
230061
230073
|
"help": "#5C4EE5",
|
|
230062
230074
|
"success": "#087f5b",
|
|
230063
230075
|
"info": "#0550ae",
|
|
230064
230076
|
"warning": "#e3b341",
|
|
230065
|
-
"error": "#a40e26"
|
|
230077
|
+
"error": "#a40e26",
|
|
230078
|
+
"positive": "#22c55e",
|
|
230079
|
+
"negative": "#dc2626"
|
|
230066
230080
|
},
|
|
230067
230081
|
"dark": {
|
|
230068
230082
|
"background": "#1d1e22",
|
|
230069
230083
|
"foreground": "#cbd5e1",
|
|
230070
230084
|
"brand": "#2dd4bf",
|
|
230071
230085
|
"alternate": "#db2777",
|
|
230072
|
-
"link": "#01B4F5",
|
|
230073
230086
|
"help": "#818cf8",
|
|
230074
230087
|
"success": "#10b981",
|
|
230075
230088
|
"info": "#58a6ff",
|
|
230076
230089
|
"warning": "#f3d371",
|
|
230077
|
-
"error": "#d1242f"
|
|
230090
|
+
"error": "#d1242f",
|
|
230091
|
+
"positive": "#22c55e",
|
|
230092
|
+
"negative": "#dc2626"
|
|
230078
230093
|
}
|
|
230079
230094
|
};
|
|
230080
230095
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -230138,7 +230153,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
230138
230153
|
}
|
|
230139
230154
|
return ret;
|
|
230140
230155
|
}, {}),
|
|
230141
|
-
colors: { ...
|
|
230156
|
+
colors: config2.colors ? { ...config2.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
230142
230157
|
workspaceRoot: workspaceRoot3,
|
|
230143
230158
|
name,
|
|
230144
230159
|
namespace,
|
|
@@ -230146,7 +230161,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
230146
230161
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
230147
230162
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
230148
230163
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
230149
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
230164
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
230150
230165
|
extensions: {
|
|
230151
230166
|
...config2.extensions
|
|
230152
230167
|
}
|
|
@@ -230569,7 +230584,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
230569
230584
|
info: process.env[`${prefix}INFO`],
|
|
230570
230585
|
warning: process.env[`${prefix}WARNING`],
|
|
230571
230586
|
error: process.env[`${prefix}ERROR`],
|
|
230572
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
230587
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
230588
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
230589
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
230573
230590
|
};
|
|
230574
230591
|
};
|
|
230575
230592
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -230593,7 +230610,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
230593
230610
|
info: process.env[`${prefix}INFO`],
|
|
230594
230611
|
warning: process.env[`${prefix}WARNING`],
|
|
230595
230612
|
error: process.env[`${prefix}ERROR`],
|
|
230596
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
230613
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
230614
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
230615
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
230597
230616
|
};
|
|
230598
230617
|
};
|
|
230599
230618
|
|
|
@@ -230816,6 +230835,12 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230816
230835
|
if (config2.fatal) {
|
|
230817
230836
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
230818
230837
|
}
|
|
230838
|
+
if (config2.positive) {
|
|
230839
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
230840
|
+
}
|
|
230841
|
+
if (config2.negative) {
|
|
230842
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
230843
|
+
}
|
|
230819
230844
|
};
|
|
230820
230845
|
var setMultiThemeColorConfigEnv = (prefix, config2) => {
|
|
230821
230846
|
return {
|
|
@@ -230860,6 +230885,12 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230860
230885
|
if (config2.fatal) {
|
|
230861
230886
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
230862
230887
|
}
|
|
230888
|
+
if (config2.positive) {
|
|
230889
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
230890
|
+
}
|
|
230891
|
+
if (config2.negative) {
|
|
230892
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
230893
|
+
}
|
|
230863
230894
|
};
|
|
230864
230895
|
|
|
230865
230896
|
// 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({
|
|
@@ -66354,14 +66362,19 @@ var StormConfigSchema = z2.object({
|
|
|
66354
66362
|
var COLOR_KEYS = [
|
|
66355
66363
|
"dark",
|
|
66356
66364
|
"light",
|
|
66365
|
+
"base",
|
|
66357
66366
|
"brand",
|
|
66367
|
+
"alternate",
|
|
66358
66368
|
"accent",
|
|
66359
|
-
"
|
|
66369
|
+
"link",
|
|
66360
66370
|
"success",
|
|
66371
|
+
"help",
|
|
66361
66372
|
"info",
|
|
66362
66373
|
"warning",
|
|
66363
66374
|
"error",
|
|
66364
|
-
"fatal"
|
|
66375
|
+
"fatal",
|
|
66376
|
+
"positive",
|
|
66377
|
+
"negative"
|
|
66365
66378
|
];
|
|
66366
66379
|
|
|
66367
66380
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66373,24 +66386,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66386
|
"foreground": "#1d1e22",
|
|
66374
66387
|
"brand": "#1fb2a6",
|
|
66375
66388
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66389
|
"help": "#5C4EE5",
|
|
66378
66390
|
"success": "#087f5b",
|
|
66379
66391
|
"info": "#0550ae",
|
|
66380
66392
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66393
|
+
"error": "#a40e26",
|
|
66394
|
+
"positive": "#22c55e",
|
|
66395
|
+
"negative": "#dc2626"
|
|
66382
66396
|
},
|
|
66383
66397
|
"dark": {
|
|
66384
66398
|
"background": "#1d1e22",
|
|
66385
66399
|
"foreground": "#cbd5e1",
|
|
66386
66400
|
"brand": "#2dd4bf",
|
|
66387
66401
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66402
|
"help": "#818cf8",
|
|
66390
66403
|
"success": "#10b981",
|
|
66391
66404
|
"info": "#58a6ff",
|
|
66392
66405
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66406
|
+
"error": "#d1242f",
|
|
66407
|
+
"positive": "#22c55e",
|
|
66408
|
+
"negative": "#dc2626"
|
|
66394
66409
|
}
|
|
66395
66410
|
};
|
|
66396
66411
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66469,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66469
|
}
|
|
66455
66470
|
return ret;
|
|
66456
66471
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66472
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66473
|
workspaceRoot,
|
|
66459
66474
|
name,
|
|
66460
66475
|
namespace,
|
|
@@ -66462,7 +66477,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66477
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66478
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66479
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66480
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66481
|
extensions: {
|
|
66467
66482
|
...config.extensions
|
|
66468
66483
|
}
|
|
@@ -66900,7 +66915,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66915
|
info: process.env[`${prefix}INFO`],
|
|
66901
66916
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66917
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66918
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66919
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66921
|
};
|
|
66905
66922
|
};
|
|
66906
66923
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66941,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66941
|
info: process.env[`${prefix}INFO`],
|
|
66925
66942
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66943
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66944
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66945
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66946
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66947
|
};
|
|
66929
66948
|
};
|
|
66930
66949
|
|
|
@@ -67147,6 +67166,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67166
|
if (config.fatal) {
|
|
67148
67167
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67168
|
}
|
|
67169
|
+
if (config.positive) {
|
|
67170
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67171
|
+
}
|
|
67172
|
+
if (config.negative) {
|
|
67173
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67174
|
+
}
|
|
67150
67175
|
};
|
|
67151
67176
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67177
|
return {
|
|
@@ -67191,6 +67216,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67216
|
if (config.fatal) {
|
|
67192
67217
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67218
|
}
|
|
67219
|
+
if (config.positive) {
|
|
67220
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67221
|
+
}
|
|
67222
|
+
if (config.negative) {
|
|
67223
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67224
|
+
}
|
|
67194
67225
|
};
|
|
67195
67226
|
|
|
67196
67227
|
// 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({
|
|
@@ -66354,14 +66362,19 @@ var StormConfigSchema = z2.object({
|
|
|
66354
66362
|
var COLOR_KEYS = [
|
|
66355
66363
|
"dark",
|
|
66356
66364
|
"light",
|
|
66365
|
+
"base",
|
|
66357
66366
|
"brand",
|
|
66367
|
+
"alternate",
|
|
66358
66368
|
"accent",
|
|
66359
|
-
"
|
|
66369
|
+
"link",
|
|
66360
66370
|
"success",
|
|
66371
|
+
"help",
|
|
66361
66372
|
"info",
|
|
66362
66373
|
"warning",
|
|
66363
66374
|
"error",
|
|
66364
|
-
"fatal"
|
|
66375
|
+
"fatal",
|
|
66376
|
+
"positive",
|
|
66377
|
+
"negative"
|
|
66365
66378
|
];
|
|
66366
66379
|
|
|
66367
66380
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66373,24 +66386,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66386
|
"foreground": "#1d1e22",
|
|
66374
66387
|
"brand": "#1fb2a6",
|
|
66375
66388
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66389
|
"help": "#5C4EE5",
|
|
66378
66390
|
"success": "#087f5b",
|
|
66379
66391
|
"info": "#0550ae",
|
|
66380
66392
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66393
|
+
"error": "#a40e26",
|
|
66394
|
+
"positive": "#22c55e",
|
|
66395
|
+
"negative": "#dc2626"
|
|
66382
66396
|
},
|
|
66383
66397
|
"dark": {
|
|
66384
66398
|
"background": "#1d1e22",
|
|
66385
66399
|
"foreground": "#cbd5e1",
|
|
66386
66400
|
"brand": "#2dd4bf",
|
|
66387
66401
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66402
|
"help": "#818cf8",
|
|
66390
66403
|
"success": "#10b981",
|
|
66391
66404
|
"info": "#58a6ff",
|
|
66392
66405
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66406
|
+
"error": "#d1242f",
|
|
66407
|
+
"positive": "#22c55e",
|
|
66408
|
+
"negative": "#dc2626"
|
|
66394
66409
|
}
|
|
66395
66410
|
};
|
|
66396
66411
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66469,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66469
|
}
|
|
66455
66470
|
return ret;
|
|
66456
66471
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66472
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66473
|
workspaceRoot,
|
|
66459
66474
|
name,
|
|
66460
66475
|
namespace,
|
|
@@ -66462,7 +66477,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66477
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66478
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66479
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66480
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66481
|
extensions: {
|
|
66467
66482
|
...config.extensions
|
|
66468
66483
|
}
|
|
@@ -66900,7 +66915,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66915
|
info: process.env[`${prefix}INFO`],
|
|
66901
66916
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66917
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66918
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66919
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66921
|
};
|
|
66905
66922
|
};
|
|
66906
66923
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66941,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66941
|
info: process.env[`${prefix}INFO`],
|
|
66925
66942
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66943
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66944
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66945
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66946
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66947
|
};
|
|
66929
66948
|
};
|
|
66930
66949
|
|
|
@@ -67147,6 +67166,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67166
|
if (config.fatal) {
|
|
67148
67167
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67168
|
}
|
|
67169
|
+
if (config.positive) {
|
|
67170
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67171
|
+
}
|
|
67172
|
+
if (config.negative) {
|
|
67173
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67174
|
+
}
|
|
67150
67175
|
};
|
|
67151
67176
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67177
|
return {
|
|
@@ -67191,6 +67216,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67216
|
if (config.fatal) {
|
|
67192
67217
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67218
|
}
|
|
67219
|
+
if (config.positive) {
|
|
67220
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67221
|
+
}
|
|
67222
|
+
if (config.negative) {
|
|
67223
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67224
|
+
}
|
|
67194
67225
|
};
|
|
67195
67226
|
|
|
67196
67227
|
// packages/config-tools/src/create-storm-config.ts
|