@storm-software/git-tools 2.65.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 +6 -0
- package/README.md +1 -1
- package/bin/git.js +23 -24
- package/bin/post-checkout.js +23 -24
- package/bin/post-commit.js +23 -24
- package/bin/post-merge.js +23 -24
- package/bin/pre-commit.js +23 -24
- package/bin/pre-install.js +23 -24
- package/bin/pre-push.js +23 -24
- package/bin/prepare.js +23 -24
- package/bin/version-warning.js +23 -24
- package/package.json +1 -1
- package/src/cli/index.js +23 -24
- package/src/commit/index.js +15 -36
- package/src/commitizen/index.js +15 -36
- package/src/index.js +23 -24
- package/src/release/index.js +15 -36
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
|
|
@@ -66371,7 +66371,7 @@ var COLOR_KEYS = [
|
|
|
66371
66371
|
"help",
|
|
66372
66372
|
"info",
|
|
66373
66373
|
"warning",
|
|
66374
|
-
"
|
|
66374
|
+
"danger",
|
|
66375
66375
|
"fatal",
|
|
66376
66376
|
"positive",
|
|
66377
66377
|
"negative"
|
|
@@ -66390,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66390
66390
|
"success": "#087f5b",
|
|
66391
66391
|
"info": "#0550ae",
|
|
66392
66392
|
"warning": "#e3b341",
|
|
66393
|
-
"
|
|
66393
|
+
"danger": "#D8314A",
|
|
66394
66394
|
"positive": "#22c55e",
|
|
66395
66395
|
"negative": "#dc2626"
|
|
66396
66396
|
},
|
|
@@ -66403,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66403
66403
|
"success": "#10b981",
|
|
66404
66404
|
"info": "#58a6ff",
|
|
66405
66405
|
"warning": "#f3d371",
|
|
66406
|
-
"
|
|
66406
|
+
"danger": "#D8314A",
|
|
66407
66407
|
"positive": "#22c55e",
|
|
66408
66408
|
"negative": "#dc2626"
|
|
66409
66409
|
}
|
|
@@ -66426,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
66426
66426
|
organization: "storm-software",
|
|
66427
66427
|
configFile: null,
|
|
66428
66428
|
runtimeVersion: "1.0.0",
|
|
66429
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66430
66429
|
extensions: {}
|
|
66431
66430
|
};
|
|
66432
66431
|
var getDefaultConfig = (config = {}, root) => {
|
|
@@ -66469,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66469
66468
|
}
|
|
66470
66469
|
return ret;
|
|
66471
66470
|
}, {}),
|
|
66472
|
-
colors: config.colors
|
|
66471
|
+
colors: config.colors,
|
|
66473
66472
|
workspaceRoot,
|
|
66474
66473
|
name,
|
|
66475
66474
|
namespace,
|
|
@@ -66571,9 +66570,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
66571
66570
|
return (message) => {
|
|
66572
66571
|
console.error(
|
|
66573
66572
|
`
|
|
66574
|
-
${_chalk.bold.hex(colors.
|
|
66573
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66575
66574
|
" \u{1F480} Fatal "
|
|
66576
|
-
)} ${_chalk.hex(colors.
|
|
66575
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66577
66576
|
`
|
|
66578
66577
|
);
|
|
66579
66578
|
};
|
|
@@ -66582,9 +66581,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66582
66581
|
return (message) => {
|
|
66583
66582
|
console.error(
|
|
66584
66583
|
`
|
|
66585
|
-
${_chalk.bold.hex(colors.
|
|
66584
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66586
66585
|
" \u2718 Error "
|
|
66587
|
-
)} ${_chalk.hex(colors.
|
|
66586
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66588
66587
|
`
|
|
66589
66588
|
);
|
|
66590
66589
|
};
|
|
@@ -66914,7 +66913,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66914
66913
|
success: process.env[`${prefix}SUCCESS`],
|
|
66915
66914
|
info: process.env[`${prefix}INFO`],
|
|
66916
66915
|
warning: process.env[`${prefix}WARNING`],
|
|
66917
|
-
|
|
66916
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66918
66917
|
fatal: process.env[`${prefix}FATAL`],
|
|
66919
66918
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66920
66919
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66940,7 +66939,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66940
66939
|
success: process.env[`${prefix}SUCCESS`],
|
|
66941
66940
|
info: process.env[`${prefix}INFO`],
|
|
66942
66941
|
warning: process.env[`${prefix}WARNING`],
|
|
66943
|
-
|
|
66942
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66944
66943
|
fatal: process.env[`${prefix}FATAL`],
|
|
66945
66944
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66946
66945
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67160,8 +67159,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67160
67159
|
if (config.warning) {
|
|
67161
67160
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67162
67161
|
}
|
|
67163
|
-
if (config.
|
|
67164
|
-
process.env[`${prefix}
|
|
67162
|
+
if (config.danger) {
|
|
67163
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67165
67164
|
}
|
|
67166
67165
|
if (config.fatal) {
|
|
67167
67166
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67210,8 +67209,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67210
67209
|
if (config.warning) {
|
|
67211
67210
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67212
67211
|
}
|
|
67213
|
-
if (config.
|
|
67214
|
-
process.env[`${prefix}
|
|
67212
|
+
if (config.danger) {
|
|
67213
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67215
67214
|
}
|
|
67216
67215
|
if (config.fatal) {
|
|
67217
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
|
|
@@ -66371,7 +66371,7 @@ var COLOR_KEYS = [
|
|
|
66371
66371
|
"help",
|
|
66372
66372
|
"info",
|
|
66373
66373
|
"warning",
|
|
66374
|
-
"
|
|
66374
|
+
"danger",
|
|
66375
66375
|
"fatal",
|
|
66376
66376
|
"positive",
|
|
66377
66377
|
"negative"
|
|
@@ -66390,7 +66390,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66390
66390
|
"success": "#087f5b",
|
|
66391
66391
|
"info": "#0550ae",
|
|
66392
66392
|
"warning": "#e3b341",
|
|
66393
|
-
"
|
|
66393
|
+
"danger": "#D8314A",
|
|
66394
66394
|
"positive": "#22c55e",
|
|
66395
66395
|
"negative": "#dc2626"
|
|
66396
66396
|
},
|
|
@@ -66403,7 +66403,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
66403
66403
|
"success": "#10b981",
|
|
66404
66404
|
"info": "#58a6ff",
|
|
66405
66405
|
"warning": "#f3d371",
|
|
66406
|
-
"
|
|
66406
|
+
"danger": "#D8314A",
|
|
66407
66407
|
"positive": "#22c55e",
|
|
66408
66408
|
"negative": "#dc2626"
|
|
66409
66409
|
}
|
|
@@ -66426,7 +66426,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
66426
66426
|
organization: "storm-software",
|
|
66427
66427
|
configFile: null,
|
|
66428
66428
|
runtimeVersion: "1.0.0",
|
|
66429
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66430
66429
|
extensions: {}
|
|
66431
66430
|
};
|
|
66432
66431
|
var getDefaultConfig = (config = {}, root) => {
|
|
@@ -66469,7 +66468,7 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
66469
66468
|
}
|
|
66470
66469
|
return ret;
|
|
66471
66470
|
}, {}),
|
|
66472
|
-
colors: config.colors
|
|
66471
|
+
colors: config.colors,
|
|
66473
66472
|
workspaceRoot,
|
|
66474
66473
|
name,
|
|
66475
66474
|
namespace,
|
|
@@ -66571,9 +66570,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
66571
66570
|
return (message) => {
|
|
66572
66571
|
console.error(
|
|
66573
66572
|
`
|
|
66574
|
-
${_chalk.bold.hex(colors.
|
|
66573
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66575
66574
|
" \u{1F480} Fatal "
|
|
66576
|
-
)} ${_chalk.hex(colors.
|
|
66575
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66577
66576
|
`
|
|
66578
66577
|
);
|
|
66579
66578
|
};
|
|
@@ -66582,9 +66581,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66582
66581
|
return (message) => {
|
|
66583
66582
|
console.error(
|
|
66584
66583
|
`
|
|
66585
|
-
${_chalk.bold.hex(colors.
|
|
66584
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66586
66585
|
" \u2718 Error "
|
|
66587
|
-
)} ${_chalk.hex(colors.
|
|
66586
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66588
66587
|
`
|
|
66589
66588
|
);
|
|
66590
66589
|
};
|
|
@@ -66893,7 +66892,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66893
66892
|
success: process.env[`${prefix}SUCCESS`],
|
|
66894
66893
|
info: process.env[`${prefix}INFO`],
|
|
66895
66894
|
warning: process.env[`${prefix}WARNING`],
|
|
66896
|
-
|
|
66895
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66897
66896
|
fatal: process.env[`${prefix}FATAL`],
|
|
66898
66897
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66899
66898
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66919,7 +66918,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66919
66918
|
success: process.env[`${prefix}SUCCESS`],
|
|
66920
66919
|
info: process.env[`${prefix}INFO`],
|
|
66921
66920
|
warning: process.env[`${prefix}WARNING`],
|
|
66922
|
-
|
|
66921
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66923
66922
|
fatal: process.env[`${prefix}FATAL`],
|
|
66924
66923
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66925
66924
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67139,8 +67138,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67139
67138
|
if (config.warning) {
|
|
67140
67139
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67141
67140
|
}
|
|
67142
|
-
if (config.
|
|
67143
|
-
process.env[`${prefix}
|
|
67141
|
+
if (config.danger) {
|
|
67142
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67144
67143
|
}
|
|
67145
67144
|
if (config.fatal) {
|
|
67146
67145
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67189,8 +67188,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67189
67188
|
if (config.warning) {
|
|
67190
67189
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67191
67190
|
}
|
|
67192
|
-
if (config.
|
|
67193
|
-
process.env[`${prefix}
|
|
67191
|
+
if (config.danger) {
|
|
67192
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67194
67193
|
}
|
|
67195
67194
|
if (config.fatal) {
|
|
67196
67195
|
process.env[`${prefix}FATAL`] = config.fatal;
|
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -225735,17 +225735,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
225735
225735
|
});
|
|
225736
225736
|
|
|
225737
225737
|
// packages/config/src/schema.ts
|
|
225738
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
225738
|
+
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");
|
|
225739
225739
|
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");
|
|
225740
|
-
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
225740
|
+
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");
|
|
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).optional().describe("The color used to display ");
|
|
225743
|
+
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");
|
|
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
|
-
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
225746
|
-
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
225745
|
+
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");
|
|
225746
|
+
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");
|
|
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
|
-
var
|
|
225748
|
+
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");
|
|
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
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
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");
|
|
@@ -225760,7 +225760,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
225760
225760
|
success: SuccessColorSchema,
|
|
225761
225761
|
info: InfoColorSchema,
|
|
225762
225762
|
warning: WarningColorSchema,
|
|
225763
|
-
|
|
225763
|
+
danger: DangerColorSchema,
|
|
225764
225764
|
fatal: FatalColorSchema,
|
|
225765
225765
|
positive: PositiveColorSchema,
|
|
225766
225766
|
negative: NegativeColorSchema
|
|
@@ -225776,7 +225776,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
225776
225776
|
success: SuccessColorSchema,
|
|
225777
225777
|
info: InfoColorSchema,
|
|
225778
225778
|
warning: WarningColorSchema,
|
|
225779
|
-
|
|
225779
|
+
danger: DangerColorSchema,
|
|
225780
225780
|
fatal: FatalColorSchema,
|
|
225781
225781
|
positive: PositiveColorSchema,
|
|
225782
225782
|
negative: NegativeColorSchema
|
|
@@ -225796,7 +225796,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
225796
225796
|
success: SuccessColorSchema,
|
|
225797
225797
|
info: InfoColorSchema,
|
|
225798
225798
|
warning: WarningColorSchema,
|
|
225799
|
-
|
|
225799
|
+
danger: DangerColorSchema,
|
|
225800
225800
|
fatal: FatalColorSchema,
|
|
225801
225801
|
positive: PositiveColorSchema,
|
|
225802
225802
|
negative: NegativeColorSchema
|
|
@@ -225893,7 +225893,7 @@ var COLOR_KEYS = [
|
|
|
225893
225893
|
"help",
|
|
225894
225894
|
"info",
|
|
225895
225895
|
"warning",
|
|
225896
|
-
"
|
|
225896
|
+
"danger",
|
|
225897
225897
|
"fatal",
|
|
225898
225898
|
"positive",
|
|
225899
225899
|
"negative"
|
|
@@ -225912,7 +225912,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
225912
225912
|
"success": "#087f5b",
|
|
225913
225913
|
"info": "#0550ae",
|
|
225914
225914
|
"warning": "#e3b341",
|
|
225915
|
-
"
|
|
225915
|
+
"danger": "#D8314A",
|
|
225916
225916
|
"positive": "#22c55e",
|
|
225917
225917
|
"negative": "#dc2626"
|
|
225918
225918
|
},
|
|
@@ -225925,7 +225925,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
225925
225925
|
"success": "#10b981",
|
|
225926
225926
|
"info": "#58a6ff",
|
|
225927
225927
|
"warning": "#f3d371",
|
|
225928
|
-
"
|
|
225928
|
+
"danger": "#D8314A",
|
|
225929
225929
|
"positive": "#22c55e",
|
|
225930
225930
|
"negative": "#dc2626"
|
|
225931
225931
|
}
|
|
@@ -225948,7 +225948,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
225948
225948
|
organization: "storm-software",
|
|
225949
225949
|
configFile: null,
|
|
225950
225950
|
runtimeVersion: "1.0.0",
|
|
225951
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
225952
225951
|
extensions: {}
|
|
225953
225952
|
};
|
|
225954
225953
|
var getDefaultConfig = (config2 = {}, root3) => {
|
|
@@ -225991,7 +225990,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
225991
225990
|
}
|
|
225992
225991
|
return ret;
|
|
225993
225992
|
}, {}),
|
|
225994
|
-
colors: config2.colors
|
|
225993
|
+
colors: config2.colors,
|
|
225995
225994
|
workspaceRoot: workspaceRoot3,
|
|
225996
225995
|
name,
|
|
225997
225996
|
namespace,
|
|
@@ -226093,9 +226092,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
|
|
|
226093
226092
|
return (message) => {
|
|
226094
226093
|
console.error(
|
|
226095
226094
|
`
|
|
226096
|
-
${_chalk.bold.hex(colors.
|
|
226095
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
226097
226096
|
" \u{1F480} Fatal "
|
|
226098
|
-
)} ${_chalk.hex(colors.
|
|
226097
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
226099
226098
|
`
|
|
226100
226099
|
);
|
|
226101
226100
|
};
|
|
@@ -226104,9 +226103,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
226104
226103
|
return (message) => {
|
|
226105
226104
|
console.error(
|
|
226106
226105
|
`
|
|
226107
|
-
${_chalk.bold.hex(colors.
|
|
226106
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
226108
226107
|
" \u2718 Error "
|
|
226109
|
-
)} ${_chalk.hex(colors.
|
|
226108
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
226110
226109
|
`
|
|
226111
226110
|
);
|
|
226112
226111
|
};
|
|
@@ -226378,7 +226377,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
226378
226377
|
success: process.env[`${prefix}SUCCESS`],
|
|
226379
226378
|
info: process.env[`${prefix}INFO`],
|
|
226380
226379
|
warning: process.env[`${prefix}WARNING`],
|
|
226381
|
-
|
|
226380
|
+
danger: process.env[`${prefix}DANGER`],
|
|
226382
226381
|
fatal: process.env[`${prefix}FATAL`],
|
|
226383
226382
|
positive: process.env[`${prefix}POSITIVE`],
|
|
226384
226383
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -226404,7 +226403,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
226404
226403
|
success: process.env[`${prefix}SUCCESS`],
|
|
226405
226404
|
info: process.env[`${prefix}INFO`],
|
|
226406
226405
|
warning: process.env[`${prefix}WARNING`],
|
|
226407
|
-
|
|
226406
|
+
danger: process.env[`${prefix}DANGER`],
|
|
226408
226407
|
fatal: process.env[`${prefix}FATAL`],
|
|
226409
226408
|
positive: process.env[`${prefix}POSITIVE`],
|
|
226410
226409
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -226624,8 +226623,8 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226624
226623
|
if (config2.warning) {
|
|
226625
226624
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
226626
226625
|
}
|
|
226627
|
-
if (config2.
|
|
226628
|
-
process.env[`${prefix}
|
|
226626
|
+
if (config2.danger) {
|
|
226627
|
+
process.env[`${prefix}DANGER`] = config2.danger;
|
|
226629
226628
|
}
|
|
226630
226629
|
if (config2.fatal) {
|
|
226631
226630
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
@@ -226674,8 +226673,8 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226674
226673
|
if (config2.warning) {
|
|
226675
226674
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
226676
226675
|
}
|
|
226677
|
-
if (config2.
|
|
226678
|
-
process.env[`${prefix}
|
|
226676
|
+
if (config2.danger) {
|
|
226677
|
+
process.env[`${prefix}DANGER`] = config2.danger;
|
|
226679
226678
|
}
|
|
226680
226679
|
if (config2.fatal) {
|
|
226681
226680
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
package/src/commit/index.js
CHANGED
|
@@ -37312,17 +37312,17 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
37312
37312
|
});
|
|
37313
37313
|
|
|
37314
37314
|
// packages/config/src/schema.ts
|
|
37315
|
-
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37315
|
+
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
37316
37316
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
37317
|
-
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37317
|
+
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").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).optional().describe("The color used to display ");
|
|
37320
|
+
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
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
|
-
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37323
|
-
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37322
|
+
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
37323
|
+
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").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
|
-
var
|
|
37325
|
+
var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger 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
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
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");
|
|
@@ -37337,7 +37337,7 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37337
37337
|
success: SuccessColorSchema,
|
|
37338
37338
|
info: InfoColorSchema,
|
|
37339
37339
|
warning: WarningColorSchema,
|
|
37340
|
-
|
|
37340
|
+
danger: DangerColorSchema,
|
|
37341
37341
|
fatal: FatalColorSchema,
|
|
37342
37342
|
positive: PositiveColorSchema,
|
|
37343
37343
|
negative: NegativeColorSchema
|
|
@@ -37353,7 +37353,7 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37353
37353
|
success: SuccessColorSchema,
|
|
37354
37354
|
info: InfoColorSchema,
|
|
37355
37355
|
warning: WarningColorSchema,
|
|
37356
|
-
|
|
37356
|
+
danger: DangerColorSchema,
|
|
37357
37357
|
fatal: FatalColorSchema,
|
|
37358
37358
|
positive: PositiveColorSchema,
|
|
37359
37359
|
negative: NegativeColorSchema
|
|
@@ -37373,7 +37373,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37373
37373
|
success: SuccessColorSchema,
|
|
37374
37374
|
info: InfoColorSchema,
|
|
37375
37375
|
warning: WarningColorSchema,
|
|
37376
|
-
|
|
37376
|
+
danger: DangerColorSchema,
|
|
37377
37377
|
fatal: FatalColorSchema,
|
|
37378
37378
|
positive: PositiveColorSchema,
|
|
37379
37379
|
negative: NegativeColorSchema
|
|
@@ -37468,7 +37468,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37468
37468
|
"success": "#087f5b",
|
|
37469
37469
|
"info": "#0550ae",
|
|
37470
37470
|
"warning": "#e3b341",
|
|
37471
|
-
"
|
|
37471
|
+
"danger": "#D8314A",
|
|
37472
37472
|
"positive": "#22c55e",
|
|
37473
37473
|
"negative": "#dc2626"
|
|
37474
37474
|
},
|
|
@@ -37481,32 +37481,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37481
37481
|
"success": "#10b981",
|
|
37482
37482
|
"info": "#58a6ff",
|
|
37483
37483
|
"warning": "#f3d371",
|
|
37484
|
-
"
|
|
37484
|
+
"danger": "#D8314A",
|
|
37485
37485
|
"positive": "#22c55e",
|
|
37486
37486
|
"negative": "#dc2626"
|
|
37487
37487
|
}
|
|
37488
37488
|
};
|
|
37489
|
-
var DEFAULT_STORM_CONFIG = {
|
|
37490
|
-
name: "storm",
|
|
37491
|
-
namespace: "storm-software",
|
|
37492
|
-
license: "Apache 2.0",
|
|
37493
|
-
homepage: "https://stormsoftware.com",
|
|
37494
|
-
owner: "@storm-software/development",
|
|
37495
|
-
worker: "stormie-bot",
|
|
37496
|
-
runtimeDirectory: "node_modules/.storm",
|
|
37497
|
-
cacheDirectory: "node_modules/.cache/storm",
|
|
37498
|
-
skipCache: false,
|
|
37499
|
-
packageManager: "npm",
|
|
37500
|
-
timezone: "America/New_York",
|
|
37501
|
-
locale: "en-US",
|
|
37502
|
-
env: "production",
|
|
37503
|
-
branch: "main",
|
|
37504
|
-
organization: "storm-software",
|
|
37505
|
-
configFile: null,
|
|
37506
|
-
runtimeVersion: "1.0.0",
|
|
37507
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
37508
|
-
extensions: {}
|
|
37509
|
-
};
|
|
37510
37489
|
|
|
37511
37490
|
// packages/config-tools/src/types.ts
|
|
37512
37491
|
var LogLevel = {
|
|
@@ -37568,9 +37547,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
|
|
|
37568
37547
|
return (message) => {
|
|
37569
37548
|
console.error(
|
|
37570
37549
|
`
|
|
37571
|
-
${_chalk.bold.hex(colors.
|
|
37550
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
37572
37551
|
" \u{1F480} Fatal "
|
|
37573
|
-
)} ${_chalk.hex(colors.
|
|
37552
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
37574
37553
|
`
|
|
37575
37554
|
);
|
|
37576
37555
|
};
|
|
@@ -37579,9 +37558,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
37579
37558
|
return (message) => {
|
|
37580
37559
|
console.error(
|
|
37581
37560
|
`
|
|
37582
|
-
${_chalk.bold.hex(colors.
|
|
37561
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
37583
37562
|
" \u2718 Error "
|
|
37584
|
-
)} ${_chalk.hex(colors.
|
|
37563
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
37585
37564
|
`
|
|
37586
37565
|
);
|
|
37587
37566
|
};
|