@storm-software/linting-tools 1.87.5 → 1.88.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 +12 -0
- package/README.md +1 -1
- package/bin/lint.js +45 -14
- package/package.json +1 -1
- package/src/cli/index.js +45 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.88.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
|
+
## 1.87.6 (2024-10-31)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **storm-ops:** Resolve issue with invalid Nx ouput configuration ([9ca60bc0](https://github.com/storm-software/storm-ops/commit/9ca60bc0))
|
|
12
|
+
|
|
1
13
|
## 1.87.5 (2024-10-22)
|
|
2
14
|
|
|
3
15
|
|
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/lint.js
CHANGED
|
@@ -356613,13 +356613,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
356613
356613
|
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");
|
|
356614
356614
|
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");
|
|
356615
356615
|
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");
|
|
356616
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
356616
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
356617
356617
|
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");
|
|
356618
356618
|
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");
|
|
356619
356619
|
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");
|
|
356620
356620
|
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");
|
|
356621
356621
|
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");
|
|
356622
356622
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
356623
|
+
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");
|
|
356624
|
+
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");
|
|
356623
356625
|
var DarkThemeColorConfigSchema = z2.object({
|
|
356624
356626
|
foreground: LightColorSchema,
|
|
356625
356627
|
background: DarkColorSchema,
|
|
@@ -356632,7 +356634,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
356632
356634
|
info: InfoColorSchema,
|
|
356633
356635
|
warning: WarningColorSchema,
|
|
356634
356636
|
error: ErrorColorSchema,
|
|
356635
|
-
fatal: FatalColorSchema
|
|
356637
|
+
fatal: FatalColorSchema,
|
|
356638
|
+
positive: PositiveColorSchema,
|
|
356639
|
+
negative: NegativeColorSchema
|
|
356636
356640
|
});
|
|
356637
356641
|
var LightThemeColorConfigSchema = z2.object({
|
|
356638
356642
|
foreground: DarkColorSchema,
|
|
@@ -356646,7 +356650,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
356646
356650
|
info: InfoColorSchema,
|
|
356647
356651
|
warning: WarningColorSchema,
|
|
356648
356652
|
error: ErrorColorSchema,
|
|
356649
|
-
fatal: FatalColorSchema
|
|
356653
|
+
fatal: FatalColorSchema,
|
|
356654
|
+
positive: PositiveColorSchema,
|
|
356655
|
+
negative: NegativeColorSchema
|
|
356650
356656
|
});
|
|
356651
356657
|
var MultiThemeColorConfigSchema = z2.object({
|
|
356652
356658
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -356664,7 +356670,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
356664
356670
|
info: InfoColorSchema,
|
|
356665
356671
|
warning: WarningColorSchema,
|
|
356666
356672
|
error: ErrorColorSchema,
|
|
356667
|
-
fatal: FatalColorSchema
|
|
356673
|
+
fatal: FatalColorSchema,
|
|
356674
|
+
positive: PositiveColorSchema,
|
|
356675
|
+
negative: NegativeColorSchema
|
|
356668
356676
|
});
|
|
356669
356677
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
356670
356678
|
var RegistryConfigSchema = z2.object({
|
|
@@ -356749,14 +356757,19 @@ var StormConfigSchema = z2.object({
|
|
|
356749
356757
|
var COLOR_KEYS = [
|
|
356750
356758
|
"dark",
|
|
356751
356759
|
"light",
|
|
356760
|
+
"base",
|
|
356752
356761
|
"brand",
|
|
356762
|
+
"alternate",
|
|
356753
356763
|
"accent",
|
|
356754
|
-
"
|
|
356764
|
+
"link",
|
|
356755
356765
|
"success",
|
|
356766
|
+
"help",
|
|
356756
356767
|
"info",
|
|
356757
356768
|
"warning",
|
|
356758
356769
|
"error",
|
|
356759
|
-
"fatal"
|
|
356770
|
+
"fatal",
|
|
356771
|
+
"positive",
|
|
356772
|
+
"negative"
|
|
356760
356773
|
];
|
|
356761
356774
|
|
|
356762
356775
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -356768,24 +356781,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
356768
356781
|
"foreground": "#1d1e22",
|
|
356769
356782
|
"brand": "#1fb2a6",
|
|
356770
356783
|
"alternate": "#db2777",
|
|
356771
|
-
"link": "#01B4F5",
|
|
356772
356784
|
"help": "#5C4EE5",
|
|
356773
356785
|
"success": "#087f5b",
|
|
356774
356786
|
"info": "#0550ae",
|
|
356775
356787
|
"warning": "#e3b341",
|
|
356776
|
-
"error": "#a40e26"
|
|
356788
|
+
"error": "#a40e26",
|
|
356789
|
+
"positive": "#22c55e",
|
|
356790
|
+
"negative": "#dc2626"
|
|
356777
356791
|
},
|
|
356778
356792
|
"dark": {
|
|
356779
356793
|
"background": "#1d1e22",
|
|
356780
356794
|
"foreground": "#cbd5e1",
|
|
356781
356795
|
"brand": "#2dd4bf",
|
|
356782
356796
|
"alternate": "#db2777",
|
|
356783
|
-
"link": "#01B4F5",
|
|
356784
356797
|
"help": "#818cf8",
|
|
356785
356798
|
"success": "#10b981",
|
|
356786
356799
|
"info": "#58a6ff",
|
|
356787
356800
|
"warning": "#f3d371",
|
|
356788
|
-
"error": "#d1242f"
|
|
356801
|
+
"error": "#d1242f",
|
|
356802
|
+
"positive": "#22c55e",
|
|
356803
|
+
"negative": "#dc2626"
|
|
356789
356804
|
}
|
|
356790
356805
|
};
|
|
356791
356806
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -356849,7 +356864,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
356849
356864
|
}
|
|
356850
356865
|
return ret;
|
|
356851
356866
|
}, {}),
|
|
356852
|
-
colors: { ...
|
|
356867
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
356853
356868
|
workspaceRoot,
|
|
356854
356869
|
name,
|
|
356855
356870
|
namespace,
|
|
@@ -356857,7 +356872,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
356857
356872
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
356858
356873
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
356859
356874
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
356860
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
356875
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
356861
356876
|
extensions: {
|
|
356862
356877
|
...config.extensions
|
|
356863
356878
|
}
|
|
@@ -357280,7 +357295,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
357280
357295
|
info: process.env[`${prefix}INFO`],
|
|
357281
357296
|
warning: process.env[`${prefix}WARNING`],
|
|
357282
357297
|
error: process.env[`${prefix}ERROR`],
|
|
357283
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
357298
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
357299
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
357300
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
357284
357301
|
};
|
|
357285
357302
|
};
|
|
357286
357303
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -357304,7 +357321,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
357304
357321
|
info: process.env[`${prefix}INFO`],
|
|
357305
357322
|
warning: process.env[`${prefix}WARNING`],
|
|
357306
357323
|
error: process.env[`${prefix}ERROR`],
|
|
357307
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
357324
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
357325
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
357326
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
357308
357327
|
};
|
|
357309
357328
|
};
|
|
357310
357329
|
|
|
@@ -357527,6 +357546,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
357527
357546
|
if (config.fatal) {
|
|
357528
357547
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
357529
357548
|
}
|
|
357549
|
+
if (config.positive) {
|
|
357550
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
357551
|
+
}
|
|
357552
|
+
if (config.negative) {
|
|
357553
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
357554
|
+
}
|
|
357530
357555
|
};
|
|
357531
357556
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
357532
357557
|
return {
|
|
@@ -357571,6 +357596,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
357571
357596
|
if (config.fatal) {
|
|
357572
357597
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
357573
357598
|
}
|
|
357599
|
+
if (config.positive) {
|
|
357600
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
357601
|
+
}
|
|
357602
|
+
if (config.negative) {
|
|
357603
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
357604
|
+
}
|
|
357574
357605
|
};
|
|
357575
357606
|
|
|
357576
357607
|
// packages/config-tools/src/create-storm-config.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.88.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"repository": {
|
package/src/cli/index.js
CHANGED
|
@@ -354803,13 +354803,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
354803
354803
|
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");
|
|
354804
354804
|
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");
|
|
354805
354805
|
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");
|
|
354806
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
354806
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
354807
354807
|
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");
|
|
354808
354808
|
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");
|
|
354809
354809
|
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");
|
|
354810
354810
|
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");
|
|
354811
354811
|
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");
|
|
354812
354812
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
354813
|
+
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");
|
|
354814
|
+
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");
|
|
354813
354815
|
var DarkThemeColorConfigSchema = z2.object({
|
|
354814
354816
|
foreground: LightColorSchema,
|
|
354815
354817
|
background: DarkColorSchema,
|
|
@@ -354822,7 +354824,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
354822
354824
|
info: InfoColorSchema,
|
|
354823
354825
|
warning: WarningColorSchema,
|
|
354824
354826
|
error: ErrorColorSchema,
|
|
354825
|
-
fatal: FatalColorSchema
|
|
354827
|
+
fatal: FatalColorSchema,
|
|
354828
|
+
positive: PositiveColorSchema,
|
|
354829
|
+
negative: NegativeColorSchema
|
|
354826
354830
|
});
|
|
354827
354831
|
var LightThemeColorConfigSchema = z2.object({
|
|
354828
354832
|
foreground: DarkColorSchema,
|
|
@@ -354836,7 +354840,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
354836
354840
|
info: InfoColorSchema,
|
|
354837
354841
|
warning: WarningColorSchema,
|
|
354838
354842
|
error: ErrorColorSchema,
|
|
354839
|
-
fatal: FatalColorSchema
|
|
354843
|
+
fatal: FatalColorSchema,
|
|
354844
|
+
positive: PositiveColorSchema,
|
|
354845
|
+
negative: NegativeColorSchema
|
|
354840
354846
|
});
|
|
354841
354847
|
var MultiThemeColorConfigSchema = z2.object({
|
|
354842
354848
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -354854,7 +354860,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
354854
354860
|
info: InfoColorSchema,
|
|
354855
354861
|
warning: WarningColorSchema,
|
|
354856
354862
|
error: ErrorColorSchema,
|
|
354857
|
-
fatal: FatalColorSchema
|
|
354863
|
+
fatal: FatalColorSchema,
|
|
354864
|
+
positive: PositiveColorSchema,
|
|
354865
|
+
negative: NegativeColorSchema
|
|
354858
354866
|
});
|
|
354859
354867
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
354860
354868
|
var RegistryConfigSchema = z2.object({
|
|
@@ -354939,14 +354947,19 @@ var StormConfigSchema = z2.object({
|
|
|
354939
354947
|
var COLOR_KEYS = [
|
|
354940
354948
|
"dark",
|
|
354941
354949
|
"light",
|
|
354950
|
+
"base",
|
|
354942
354951
|
"brand",
|
|
354952
|
+
"alternate",
|
|
354943
354953
|
"accent",
|
|
354944
|
-
"
|
|
354954
|
+
"link",
|
|
354945
354955
|
"success",
|
|
354956
|
+
"help",
|
|
354946
354957
|
"info",
|
|
354947
354958
|
"warning",
|
|
354948
354959
|
"error",
|
|
354949
|
-
"fatal"
|
|
354960
|
+
"fatal",
|
|
354961
|
+
"positive",
|
|
354962
|
+
"negative"
|
|
354950
354963
|
];
|
|
354951
354964
|
|
|
354952
354965
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -354958,24 +354971,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
354958
354971
|
"foreground": "#1d1e22",
|
|
354959
354972
|
"brand": "#1fb2a6",
|
|
354960
354973
|
"alternate": "#db2777",
|
|
354961
|
-
"link": "#01B4F5",
|
|
354962
354974
|
"help": "#5C4EE5",
|
|
354963
354975
|
"success": "#087f5b",
|
|
354964
354976
|
"info": "#0550ae",
|
|
354965
354977
|
"warning": "#e3b341",
|
|
354966
|
-
"error": "#a40e26"
|
|
354978
|
+
"error": "#a40e26",
|
|
354979
|
+
"positive": "#22c55e",
|
|
354980
|
+
"negative": "#dc2626"
|
|
354967
354981
|
},
|
|
354968
354982
|
"dark": {
|
|
354969
354983
|
"background": "#1d1e22",
|
|
354970
354984
|
"foreground": "#cbd5e1",
|
|
354971
354985
|
"brand": "#2dd4bf",
|
|
354972
354986
|
"alternate": "#db2777",
|
|
354973
|
-
"link": "#01B4F5",
|
|
354974
354987
|
"help": "#818cf8",
|
|
354975
354988
|
"success": "#10b981",
|
|
354976
354989
|
"info": "#58a6ff",
|
|
354977
354990
|
"warning": "#f3d371",
|
|
354978
|
-
"error": "#d1242f"
|
|
354991
|
+
"error": "#d1242f",
|
|
354992
|
+
"positive": "#22c55e",
|
|
354993
|
+
"negative": "#dc2626"
|
|
354979
354994
|
}
|
|
354980
354995
|
};
|
|
354981
354996
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -355039,7 +355054,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
355039
355054
|
}
|
|
355040
355055
|
return ret;
|
|
355041
355056
|
}, {}),
|
|
355042
|
-
colors: { ...
|
|
355057
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
355043
355058
|
workspaceRoot,
|
|
355044
355059
|
name,
|
|
355045
355060
|
namespace,
|
|
@@ -355047,7 +355062,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
355047
355062
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
355048
355063
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
355049
355064
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
355050
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
355065
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
355051
355066
|
extensions: {
|
|
355052
355067
|
...config.extensions
|
|
355053
355068
|
}
|
|
@@ -355427,7 +355442,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
355427
355442
|
info: process.env[`${prefix}INFO`],
|
|
355428
355443
|
warning: process.env[`${prefix}WARNING`],
|
|
355429
355444
|
error: process.env[`${prefix}ERROR`],
|
|
355430
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
355445
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
355446
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
355447
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
355431
355448
|
};
|
|
355432
355449
|
};
|
|
355433
355450
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -355451,7 +355468,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
355451
355468
|
info: process.env[`${prefix}INFO`],
|
|
355452
355469
|
warning: process.env[`${prefix}WARNING`],
|
|
355453
355470
|
error: process.env[`${prefix}ERROR`],
|
|
355454
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
355471
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
355472
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
355473
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
355455
355474
|
};
|
|
355456
355475
|
};
|
|
355457
355476
|
|
|
@@ -355674,6 +355693,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
355674
355693
|
if (config.fatal) {
|
|
355675
355694
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
355676
355695
|
}
|
|
355696
|
+
if (config.positive) {
|
|
355697
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
355698
|
+
}
|
|
355699
|
+
if (config.negative) {
|
|
355700
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
355701
|
+
}
|
|
355677
355702
|
};
|
|
355678
355703
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
355679
355704
|
return {
|
|
@@ -355718,6 +355743,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
355718
355743
|
if (config.fatal) {
|
|
355719
355744
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
355720
355745
|
}
|
|
355746
|
+
if (config.positive) {
|
|
355747
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
355748
|
+
}
|
|
355749
|
+
if (config.negative) {
|
|
355750
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
355751
|
+
}
|
|
355721
355752
|
};
|
|
355722
355753
|
|
|
355723
355754
|
// packages/config-tools/src/create-storm-config.ts
|