@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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 2.59.2 (2024-09-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
- **eslint:** Resolve invalid import path issue ([f9c60c86](https://github.com/storm-software/storm-ops/commit/f9c60c86))
|
|
7
|
+
|
|
8
|
+
## 2.59.1 (2024-09-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- **eslint:** Resolve issue with invalid react file configurations ([524b22be](https://github.com/storm-software/storm-ops/commit/524b22be))
|
|
14
|
+
|
|
1
15
|
## 2.59.0 (2024-09-15)
|
|
2
16
|
|
|
3
17
|
|
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
|
@@ -229899,8 +229899,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
229899
229899
|
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");
|
|
229900
229900
|
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");
|
|
229901
229901
|
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");
|
|
229902
|
-
var
|
|
229903
|
-
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");
|
|
229902
|
+
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
229903
|
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
229904
|
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");
|
|
229906
229905
|
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");
|
|
@@ -229912,8 +229911,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
229912
229911
|
foreground: LightColorSchema,
|
|
229913
229912
|
background: DarkColorSchema,
|
|
229914
229913
|
brand: BrandColorSchema,
|
|
229915
|
-
|
|
229916
|
-
brand3: Brand3ColorSchema,
|
|
229914
|
+
alternate: AlternateColorSchema,
|
|
229917
229915
|
accent: AccentColorSchema,
|
|
229918
229916
|
help: HelpColorSchema,
|
|
229919
229917
|
success: SuccessColorSchema,
|
|
@@ -229926,8 +229924,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
229926
229924
|
foreground: DarkColorSchema,
|
|
229927
229925
|
background: LightColorSchema,
|
|
229928
229926
|
brand: BrandColorSchema,
|
|
229929
|
-
|
|
229930
|
-
brand3: Brand3ColorSchema,
|
|
229927
|
+
alternate: AlternateColorSchema,
|
|
229931
229928
|
accent: AccentColorSchema,
|
|
229932
229929
|
help: HelpColorSchema,
|
|
229933
229930
|
success: SuccessColorSchema,
|
|
@@ -229944,8 +229941,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
229944
229941
|
dark: DarkColorSchema,
|
|
229945
229942
|
light: LightColorSchema,
|
|
229946
229943
|
brand: BrandColorSchema,
|
|
229947
|
-
|
|
229948
|
-
brand3: Brand3ColorSchema,
|
|
229944
|
+
alternate: AlternateColorSchema,
|
|
229949
229945
|
accent: AccentColorSchema,
|
|
229950
229946
|
help: HelpColorSchema,
|
|
229951
229947
|
success: SuccessColorSchema,
|
|
@@ -230051,29 +230047,25 @@ var COLOR_KEYS = [
|
|
|
230051
230047
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
230052
230048
|
import { join as join3 } from "node:path";
|
|
230053
230049
|
var DEFAULT_COLOR_CONFIG = {
|
|
230054
|
-
light: {
|
|
230055
|
-
background: "#
|
|
230056
|
-
foreground: "#
|
|
230057
|
-
brand: "#1fb2a6",
|
|
230058
|
-
|
|
230059
|
-
|
|
230060
|
-
|
|
230061
|
-
|
|
230062
|
-
|
|
230063
|
-
warning: "#e3b341",
|
|
230064
|
-
error: "#a40e26"
|
|
230050
|
+
"light": {
|
|
230051
|
+
"background": "#fafafa",
|
|
230052
|
+
"foreground": "#121212",
|
|
230053
|
+
"brand": "#1fb2a6",
|
|
230054
|
+
"help": "#5C4EE5",
|
|
230055
|
+
"success": "#087f5b",
|
|
230056
|
+
"info": "#0550ae",
|
|
230057
|
+
"warning": "#e3b341",
|
|
230058
|
+
"error": "#a40e26"
|
|
230065
230059
|
},
|
|
230066
|
-
dark: {
|
|
230067
|
-
background: "#
|
|
230068
|
-
foreground: "#
|
|
230069
|
-
brand: "#
|
|
230070
|
-
|
|
230071
|
-
|
|
230072
|
-
|
|
230073
|
-
|
|
230074
|
-
|
|
230075
|
-
warning: "#F3D371",
|
|
230076
|
-
error: "#d1242f"
|
|
230060
|
+
"dark": {
|
|
230061
|
+
"background": "#22272e",
|
|
230062
|
+
"foreground": "#f0f0f0",
|
|
230063
|
+
"brand": "#3fc1b0",
|
|
230064
|
+
"help": "#5C4EE5",
|
|
230065
|
+
"success": "#10b981",
|
|
230066
|
+
"info": "#58a6ff",
|
|
230067
|
+
"warning": "#f3d371",
|
|
230068
|
+
"error": "#d1242f"
|
|
230077
230069
|
}
|
|
230078
230070
|
};
|
|
230079
230071
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -230549,8 +230541,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
230549
230541
|
dark: process.env[`${prefix}DARK`],
|
|
230550
230542
|
light: process.env[`${prefix}LIGHT`],
|
|
230551
230543
|
brand: process.env[`${prefix}BRAND`],
|
|
230552
|
-
|
|
230553
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
230544
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
230554
230545
|
accent: process.env[`${prefix}ACCENT`],
|
|
230555
230546
|
help: process.env[`${prefix}HELP`],
|
|
230556
230547
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -230573,8 +230564,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
230573
230564
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
230574
230565
|
background: process.env[`${prefix}BACKGROUND`],
|
|
230575
230566
|
brand: process.env[`${prefix}BRAND`],
|
|
230576
|
-
|
|
230577
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
230567
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
230578
230568
|
accent: process.env[`${prefix}ACCENT`],
|
|
230579
230569
|
help: process.env[`${prefix}HELP`],
|
|
230580
230570
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -230777,11 +230767,8 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230777
230767
|
if (config2.brand) {
|
|
230778
230768
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
230779
230769
|
}
|
|
230780
|
-
if (config2.
|
|
230781
|
-
process.env[`${prefix}
|
|
230782
|
-
}
|
|
230783
|
-
if (config2.brand3) {
|
|
230784
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
230770
|
+
if (config2.alternate) {
|
|
230771
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
230785
230772
|
}
|
|
230786
230773
|
if (config2.accent) {
|
|
230787
230774
|
process.env[`${prefix}ACCENT`] = config2.accent;
|
|
@@ -230821,11 +230808,8 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
|
|
|
230821
230808
|
if (config2.brand) {
|
|
230822
230809
|
process.env[`${prefix}BRAND`] = config2.brand;
|
|
230823
230810
|
}
|
|
230824
|
-
if (config2.
|
|
230825
|
-
process.env[`${prefix}
|
|
230826
|
-
}
|
|
230827
|
-
if (config2.brand3) {
|
|
230828
|
-
process.env[`${prefix}BRAND3`] = config2.brand3;
|
|
230811
|
+
if (config2.alternate) {
|
|
230812
|
+
process.env[`${prefix}ALTERNATE`] = config2.alternate;
|
|
230829
230813
|
}
|
|
230830
230814
|
if (config2.accent) {
|
|
230831
230815
|
process.env[`${prefix}ACCENT`] = config2.accent;
|
package/bin/post-checkout.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/post-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 = {
|
|
@@ -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/post-merge.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;
|