@storm-software/git-tools 2.59.0 → 2.59.2
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 +14 -0
- package/README.md +1 -1
- package/bin/git.js +28 -44
- package/bin/post-checkout.js +28 -44
- package/bin/post-commit.js +28 -44
- package/bin/post-merge.js +28 -44
- package/bin/pre-commit.js +28 -44
- package/bin/pre-install.js +28 -44
- package/bin/pre-push.js +28 -44
- package/bin/prepare.js +28 -44
- package/bin/version-warning.js +28 -44
- package/package.json +1 -1
- package/src/cli/index.js +28 -44
- package/src/commit/index.js +22 -30
- package/src/commitizen/index.js +22 -30
- package/src/index.js +28 -44
- package/src/release/index.js +22 -30
package/bin/version-warning.js
CHANGED
|
@@ -66216,8 +66216,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
66216
66216
|
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").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
66218
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
66219
|
-
var
|
|
66220
|
-
var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
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");
|
|
66221
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");
|
|
66222
66221
|
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
66222
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -66229,8 +66228,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66229
66228
|
foreground: LightColorSchema,
|
|
66230
66229
|
background: DarkColorSchema,
|
|
66231
66230
|
brand: BrandColorSchema,
|
|
66232
|
-
|
|
66233
|
-
brand3: Brand3ColorSchema,
|
|
66231
|
+
alternate: AlternateColorSchema,
|
|
66234
66232
|
accent: AccentColorSchema,
|
|
66235
66233
|
help: HelpColorSchema,
|
|
66236
66234
|
success: SuccessColorSchema,
|
|
@@ -66243,8 +66241,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66243
66241
|
foreground: DarkColorSchema,
|
|
66244
66242
|
background: LightColorSchema,
|
|
66245
66243
|
brand: BrandColorSchema,
|
|
66246
|
-
|
|
66247
|
-
brand3: Brand3ColorSchema,
|
|
66244
|
+
alternate: AlternateColorSchema,
|
|
66248
66245
|
accent: AccentColorSchema,
|
|
66249
66246
|
help: HelpColorSchema,
|
|
66250
66247
|
success: SuccessColorSchema,
|
|
@@ -66261,8 +66258,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66261
66258
|
dark: DarkColorSchema,
|
|
66262
66259
|
light: LightColorSchema,
|
|
66263
66260
|
brand: BrandColorSchema,
|
|
66264
|
-
|
|
66265
|
-
brand3: Brand3ColorSchema,
|
|
66261
|
+
alternate: AlternateColorSchema,
|
|
66266
66262
|
accent: AccentColorSchema,
|
|
66267
66263
|
help: HelpColorSchema,
|
|
66268
66264
|
success: SuccessColorSchema,
|
|
@@ -66368,29 +66364,25 @@ var COLOR_KEYS = [
|
|
|
66368
66364
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
66369
66365
|
import { join as join3 } from "node:path";
|
|
66370
66366
|
var DEFAULT_COLOR_CONFIG = {
|
|
66371
|
-
light: {
|
|
66372
|
-
background: "#
|
|
66373
|
-
foreground: "#
|
|
66374
|
-
brand: "#1fb2a6",
|
|
66375
|
-
|
|
66376
|
-
|
|
66377
|
-
|
|
66378
|
-
|
|
66379
|
-
|
|
66380
|
-
warning: "#e3b341",
|
|
66381
|
-
error: "#a40e26"
|
|
66367
|
+
"light": {
|
|
66368
|
+
"background": "#fafafa",
|
|
66369
|
+
"foreground": "#121212",
|
|
66370
|
+
"brand": "#1fb2a6",
|
|
66371
|
+
"help": "#5C4EE5",
|
|
66372
|
+
"success": "#087f5b",
|
|
66373
|
+
"info": "#0550ae",
|
|
66374
|
+
"warning": "#e3b341",
|
|
66375
|
+
"error": "#a40e26"
|
|
66382
66376
|
},
|
|
66383
|
-
dark: {
|
|
66384
|
-
background: "#
|
|
66385
|
-
foreground: "#
|
|
66386
|
-
brand: "#
|
|
66387
|
-
|
|
66388
|
-
|
|
66389
|
-
|
|
66390
|
-
|
|
66391
|
-
|
|
66392
|
-
warning: "#F3D371",
|
|
66393
|
-
error: "#d1242f"
|
|
66377
|
+
"dark": {
|
|
66378
|
+
"background": "#22272e",
|
|
66379
|
+
"foreground": "#f0f0f0",
|
|
66380
|
+
"brand": "#3fc1b0",
|
|
66381
|
+
"help": "#5C4EE5",
|
|
66382
|
+
"success": "#10b981",
|
|
66383
|
+
"info": "#58a6ff",
|
|
66384
|
+
"warning": "#f3d371",
|
|
66385
|
+
"error": "#d1242f"
|
|
66394
66386
|
}
|
|
66395
66387
|
};
|
|
66396
66388
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66860,8 +66852,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66860
66852
|
dark: process.env[`${prefix}DARK`],
|
|
66861
66853
|
light: process.env[`${prefix}LIGHT`],
|
|
66862
66854
|
brand: process.env[`${prefix}BRAND`],
|
|
66863
|
-
|
|
66864
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66855
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66865
66856
|
accent: process.env[`${prefix}ACCENT`],
|
|
66866
66857
|
help: process.env[`${prefix}HELP`],
|
|
66867
66858
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -66884,8 +66875,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66884
66875
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
66885
66876
|
background: process.env[`${prefix}BACKGROUND`],
|
|
66886
66877
|
brand: process.env[`${prefix}BRAND`],
|
|
66887
|
-
|
|
66888
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66878
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66889
66879
|
accent: process.env[`${prefix}ACCENT`],
|
|
66890
66880
|
help: process.env[`${prefix}HELP`],
|
|
66891
66881
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67088,11 +67078,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67088
67078
|
if (config.brand) {
|
|
67089
67079
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67090
67080
|
}
|
|
67091
|
-
if (config.
|
|
67092
|
-
process.env[`${prefix}
|
|
67093
|
-
}
|
|
67094
|
-
if (config.brand3) {
|
|
67095
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67081
|
+
if (config.alternate) {
|
|
67082
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67096
67083
|
}
|
|
67097
67084
|
if (config.accent) {
|
|
67098
67085
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -67132,11 +67119,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67132
67119
|
if (config.brand) {
|
|
67133
67120
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67134
67121
|
}
|
|
67135
|
-
if (config.
|
|
67136
|
-
process.env[`${prefix}
|
|
67137
|
-
}
|
|
67138
|
-
if (config.brand3) {
|
|
67139
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67122
|
+
if (config.alternate) {
|
|
67123
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67140
67124
|
}
|
|
67141
67125
|
if (config.accent) {
|
|
67142
67126
|
process.env[`${prefix}ACCENT`] = config.accent;
|
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -225737,8 +225737,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
225737
225737
|
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
225738
225738
|
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");
|
|
225739
225739
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
225740
|
-
var
|
|
225741
|
-
var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
225740
|
+
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
225741
|
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
225742
|
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");
|
|
225744
225743
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -225750,8 +225749,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
225750
225749
|
foreground: LightColorSchema,
|
|
225751
225750
|
background: DarkColorSchema,
|
|
225752
225751
|
brand: BrandColorSchema,
|
|
225753
|
-
|
|
225754
|
-
brand3: Brand3ColorSchema,
|
|
225752
|
+
alternate: AlternateColorSchema,
|
|
225755
225753
|
accent: AccentColorSchema,
|
|
225756
225754
|
help: HelpColorSchema,
|
|
225757
225755
|
success: SuccessColorSchema,
|
|
@@ -225764,8 +225762,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
225764
225762
|
foreground: DarkColorSchema,
|
|
225765
225763
|
background: LightColorSchema,
|
|
225766
225764
|
brand: BrandColorSchema,
|
|
225767
|
-
|
|
225768
|
-
brand3: Brand3ColorSchema,
|
|
225765
|
+
alternate: AlternateColorSchema,
|
|
225769
225766
|
accent: AccentColorSchema,
|
|
225770
225767
|
help: HelpColorSchema,
|
|
225771
225768
|
success: SuccessColorSchema,
|
|
@@ -225782,8 +225779,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
225782
225779
|
dark: DarkColorSchema,
|
|
225783
225780
|
light: LightColorSchema,
|
|
225784
225781
|
brand: BrandColorSchema,
|
|
225785
|
-
|
|
225786
|
-
brand3: Brand3ColorSchema,
|
|
225782
|
+
alternate: AlternateColorSchema,
|
|
225787
225783
|
accent: AccentColorSchema,
|
|
225788
225784
|
help: HelpColorSchema,
|
|
225789
225785
|
success: SuccessColorSchema,
|
|
@@ -225889,29 +225885,25 @@ var COLOR_KEYS = [
|
|
|
225889
225885
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
225890
225886
|
import { join as join3 } from "node:path";
|
|
225891
225887
|
var DEFAULT_COLOR_CONFIG = {
|
|
225892
|
-
light: {
|
|
225893
|
-
background: "#
|
|
225894
|
-
foreground: "#
|
|
225895
|
-
brand: "#1fb2a6",
|
|
225896
|
-
|
|
225897
|
-
|
|
225898
|
-
|
|
225899
|
-
|
|
225900
|
-
|
|
225901
|
-
warning: "#e3b341",
|
|
225902
|
-
error: "#a40e26"
|
|
225888
|
+
"light": {
|
|
225889
|
+
"background": "#fafafa",
|
|
225890
|
+
"foreground": "#121212",
|
|
225891
|
+
"brand": "#1fb2a6",
|
|
225892
|
+
"help": "#5C4EE5",
|
|
225893
|
+
"success": "#087f5b",
|
|
225894
|
+
"info": "#0550ae",
|
|
225895
|
+
"warning": "#e3b341",
|
|
225896
|
+
"error": "#a40e26"
|
|
225903
225897
|
},
|
|
225904
|
-
dark: {
|
|
225905
|
-
background: "#
|
|
225906
|
-
foreground: "#
|
|
225907
|
-
brand: "#
|
|
225908
|
-
|
|
225909
|
-
|
|
225910
|
-
|
|
225911
|
-
|
|
225912
|
-
|
|
225913
|
-
warning: "#F3D371",
|
|
225914
|
-
error: "#d1242f"
|
|
225898
|
+
"dark": {
|
|
225899
|
+
"background": "#22272e",
|
|
225900
|
+
"foreground": "#f0f0f0",
|
|
225901
|
+
"brand": "#3fc1b0",
|
|
225902
|
+
"help": "#5C4EE5",
|
|
225903
|
+
"success": "#10b981",
|
|
225904
|
+
"info": "#58a6ff",
|
|
225905
|
+
"warning": "#f3d371",
|
|
225906
|
+
"error": "#d1242f"
|
|
225915
225907
|
}
|
|
225916
225908
|
};
|
|
225917
225909
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -226344,8 +226336,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
226344
226336
|
dark: process.env[`${prefix}DARK`],
|
|
226345
226337
|
light: process.env[`${prefix}LIGHT`],
|
|
226346
226338
|
brand: process.env[`${prefix}BRAND`],
|
|
226347
|
-
|
|
226348
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
226339
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
226349
226340
|
accent: process.env[`${prefix}ACCENT`],
|
|
226350
226341
|
help: process.env[`${prefix}HELP`],
|
|
226351
226342
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -226368,8 +226359,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
226368
226359
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
226369
226360
|
background: process.env[`${prefix}BACKGROUND`],
|
|
226370
226361
|
brand: process.env[`${prefix}BRAND`],
|
|
226371
|
-
|
|
226372
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
226362
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
226373
226363
|
accent: process.env[`${prefix}ACCENT`],
|
|
226374
226364
|
help: process.env[`${prefix}HELP`],
|
|
226375
226365
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -226572,11 +226562,8 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226572
226562
|
if (config2.brand) {
|
|
226573
226563
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
226574
226564
|
}
|
|
226575
|
-
if (config2.
|
|
226576
|
-
process.env[`${prefix}
|
|
226577
|
-
}
|
|
226578
|
-
if (config2.brand3) {
|
|
226579
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
226565
|
+
if (config2.alternate) {
|
|
226566
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
226580
226567
|
}
|
|
226581
226568
|
if (config2.accent) {
|
|
226582
226569
|
process.env[`${prefix}ACCENT`] = config2.accent;
|
|
@@ -226616,11 +226603,8 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226616
226603
|
if (config2.brand) {
|
|
226617
226604
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
226618
226605
|
}
|
|
226619
|
-
if (config2.
|
|
226620
|
-
process.env[`${prefix}
|
|
226621
|
-
}
|
|
226622
|
-
if (config2.brand3) {
|
|
226623
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
226606
|
+
if (config2.alternate) {
|
|
226607
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
226624
226608
|
}
|
|
226625
226609
|
if (config2.accent) {
|
|
226626
226610
|
process.env[`${prefix}ACCENT`] = config2.accent;
|
package/src/commit/index.js
CHANGED
|
@@ -37315,8 +37315,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
37315
37315
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").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
37317
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
37318
|
-
var
|
|
37319
|
-
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
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");
|
|
37320
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");
|
|
37321
37320
|
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
37321
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -37328,8 +37327,7 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37328
37327
|
foreground: LightColorSchema,
|
|
37329
37328
|
background: DarkColorSchema,
|
|
37330
37329
|
brand: BrandColorSchema,
|
|
37331
|
-
|
|
37332
|
-
brand3: Brand3ColorSchema,
|
|
37330
|
+
alternate: AlternateColorSchema,
|
|
37333
37331
|
accent: AccentColorSchema,
|
|
37334
37332
|
help: HelpColorSchema,
|
|
37335
37333
|
success: SuccessColorSchema,
|
|
@@ -37342,8 +37340,7 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37342
37340
|
foreground: DarkColorSchema,
|
|
37343
37341
|
background: LightColorSchema,
|
|
37344
37342
|
brand: BrandColorSchema,
|
|
37345
|
-
|
|
37346
|
-
brand3: Brand3ColorSchema,
|
|
37343
|
+
alternate: AlternateColorSchema,
|
|
37347
37344
|
accent: AccentColorSchema,
|
|
37348
37345
|
help: HelpColorSchema,
|
|
37349
37346
|
success: SuccessColorSchema,
|
|
@@ -37360,8 +37357,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37360
37357
|
dark: DarkColorSchema,
|
|
37361
37358
|
light: LightColorSchema,
|
|
37362
37359
|
brand: BrandColorSchema,
|
|
37363
|
-
|
|
37364
|
-
brand3: Brand3ColorSchema,
|
|
37360
|
+
alternate: AlternateColorSchema,
|
|
37365
37361
|
accent: AccentColorSchema,
|
|
37366
37362
|
help: HelpColorSchema,
|
|
37367
37363
|
success: SuccessColorSchema,
|
|
@@ -37451,29 +37447,25 @@ var StormConfigSchema = z.object({
|
|
|
37451
37447
|
|
|
37452
37448
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
37453
37449
|
var DEFAULT_COLOR_CONFIG = {
|
|
37454
|
-
light: {
|
|
37455
|
-
background: "#
|
|
37456
|
-
foreground: "#
|
|
37457
|
-
brand: "#1fb2a6",
|
|
37458
|
-
|
|
37459
|
-
|
|
37460
|
-
|
|
37461
|
-
|
|
37462
|
-
|
|
37463
|
-
warning: "#e3b341",
|
|
37464
|
-
error: "#a40e26"
|
|
37450
|
+
"light": {
|
|
37451
|
+
"background": "#fafafa",
|
|
37452
|
+
"foreground": "#121212",
|
|
37453
|
+
"brand": "#1fb2a6",
|
|
37454
|
+
"help": "#5C4EE5",
|
|
37455
|
+
"success": "#087f5b",
|
|
37456
|
+
"info": "#0550ae",
|
|
37457
|
+
"warning": "#e3b341",
|
|
37458
|
+
"error": "#a40e26"
|
|
37465
37459
|
},
|
|
37466
|
-
dark: {
|
|
37467
|
-
background: "#
|
|
37468
|
-
foreground: "#
|
|
37469
|
-
brand: "#
|
|
37470
|
-
|
|
37471
|
-
|
|
37472
|
-
|
|
37473
|
-
|
|
37474
|
-
|
|
37475
|
-
warning: "#F3D371",
|
|
37476
|
-
error: "#d1242f"
|
|
37460
|
+
"dark": {
|
|
37461
|
+
"background": "#22272e",
|
|
37462
|
+
"foreground": "#f0f0f0",
|
|
37463
|
+
"brand": "#3fc1b0",
|
|
37464
|
+
"help": "#5C4EE5",
|
|
37465
|
+
"success": "#10b981",
|
|
37466
|
+
"info": "#58a6ff",
|
|
37467
|
+
"warning": "#f3d371",
|
|
37468
|
+
"error": "#d1242f"
|
|
37477
37469
|
}
|
|
37478
37470
|
};
|
|
37479
37471
|
var DEFAULT_STORM_CONFIG = {
|
package/src/commitizen/index.js
CHANGED
|
@@ -37262,8 +37262,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
37262
37262
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
37263
37263
|
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");
|
|
37264
37264
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
37265
|
-
var
|
|
37266
|
-
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
37265
|
+
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");
|
|
37267
37266
|
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");
|
|
37268
37267
|
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");
|
|
37269
37268
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -37275,8 +37274,7 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37275
37274
|
foreground: LightColorSchema,
|
|
37276
37275
|
background: DarkColorSchema,
|
|
37277
37276
|
brand: BrandColorSchema,
|
|
37278
|
-
|
|
37279
|
-
brand3: Brand3ColorSchema,
|
|
37277
|
+
alternate: AlternateColorSchema,
|
|
37280
37278
|
accent: AccentColorSchema,
|
|
37281
37279
|
help: HelpColorSchema,
|
|
37282
37280
|
success: SuccessColorSchema,
|
|
@@ -37289,8 +37287,7 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37289
37287
|
foreground: DarkColorSchema,
|
|
37290
37288
|
background: LightColorSchema,
|
|
37291
37289
|
brand: BrandColorSchema,
|
|
37292
|
-
|
|
37293
|
-
brand3: Brand3ColorSchema,
|
|
37290
|
+
alternate: AlternateColorSchema,
|
|
37294
37291
|
accent: AccentColorSchema,
|
|
37295
37292
|
help: HelpColorSchema,
|
|
37296
37293
|
success: SuccessColorSchema,
|
|
@@ -37307,8 +37304,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37307
37304
|
dark: DarkColorSchema,
|
|
37308
37305
|
light: LightColorSchema,
|
|
37309
37306
|
brand: BrandColorSchema,
|
|
37310
|
-
|
|
37311
|
-
brand3: Brand3ColorSchema,
|
|
37307
|
+
alternate: AlternateColorSchema,
|
|
37312
37308
|
accent: AccentColorSchema,
|
|
37313
37309
|
help: HelpColorSchema,
|
|
37314
37310
|
success: SuccessColorSchema,
|
|
@@ -37398,29 +37394,25 @@ var StormConfigSchema = z.object({
|
|
|
37398
37394
|
|
|
37399
37395
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
37400
37396
|
var DEFAULT_COLOR_CONFIG = {
|
|
37401
|
-
light: {
|
|
37402
|
-
background: "#
|
|
37403
|
-
foreground: "#
|
|
37404
|
-
brand: "#1fb2a6",
|
|
37405
|
-
|
|
37406
|
-
|
|
37407
|
-
|
|
37408
|
-
|
|
37409
|
-
|
|
37410
|
-
warning: "#e3b341",
|
|
37411
|
-
error: "#a40e26"
|
|
37397
|
+
"light": {
|
|
37398
|
+
"background": "#fafafa",
|
|
37399
|
+
"foreground": "#121212",
|
|
37400
|
+
"brand": "#1fb2a6",
|
|
37401
|
+
"help": "#5C4EE5",
|
|
37402
|
+
"success": "#087f5b",
|
|
37403
|
+
"info": "#0550ae",
|
|
37404
|
+
"warning": "#e3b341",
|
|
37405
|
+
"error": "#a40e26"
|
|
37412
37406
|
},
|
|
37413
|
-
dark: {
|
|
37414
|
-
background: "#
|
|
37415
|
-
foreground: "#
|
|
37416
|
-
brand: "#
|
|
37417
|
-
|
|
37418
|
-
|
|
37419
|
-
|
|
37420
|
-
|
|
37421
|
-
|
|
37422
|
-
warning: "#F3D371",
|
|
37423
|
-
error: "#d1242f"
|
|
37407
|
+
"dark": {
|
|
37408
|
+
"background": "#22272e",
|
|
37409
|
+
"foreground": "#f0f0f0",
|
|
37410
|
+
"brand": "#3fc1b0",
|
|
37411
|
+
"help": "#5C4EE5",
|
|
37412
|
+
"success": "#10b981",
|
|
37413
|
+
"info": "#58a6ff",
|
|
37414
|
+
"warning": "#f3d371",
|
|
37415
|
+
"error": "#d1242f"
|
|
37424
37416
|
}
|
|
37425
37417
|
};
|
|
37426
37418
|
var DEFAULT_STORM_CONFIG = {
|
package/src/index.js
CHANGED
|
@@ -225737,8 +225737,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
225737
225737
|
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
225738
225738
|
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");
|
|
225739
225739
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
225740
|
-
var
|
|
225741
|
-
var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
225740
|
+
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
225741
|
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
225742
|
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");
|
|
225744
225743
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -225750,8 +225749,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
225750
225749
|
foreground: LightColorSchema,
|
|
225751
225750
|
background: DarkColorSchema,
|
|
225752
225751
|
brand: BrandColorSchema,
|
|
225753
|
-
|
|
225754
|
-
brand3: Brand3ColorSchema,
|
|
225752
|
+
alternate: AlternateColorSchema,
|
|
225755
225753
|
accent: AccentColorSchema,
|
|
225756
225754
|
help: HelpColorSchema,
|
|
225757
225755
|
success: SuccessColorSchema,
|
|
@@ -225764,8 +225762,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
225764
225762
|
foreground: DarkColorSchema,
|
|
225765
225763
|
background: LightColorSchema,
|
|
225766
225764
|
brand: BrandColorSchema,
|
|
225767
|
-
|
|
225768
|
-
brand3: Brand3ColorSchema,
|
|
225765
|
+
alternate: AlternateColorSchema,
|
|
225769
225766
|
accent: AccentColorSchema,
|
|
225770
225767
|
help: HelpColorSchema,
|
|
225771
225768
|
success: SuccessColorSchema,
|
|
@@ -225782,8 +225779,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
225782
225779
|
dark: DarkColorSchema,
|
|
225783
225780
|
light: LightColorSchema,
|
|
225784
225781
|
brand: BrandColorSchema,
|
|
225785
|
-
|
|
225786
|
-
brand3: Brand3ColorSchema,
|
|
225782
|
+
alternate: AlternateColorSchema,
|
|
225787
225783
|
accent: AccentColorSchema,
|
|
225788
225784
|
help: HelpColorSchema,
|
|
225789
225785
|
success: SuccessColorSchema,
|
|
@@ -225889,29 +225885,25 @@ var COLOR_KEYS = [
|
|
|
225889
225885
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
225890
225886
|
import { join as join3 } from "node:path";
|
|
225891
225887
|
var DEFAULT_COLOR_CONFIG = {
|
|
225892
|
-
light: {
|
|
225893
|
-
background: "#
|
|
225894
|
-
foreground: "#
|
|
225895
|
-
brand: "#1fb2a6",
|
|
225896
|
-
|
|
225897
|
-
|
|
225898
|
-
|
|
225899
|
-
|
|
225900
|
-
|
|
225901
|
-
warning: "#e3b341",
|
|
225902
|
-
error: "#a40e26"
|
|
225888
|
+
"light": {
|
|
225889
|
+
"background": "#fafafa",
|
|
225890
|
+
"foreground": "#121212",
|
|
225891
|
+
"brand": "#1fb2a6",
|
|
225892
|
+
"help": "#5C4EE5",
|
|
225893
|
+
"success": "#087f5b",
|
|
225894
|
+
"info": "#0550ae",
|
|
225895
|
+
"warning": "#e3b341",
|
|
225896
|
+
"error": "#a40e26"
|
|
225903
225897
|
},
|
|
225904
|
-
dark: {
|
|
225905
|
-
background: "#
|
|
225906
|
-
foreground: "#
|
|
225907
|
-
brand: "#
|
|
225908
|
-
|
|
225909
|
-
|
|
225910
|
-
|
|
225911
|
-
|
|
225912
|
-
|
|
225913
|
-
warning: "#F3D371",
|
|
225914
|
-
error: "#d1242f"
|
|
225898
|
+
"dark": {
|
|
225899
|
+
"background": "#22272e",
|
|
225900
|
+
"foreground": "#f0f0f0",
|
|
225901
|
+
"brand": "#3fc1b0",
|
|
225902
|
+
"help": "#5C4EE5",
|
|
225903
|
+
"success": "#10b981",
|
|
225904
|
+
"info": "#58a6ff",
|
|
225905
|
+
"warning": "#f3d371",
|
|
225906
|
+
"error": "#d1242f"
|
|
225915
225907
|
}
|
|
225916
225908
|
};
|
|
225917
225909
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -226344,8 +226336,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
226344
226336
|
dark: process.env[`${prefix}DARK`],
|
|
226345
226337
|
light: process.env[`${prefix}LIGHT`],
|
|
226346
226338
|
brand: process.env[`${prefix}BRAND`],
|
|
226347
|
-
|
|
226348
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
226339
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
226349
226340
|
accent: process.env[`${prefix}ACCENT`],
|
|
226350
226341
|
help: process.env[`${prefix}HELP`],
|
|
226351
226342
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -226368,8 +226359,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
226368
226359
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
226369
226360
|
background: process.env[`${prefix}BACKGROUND`],
|
|
226370
226361
|
brand: process.env[`${prefix}BRAND`],
|
|
226371
|
-
|
|
226372
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
226362
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
226373
226363
|
accent: process.env[`${prefix}ACCENT`],
|
|
226374
226364
|
help: process.env[`${prefix}HELP`],
|
|
226375
226365
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -226572,11 +226562,8 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226572
226562
|
if (config2.brand) {
|
|
226573
226563
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
226574
226564
|
}
|
|
226575
|
-
if (config2.
|
|
226576
|
-
process.env[`${prefix}
|
|
226577
|
-
}
|
|
226578
|
-
if (config2.brand3) {
|
|
226579
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
226565
|
+
if (config2.alternate) {
|
|
226566
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
226580
226567
|
}
|
|
226581
226568
|
if (config2.accent) {
|
|
226582
226569
|
process.env[`${prefix}ACCENT`] = config2.accent;
|
|
@@ -226616,11 +226603,8 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
226616
226603
|
if (config2.brand) {
|
|
226617
226604
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
226618
226605
|
}
|
|
226619
|
-
if (config2.
|
|
226620
|
-
process.env[`${prefix}
|
|
226621
|
-
}
|
|
226622
|
-
if (config2.brand3) {
|
|
226623
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
226606
|
+
if (config2.alternate) {
|
|
226607
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
226624
226608
|
}
|
|
226625
226609
|
if (config2.accent) {
|
|
226626
226610
|
process.env[`${prefix}ACCENT`] = config2.accent;
|