@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/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/git.js
CHANGED
|
@@ -229897,17 +229897,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
229897
229897
|
});
|
|
229898
229898
|
|
|
229899
229899
|
// packages/config/src/schema.ts
|
|
229900
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
229900
|
+
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");
|
|
229901
229901
|
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");
|
|
229902
|
-
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
229902
|
+
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");
|
|
229903
229903
|
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");
|
|
229904
229904
|
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");
|
|
229905
|
-
var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
229905
|
+
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");
|
|
229906
229906
|
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");
|
|
229907
|
-
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
229908
|
-
var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
229907
|
+
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");
|
|
229908
|
+
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");
|
|
229909
229909
|
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");
|
|
229910
|
-
var
|
|
229910
|
+
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");
|
|
229911
229911
|
var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
229912
229912
|
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");
|
|
229913
229913
|
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");
|
|
@@ -229922,7 +229922,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
229922
229922
|
success: SuccessColorSchema,
|
|
229923
229923
|
info: InfoColorSchema,
|
|
229924
229924
|
warning: WarningColorSchema,
|
|
229925
|
-
|
|
229925
|
+
danger: DangerColorSchema,
|
|
229926
229926
|
fatal: FatalColorSchema,
|
|
229927
229927
|
positive: PositiveColorSchema,
|
|
229928
229928
|
negative: NegativeColorSchema
|
|
@@ -229938,7 +229938,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
229938
229938
|
success: SuccessColorSchema,
|
|
229939
229939
|
info: InfoColorSchema,
|
|
229940
229940
|
warning: WarningColorSchema,
|
|
229941
|
-
|
|
229941
|
+
danger: DangerColorSchema,
|
|
229942
229942
|
fatal: FatalColorSchema,
|
|
229943
229943
|
positive: PositiveColorSchema,
|
|
229944
229944
|
negative: NegativeColorSchema
|
|
@@ -229958,7 +229958,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
229958
229958
|
success: SuccessColorSchema,
|
|
229959
229959
|
info: InfoColorSchema,
|
|
229960
229960
|
warning: WarningColorSchema,
|
|
229961
|
-
|
|
229961
|
+
danger: DangerColorSchema,
|
|
229962
229962
|
fatal: FatalColorSchema,
|
|
229963
229963
|
positive: PositiveColorSchema,
|
|
229964
229964
|
negative: NegativeColorSchema
|
|
@@ -230055,7 +230055,7 @@ var COLOR_KEYS = [
|
|
|
230055
230055
|
"help",
|
|
230056
230056
|
"info",
|
|
230057
230057
|
"warning",
|
|
230058
|
-
"
|
|
230058
|
+
"danger",
|
|
230059
230059
|
"fatal",
|
|
230060
230060
|
"positive",
|
|
230061
230061
|
"negative"
|
|
@@ -230074,7 +230074,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
230074
230074
|
"success": "#087f5b",
|
|
230075
230075
|
"info": "#0550ae",
|
|
230076
230076
|
"warning": "#e3b341",
|
|
230077
|
-
"
|
|
230077
|
+
"danger": "#D8314A",
|
|
230078
230078
|
"positive": "#22c55e",
|
|
230079
230079
|
"negative": "#dc2626"
|
|
230080
230080
|
},
|
|
@@ -230087,7 +230087,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
230087
230087
|
"success": "#10b981",
|
|
230088
230088
|
"info": "#58a6ff",
|
|
230089
230089
|
"warning": "#f3d371",
|
|
230090
|
-
"
|
|
230090
|
+
"danger": "#D8314A",
|
|
230091
230091
|
"positive": "#22c55e",
|
|
230092
230092
|
"negative": "#dc2626"
|
|
230093
230093
|
}
|
|
@@ -230110,7 +230110,6 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
230110
230110
|
organization: "storm-software",
|
|
230111
230111
|
configFile: null,
|
|
230112
230112
|
runtimeVersion: "1.0.0",
|
|
230113
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
230114
230113
|
extensions: {}
|
|
230115
230114
|
};
|
|
230116
230115
|
var getDefaultConfig = (config2 = {}, root3) => {
|
|
@@ -230153,7 +230152,7 @@ var getDefaultConfig = (config2 = {}, root3) => {
|
|
|
230153
230152
|
}
|
|
230154
230153
|
return ret;
|
|
230155
230154
|
}, {}),
|
|
230156
|
-
colors: config2.colors
|
|
230155
|
+
colors: config2.colors,
|
|
230157
230156
|
workspaceRoot: workspaceRoot3,
|
|
230158
230157
|
name,
|
|
230159
230158
|
namespace,
|
|
@@ -230255,9 +230254,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
|
|
|
230255
230254
|
return (message) => {
|
|
230256
230255
|
console.error(
|
|
230257
230256
|
`
|
|
230258
|
-
${_chalk.bold.hex(colors.
|
|
230257
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
230259
230258
|
" \u{1F480} Fatal "
|
|
230260
|
-
)} ${_chalk.hex(colors.
|
|
230259
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
230261
230260
|
`
|
|
230262
230261
|
);
|
|
230263
230262
|
};
|
|
@@ -230266,9 +230265,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
230266
230265
|
return (message) => {
|
|
230267
230266
|
console.error(
|
|
230268
230267
|
`
|
|
230269
|
-
${_chalk.bold.hex(colors.
|
|
230268
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
230270
230269
|
" \u2718 Error "
|
|
230271
|
-
)} ${_chalk.hex(colors.
|
|
230270
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
230272
230271
|
`
|
|
230273
230272
|
);
|
|
230274
230273
|
};
|
|
@@ -230583,7 +230582,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
230583
230582
|
success: process.env[`${prefix}SUCCESS`],
|
|
230584
230583
|
info: process.env[`${prefix}INFO`],
|
|
230585
230584
|
warning: process.env[`${prefix}WARNING`],
|
|
230586
|
-
|
|
230585
|
+
danger: process.env[`${prefix}DANGER`],
|
|
230587
230586
|
fatal: process.env[`${prefix}FATAL`],
|
|
230588
230587
|
positive: process.env[`${prefix}POSITIVE`],
|
|
230589
230588
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -230609,7 +230608,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
230609
230608
|
success: process.env[`${prefix}SUCCESS`],
|
|
230610
230609
|
info: process.env[`${prefix}INFO`],
|
|
230611
230610
|
warning: process.env[`${prefix}WARNING`],
|
|
230612
|
-
|
|
230611
|
+
danger: process.env[`${prefix}DANGER`],
|
|
230613
230612
|
fatal: process.env[`${prefix}FATAL`],
|
|
230614
230613
|
positive: process.env[`${prefix}POSITIVE`],
|
|
230615
230614
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -230829,8 +230828,8 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230829
230828
|
if (config2.warning) {
|
|
230830
230829
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
230831
230830
|
}
|
|
230832
|
-
if (config2.
|
|
230833
|
-
process.env[`${prefix}
|
|
230831
|
+
if (config2.danger) {
|
|
230832
|
+
process.env[`${prefix}DANGER`] = config2.danger;
|
|
230834
230833
|
}
|
|
230835
230834
|
if (config2.fatal) {
|
|
230836
230835
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
@@ -230879,8 +230878,8 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230879
230878
|
if (config2.warning) {
|
|
230880
230879
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
230881
230880
|
}
|
|
230882
|
-
if (config2.
|
|
230883
|
-
process.env[`${prefix}
|
|
230881
|
+
if (config2.danger) {
|
|
230882
|
+
process.env[`${prefix}DANGER`] = config2.danger;
|
|
230884
230883
|
}
|
|
230885
230884
|
if (config2.fatal) {
|
|
230886
230885
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
package/bin/post-checkout.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/post-commit.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;
|