@storm-software/git-tools 2.64.0 → 2.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/bin/git.js +30 -26
- package/bin/post-checkout.js +30 -26
- package/bin/post-commit.js +30 -26
- package/bin/post-merge.js +30 -26
- package/bin/pre-commit.js +30 -26
- package/bin/pre-install.js +30 -26
- package/bin/pre-push.js +30 -26
- package/bin/prepare.js +30 -26
- package/bin/version-warning.js +30 -26
- package/package.json +1 -1
- package/src/cli/index.js +30 -26
- package/src/commit/index.js +15 -36
- package/src/commitizen/index.js +15 -36
- package/src/index.js +30 -26
- package/src/release/index.js +15 -36
package/bin/pre-push.js
CHANGED
|
@@ -66218,17 +66218,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
66218
66218
|
});
|
|
66219
66219
|
|
|
66220
66220
|
// packages/config/src/schema.ts
|
|
66221
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66221
|
+
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
66222
66222
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
66223
|
-
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66223
|
+
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").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).optional().describe("The color used to display ");
|
|
66226
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
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
|
-
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66229
|
-
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66228
|
+
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
66229
|
+
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").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
|
-
var
|
|
66231
|
+
var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger 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
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
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");
|
|
@@ -66243,7 +66243,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66243
66243
|
success: SuccessColorSchema,
|
|
66244
66244
|
info: InfoColorSchema,
|
|
66245
66245
|
warning: WarningColorSchema,
|
|
66246
|
-
|
|
66246
|
+
danger: DangerColorSchema,
|
|
66247
66247
|
fatal: FatalColorSchema,
|
|
66248
66248
|
positive: PositiveColorSchema,
|
|
66249
66249
|
negative: NegativeColorSchema
|
|
@@ -66259,7 +66259,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66259
66259
|
success: SuccessColorSchema,
|
|
66260
66260
|
info: InfoColorSchema,
|
|
66261
66261
|
warning: WarningColorSchema,
|
|
66262
|
-
|
|
66262
|
+
danger: DangerColorSchema,
|
|
66263
66263
|
fatal: FatalColorSchema,
|
|
66264
66264
|
positive: PositiveColorSchema,
|
|
66265
66265
|
negative: NegativeColorSchema
|
|
@@ -66279,7 +66279,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66279
66279
|
success: SuccessColorSchema,
|
|
66280
66280
|
info: InfoColorSchema,
|
|
66281
66281
|
warning: WarningColorSchema,
|
|
66282
|
-
|
|
66282
|
+
danger: DangerColorSchema,
|
|
66283
66283
|
fatal: FatalColorSchema,
|
|
66284
66284
|
positive: PositiveColorSchema,
|
|
66285
66285
|
negative: NegativeColorSchema
|
|
@@ -66367,14 +66367,19 @@ var StormConfigSchema = z2.object({
|
|
|
66367
66367
|
var COLOR_KEYS = [
|
|
66368
66368
|
"dark",
|
|
66369
66369
|
"light",
|
|
66370
|
+
"base",
|
|
66370
66371
|
"brand",
|
|
66372
|
+
"alternate",
|
|
66371
66373
|
"accent",
|
|
66372
|
-
"
|
|
66374
|
+
"link",
|
|
66373
66375
|
"success",
|
|
66376
|
+
"help",
|
|
66374
66377
|
"info",
|
|
66375
66378
|
"warning",
|
|
66376
|
-
"
|
|
66377
|
-
"fatal"
|
|
66379
|
+
"danger",
|
|
66380
|
+
"fatal",
|
|
66381
|
+
"positive",
|
|
66382
|
+
"negative"
|
|
66378
66383
|
];
|
|
66379
66384
|
|
|
66380
66385
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66390,7 +66395,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66390
66395
|
"success": "#087f5b",
|
|
66391
66396
|
"info": "#0550ae",
|
|
66392
66397
|
"warning": "#e3b341",
|
|
66393
|
-
"
|
|
66398
|
+
"danger": "#D8314A",
|
|
66394
66399
|
"positive": "#22c55e",
|
|
66395
66400
|
"negative": "#dc2626"
|
|
66396
66401
|
},
|
|
@@ -66403,7 +66408,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66403
66408
|
"success": "#10b981",
|
|
66404
66409
|
"info": "#58a6ff",
|
|
66405
66410
|
"warning": "#f3d371",
|
|
66406
|
-
"
|
|
66411
|
+
"danger": "#D8314A",
|
|
66407
66412
|
"positive": "#22c55e",
|
|
66408
66413
|
"negative": "#dc2626"
|
|
66409
66414
|
}
|
|
@@ -66426,7 +66431,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
66426
66431
|
organization: "storm-software",
|
|
66427
66432
|
configFile: null,
|
|
66428
66433
|
runtimeVersion: "1.0.0",
|
|
66429
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66430
66434
|
extensions: {}
|
|
66431
66435
|
};
|
|
66432
66436
|
var getDefaultConfig = (config = {}, root) => {
|
|
@@ -66469,7 +66473,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66469
66473
|
}
|
|
66470
66474
|
return ret;
|
|
66471
66475
|
}, {}),
|
|
66472
|
-
colors: config.colors
|
|
66476
|
+
colors: config.colors,
|
|
66473
66477
|
workspaceRoot,
|
|
66474
66478
|
name,
|
|
66475
66479
|
namespace,
|
|
@@ -66571,9 +66575,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
66571
66575
|
return (message) => {
|
|
66572
66576
|
console.error(
|
|
66573
66577
|
`
|
|
66574
|
-
${_chalk.bold.hex(colors.
|
|
66578
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66575
66579
|
" \u{1F480} Fatal "
|
|
66576
|
-
)} ${_chalk.hex(colors.
|
|
66580
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66577
66581
|
`
|
|
66578
66582
|
);
|
|
66579
66583
|
};
|
|
@@ -66582,9 +66586,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66582
66586
|
return (message) => {
|
|
66583
66587
|
console.error(
|
|
66584
66588
|
`
|
|
66585
|
-
${_chalk.bold.hex(colors.
|
|
66589
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66586
66590
|
" \u2718 Error "
|
|
66587
|
-
)} ${_chalk.hex(colors.
|
|
66591
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66588
66592
|
`
|
|
66589
66593
|
);
|
|
66590
66594
|
};
|
|
@@ -66914,7 +66918,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66914
66918
|
success: process.env[`${prefix}SUCCESS`],
|
|
66915
66919
|
info: process.env[`${prefix}INFO`],
|
|
66916
66920
|
warning: process.env[`${prefix}WARNING`],
|
|
66917
|
-
|
|
66921
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66918
66922
|
fatal: process.env[`${prefix}FATAL`],
|
|
66919
66923
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
66924
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66940,7 +66944,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66940
66944
|
success: process.env[`${prefix}SUCCESS`],
|
|
66941
66945
|
info: process.env[`${prefix}INFO`],
|
|
66942
66946
|
warning: process.env[`${prefix}WARNING`],
|
|
66943
|
-
|
|
66947
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66944
66948
|
fatal: process.env[`${prefix}FATAL`],
|
|
66945
66949
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66946
66950
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67160,8 +67164,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67160
67164
|
if (config.warning) {
|
|
67161
67165
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67162
67166
|
}
|
|
67163
|
-
if (config.
|
|
67164
|
-
process.env[`${prefix}
|
|
67167
|
+
if (config.danger) {
|
|
67168
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67165
67169
|
}
|
|
67166
67170
|
if (config.fatal) {
|
|
67167
67171
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67210,8 +67214,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67210
67214
|
if (config.warning) {
|
|
67211
67215
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67212
67216
|
}
|
|
67213
|
-
if (config.
|
|
67214
|
-
process.env[`${prefix}
|
|
67217
|
+
if (config.danger) {
|
|
67218
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67215
67219
|
}
|
|
67216
67220
|
if (config.fatal) {
|
|
67217
67221
|
process.env[`${prefix}FATAL`] = config.fatal;
|
package/bin/prepare.js
CHANGED
|
@@ -66213,17 +66213,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
66213
66213
|
});
|
|
66214
66214
|
|
|
66215
66215
|
// packages/config/src/schema.ts
|
|
66216
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66216
|
+
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
66217
66217
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
66218
|
-
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66218
|
+
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").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).optional().describe("The color used to display ");
|
|
66221
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
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
|
-
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66224
|
-
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66223
|
+
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
66224
|
+
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").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
|
-
var
|
|
66226
|
+
var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger 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
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
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");
|
|
@@ -66238,7 +66238,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66238
66238
|
success: SuccessColorSchema,
|
|
66239
66239
|
info: InfoColorSchema,
|
|
66240
66240
|
warning: WarningColorSchema,
|
|
66241
|
-
|
|
66241
|
+
danger: DangerColorSchema,
|
|
66242
66242
|
fatal: FatalColorSchema,
|
|
66243
66243
|
positive: PositiveColorSchema,
|
|
66244
66244
|
negative: NegativeColorSchema
|
|
@@ -66254,7 +66254,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66254
66254
|
success: SuccessColorSchema,
|
|
66255
66255
|
info: InfoColorSchema,
|
|
66256
66256
|
warning: WarningColorSchema,
|
|
66257
|
-
|
|
66257
|
+
danger: DangerColorSchema,
|
|
66258
66258
|
fatal: FatalColorSchema,
|
|
66259
66259
|
positive: PositiveColorSchema,
|
|
66260
66260
|
negative: NegativeColorSchema
|
|
@@ -66274,7 +66274,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66274
66274
|
success: SuccessColorSchema,
|
|
66275
66275
|
info: InfoColorSchema,
|
|
66276
66276
|
warning: WarningColorSchema,
|
|
66277
|
-
|
|
66277
|
+
danger: DangerColorSchema,
|
|
66278
66278
|
fatal: FatalColorSchema,
|
|
66279
66279
|
positive: PositiveColorSchema,
|
|
66280
66280
|
negative: NegativeColorSchema
|
|
@@ -66362,14 +66362,19 @@ var StormConfigSchema = z2.object({
|
|
|
66362
66362
|
var COLOR_KEYS = [
|
|
66363
66363
|
"dark",
|
|
66364
66364
|
"light",
|
|
66365
|
+
"base",
|
|
66365
66366
|
"brand",
|
|
66367
|
+
"alternate",
|
|
66366
66368
|
"accent",
|
|
66367
|
-
"
|
|
66369
|
+
"link",
|
|
66368
66370
|
"success",
|
|
66371
|
+
"help",
|
|
66369
66372
|
"info",
|
|
66370
66373
|
"warning",
|
|
66371
|
-
"
|
|
66372
|
-
"fatal"
|
|
66374
|
+
"danger",
|
|
66375
|
+
"fatal",
|
|
66376
|
+
"positive",
|
|
66377
|
+
"negative"
|
|
66373
66378
|
];
|
|
66374
66379
|
|
|
66375
66380
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66385,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66385
66390
|
"success": "#087f5b",
|
|
66386
66391
|
"info": "#0550ae",
|
|
66387
66392
|
"warning": "#e3b341",
|
|
66388
|
-
"
|
|
66393
|
+
"danger": "#D8314A",
|
|
66389
66394
|
"positive": "#22c55e",
|
|
66390
66395
|
"negative": "#dc2626"
|
|
66391
66396
|
},
|
|
@@ -66398,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66398
66403
|
"success": "#10b981",
|
|
66399
66404
|
"info": "#58a6ff",
|
|
66400
66405
|
"warning": "#f3d371",
|
|
66401
|
-
"
|
|
66406
|
+
"danger": "#D8314A",
|
|
66402
66407
|
"positive": "#22c55e",
|
|
66403
66408
|
"negative": "#dc2626"
|
|
66404
66409
|
}
|
|
@@ -66421,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
66421
66426
|
organization: "storm-software",
|
|
66422
66427
|
configFile: null,
|
|
66423
66428
|
runtimeVersion: "1.0.0",
|
|
66424
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66425
66429
|
extensions: {}
|
|
66426
66430
|
};
|
|
66427
66431
|
var getDefaultConfig = (config = {}, root) => {
|
|
@@ -66464,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66464
66468
|
}
|
|
66465
66469
|
return ret;
|
|
66466
66470
|
}, {}),
|
|
66467
|
-
colors: config.colors
|
|
66471
|
+
colors: config.colors,
|
|
66468
66472
|
workspaceRoot,
|
|
66469
66473
|
name,
|
|
66470
66474
|
namespace,
|
|
@@ -66566,9 +66570,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
66566
66570
|
return (message) => {
|
|
66567
66571
|
console.error(
|
|
66568
66572
|
`
|
|
66569
|
-
${_chalk.bold.hex(colors.
|
|
66573
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66570
66574
|
" \u{1F480} Fatal "
|
|
66571
|
-
)} ${_chalk.hex(colors.
|
|
66575
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66572
66576
|
`
|
|
66573
66577
|
);
|
|
66574
66578
|
};
|
|
@@ -66577,9 +66581,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66577
66581
|
return (message) => {
|
|
66578
66582
|
console.error(
|
|
66579
66583
|
`
|
|
66580
|
-
${_chalk.bold.hex(colors.
|
|
66584
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66581
66585
|
" \u2718 Error "
|
|
66582
|
-
)} ${_chalk.hex(colors.
|
|
66586
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66583
66587
|
`
|
|
66584
66588
|
);
|
|
66585
66589
|
};
|
|
@@ -66909,7 +66913,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66909
66913
|
success: process.env[`${prefix}SUCCESS`],
|
|
66910
66914
|
info: process.env[`${prefix}INFO`],
|
|
66911
66915
|
warning: process.env[`${prefix}WARNING`],
|
|
66912
|
-
|
|
66916
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66913
66917
|
fatal: process.env[`${prefix}FATAL`],
|
|
66914
66918
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66915
66919
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66935,7 +66939,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66935
66939
|
success: process.env[`${prefix}SUCCESS`],
|
|
66936
66940
|
info: process.env[`${prefix}INFO`],
|
|
66937
66941
|
warning: process.env[`${prefix}WARNING`],
|
|
66938
|
-
|
|
66942
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66939
66943
|
fatal: process.env[`${prefix}FATAL`],
|
|
66940
66944
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66941
66945
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67155,8 +67159,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67155
67159
|
if (config.warning) {
|
|
67156
67160
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67157
67161
|
}
|
|
67158
|
-
if (config.
|
|
67159
|
-
process.env[`${prefix}
|
|
67162
|
+
if (config.danger) {
|
|
67163
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67160
67164
|
}
|
|
67161
67165
|
if (config.fatal) {
|
|
67162
67166
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67205,8 +67209,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67205
67209
|
if (config.warning) {
|
|
67206
67210
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67207
67211
|
}
|
|
67208
|
-
if (config.
|
|
67209
|
-
process.env[`${prefix}
|
|
67212
|
+
if (config.danger) {
|
|
67213
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67210
67214
|
}
|
|
67211
67215
|
if (config.fatal) {
|
|
67212
67216
|
process.env[`${prefix}FATAL`] = config.fatal;
|
package/bin/version-warning.js
CHANGED
|
@@ -66213,17 +66213,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
66213
66213
|
});
|
|
66214
66214
|
|
|
66215
66215
|
// packages/config/src/schema.ts
|
|
66216
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66216
|
+
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
66217
66217
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
66218
|
-
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66218
|
+
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").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).optional().describe("The color used to display ");
|
|
66221
|
+
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
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
|
-
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66224
|
-
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66223
|
+
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
66224
|
+
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").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
|
-
var
|
|
66226
|
+
var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger 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
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
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");
|
|
@@ -66238,7 +66238,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66238
66238
|
success: SuccessColorSchema,
|
|
66239
66239
|
info: InfoColorSchema,
|
|
66240
66240
|
warning: WarningColorSchema,
|
|
66241
|
-
|
|
66241
|
+
danger: DangerColorSchema,
|
|
66242
66242
|
fatal: FatalColorSchema,
|
|
66243
66243
|
positive: PositiveColorSchema,
|
|
66244
66244
|
negative: NegativeColorSchema
|
|
@@ -66254,7 +66254,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66254
66254
|
success: SuccessColorSchema,
|
|
66255
66255
|
info: InfoColorSchema,
|
|
66256
66256
|
warning: WarningColorSchema,
|
|
66257
|
-
|
|
66257
|
+
danger: DangerColorSchema,
|
|
66258
66258
|
fatal: FatalColorSchema,
|
|
66259
66259
|
positive: PositiveColorSchema,
|
|
66260
66260
|
negative: NegativeColorSchema
|
|
@@ -66274,7 +66274,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66274
66274
|
success: SuccessColorSchema,
|
|
66275
66275
|
info: InfoColorSchema,
|
|
66276
66276
|
warning: WarningColorSchema,
|
|
66277
|
-
|
|
66277
|
+
danger: DangerColorSchema,
|
|
66278
66278
|
fatal: FatalColorSchema,
|
|
66279
66279
|
positive: PositiveColorSchema,
|
|
66280
66280
|
negative: NegativeColorSchema
|
|
@@ -66362,14 +66362,19 @@ var StormConfigSchema = z2.object({
|
|
|
66362
66362
|
var COLOR_KEYS = [
|
|
66363
66363
|
"dark",
|
|
66364
66364
|
"light",
|
|
66365
|
+
"base",
|
|
66365
66366
|
"brand",
|
|
66367
|
+
"alternate",
|
|
66366
66368
|
"accent",
|
|
66367
|
-
"
|
|
66369
|
+
"link",
|
|
66368
66370
|
"success",
|
|
66371
|
+
"help",
|
|
66369
66372
|
"info",
|
|
66370
66373
|
"warning",
|
|
66371
|
-
"
|
|
66372
|
-
"fatal"
|
|
66374
|
+
"danger",
|
|
66375
|
+
"fatal",
|
|
66376
|
+
"positive",
|
|
66377
|
+
"negative"
|
|
66373
66378
|
];
|
|
66374
66379
|
|
|
66375
66380
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
@@ -66385,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66385
66390
|
"success": "#087f5b",
|
|
66386
66391
|
"info": "#0550ae",
|
|
66387
66392
|
"warning": "#e3b341",
|
|
66388
|
-
"
|
|
66393
|
+
"danger": "#D8314A",
|
|
66389
66394
|
"positive": "#22c55e",
|
|
66390
66395
|
"negative": "#dc2626"
|
|
66391
66396
|
},
|
|
@@ -66398,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66398
66403
|
"success": "#10b981",
|
|
66399
66404
|
"info": "#58a6ff",
|
|
66400
66405
|
"warning": "#f3d371",
|
|
66401
|
-
"
|
|
66406
|
+
"danger": "#D8314A",
|
|
66402
66407
|
"positive": "#22c55e",
|
|
66403
66408
|
"negative": "#dc2626"
|
|
66404
66409
|
}
|
|
@@ -66421,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
66421
66426
|
organization: "storm-software",
|
|
66422
66427
|
configFile: null,
|
|
66423
66428
|
runtimeVersion: "1.0.0",
|
|
66424
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66425
66429
|
extensions: {}
|
|
66426
66430
|
};
|
|
66427
66431
|
var getDefaultConfig = (config = {}, root) => {
|
|
@@ -66464,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66464
66468
|
}
|
|
66465
66469
|
return ret;
|
|
66466
66470
|
}, {}),
|
|
66467
|
-
colors: config.colors
|
|
66471
|
+
colors: config.colors,
|
|
66468
66472
|
workspaceRoot,
|
|
66469
66473
|
name,
|
|
66470
66474
|
namespace,
|
|
@@ -66566,9 +66570,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
66566
66570
|
return (message) => {
|
|
66567
66571
|
console.error(
|
|
66568
66572
|
`
|
|
66569
|
-
${_chalk.bold.hex(colors.
|
|
66573
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66570
66574
|
" \u{1F480} Fatal "
|
|
66571
|
-
)} ${_chalk.hex(colors.
|
|
66575
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66572
66576
|
`
|
|
66573
66577
|
);
|
|
66574
66578
|
};
|
|
@@ -66577,9 +66581,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66577
66581
|
return (message) => {
|
|
66578
66582
|
console.error(
|
|
66579
66583
|
`
|
|
66580
|
-
${_chalk.bold.hex(colors.
|
|
66584
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66581
66585
|
" \u2718 Error "
|
|
66582
|
-
)} ${_chalk.hex(colors.
|
|
66586
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66583
66587
|
`
|
|
66584
66588
|
);
|
|
66585
66589
|
};
|
|
@@ -66888,7 +66892,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66888
66892
|
success: process.env[`${prefix}SUCCESS`],
|
|
66889
66893
|
info: process.env[`${prefix}INFO`],
|
|
66890
66894
|
warning: process.env[`${prefix}WARNING`],
|
|
66891
|
-
|
|
66895
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66892
66896
|
fatal: process.env[`${prefix}FATAL`],
|
|
66893
66897
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66894
66898
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66914,7 +66918,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66914
66918
|
success: process.env[`${prefix}SUCCESS`],
|
|
66915
66919
|
info: process.env[`${prefix}INFO`],
|
|
66916
66920
|
warning: process.env[`${prefix}WARNING`],
|
|
66917
|
-
|
|
66921
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66918
66922
|
fatal: process.env[`${prefix}FATAL`],
|
|
66919
66923
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
66924
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67134,8 +67138,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67134
67138
|
if (config.warning) {
|
|
67135
67139
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67136
67140
|
}
|
|
67137
|
-
if (config.
|
|
67138
|
-
process.env[`${prefix}
|
|
67141
|
+
if (config.danger) {
|
|
67142
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67139
67143
|
}
|
|
67140
67144
|
if (config.fatal) {
|
|
67141
67145
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67184,8 +67188,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67184
67188
|
if (config.warning) {
|
|
67185
67189
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67186
67190
|
}
|
|
67187
|
-
if (config.
|
|
67188
|
-
process.env[`${prefix}
|
|
67191
|
+
if (config.danger) {
|
|
67192
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67189
67193
|
}
|
|
67190
67194
|
if (config.fatal) {
|
|
67191
67195
|
process.env[`${prefix}FATAL`] = config.fatal;
|