@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/prepare.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/version-warning.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
|
}
|
|
@@ -66879,7 +66894,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66879
66894
|
info: process.env[`${prefix}INFO`],
|
|
66880
66895
|
warning: process.env[`${prefix}WARNING`],
|
|
66881
66896
|
error: process.env[`${prefix}ERROR`],
|
|
66882
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66897
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66898
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66899
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66883
66900
|
};
|
|
66884
66901
|
};
|
|
66885
66902
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66903,7 +66920,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66903
66920
|
info: process.env[`${prefix}INFO`],
|
|
66904
66921
|
warning: process.env[`${prefix}WARNING`],
|
|
66905
66922
|
error: process.env[`${prefix}ERROR`],
|
|
66906
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66923
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66924
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66925
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66907
66926
|
};
|
|
66908
66927
|
};
|
|
66909
66928
|
|
|
@@ -67126,6 +67145,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67126
67145
|
if (config.fatal) {
|
|
67127
67146
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67128
67147
|
}
|
|
67148
|
+
if (config.positive) {
|
|
67149
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67150
|
+
}
|
|
67151
|
+
if (config.negative) {
|
|
67152
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67153
|
+
}
|
|
67129
67154
|
};
|
|
67130
67155
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67131
67156
|
return {
|
|
@@ -67170,6 +67195,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67170
67195
|
if (config.fatal) {
|
|
67171
67196
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67172
67197
|
}
|
|
67198
|
+
if (config.positive) {
|
|
67199
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67200
|
+
}
|
|
67201
|
+
if (config.negative) {
|
|
67202
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67203
|
+
}
|
|
67173
67204
|
};
|
|
67174
67205
|
|
|
67175
67206
|
// packages/config-tools/src/create-storm-config.ts
|
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -225740,13 +225740,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
|
|
|
225740
225740
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
225741
225741
|
var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
225742
225742
|
var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
225743
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
225743
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
225744
225744
|
var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
225745
225745
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
225746
225746
|
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
|
|
225747
225747
|
var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
225748
225748
|
var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
|
|
225749
225749
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
225750
|
+
var PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
225751
|
+
var NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
225750
225752
|
var DarkThemeColorConfigSchema = z2.object({
|
|
225751
225753
|
foreground: LightColorSchema,
|
|
225752
225754
|
background: DarkColorSchema,
|
|
@@ -225759,7 +225761,9 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
225759
225761
|
info: InfoColorSchema,
|
|
225760
225762
|
warning: WarningColorSchema,
|
|
225761
225763
|
error: ErrorColorSchema,
|
|
225762
|
-
fatal: FatalColorSchema
|
|
225764
|
+
fatal: FatalColorSchema,
|
|
225765
|
+
positive: PositiveColorSchema,
|
|
225766
|
+
negative: NegativeColorSchema
|
|
225763
225767
|
});
|
|
225764
225768
|
var LightThemeColorConfigSchema = z2.object({
|
|
225765
225769
|
foreground: DarkColorSchema,
|
|
@@ -225773,7 +225777,9 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
225773
225777
|
info: InfoColorSchema,
|
|
225774
225778
|
warning: WarningColorSchema,
|
|
225775
225779
|
error: ErrorColorSchema,
|
|
225776
|
-
fatal: FatalColorSchema
|
|
225780
|
+
fatal: FatalColorSchema,
|
|
225781
|
+
positive: PositiveColorSchema,
|
|
225782
|
+
negative: NegativeColorSchema
|
|
225777
225783
|
});
|
|
225778
225784
|
var MultiThemeColorConfigSchema = z2.object({
|
|
225779
225785
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -225791,7 +225797,9 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
225791
225797
|
info: InfoColorSchema,
|
|
225792
225798
|
warning: WarningColorSchema,
|
|
225793
225799
|
error: ErrorColorSchema,
|
|
225794
|
-
fatal: FatalColorSchema
|
|
225800
|
+
fatal: FatalColorSchema,
|
|
225801
|
+
positive: PositiveColorSchema,
|
|
225802
|
+
negative: NegativeColorSchema
|
|
225795
225803
|
});
|
|
225796
225804
|
var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
225797
225805
|
var RegistryConfigSchema = z2.object({
|
|
@@ -225876,14 +225884,19 @@ var StormConfigSchema = z2.object({
|
|
|
225876
225884
|
var COLOR_KEYS = [
|
|
225877
225885
|
"dark",
|
|
225878
225886
|
"light",
|
|
225887
|
+
"base",
|
|
225879
225888
|
"brand",
|
|
225889
|
+
"alternate",
|
|
225880
225890
|
"accent",
|
|
225881
|
-
"
|
|
225891
|
+
"link",
|
|
225882
225892
|
"success",
|
|
225893
|
+
"help",
|
|
225883
225894
|
"info",
|
|
225884
225895
|
"warning",
|
|
225885
225896
|
"error",
|
|
225886
|
-
"fatal"
|
|
225897
|
+
"fatal",
|
|
225898
|
+
"positive",
|
|
225899
|
+
"negative"
|
|
225887
225900
|
];
|
|
225888
225901
|
|
|
225889
225902
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -225895,24 +225908,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
225895
225908
|
"foreground": "#1d1e22",
|
|
225896
225909
|
"brand": "#1fb2a6",
|
|
225897
225910
|
"alternate": "#db2777",
|
|
225898
|
-
"link": "#01B4F5",
|
|
225899
225911
|
"help": "#5C4EE5",
|
|
225900
225912
|
"success": "#087f5b",
|
|
225901
225913
|
"info": "#0550ae",
|
|
225902
225914
|
"warning": "#e3b341",
|
|
225903
|
-
"error": "#a40e26"
|
|
225915
|
+
"error": "#a40e26",
|
|
225916
|
+
"positive": "#22c55e",
|
|
225917
|
+
"negative": "#dc2626"
|
|
225904
225918
|
},
|
|
225905
225919
|
"dark": {
|
|
225906
225920
|
"background": "#1d1e22",
|
|
225907
225921
|
"foreground": "#cbd5e1",
|
|
225908
225922
|
"brand": "#2dd4bf",
|
|
225909
225923
|
"alternate": "#db2777",
|
|
225910
|
-
"link": "#01B4F5",
|
|
225911
225924
|
"help": "#818cf8",
|
|
225912
225925
|
"success": "#10b981",
|
|
225913
225926
|
"info": "#58a6ff",
|
|
225914
225927
|
"warning": "#f3d371",
|
|
225915
|
-
"error": "#d1242f"
|
|
225928
|
+
"error": "#d1242f",
|
|
225929
|
+
"positive": "#22c55e",
|
|
225930
|
+
"negative": "#dc2626"
|
|
225916
225931
|
}
|
|
225917
225932
|
};
|
|
225918
225933
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -225976,7 +225991,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
225976
225991
|
}
|
|
225977
225992
|
return ret;
|
|
225978
225993
|
}, {}),
|
|
225979
|
-
colors: { ...
|
|
225994
|
+
colors: config2.colors ? { ...config2.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
225980
225995
|
workspaceRoot: workspaceRoot3,
|
|
225981
225996
|
name,
|
|
225982
225997
|
namespace,
|
|
@@ -225984,7 +225999,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
225984
225999
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
225985
226000
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
225986
226001
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
225987
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
226002
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
225988
226003
|
extensions: {
|
|
225989
226004
|
...config2.extensions
|
|
225990
226005
|
}
|
|
@@ -226364,7 +226379,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
226364
226379
|
info: process.env[`${prefix}INFO`],
|
|
226365
226380
|
warning: process.env[`${prefix}WARNING`],
|
|
226366
226381
|
error: process.env[`${prefix}ERROR`],
|
|
226367
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
226382
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
226383
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
226384
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
226368
226385
|
};
|
|
226369
226386
|
};
|
|
226370
226387
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -226388,7 +226405,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
226388
226405
|
info: process.env[`${prefix}INFO`],
|
|
226389
226406
|
warning: process.env[`${prefix}WARNING`],
|
|
226390
226407
|
error: process.env[`${prefix}ERROR`],
|
|
226391
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
226408
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
226409
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
226410
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
226392
226411
|
};
|
|
226393
226412
|
};
|
|
226394
226413
|
|
|
@@ -226611,6 +226630,12 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226611
226630
|
if (config2.fatal) {
|
|
226612
226631
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
226613
226632
|
}
|
|
226633
|
+
if (config2.positive) {
|
|
226634
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
226635
|
+
}
|
|
226636
|
+
if (config2.negative) {
|
|
226637
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
226638
|
+
}
|
|
226614
226639
|
};
|
|
226615
226640
|
var setMultiThemeColorConfigEnv = (prefix, config2) => {
|
|
226616
226641
|
return {
|
|
@@ -226655,6 +226680,12 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226655
226680
|
if (config2.fatal) {
|
|
226656
226681
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
226657
226682
|
}
|
|
226683
|
+
if (config2.positive) {
|
|
226684
|
+
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
226685
|
+
}
|
|
226686
|
+
if (config2.negative) {
|
|
226687
|
+
process.env[`${prefix}NEGATIVE`] = config2.negative;
|
|
226688
|
+
}
|
|
226658
226689
|
};
|
|
226659
226690
|
|
|
226660
226691
|
// packages/config-tools/src/create-storm-config.ts
|
package/src/commit/index.js
CHANGED
|
@@ -37317,13 +37317,15 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
|
|
|
37317
37317
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
37318
37318
|
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
37319
37319
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
37320
|
-
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).
|
|
37320
|
+
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
37321
37321
|
var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
37322
37322
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
37323
37323
|
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
|
|
37324
37324
|
var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
37325
37325
|
var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
|
|
37326
37326
|
var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
37327
|
+
var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
37328
|
+
var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
37327
37329
|
var DarkThemeColorConfigSchema = z.object({
|
|
37328
37330
|
foreground: LightColorSchema,
|
|
37329
37331
|
background: DarkColorSchema,
|
|
@@ -37336,7 +37338,9 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37336
37338
|
info: InfoColorSchema,
|
|
37337
37339
|
warning: WarningColorSchema,
|
|
37338
37340
|
error: ErrorColorSchema,
|
|
37339
|
-
fatal: FatalColorSchema
|
|
37341
|
+
fatal: FatalColorSchema,
|
|
37342
|
+
positive: PositiveColorSchema,
|
|
37343
|
+
negative: NegativeColorSchema
|
|
37340
37344
|
});
|
|
37341
37345
|
var LightThemeColorConfigSchema = z.object({
|
|
37342
37346
|
foreground: DarkColorSchema,
|
|
@@ -37350,7 +37354,9 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37350
37354
|
info: InfoColorSchema,
|
|
37351
37355
|
warning: WarningColorSchema,
|
|
37352
37356
|
error: ErrorColorSchema,
|
|
37353
|
-
fatal: FatalColorSchema
|
|
37357
|
+
fatal: FatalColorSchema,
|
|
37358
|
+
positive: PositiveColorSchema,
|
|
37359
|
+
negative: NegativeColorSchema
|
|
37354
37360
|
});
|
|
37355
37361
|
var MultiThemeColorConfigSchema = z.object({
|
|
37356
37362
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -37368,7 +37374,9 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37368
37374
|
info: InfoColorSchema,
|
|
37369
37375
|
warning: WarningColorSchema,
|
|
37370
37376
|
error: ErrorColorSchema,
|
|
37371
|
-
fatal: FatalColorSchema
|
|
37377
|
+
fatal: FatalColorSchema,
|
|
37378
|
+
positive: PositiveColorSchema,
|
|
37379
|
+
negative: NegativeColorSchema
|
|
37372
37380
|
});
|
|
37373
37381
|
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
37374
37382
|
var RegistryConfigSchema = z.object({
|
|
@@ -37456,24 +37464,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37456
37464
|
"foreground": "#1d1e22",
|
|
37457
37465
|
"brand": "#1fb2a6",
|
|
37458
37466
|
"alternate": "#db2777",
|
|
37459
|
-
"link": "#01B4F5",
|
|
37460
37467
|
"help": "#5C4EE5",
|
|
37461
37468
|
"success": "#087f5b",
|
|
37462
37469
|
"info": "#0550ae",
|
|
37463
37470
|
"warning": "#e3b341",
|
|
37464
|
-
"error": "#a40e26"
|
|
37471
|
+
"error": "#a40e26",
|
|
37472
|
+
"positive": "#22c55e",
|
|
37473
|
+
"negative": "#dc2626"
|
|
37465
37474
|
},
|
|
37466
37475
|
"dark": {
|
|
37467
37476
|
"background": "#1d1e22",
|
|
37468
37477
|
"foreground": "#cbd5e1",
|
|
37469
37478
|
"brand": "#2dd4bf",
|
|
37470
37479
|
"alternate": "#db2777",
|
|
37471
|
-
"link": "#01B4F5",
|
|
37472
37480
|
"help": "#818cf8",
|
|
37473
37481
|
"success": "#10b981",
|
|
37474
37482
|
"info": "#58a6ff",
|
|
37475
37483
|
"warning": "#f3d371",
|
|
37476
|
-
"error": "#d1242f"
|
|
37484
|
+
"error": "#d1242f",
|
|
37485
|
+
"positive": "#22c55e",
|
|
37486
|
+
"negative": "#dc2626"
|
|
37477
37487
|
}
|
|
37478
37488
|
};
|
|
37479
37489
|
var DEFAULT_STORM_CONFIG = {
|