@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/pre-commit.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 = {
|
|
@@ -66865,8 +66857,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66865
66857
|
dark: process.env[`${prefix}DARK`],
|
|
66866
66858
|
light: process.env[`${prefix}LIGHT`],
|
|
66867
66859
|
brand: process.env[`${prefix}BRAND`],
|
|
66868
|
-
|
|
66869
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66860
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66870
66861
|
accent: process.env[`${prefix}ACCENT`],
|
|
66871
66862
|
help: process.env[`${prefix}HELP`],
|
|
66872
66863
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -66889,8 +66880,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66889
66880
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
66890
66881
|
background: process.env[`${prefix}BACKGROUND`],
|
|
66891
66882
|
brand: process.env[`${prefix}BRAND`],
|
|
66892
|
-
|
|
66893
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66883
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66894
66884
|
accent: process.env[`${prefix}ACCENT`],
|
|
66895
66885
|
help: process.env[`${prefix}HELP`],
|
|
66896
66886
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67093,11 +67083,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67093
67083
|
if (config.brand) {
|
|
67094
67084
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67095
67085
|
}
|
|
67096
|
-
if (config.
|
|
67097
|
-
process.env[`${prefix}
|
|
67098
|
-
}
|
|
67099
|
-
if (config.brand3) {
|
|
67100
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67086
|
+
if (config.alternate) {
|
|
67087
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67101
67088
|
}
|
|
67102
67089
|
if (config.accent) {
|
|
67103
67090
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -67137,11 +67124,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67137
67124
|
if (config.brand) {
|
|
67138
67125
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67139
67126
|
}
|
|
67140
|
-
if (config.
|
|
67141
|
-
process.env[`${prefix}
|
|
67142
|
-
}
|
|
67143
|
-
if (config.brand3) {
|
|
67144
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67127
|
+
if (config.alternate) {
|
|
67128
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67145
67129
|
}
|
|
67146
67130
|
if (config.accent) {
|
|
67147
67131
|
process.env[`${prefix}ACCENT`] = config.accent;
|
package/bin/pre-install.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 = {
|
|
@@ -66881,8 +66873,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66881
66873
|
dark: process.env[`${prefix}DARK`],
|
|
66882
66874
|
light: process.env[`${prefix}LIGHT`],
|
|
66883
66875
|
brand: process.env[`${prefix}BRAND`],
|
|
66884
|
-
|
|
66885
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66876
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66886
66877
|
accent: process.env[`${prefix}ACCENT`],
|
|
66887
66878
|
help: process.env[`${prefix}HELP`],
|
|
66888
66879
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -66905,8 +66896,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66905
66896
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
66906
66897
|
background: process.env[`${prefix}BACKGROUND`],
|
|
66907
66898
|
brand: process.env[`${prefix}BRAND`],
|
|
66908
|
-
|
|
66909
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66899
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66910
66900
|
accent: process.env[`${prefix}ACCENT`],
|
|
66911
66901
|
help: process.env[`${prefix}HELP`],
|
|
66912
66902
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67109,11 +67099,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67109
67099
|
if (config.brand) {
|
|
67110
67100
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67111
67101
|
}
|
|
67112
|
-
if (config.
|
|
67113
|
-
process.env[`${prefix}
|
|
67114
|
-
}
|
|
67115
|
-
if (config.brand3) {
|
|
67116
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67102
|
+
if (config.alternate) {
|
|
67103
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67117
67104
|
}
|
|
67118
67105
|
if (config.accent) {
|
|
67119
67106
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -67153,11 +67140,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67153
67140
|
if (config.brand) {
|
|
67154
67141
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67155
67142
|
}
|
|
67156
|
-
if (config.
|
|
67157
|
-
process.env[`${prefix}
|
|
67158
|
-
}
|
|
67159
|
-
if (config.brand3) {
|
|
67160
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67143
|
+
if (config.alternate) {
|
|
67144
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67161
67145
|
}
|
|
67162
67146
|
if (config.accent) {
|
|
67163
67147
|
process.env[`${prefix}ACCENT`] = config.accent;
|
package/bin/pre-push.js
CHANGED
|
@@ -66221,8 +66221,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
66221
66221
|
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");
|
|
66222
66222
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
66223
66223
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
66224
|
-
var
|
|
66225
|
-
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");
|
|
66224
|
+
var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
66226
66225
|
var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
66227
66226
|
var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
66228
66227
|
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");
|
|
@@ -66234,8 +66233,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
66234
66233
|
foreground: LightColorSchema,
|
|
66235
66234
|
background: DarkColorSchema,
|
|
66236
66235
|
brand: BrandColorSchema,
|
|
66237
|
-
|
|
66238
|
-
brand3: Brand3ColorSchema,
|
|
66236
|
+
alternate: AlternateColorSchema,
|
|
66239
66237
|
accent: AccentColorSchema,
|
|
66240
66238
|
help: HelpColorSchema,
|
|
66241
66239
|
success: SuccessColorSchema,
|
|
@@ -66248,8 +66246,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
66248
66246
|
foreground: DarkColorSchema,
|
|
66249
66247
|
background: LightColorSchema,
|
|
66250
66248
|
brand: BrandColorSchema,
|
|
66251
|
-
|
|
66252
|
-
brand3: Brand3ColorSchema,
|
|
66249
|
+
alternate: AlternateColorSchema,
|
|
66253
66250
|
accent: AccentColorSchema,
|
|
66254
66251
|
help: HelpColorSchema,
|
|
66255
66252
|
success: SuccessColorSchema,
|
|
@@ -66266,8 +66263,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
66266
66263
|
dark: DarkColorSchema,
|
|
66267
66264
|
light: LightColorSchema,
|
|
66268
66265
|
brand: BrandColorSchema,
|
|
66269
|
-
|
|
66270
|
-
brand3: Brand3ColorSchema,
|
|
66266
|
+
alternate: AlternateColorSchema,
|
|
66271
66267
|
accent: AccentColorSchema,
|
|
66272
66268
|
help: HelpColorSchema,
|
|
66273
66269
|
success: SuccessColorSchema,
|
|
@@ -66373,29 +66369,25 @@ var COLOR_KEYS = [
|
|
|
66373
66369
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
66374
66370
|
import { join as join3 } from "node:path";
|
|
66375
66371
|
var DEFAULT_COLOR_CONFIG = {
|
|
66376
|
-
light: {
|
|
66377
|
-
background: "#
|
|
66378
|
-
foreground: "#
|
|
66379
|
-
brand: "#1fb2a6",
|
|
66380
|
-
|
|
66381
|
-
|
|
66382
|
-
|
|
66383
|
-
|
|
66384
|
-
|
|
66385
|
-
warning: "#e3b341",
|
|
66386
|
-
error: "#a40e26"
|
|
66372
|
+
"light": {
|
|
66373
|
+
"background": "#fafafa",
|
|
66374
|
+
"foreground": "#121212",
|
|
66375
|
+
"brand": "#1fb2a6",
|
|
66376
|
+
"help": "#5C4EE5",
|
|
66377
|
+
"success": "#087f5b",
|
|
66378
|
+
"info": "#0550ae",
|
|
66379
|
+
"warning": "#e3b341",
|
|
66380
|
+
"error": "#a40e26"
|
|
66387
66381
|
},
|
|
66388
|
-
dark: {
|
|
66389
|
-
background: "#
|
|
66390
|
-
foreground: "#
|
|
66391
|
-
brand: "#
|
|
66392
|
-
|
|
66393
|
-
|
|
66394
|
-
|
|
66395
|
-
|
|
66396
|
-
|
|
66397
|
-
warning: "#F3D371",
|
|
66398
|
-
error: "#d1242f"
|
|
66382
|
+
"dark": {
|
|
66383
|
+
"background": "#22272e",
|
|
66384
|
+
"foreground": "#f0f0f0",
|
|
66385
|
+
"brand": "#3fc1b0",
|
|
66386
|
+
"help": "#5C4EE5",
|
|
66387
|
+
"success": "#10b981",
|
|
66388
|
+
"info": "#58a6ff",
|
|
66389
|
+
"warning": "#f3d371",
|
|
66390
|
+
"error": "#d1242f"
|
|
66399
66391
|
}
|
|
66400
66392
|
};
|
|
66401
66393
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -66886,8 +66878,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66886
66878
|
dark: process.env[`${prefix}DARK`],
|
|
66887
66879
|
light: process.env[`${prefix}LIGHT`],
|
|
66888
66880
|
brand: process.env[`${prefix}BRAND`],
|
|
66889
|
-
|
|
66890
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66881
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66891
66882
|
accent: process.env[`${prefix}ACCENT`],
|
|
66892
66883
|
help: process.env[`${prefix}HELP`],
|
|
66893
66884
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -66910,8 +66901,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66910
66901
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
66911
66902
|
background: process.env[`${prefix}BACKGROUND`],
|
|
66912
66903
|
brand: process.env[`${prefix}BRAND`],
|
|
66913
|
-
|
|
66914
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66904
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66915
66905
|
accent: process.env[`${prefix}ACCENT`],
|
|
66916
66906
|
help: process.env[`${prefix}HELP`],
|
|
66917
66907
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67114,11 +67104,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67114
67104
|
if (config.brand) {
|
|
67115
67105
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67116
67106
|
}
|
|
67117
|
-
if (config.
|
|
67118
|
-
process.env[`${prefix}
|
|
67119
|
-
}
|
|
67120
|
-
if (config.brand3) {
|
|
67121
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67107
|
+
if (config.alternate) {
|
|
67108
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67122
67109
|
}
|
|
67123
67110
|
if (config.accent) {
|
|
67124
67111
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -67158,11 +67145,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67158
67145
|
if (config.brand) {
|
|
67159
67146
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67160
67147
|
}
|
|
67161
|
-
if (config.
|
|
67162
|
-
process.env[`${prefix}
|
|
67163
|
-
}
|
|
67164
|
-
if (config.brand3) {
|
|
67165
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67148
|
+
if (config.alternate) {
|
|
67149
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67166
67150
|
}
|
|
67167
67151
|
if (config.accent) {
|
|
67168
67152
|
process.env[`${prefix}ACCENT`] = config.accent;
|
package/bin/prepare.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 = {
|
|
@@ -66881,8 +66873,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
66881
66873
|
dark: process.env[`${prefix}DARK`],
|
|
66882
66874
|
light: process.env[`${prefix}LIGHT`],
|
|
66883
66875
|
brand: process.env[`${prefix}BRAND`],
|
|
66884
|
-
|
|
66885
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66876
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66886
66877
|
accent: process.env[`${prefix}ACCENT`],
|
|
66887
66878
|
help: process.env[`${prefix}HELP`],
|
|
66888
66879
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -66905,8 +66896,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
66905
66896
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
66906
66897
|
background: process.env[`${prefix}BACKGROUND`],
|
|
66907
66898
|
brand: process.env[`${prefix}BRAND`],
|
|
66908
|
-
|
|
66909
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
66899
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
66910
66900
|
accent: process.env[`${prefix}ACCENT`],
|
|
66911
66901
|
help: process.env[`${prefix}HELP`],
|
|
66912
66902
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67109,11 +67099,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67109
67099
|
if (config.brand) {
|
|
67110
67100
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67111
67101
|
}
|
|
67112
|
-
if (config.
|
|
67113
|
-
process.env[`${prefix}
|
|
67114
|
-
}
|
|
67115
|
-
if (config.brand3) {
|
|
67116
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67102
|
+
if (config.alternate) {
|
|
67103
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67117
67104
|
}
|
|
67118
67105
|
if (config.accent) {
|
|
67119
67106
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -67153,11 +67140,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67153
67140
|
if (config.brand) {
|
|
67154
67141
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67155
67142
|
}
|
|
67156
|
-
if (config.
|
|
67157
|
-
process.env[`${prefix}
|
|
67158
|
-
}
|
|
67159
|
-
if (config.brand3) {
|
|
67160
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67143
|
+
if (config.alternate) {
|
|
67144
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
67161
67145
|
}
|
|
67162
67146
|
if (config.accent) {
|
|
67163
67147
|
process.env[`${prefix}ACCENT`] = config.accent;
|