@storm-software/git-tools 2.63.5 → 2.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/bin/git.js +38 -12
- package/bin/post-checkout.js +38 -12
- package/bin/post-commit.js +38 -12
- package/bin/post-merge.js +38 -12
- package/bin/pre-commit.js +38 -12
- package/bin/pre-install.js +38 -12
- package/bin/pre-push.js +38 -12
- package/bin/prepare.js +38 -12
- package/bin/version-warning.js +38 -12
- package/package.json +1 -1
- package/src/cli/index.js +38 -12
- package/src/commit/index.js +18 -8
- package/src/commitizen/index.js +18 -8
- package/src/index.js +38 -12
- package/src/release/index.js +18 -8
package/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({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66884,7 +66894,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66884
66894
|
info: process.env[`${prefix}INFO`],
|
|
66885
66895
|
warning: process.env[`${prefix}WARNING`],
|
|
66886
66896
|
error: process.env[`${prefix}ERROR`],
|
|
66887
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66897
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66898
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66899
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66888
66900
|
};
|
|
66889
66901
|
};
|
|
66890
66902
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66908,7 +66920,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66908
66920
|
info: process.env[`${prefix}INFO`],
|
|
66909
66921
|
warning: process.env[`${prefix}WARNING`],
|
|
66910
66922
|
error: process.env[`${prefix}ERROR`],
|
|
66911
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66923
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66924
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66925
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66912
66926
|
};
|
|
66913
66927
|
};
|
|
66914
66928
|
|
|
@@ -67131,6 +67145,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67131
67145
|
if (config.fatal) {
|
|
67132
67146
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67133
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
|
+
}
|
|
67134
67154
|
};
|
|
67135
67155
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67136
67156
|
return {
|
|
@@ -67175,6 +67195,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67175
67195
|
if (config.fatal) {
|
|
67176
67196
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67177
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
|
+
}
|
|
67178
67204
|
};
|
|
67179
67205
|
|
|
67180
67206
|
// 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({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66900,7 +66910,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66910
|
info: process.env[`${prefix}INFO`],
|
|
66901
66911
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66912
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66913
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66914
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66916
|
};
|
|
66905
66917
|
};
|
|
66906
66918
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66936,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66936
|
info: process.env[`${prefix}INFO`],
|
|
66925
66937
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66938
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66939
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66940
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66942
|
};
|
|
66929
66943
|
};
|
|
66930
66944
|
|
|
@@ -67147,6 +67161,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67161
|
if (config.fatal) {
|
|
67148
67162
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67163
|
}
|
|
67164
|
+
if (config.positive) {
|
|
67165
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67166
|
+
}
|
|
67167
|
+
if (config.negative) {
|
|
67168
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67169
|
+
}
|
|
67150
67170
|
};
|
|
67151
67171
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67172
|
return {
|
|
@@ -67191,6 +67211,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67211
|
if (config.fatal) {
|
|
67192
67212
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67213
|
}
|
|
67214
|
+
if (config.positive) {
|
|
67215
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67216
|
+
}
|
|
67217
|
+
if (config.negative) {
|
|
67218
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67219
|
+
}
|
|
67194
67220
|
};
|
|
67195
67221
|
|
|
67196
67222
|
// packages/config-tools/src/create-storm-config.ts
|
package/bin/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({
|
|
@@ -66378,24 +66386,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66378
66386
|
"foreground": "#1d1e22",
|
|
66379
66387
|
"brand": "#1fb2a6",
|
|
66380
66388
|
"alternate": "#db2777",
|
|
66381
|
-
"link": "#01B4F5",
|
|
66382
66389
|
"help": "#5C4EE5",
|
|
66383
66390
|
"success": "#087f5b",
|
|
66384
66391
|
"info": "#0550ae",
|
|
66385
66392
|
"warning": "#e3b341",
|
|
66386
|
-
"error": "#a40e26"
|
|
66393
|
+
"error": "#a40e26",
|
|
66394
|
+
"positive": "#22c55e",
|
|
66395
|
+
"negative": "#dc2626"
|
|
66387
66396
|
},
|
|
66388
66397
|
"dark": {
|
|
66389
66398
|
"background": "#1d1e22",
|
|
66390
66399
|
"foreground": "#cbd5e1",
|
|
66391
66400
|
"brand": "#2dd4bf",
|
|
66392
66401
|
"alternate": "#db2777",
|
|
66393
|
-
"link": "#01B4F5",
|
|
66394
66402
|
"help": "#818cf8",
|
|
66395
66403
|
"success": "#10b981",
|
|
66396
66404
|
"info": "#58a6ff",
|
|
66397
66405
|
"warning": "#f3d371",
|
|
66398
|
-
"error": "#d1242f"
|
|
66406
|
+
"error": "#d1242f",
|
|
66407
|
+
"positive": "#22c55e",
|
|
66408
|
+
"negative": "#dc2626"
|
|
66399
66409
|
}
|
|
66400
66410
|
};
|
|
66401
66411
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66459,7 +66469,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66459
66469
|
}
|
|
66460
66470
|
return ret;
|
|
66461
66471
|
}, {}),
|
|
66462
|
-
colors: { ...
|
|
66472
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66463
66473
|
workspaceRoot,
|
|
66464
66474
|
name,
|
|
66465
66475
|
namespace,
|
|
@@ -66467,7 +66477,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66467
66477
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66468
66478
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66469
66479
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66470
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66480
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66471
66481
|
extensions: {
|
|
66472
66482
|
...config.extensions
|
|
66473
66483
|
}
|
|
@@ -66905,7 +66915,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66905
66915
|
info: process.env[`${prefix}INFO`],
|
|
66906
66916
|
warning: process.env[`${prefix}WARNING`],
|
|
66907
66917
|
error: process.env[`${prefix}ERROR`],
|
|
66908
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66918
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66919
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66909
66921
|
};
|
|
66910
66922
|
};
|
|
66911
66923
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66929,7 +66941,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66929
66941
|
info: process.env[`${prefix}INFO`],
|
|
66930
66942
|
warning: process.env[`${prefix}WARNING`],
|
|
66931
66943
|
error: process.env[`${prefix}ERROR`],
|
|
66932
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66944
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66945
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66946
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66933
66947
|
};
|
|
66934
66948
|
};
|
|
66935
66949
|
|
|
@@ -67152,6 +67166,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67152
67166
|
if (config.fatal) {
|
|
67153
67167
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67154
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
|
+
}
|
|
67155
67175
|
};
|
|
67156
67176
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67157
67177
|
return {
|
|
@@ -67196,6 +67216,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67196
67216
|
if (config.fatal) {
|
|
67197
67217
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67198
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
|
+
}
|
|
67199
67225
|
};
|
|
67200
67226
|
|
|
67201
67227
|
// packages/config-tools/src/create-storm-config.ts
|
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({
|
|
@@ -66373,24 +66381,26 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66373
66381
|
"foreground": "#1d1e22",
|
|
66374
66382
|
"brand": "#1fb2a6",
|
|
66375
66383
|
"alternate": "#db2777",
|
|
66376
|
-
"link": "#01B4F5",
|
|
66377
66384
|
"help": "#5C4EE5",
|
|
66378
66385
|
"success": "#087f5b",
|
|
66379
66386
|
"info": "#0550ae",
|
|
66380
66387
|
"warning": "#e3b341",
|
|
66381
|
-
"error": "#a40e26"
|
|
66388
|
+
"error": "#a40e26",
|
|
66389
|
+
"positive": "#22c55e",
|
|
66390
|
+
"negative": "#dc2626"
|
|
66382
66391
|
},
|
|
66383
66392
|
"dark": {
|
|
66384
66393
|
"background": "#1d1e22",
|
|
66385
66394
|
"foreground": "#cbd5e1",
|
|
66386
66395
|
"brand": "#2dd4bf",
|
|
66387
66396
|
"alternate": "#db2777",
|
|
66388
|
-
"link": "#01B4F5",
|
|
66389
66397
|
"help": "#818cf8",
|
|
66390
66398
|
"success": "#10b981",
|
|
66391
66399
|
"info": "#58a6ff",
|
|
66392
66400
|
"warning": "#f3d371",
|
|
66393
|
-
"error": "#d1242f"
|
|
66401
|
+
"error": "#d1242f",
|
|
66402
|
+
"positive": "#22c55e",
|
|
66403
|
+
"negative": "#dc2626"
|
|
66394
66404
|
}
|
|
66395
66405
|
};
|
|
66396
66406
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66454,7 +66464,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66454
66464
|
}
|
|
66455
66465
|
return ret;
|
|
66456
66466
|
}, {}),
|
|
66457
|
-
colors: { ...
|
|
66467
|
+
colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
|
|
66458
66468
|
workspaceRoot,
|
|
66459
66469
|
name,
|
|
66460
66470
|
namespace,
|
|
@@ -66462,7 +66472,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66462
66472
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66463
66473
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66464
66474
|
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66465
|
-
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/
|
|
66475
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
|
|
66466
66476
|
extensions: {
|
|
66467
66477
|
...config.extensions
|
|
66468
66478
|
}
|
|
@@ -66900,7 +66910,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66900
66910
|
info: process.env[`${prefix}INFO`],
|
|
66901
66911
|
warning: process.env[`${prefix}WARNING`],
|
|
66902
66912
|
error: process.env[`${prefix}ERROR`],
|
|
66903
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66913
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66914
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66904
66916
|
};
|
|
66905
66917
|
};
|
|
66906
66918
|
var getMultiThemeColorConfigEnv = (prefix) => {
|
|
@@ -66924,7 +66936,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66924
66936
|
info: process.env[`${prefix}INFO`],
|
|
66925
66937
|
warning: process.env[`${prefix}WARNING`],
|
|
66926
66938
|
error: process.env[`${prefix}ERROR`],
|
|
66927
|
-
fatal: process.env[`${prefix}FATAL`]
|
|
66939
|
+
fatal: process.env[`${prefix}FATAL`],
|
|
66940
|
+
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
|
+
negative: process.env[`${prefix}NEGATIVE`]
|
|
66928
66942
|
};
|
|
66929
66943
|
};
|
|
66930
66944
|
|
|
@@ -67147,6 +67161,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67147
67161
|
if (config.fatal) {
|
|
67148
67162
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67149
67163
|
}
|
|
67164
|
+
if (config.positive) {
|
|
67165
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67166
|
+
}
|
|
67167
|
+
if (config.negative) {
|
|
67168
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67169
|
+
}
|
|
67150
67170
|
};
|
|
67151
67171
|
var setMultiThemeColorConfigEnv = (prefix, config) => {
|
|
67152
67172
|
return {
|
|
@@ -67191,6 +67211,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67191
67211
|
if (config.fatal) {
|
|
67192
67212
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
67193
67213
|
}
|
|
67214
|
+
if (config.positive) {
|
|
67215
|
+
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
67216
|
+
}
|
|
67217
|
+
if (config.negative) {
|
|
67218
|
+
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
67219
|
+
}
|
|
67194
67220
|
};
|
|
67195
67221
|
|
|
67196
67222
|
// packages/config-tools/src/create-storm-config.ts
|