@storm-software/git-tools 2.34.1 → 2.36.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 +16 -0
- package/README.md +1 -1
- package/bin/git.js +38 -12
- package/bin/post-checkout.js +36 -10
- package/bin/post-commit.js +36 -10
- package/bin/post-merge.js +36 -10
- package/bin/pre-commit.js +36 -10
- package/bin/pre-install.js +36 -10
- package/bin/pre-push.js +36 -10
- package/bin/prepare.js +36 -10
- package/bin/version-warning.js +36 -10
- package/lefthook/lefthook.yml +10 -5
- package/package.json +1 -1
- package/src/cli/index.js +3955 -3943
- package/src/commit/index.js +16 -4
- package/src/commitizen/index.js +16 -4
- package/src/index.js +3955 -3943
- package/src/release/changelog-renderer.js +4 -4
- package/src/release/index.js +18 -6
package/bin/pre-commit.js
CHANGED
|
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
|
|
|
63041
63041
|
if (!path5) {
|
|
63042
63042
|
return "";
|
|
63043
63043
|
}
|
|
63044
|
-
if (path5
|
|
63045
|
-
|
|
63044
|
+
if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
|
|
63045
|
+
path5 = `C:${path5}`;
|
|
63046
63046
|
}
|
|
63047
63047
|
return path5.replaceAll("\\", "/");
|
|
63048
63048
|
};
|
|
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
63124
63124
|
return result;
|
|
63125
63125
|
}
|
|
63126
63126
|
|
|
63127
|
-
// packages/config-tools/src/utilities/get-default-config.ts
|
|
63128
|
-
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
63129
|
-
import { join as join3 } from "node:path";
|
|
63130
|
-
|
|
63131
63127
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
63132
63128
|
var util;
|
|
63133
63129
|
(function(util2) {
|
|
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
67043
67039
|
});
|
|
67044
67040
|
|
|
67045
67041
|
// packages/config/src/schema.ts
|
|
67046
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67042
|
+
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");
|
|
67047
67043
|
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");
|
|
67048
67044
|
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");
|
|
67045
|
+
var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
67046
|
+
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");
|
|
67049
67047
|
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");
|
|
67050
67048
|
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");
|
|
67051
67049
|
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");
|
|
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
67057
67055
|
foreground: LightColorSchema,
|
|
67058
67056
|
background: DarkColorSchema,
|
|
67059
67057
|
brand: BrandColorSchema,
|
|
67058
|
+
brand2: Brand2ColorSchema,
|
|
67059
|
+
brand3: Brand3ColorSchema,
|
|
67060
67060
|
accent: AccentColorSchema,
|
|
67061
67061
|
help: HelpColorSchema,
|
|
67062
67062
|
success: SuccessColorSchema,
|
|
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
67069
67069
|
foreground: DarkColorSchema,
|
|
67070
67070
|
background: LightColorSchema,
|
|
67071
67071
|
brand: BrandColorSchema,
|
|
67072
|
+
brand2: Brand2ColorSchema,
|
|
67073
|
+
brand3: Brand3ColorSchema,
|
|
67072
67074
|
accent: AccentColorSchema,
|
|
67073
67075
|
help: HelpColorSchema,
|
|
67074
67076
|
success: SuccessColorSchema,
|
|
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
67085
67087
|
dark: DarkColorSchema,
|
|
67086
67088
|
light: LightColorSchema,
|
|
67087
67089
|
brand: BrandColorSchema,
|
|
67090
|
+
brand2: Brand2ColorSchema,
|
|
67091
|
+
brand3: Brand3ColorSchema,
|
|
67088
67092
|
accent: AccentColorSchema,
|
|
67089
67093
|
help: HelpColorSchema,
|
|
67090
67094
|
success: SuccessColorSchema,
|
|
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
|
|
|
67187
67191
|
];
|
|
67188
67192
|
|
|
67189
67193
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
67194
|
+
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
67195
|
+
import { join as join3 } from "node:path";
|
|
67190
67196
|
var DEFAULT_COLOR_CONFIG = {
|
|
67191
67197
|
light: {
|
|
67192
67198
|
background: "#f4f4f5",
|
|
67193
67199
|
foreground: "#1d232a",
|
|
67194
67200
|
brand: "#1fb2a6",
|
|
67201
|
+
brand2: "#7434DB",
|
|
67202
|
+
brand3: "#00C2CE",
|
|
67195
67203
|
help: "#8250df",
|
|
67196
67204
|
success: "#087f5b",
|
|
67197
67205
|
info: "#0550ae",
|
|
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
67199
67207
|
error: "#a40e26"
|
|
67200
67208
|
},
|
|
67201
67209
|
dark: {
|
|
67202
|
-
background: "#
|
|
67210
|
+
background: "#0D1017",
|
|
67203
67211
|
foreground: "#fcfcf5",
|
|
67204
67212
|
brand: "#1fb2a6",
|
|
67213
|
+
brand2: "#7434DB",
|
|
67214
|
+
brand3: "#00C2CE",
|
|
67205
67215
|
help: "#8256D0",
|
|
67206
67216
|
success: "#087f5b",
|
|
67207
67217
|
info: "#316DCA",
|
|
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
67407
67417
|
console.error(
|
|
67408
67418
|
`
|
|
67409
67419
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
67410
|
-
" \u2718
|
|
67420
|
+
" \u2718 Error "
|
|
67411
67421
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
67412
67422
|
`
|
|
67413
67423
|
);
|
|
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
67417
67427
|
return (message) => {
|
|
67418
67428
|
console.warn(
|
|
67419
67429
|
`
|
|
67420
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
67430
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
67421
67431
|
" \u26A0 Warn "
|
|
67422
67432
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67423
67433
|
`
|
|
@@ -67683,6 +67693,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
67683
67693
|
dark: process.env[`${prefix}DARK`],
|
|
67684
67694
|
light: process.env[`${prefix}LIGHT`],
|
|
67685
67695
|
brand: process.env[`${prefix}BRAND`],
|
|
67696
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67697
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67686
67698
|
accent: process.env[`${prefix}ACCENT`],
|
|
67687
67699
|
help: process.env[`${prefix}HELP`],
|
|
67688
67700
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67705,6 +67717,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
67705
67717
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
67706
67718
|
background: process.env[`${prefix}BACKGROUND`],
|
|
67707
67719
|
brand: process.env[`${prefix}BRAND`],
|
|
67720
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67721
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67708
67722
|
accent: process.env[`${prefix}ACCENT`],
|
|
67709
67723
|
help: process.env[`${prefix}HELP`],
|
|
67710
67724
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67901,6 +67915,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67901
67915
|
if (config.brand) {
|
|
67902
67916
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67903
67917
|
}
|
|
67918
|
+
if (config.brand2) {
|
|
67919
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67920
|
+
}
|
|
67921
|
+
if (config.brand3) {
|
|
67922
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67923
|
+
}
|
|
67904
67924
|
if (config.accent) {
|
|
67905
67925
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67906
67926
|
}
|
|
@@ -67939,6 +67959,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67939
67959
|
if (config.brand) {
|
|
67940
67960
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67941
67961
|
}
|
|
67962
|
+
if (config.brand2) {
|
|
67963
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67964
|
+
}
|
|
67965
|
+
if (config.brand3) {
|
|
67966
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67967
|
+
}
|
|
67942
67968
|
if (config.accent) {
|
|
67943
67969
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67944
67970
|
}
|
package/bin/pre-install.js
CHANGED
|
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
|
|
|
63041
63041
|
if (!path5) {
|
|
63042
63042
|
return "";
|
|
63043
63043
|
}
|
|
63044
|
-
if (path5
|
|
63045
|
-
|
|
63044
|
+
if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
|
|
63045
|
+
path5 = `C:${path5}`;
|
|
63046
63046
|
}
|
|
63047
63047
|
return path5.replaceAll("\\", "/");
|
|
63048
63048
|
};
|
|
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
63124
63124
|
return result;
|
|
63125
63125
|
}
|
|
63126
63126
|
|
|
63127
|
-
// packages/config-tools/src/utilities/get-default-config.ts
|
|
63128
|
-
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
63129
|
-
import { join as join3 } from "node:path";
|
|
63130
|
-
|
|
63131
63127
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
63132
63128
|
var util;
|
|
63133
63129
|
(function(util2) {
|
|
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
67043
67039
|
});
|
|
67044
67040
|
|
|
67045
67041
|
// packages/config/src/schema.ts
|
|
67046
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67042
|
+
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");
|
|
67047
67043
|
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");
|
|
67048
67044
|
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");
|
|
67045
|
+
var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
67046
|
+
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");
|
|
67049
67047
|
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");
|
|
67050
67048
|
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");
|
|
67051
67049
|
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");
|
|
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
67057
67055
|
foreground: LightColorSchema,
|
|
67058
67056
|
background: DarkColorSchema,
|
|
67059
67057
|
brand: BrandColorSchema,
|
|
67058
|
+
brand2: Brand2ColorSchema,
|
|
67059
|
+
brand3: Brand3ColorSchema,
|
|
67060
67060
|
accent: AccentColorSchema,
|
|
67061
67061
|
help: HelpColorSchema,
|
|
67062
67062
|
success: SuccessColorSchema,
|
|
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
67069
67069
|
foreground: DarkColorSchema,
|
|
67070
67070
|
background: LightColorSchema,
|
|
67071
67071
|
brand: BrandColorSchema,
|
|
67072
|
+
brand2: Brand2ColorSchema,
|
|
67073
|
+
brand3: Brand3ColorSchema,
|
|
67072
67074
|
accent: AccentColorSchema,
|
|
67073
67075
|
help: HelpColorSchema,
|
|
67074
67076
|
success: SuccessColorSchema,
|
|
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
67085
67087
|
dark: DarkColorSchema,
|
|
67086
67088
|
light: LightColorSchema,
|
|
67087
67089
|
brand: BrandColorSchema,
|
|
67090
|
+
brand2: Brand2ColorSchema,
|
|
67091
|
+
brand3: Brand3ColorSchema,
|
|
67088
67092
|
accent: AccentColorSchema,
|
|
67089
67093
|
help: HelpColorSchema,
|
|
67090
67094
|
success: SuccessColorSchema,
|
|
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
|
|
|
67187
67191
|
];
|
|
67188
67192
|
|
|
67189
67193
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
67194
|
+
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
67195
|
+
import { join as join3 } from "node:path";
|
|
67190
67196
|
var DEFAULT_COLOR_CONFIG = {
|
|
67191
67197
|
light: {
|
|
67192
67198
|
background: "#f4f4f5",
|
|
67193
67199
|
foreground: "#1d232a",
|
|
67194
67200
|
brand: "#1fb2a6",
|
|
67201
|
+
brand2: "#7434DB",
|
|
67202
|
+
brand3: "#00C2CE",
|
|
67195
67203
|
help: "#8250df",
|
|
67196
67204
|
success: "#087f5b",
|
|
67197
67205
|
info: "#0550ae",
|
|
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
67199
67207
|
error: "#a40e26"
|
|
67200
67208
|
},
|
|
67201
67209
|
dark: {
|
|
67202
|
-
background: "#
|
|
67210
|
+
background: "#0D1017",
|
|
67203
67211
|
foreground: "#fcfcf5",
|
|
67204
67212
|
brand: "#1fb2a6",
|
|
67213
|
+
brand2: "#7434DB",
|
|
67214
|
+
brand3: "#00C2CE",
|
|
67205
67215
|
help: "#8256D0",
|
|
67206
67216
|
success: "#087f5b",
|
|
67207
67217
|
info: "#316DCA",
|
|
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
67407
67417
|
console.error(
|
|
67408
67418
|
`
|
|
67409
67419
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
67410
|
-
" \u2718
|
|
67420
|
+
" \u2718 Error "
|
|
67411
67421
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
67412
67422
|
`
|
|
67413
67423
|
);
|
|
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
67417
67427
|
return (message) => {
|
|
67418
67428
|
console.warn(
|
|
67419
67429
|
`
|
|
67420
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
67430
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
67421
67431
|
" \u26A0 Warn "
|
|
67422
67432
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67423
67433
|
`
|
|
@@ -67696,6 +67706,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
67696
67706
|
dark: process.env[`${prefix}DARK`],
|
|
67697
67707
|
light: process.env[`${prefix}LIGHT`],
|
|
67698
67708
|
brand: process.env[`${prefix}BRAND`],
|
|
67709
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67710
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67699
67711
|
accent: process.env[`${prefix}ACCENT`],
|
|
67700
67712
|
help: process.env[`${prefix}HELP`],
|
|
67701
67713
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67718,6 +67730,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
67718
67730
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
67719
67731
|
background: process.env[`${prefix}BACKGROUND`],
|
|
67720
67732
|
brand: process.env[`${prefix}BRAND`],
|
|
67733
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67734
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67721
67735
|
accent: process.env[`${prefix}ACCENT`],
|
|
67722
67736
|
help: process.env[`${prefix}HELP`],
|
|
67723
67737
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67914,6 +67928,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67914
67928
|
if (config.brand) {
|
|
67915
67929
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67916
67930
|
}
|
|
67931
|
+
if (config.brand2) {
|
|
67932
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67933
|
+
}
|
|
67934
|
+
if (config.brand3) {
|
|
67935
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67936
|
+
}
|
|
67917
67937
|
if (config.accent) {
|
|
67918
67938
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67919
67939
|
}
|
|
@@ -67952,6 +67972,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67952
67972
|
if (config.brand) {
|
|
67953
67973
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67954
67974
|
}
|
|
67975
|
+
if (config.brand2) {
|
|
67976
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67977
|
+
}
|
|
67978
|
+
if (config.brand3) {
|
|
67979
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67980
|
+
}
|
|
67955
67981
|
if (config.accent) {
|
|
67956
67982
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67957
67983
|
}
|
package/bin/pre-push.js
CHANGED
|
@@ -63046,8 +63046,8 @@ var correctPaths = (path6) => {
|
|
|
63046
63046
|
if (!path6) {
|
|
63047
63047
|
return "";
|
|
63048
63048
|
}
|
|
63049
|
-
if (path6
|
|
63050
|
-
|
|
63049
|
+
if (!path6.toUpperCase().startsWith("C:") && path6.includes("\\")) {
|
|
63050
|
+
path6 = `C:${path6}`;
|
|
63051
63051
|
}
|
|
63052
63052
|
return path6.replaceAll("\\", "/");
|
|
63053
63053
|
};
|
|
@@ -63129,10 +63129,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
63129
63129
|
return result;
|
|
63130
63130
|
}
|
|
63131
63131
|
|
|
63132
|
-
// packages/config-tools/src/utilities/get-default-config.ts
|
|
63133
|
-
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
63134
|
-
import { join as join3 } from "node:path";
|
|
63135
|
-
|
|
63136
63132
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
63137
63133
|
var util;
|
|
63138
63134
|
(function(util2) {
|
|
@@ -67048,9 +67044,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
67048
67044
|
});
|
|
67049
67045
|
|
|
67050
67046
|
// packages/config/src/schema.ts
|
|
67051
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67047
|
+
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");
|
|
67052
67048
|
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");
|
|
67053
67049
|
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");
|
|
67050
|
+
var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
67051
|
+
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");
|
|
67054
67052
|
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");
|
|
67055
67053
|
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");
|
|
67056
67054
|
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");
|
|
@@ -67062,6 +67060,8 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
67062
67060
|
foreground: LightColorSchema,
|
|
67063
67061
|
background: DarkColorSchema,
|
|
67064
67062
|
brand: BrandColorSchema,
|
|
67063
|
+
brand2: Brand2ColorSchema,
|
|
67064
|
+
brand3: Brand3ColorSchema,
|
|
67065
67065
|
accent: AccentColorSchema,
|
|
67066
67066
|
help: HelpColorSchema,
|
|
67067
67067
|
success: SuccessColorSchema,
|
|
@@ -67074,6 +67074,8 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
67074
67074
|
foreground: DarkColorSchema,
|
|
67075
67075
|
background: LightColorSchema,
|
|
67076
67076
|
brand: BrandColorSchema,
|
|
67077
|
+
brand2: Brand2ColorSchema,
|
|
67078
|
+
brand3: Brand3ColorSchema,
|
|
67077
67079
|
accent: AccentColorSchema,
|
|
67078
67080
|
help: HelpColorSchema,
|
|
67079
67081
|
success: SuccessColorSchema,
|
|
@@ -67090,6 +67092,8 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
67090
67092
|
dark: DarkColorSchema,
|
|
67091
67093
|
light: LightColorSchema,
|
|
67092
67094
|
brand: BrandColorSchema,
|
|
67095
|
+
brand2: Brand2ColorSchema,
|
|
67096
|
+
brand3: Brand3ColorSchema,
|
|
67093
67097
|
accent: AccentColorSchema,
|
|
67094
67098
|
help: HelpColorSchema,
|
|
67095
67099
|
success: SuccessColorSchema,
|
|
@@ -67192,11 +67196,15 @@ var COLOR_KEYS = [
|
|
|
67192
67196
|
];
|
|
67193
67197
|
|
|
67194
67198
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
67199
|
+
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
67200
|
+
import { join as join3 } from "node:path";
|
|
67195
67201
|
var DEFAULT_COLOR_CONFIG = {
|
|
67196
67202
|
light: {
|
|
67197
67203
|
background: "#f4f4f5",
|
|
67198
67204
|
foreground: "#1d232a",
|
|
67199
67205
|
brand: "#1fb2a6",
|
|
67206
|
+
brand2: "#7434DB",
|
|
67207
|
+
brand3: "#00C2CE",
|
|
67200
67208
|
help: "#8250df",
|
|
67201
67209
|
success: "#087f5b",
|
|
67202
67210
|
info: "#0550ae",
|
|
@@ -67204,9 +67212,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
67204
67212
|
error: "#a40e26"
|
|
67205
67213
|
},
|
|
67206
67214
|
dark: {
|
|
67207
|
-
background: "#
|
|
67215
|
+
background: "#0D1017",
|
|
67208
67216
|
foreground: "#fcfcf5",
|
|
67209
67217
|
brand: "#1fb2a6",
|
|
67218
|
+
brand2: "#7434DB",
|
|
67219
|
+
brand3: "#00C2CE",
|
|
67210
67220
|
help: "#8256D0",
|
|
67211
67221
|
success: "#087f5b",
|
|
67212
67222
|
info: "#316DCA",
|
|
@@ -67412,7 +67422,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
67412
67422
|
console.error(
|
|
67413
67423
|
`
|
|
67414
67424
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
67415
|
-
" \u2718
|
|
67425
|
+
" \u2718 Error "
|
|
67416
67426
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
67417
67427
|
`
|
|
67418
67428
|
);
|
|
@@ -67422,7 +67432,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
67422
67432
|
return (message) => {
|
|
67423
67433
|
console.warn(
|
|
67424
67434
|
`
|
|
67425
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
67435
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
67426
67436
|
" \u26A0 Warn "
|
|
67427
67437
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67428
67438
|
`
|
|
@@ -67701,6 +67711,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
67701
67711
|
dark: process.env[`${prefix}DARK`],
|
|
67702
67712
|
light: process.env[`${prefix}LIGHT`],
|
|
67703
67713
|
brand: process.env[`${prefix}BRAND`],
|
|
67714
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67715
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67704
67716
|
accent: process.env[`${prefix}ACCENT`],
|
|
67705
67717
|
help: process.env[`${prefix}HELP`],
|
|
67706
67718
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67723,6 +67735,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
67723
67735
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
67724
67736
|
background: process.env[`${prefix}BACKGROUND`],
|
|
67725
67737
|
brand: process.env[`${prefix}BRAND`],
|
|
67738
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67739
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67726
67740
|
accent: process.env[`${prefix}ACCENT`],
|
|
67727
67741
|
help: process.env[`${prefix}HELP`],
|
|
67728
67742
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67919,6 +67933,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67919
67933
|
if (config.brand) {
|
|
67920
67934
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67921
67935
|
}
|
|
67936
|
+
if (config.brand2) {
|
|
67937
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67938
|
+
}
|
|
67939
|
+
if (config.brand3) {
|
|
67940
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67941
|
+
}
|
|
67922
67942
|
if (config.accent) {
|
|
67923
67943
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67924
67944
|
}
|
|
@@ -67957,6 +67977,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67957
67977
|
if (config.brand) {
|
|
67958
67978
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67959
67979
|
}
|
|
67980
|
+
if (config.brand2) {
|
|
67981
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67982
|
+
}
|
|
67983
|
+
if (config.brand3) {
|
|
67984
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67985
|
+
}
|
|
67960
67986
|
if (config.accent) {
|
|
67961
67987
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67962
67988
|
}
|
package/bin/prepare.js
CHANGED
|
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
|
|
|
63041
63041
|
if (!path5) {
|
|
63042
63042
|
return "";
|
|
63043
63043
|
}
|
|
63044
|
-
if (path5
|
|
63045
|
-
|
|
63044
|
+
if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
|
|
63045
|
+
path5 = `C:${path5}`;
|
|
63046
63046
|
}
|
|
63047
63047
|
return path5.replaceAll("\\", "/");
|
|
63048
63048
|
};
|
|
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
63124
63124
|
return result;
|
|
63125
63125
|
}
|
|
63126
63126
|
|
|
63127
|
-
// packages/config-tools/src/utilities/get-default-config.ts
|
|
63128
|
-
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
63129
|
-
import { join as join3 } from "node:path";
|
|
63130
|
-
|
|
63131
63127
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
63132
63128
|
var util;
|
|
63133
63129
|
(function(util2) {
|
|
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
67043
67039
|
});
|
|
67044
67040
|
|
|
67045
67041
|
// packages/config/src/schema.ts
|
|
67046
|
-
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67042
|
+
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");
|
|
67047
67043
|
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");
|
|
67048
67044
|
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");
|
|
67045
|
+
var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
67046
|
+
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");
|
|
67049
67047
|
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");
|
|
67050
67048
|
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");
|
|
67051
67049
|
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");
|
|
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
67057
67055
|
foreground: LightColorSchema,
|
|
67058
67056
|
background: DarkColorSchema,
|
|
67059
67057
|
brand: BrandColorSchema,
|
|
67058
|
+
brand2: Brand2ColorSchema,
|
|
67059
|
+
brand3: Brand3ColorSchema,
|
|
67060
67060
|
accent: AccentColorSchema,
|
|
67061
67061
|
help: HelpColorSchema,
|
|
67062
67062
|
success: SuccessColorSchema,
|
|
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
67069
67069
|
foreground: DarkColorSchema,
|
|
67070
67070
|
background: LightColorSchema,
|
|
67071
67071
|
brand: BrandColorSchema,
|
|
67072
|
+
brand2: Brand2ColorSchema,
|
|
67073
|
+
brand3: Brand3ColorSchema,
|
|
67072
67074
|
accent: AccentColorSchema,
|
|
67073
67075
|
help: HelpColorSchema,
|
|
67074
67076
|
success: SuccessColorSchema,
|
|
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
67085
67087
|
dark: DarkColorSchema,
|
|
67086
67088
|
light: LightColorSchema,
|
|
67087
67089
|
brand: BrandColorSchema,
|
|
67090
|
+
brand2: Brand2ColorSchema,
|
|
67091
|
+
brand3: Brand3ColorSchema,
|
|
67088
67092
|
accent: AccentColorSchema,
|
|
67089
67093
|
help: HelpColorSchema,
|
|
67090
67094
|
success: SuccessColorSchema,
|
|
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
|
|
|
67187
67191
|
];
|
|
67188
67192
|
|
|
67189
67193
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
67194
|
+
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
67195
|
+
import { join as join3 } from "node:path";
|
|
67190
67196
|
var DEFAULT_COLOR_CONFIG = {
|
|
67191
67197
|
light: {
|
|
67192
67198
|
background: "#f4f4f5",
|
|
67193
67199
|
foreground: "#1d232a",
|
|
67194
67200
|
brand: "#1fb2a6",
|
|
67201
|
+
brand2: "#7434DB",
|
|
67202
|
+
brand3: "#00C2CE",
|
|
67195
67203
|
help: "#8250df",
|
|
67196
67204
|
success: "#087f5b",
|
|
67197
67205
|
info: "#0550ae",
|
|
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
67199
67207
|
error: "#a40e26"
|
|
67200
67208
|
},
|
|
67201
67209
|
dark: {
|
|
67202
|
-
background: "#
|
|
67210
|
+
background: "#0D1017",
|
|
67203
67211
|
foreground: "#fcfcf5",
|
|
67204
67212
|
brand: "#1fb2a6",
|
|
67213
|
+
brand2: "#7434DB",
|
|
67214
|
+
brand3: "#00C2CE",
|
|
67205
67215
|
help: "#8256D0",
|
|
67206
67216
|
success: "#087f5b",
|
|
67207
67217
|
info: "#316DCA",
|
|
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
67407
67417
|
console.error(
|
|
67408
67418
|
`
|
|
67409
67419
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
67410
|
-
" \u2718
|
|
67420
|
+
" \u2718 Error "
|
|
67411
67421
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
67412
67422
|
`
|
|
67413
67423
|
);
|
|
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
67417
67427
|
return (message) => {
|
|
67418
67428
|
console.warn(
|
|
67419
67429
|
`
|
|
67420
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
67430
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
67421
67431
|
" \u26A0 Warn "
|
|
67422
67432
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67423
67433
|
`
|
|
@@ -67696,6 +67706,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
67696
67706
|
dark: process.env[`${prefix}DARK`],
|
|
67697
67707
|
light: process.env[`${prefix}LIGHT`],
|
|
67698
67708
|
brand: process.env[`${prefix}BRAND`],
|
|
67709
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67710
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67699
67711
|
accent: process.env[`${prefix}ACCENT`],
|
|
67700
67712
|
help: process.env[`${prefix}HELP`],
|
|
67701
67713
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67718,6 +67730,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
67718
67730
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
67719
67731
|
background: process.env[`${prefix}BACKGROUND`],
|
|
67720
67732
|
brand: process.env[`${prefix}BRAND`],
|
|
67733
|
+
brand2: process.env[`${prefix}BRAND2`],
|
|
67734
|
+
brand3: process.env[`${prefix}BRAND3`],
|
|
67721
67735
|
accent: process.env[`${prefix}ACCENT`],
|
|
67722
67736
|
help: process.env[`${prefix}HELP`],
|
|
67723
67737
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -67914,6 +67928,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
67914
67928
|
if (config.brand) {
|
|
67915
67929
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67916
67930
|
}
|
|
67931
|
+
if (config.brand2) {
|
|
67932
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67933
|
+
}
|
|
67934
|
+
if (config.brand3) {
|
|
67935
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67936
|
+
}
|
|
67917
67937
|
if (config.accent) {
|
|
67918
67938
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67919
67939
|
}
|
|
@@ -67952,6 +67972,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
67952
67972
|
if (config.brand) {
|
|
67953
67973
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
67954
67974
|
}
|
|
67975
|
+
if (config.brand2) {
|
|
67976
|
+
process.env[`${prefix}BRAND2`] = config.brand2;
|
|
67977
|
+
}
|
|
67978
|
+
if (config.brand3) {
|
|
67979
|
+
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
67980
|
+
}
|
|
67955
67981
|
if (config.accent) {
|
|
67956
67982
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
67957
67983
|
}
|