@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/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({
|
|
@@ -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/pre-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
|
}
|
|
@@ -66884,7 +66899,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66884
66899
|
info: process.env[`${prefix}INFO`],
|
|
66885
66900
|
warning: process.env[`${prefix}WARNING`],
|
|
66886
66901
|
error: process.env[`${prefix}ERROR`],
|
|
66887
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66902
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66903
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66904
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66888
66905
|
};
|
|
66889
66906
|
};
|
|
66890
66907
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66908,7 +66925,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66908
66925
|
info: process.env[`${prefix}INFO`],
|
|
66909
66926
|
warning: process.env[`${prefix}WARNING`],
|
|
66910
66927
|
error: process.env[`${prefix}ERROR`],
|
|
66911
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66928
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66929
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66930
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66912
66931
|
};
|
|
66913
66932
|
};
|
|
66914
66933
|
|
|
@@ -67131,6 +67150,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67131
67150
|
if (config.fatal) {
|
|
67132
67151
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67133
67152
|
}
|
|
67153
|
+
if (config.positive) {
|
|
67154
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67155
|
+
}
|
|
67156
|
+
if (config.negative) {
|
|
67157
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67158
|
+
}
|
|
67134
67159
|
};
|
|
67135
67160
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67136
67161
|
return {
|
|
@@ -67175,6 +67200,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67175
67200
|
if (config.fatal) {
|
|
67176
67201
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67177
67202
|
}
|
|
67203
|
+
if (config.positive) {
|
|
67204
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67205
|
+
}
|
|
67206
|
+
if (config.negative) {
|
|
67207
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67208
|
+
}
|
|
67178
67209
|
};
|
|
67179
67210
|
|
|
67180
67211
|
// packages/config-tools/src/create-storm-config.ts
|
package/bin/pre-install.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/pre-push.js
CHANGED
|
@@ -66223,13 +66223,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
66223
66223
|
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");
|
|
66224
66224
|
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");
|
|
66225
66225
|
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");
|
|
66226
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
66226
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66227
66227
|
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");
|
|
66228
66228
|
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");
|
|
66229
66229
|
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");
|
|
66230
66230
|
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");
|
|
66231
66231
|
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");
|
|
66232
66232
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66233
|
+
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");
|
|
66234
|
+
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");
|
|
66233
66235
|
var DarkThemeColorConfigSchema = z2.object({
|
|
66234
66236
|
foreground: LightColorSchema,
|
|
66235
66237
|
background: DarkColorSchema,
|
|
@@ -66242,7 +66244,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66242
66244
|
info: InfoColorSchema,
|
|
66243
66245
|
warning: WarningColorSchema,
|
|
66244
66246
|
error: ErrorColorSchema,
|
|
66245
|
-
fatal: FatalColorSchema
|
|
66247
|
+
fatal: FatalColorSchema,
|
|
66248
|
+
positive: PositiveColorSchema,
|
|
66249
|
+
negative: NegativeColorSchema
|
|
66246
66250
|
});
|
|
66247
66251
|
var LightThemeColorConfigSchema = z2.object({
|
|
66248
66252
|
foreground: DarkColorSchema,
|
|
@@ -66256,7 +66260,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66256
66260
|
info: InfoColorSchema,
|
|
66257
66261
|
warning: WarningColorSchema,
|
|
66258
66262
|
error: ErrorColorSchema,
|
|
66259
|
-
fatal: FatalColorSchema
|
|
66263
|
+
fatal: FatalColorSchema,
|
|
66264
|
+
positive: PositiveColorSchema,
|
|
66265
|
+
negative: NegativeColorSchema
|
|
66260
66266
|
});
|
|
66261
66267
|
var MultiThemeColorConfigSchema = z2.object({
|
|
66262
66268
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -66274,7 +66280,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66274
66280
|
info: InfoColorSchema,
|
|
66275
66281
|
warning: WarningColorSchema,
|
|
66276
66282
|
error: ErrorColorSchema,
|
|
66277
|
-
fatal: FatalColorSchema
|
|
66283
|
+
fatal: FatalColorSchema,
|
|
66284
|
+
positive: PositiveColorSchema,
|
|
66285
|
+
negative: NegativeColorSchema
|
|
66278
66286
|
});
|
|
66279
66287
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
66280
66288
|
var RegistryConfigSchema = z2.object({
|
|
@@ -66359,14 +66367,19 @@ var StormConfigSchema = z2.object({
|
|
|
66359
66367
|
var COLOR_KEYS = [
|
|
66360
66368
|
"dark",
|
|
66361
66369
|
"light",
|
|
66370
|
+
"base",
|
|
66362
66371
|
"brand",
|
|
66372
|
+
"alternate",
|
|
66363
66373
|
"accent",
|
|
66364
|
-
"
|
|
66374
|
+
"link",
|
|
66365
66375
|
"success",
|
|
66376
|
+
"help",
|
|
66366
66377
|
"info",
|
|
66367
66378
|
"warning",
|
|
66368
66379
|
"error",
|
|
66369
|
-
"fatal"
|
|
66380
|
+
"fatal",
|
|
66381
|
+
"positive",
|
|
66382
|
+
"negative"
|
|
66370
66383
|
];
|
|
66371
66384
|
|
|
66372
66385
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66378,24 +66391,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66378
66391
|
"foreground": "#1d1e22",
|
|
66379
66392
|
"brand": "#1fb2a6",
|
|
66380
66393
|
"alternate": "#db2777",
|
|
66381
|
-
"link": "#01B4F5",
|
|
66382
66394
|
"help": "#5C4EE5",
|
|
66383
66395
|
"success": "#087f5b",
|
|
66384
66396
|
"info": "#0550ae",
|
|
66385
66397
|
"warning": "#e3b341",
|
|
66386
|
-
"error": "#a40e26"
|
|
66398
|
+
"error": "#a40e26",
|
|
66399
|
+
"positive": "#22c55e",
|
|
66400
|
+
"negative": "#dc2626"
|
|
66387
66401
|
},
|
|
66388
66402
|
"dark": {
|
|
66389
66403
|
"background": "#1d1e22",
|
|
66390
66404
|
"foreground": "#cbd5e1",
|
|
66391
66405
|
"brand": "#2dd4bf",
|
|
66392
66406
|
"alternate": "#db2777",
|
|
66393
|
-
"link": "#01B4F5",
|
|
66394
66407
|
"help": "#818cf8",
|
|
66395
66408
|
"success": "#10b981",
|
|
66396
66409
|
"info": "#58a6ff",
|
|
66397
66410
|
"warning": "#f3d371",
|
|
66398
|
-
"error": "#d1242f"
|
|
66411
|
+
"error": "#d1242f",
|
|
66412
|
+
"positive": "#22c55e",
|
|
66413
|
+
"negative": "#dc2626"
|
|
66399
66414
|
}
|
|
66400
66415
|
};
|
|
66401
66416
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66459,7 +66474,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66459
66474
|
}
|
|
66460
66475
|
return ret;
|
|
66461
66476
|
}, {}),
|
|
66462
|
-
colors: { ...
|
|
66477
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66463
66478
|
workspaceRoot,
|
|
66464
66479
|
name,
|
|
66465
66480
|
namespace,
|
|
@@ -66467,7 +66482,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66467
66482
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66468
66483
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66469
66484
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66470
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66485
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66471
66486
|
extensions: {
|
|
66472
66487
|
...config.extensions
|
|
66473
66488
|
}
|
|
@@ -66905,7 +66920,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66905
66920
|
info: process.env[`${prefix}INFO`],
|
|
66906
66921
|
warning: process.env[`${prefix}WARNING`],
|
|
66907
66922
|
error: process.env[`${prefix}ERROR`],
|
|
66908
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66923
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66924
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66925
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66909
66926
|
};
|
|
66910
66927
|
};
|
|
66911
66928
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66929,7 +66946,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66929
66946
|
info: process.env[`${prefix}INFO`],
|
|
66930
66947
|
warning: process.env[`${prefix}WARNING`],
|
|
66931
66948
|
error: process.env[`${prefix}ERROR`],
|
|
66932
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66949
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66950
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66951
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66933
66952
|
};
|
|
66934
66953
|
};
|
|
66935
66954
|
|
|
@@ -67152,6 +67171,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67152
67171
|
if (config.fatal) {
|
|
67153
67172
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67154
67173
|
}
|
|
67174
|
+
if (config.positive) {
|
|
67175
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67176
|
+
}
|
|
67177
|
+
if (config.negative) {
|
|
67178
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67179
|
+
}
|
|
67155
67180
|
};
|
|
67156
67181
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67157
67182
|
return {
|
|
@@ -67196,6 +67221,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67196
67221
|
if (config.fatal) {
|
|
67197
67222
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67198
67223
|
}
|
|
67224
|
+
if (config.positive) {
|
|
67225
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67226
|
+
}
|
|
67227
|
+
if (config.negative) {
|
|
67228
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67229
|
+
}
|
|
67199
67230
|
};
|
|
67200
67231
|
|
|
67201
67232
|
// packages/config-tools/src/create-storm-config.ts
|