@storm-software/git-tools 2.34.0 → 2.35.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/src/commit/index.js
CHANGED
|
@@ -37286,9 +37286,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
37286
37286
|
});
|
|
37287
37287
|
|
|
37288
37288
|
// packages/config/src/schema.ts
|
|
37289
|
-
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37289
|
+
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
37290
37290
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
37291
37291
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
37292
|
+
var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
37293
|
+
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
37292
37294
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
37293
37295
|
var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
37294
37296
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -37300,6 +37302,8 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37300
37302
|
foreground: LightColorSchema,
|
|
37301
37303
|
background: DarkColorSchema,
|
|
37302
37304
|
brand: BrandColorSchema,
|
|
37305
|
+
brand2: Brand2ColorSchema,
|
|
37306
|
+
brand3: Brand3ColorSchema,
|
|
37303
37307
|
accent: AccentColorSchema,
|
|
37304
37308
|
help: HelpColorSchema,
|
|
37305
37309
|
success: SuccessColorSchema,
|
|
@@ -37312,6 +37316,8 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37312
37316
|
foreground: DarkColorSchema,
|
|
37313
37317
|
background: LightColorSchema,
|
|
37314
37318
|
brand: BrandColorSchema,
|
|
37319
|
+
brand2: Brand2ColorSchema,
|
|
37320
|
+
brand3: Brand3ColorSchema,
|
|
37315
37321
|
accent: AccentColorSchema,
|
|
37316
37322
|
help: HelpColorSchema,
|
|
37317
37323
|
success: SuccessColorSchema,
|
|
@@ -37328,6 +37334,8 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37328
37334
|
dark: DarkColorSchema,
|
|
37329
37335
|
light: LightColorSchema,
|
|
37330
37336
|
brand: BrandColorSchema,
|
|
37337
|
+
brand2: Brand2ColorSchema,
|
|
37338
|
+
brand3: Brand3ColorSchema,
|
|
37331
37339
|
accent: AccentColorSchema,
|
|
37332
37340
|
help: HelpColorSchema,
|
|
37333
37341
|
success: SuccessColorSchema,
|
|
@@ -37421,6 +37429,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37421
37429
|
background: "#f4f4f5",
|
|
37422
37430
|
foreground: "#1d232a",
|
|
37423
37431
|
brand: "#1fb2a6",
|
|
37432
|
+
brand2: "#7434DB",
|
|
37433
|
+
brand3: "#00C2CE",
|
|
37424
37434
|
help: "#8250df",
|
|
37425
37435
|
success: "#087f5b",
|
|
37426
37436
|
info: "#0550ae",
|
|
@@ -37428,9 +37438,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37428
37438
|
error: "#a40e26"
|
|
37429
37439
|
},
|
|
37430
37440
|
dark: {
|
|
37431
|
-
background: "#
|
|
37441
|
+
background: "#0D1017",
|
|
37432
37442
|
foreground: "#fcfcf5",
|
|
37433
37443
|
brand: "#1fb2a6",
|
|
37444
|
+
brand2: "#7434DB",
|
|
37445
|
+
brand3: "#00C2CE",
|
|
37434
37446
|
help: "#8256D0",
|
|
37435
37447
|
success: "#087f5b",
|
|
37436
37448
|
info: "#316DCA",
|
|
@@ -37557,7 +37569,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
37557
37569
|
console.error(
|
|
37558
37570
|
`
|
|
37559
37571
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
37560
|
-
" \u2718
|
|
37572
|
+
" \u2718 Error "
|
|
37561
37573
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
37562
37574
|
`
|
|
37563
37575
|
);
|
|
@@ -37567,7 +37579,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
37567
37579
|
return (message) => {
|
|
37568
37580
|
console.warn(
|
|
37569
37581
|
`
|
|
37570
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
37582
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
37571
37583
|
" \u26A0 Warn "
|
|
37572
37584
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
37573
37585
|
`
|
package/src/commitizen/index.js
CHANGED
|
@@ -37233,9 +37233,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
37233
37233
|
});
|
|
37234
37234
|
|
|
37235
37235
|
// packages/config/src/schema.ts
|
|
37236
|
-
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
37236
|
+
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
37237
37237
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
37238
37238
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
37239
|
+
var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
37240
|
+
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
37239
37241
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
37240
37242
|
var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
37241
37243
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -37247,6 +37249,8 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
37247
37249
|
foreground: LightColorSchema,
|
|
37248
37250
|
background: DarkColorSchema,
|
|
37249
37251
|
brand: BrandColorSchema,
|
|
37252
|
+
brand2: Brand2ColorSchema,
|
|
37253
|
+
brand3: Brand3ColorSchema,
|
|
37250
37254
|
accent: AccentColorSchema,
|
|
37251
37255
|
help: HelpColorSchema,
|
|
37252
37256
|
success: SuccessColorSchema,
|
|
@@ -37259,6 +37263,8 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
37259
37263
|
foreground: DarkColorSchema,
|
|
37260
37264
|
background: LightColorSchema,
|
|
37261
37265
|
brand: BrandColorSchema,
|
|
37266
|
+
brand2: Brand2ColorSchema,
|
|
37267
|
+
brand3: Brand3ColorSchema,
|
|
37262
37268
|
accent: AccentColorSchema,
|
|
37263
37269
|
help: HelpColorSchema,
|
|
37264
37270
|
success: SuccessColorSchema,
|
|
@@ -37275,6 +37281,8 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
37275
37281
|
dark: DarkColorSchema,
|
|
37276
37282
|
light: LightColorSchema,
|
|
37277
37283
|
brand: BrandColorSchema,
|
|
37284
|
+
brand2: Brand2ColorSchema,
|
|
37285
|
+
brand3: Brand3ColorSchema,
|
|
37278
37286
|
accent: AccentColorSchema,
|
|
37279
37287
|
help: HelpColorSchema,
|
|
37280
37288
|
success: SuccessColorSchema,
|
|
@@ -37368,6 +37376,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37368
37376
|
background: "#f4f4f5",
|
|
37369
37377
|
foreground: "#1d232a",
|
|
37370
37378
|
brand: "#1fb2a6",
|
|
37379
|
+
brand2: "#7434DB",
|
|
37380
|
+
brand3: "#00C2CE",
|
|
37371
37381
|
help: "#8250df",
|
|
37372
37382
|
success: "#087f5b",
|
|
37373
37383
|
info: "#0550ae",
|
|
@@ -37375,9 +37385,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
37375
37385
|
error: "#a40e26"
|
|
37376
37386
|
},
|
|
37377
37387
|
dark: {
|
|
37378
|
-
background: "#
|
|
37388
|
+
background: "#0D1017",
|
|
37379
37389
|
foreground: "#fcfcf5",
|
|
37380
37390
|
brand: "#1fb2a6",
|
|
37391
|
+
brand2: "#7434DB",
|
|
37392
|
+
brand3: "#00C2CE",
|
|
37381
37393
|
help: "#8256D0",
|
|
37382
37394
|
success: "#087f5b",
|
|
37383
37395
|
info: "#316DCA",
|
|
@@ -37504,7 +37516,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
37504
37516
|
console.error(
|
|
37505
37517
|
`
|
|
37506
37518
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
37507
|
-
" \u2718
|
|
37519
|
+
" \u2718 Error "
|
|
37508
37520
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
37509
37521
|
`
|
|
37510
37522
|
);
|
|
@@ -37514,7 +37526,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
37514
37526
|
return (message) => {
|
|
37515
37527
|
console.warn(
|
|
37516
37528
|
`
|
|
37517
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
37529
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
37518
37530
|
" \u26A0 Warn "
|
|
37519
37531
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
37520
37532
|
`
|