@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
|
@@ -10282,9 +10282,9 @@ var require_src = __commonJS({
|
|
|
10282
10282
|
}
|
|
10283
10283
|
});
|
|
10284
10284
|
|
|
10285
|
-
// node_modules/.pnpm/follow-redirects@1.15.
|
|
10285
|
+
// node_modules/.pnpm/follow-redirects@1.15.6_debug@4.3.5/node_modules/follow-redirects/debug.js
|
|
10286
10286
|
var require_debug = __commonJS({
|
|
10287
|
-
"node_modules/.pnpm/follow-redirects@1.15.
|
|
10287
|
+
"node_modules/.pnpm/follow-redirects@1.15.6_debug@4.3.5/node_modules/follow-redirects/debug.js"(exports, module) {
|
|
10288
10288
|
var debug;
|
|
10289
10289
|
module.exports = function() {
|
|
10290
10290
|
if (!debug) {
|
|
@@ -10302,9 +10302,9 @@ var require_debug = __commonJS({
|
|
|
10302
10302
|
}
|
|
10303
10303
|
});
|
|
10304
10304
|
|
|
10305
|
-
// node_modules/.pnpm/follow-redirects@1.15.
|
|
10305
|
+
// node_modules/.pnpm/follow-redirects@1.15.6_debug@4.3.5/node_modules/follow-redirects/index.js
|
|
10306
10306
|
var require_follow_redirects = __commonJS({
|
|
10307
|
-
"node_modules/.pnpm/follow-redirects@1.15.
|
|
10307
|
+
"node_modules/.pnpm/follow-redirects@1.15.6_debug@4.3.5/node_modules/follow-redirects/index.js"(exports, module) {
|
|
10308
10308
|
var url2 = __require("url");
|
|
10309
10309
|
var URL2 = url2.URL;
|
|
10310
10310
|
var http2 = __require("http");
|
package/src/release/index.js
CHANGED
|
@@ -1689,8 +1689,8 @@ var correctPaths = (path) => {
|
|
|
1689
1689
|
if (!path) {
|
|
1690
1690
|
return "";
|
|
1691
1691
|
}
|
|
1692
|
-
if (path
|
|
1693
|
-
|
|
1692
|
+
if (!path.toUpperCase().startsWith("C:") && path.includes("\\")) {
|
|
1693
|
+
path = `C:${path}`;
|
|
1694
1694
|
}
|
|
1695
1695
|
return path.replaceAll("\\", "/");
|
|
1696
1696
|
};
|
|
@@ -5687,9 +5687,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5687
5687
|
});
|
|
5688
5688
|
|
|
5689
5689
|
// packages/config/src/schema.ts
|
|
5690
|
-
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
5690
|
+
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");
|
|
5691
5691
|
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");
|
|
5692
5692
|
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");
|
|
5693
|
+
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");
|
|
5694
|
+
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");
|
|
5693
5695
|
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");
|
|
5694
5696
|
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");
|
|
5695
5697
|
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");
|
|
@@ -5701,6 +5703,8 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
5701
5703
|
foreground: LightColorSchema,
|
|
5702
5704
|
background: DarkColorSchema,
|
|
5703
5705
|
brand: BrandColorSchema,
|
|
5706
|
+
brand2: Brand2ColorSchema,
|
|
5707
|
+
brand3: Brand3ColorSchema,
|
|
5704
5708
|
accent: AccentColorSchema,
|
|
5705
5709
|
help: HelpColorSchema,
|
|
5706
5710
|
success: SuccessColorSchema,
|
|
@@ -5713,6 +5717,8 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
5713
5717
|
foreground: DarkColorSchema,
|
|
5714
5718
|
background: LightColorSchema,
|
|
5715
5719
|
brand: BrandColorSchema,
|
|
5720
|
+
brand2: Brand2ColorSchema,
|
|
5721
|
+
brand3: Brand3ColorSchema,
|
|
5716
5722
|
accent: AccentColorSchema,
|
|
5717
5723
|
help: HelpColorSchema,
|
|
5718
5724
|
success: SuccessColorSchema,
|
|
@@ -5729,6 +5735,8 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5729
5735
|
dark: DarkColorSchema,
|
|
5730
5736
|
light: LightColorSchema,
|
|
5731
5737
|
brand: BrandColorSchema,
|
|
5738
|
+
brand2: Brand2ColorSchema,
|
|
5739
|
+
brand3: Brand3ColorSchema,
|
|
5732
5740
|
accent: AccentColorSchema,
|
|
5733
5741
|
help: HelpColorSchema,
|
|
5734
5742
|
success: SuccessColorSchema,
|
|
@@ -5822,6 +5830,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
5822
5830
|
background: "#f4f4f5",
|
|
5823
5831
|
foreground: "#1d232a",
|
|
5824
5832
|
brand: "#1fb2a6",
|
|
5833
|
+
brand2: "#7434DB",
|
|
5834
|
+
brand3: "#00C2CE",
|
|
5825
5835
|
help: "#8250df",
|
|
5826
5836
|
success: "#087f5b",
|
|
5827
5837
|
info: "#0550ae",
|
|
@@ -5829,9 +5839,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
5829
5839
|
error: "#a40e26"
|
|
5830
5840
|
},
|
|
5831
5841
|
dark: {
|
|
5832
|
-
background: "#
|
|
5842
|
+
background: "#0D1017",
|
|
5833
5843
|
foreground: "#fcfcf5",
|
|
5834
5844
|
brand: "#1fb2a6",
|
|
5845
|
+
brand2: "#7434DB",
|
|
5846
|
+
brand3: "#00C2CE",
|
|
5835
5847
|
help: "#8256D0",
|
|
5836
5848
|
success: "#087f5b",
|
|
5837
5849
|
info: "#316DCA",
|
|
@@ -5958,7 +5970,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
5958
5970
|
console.error(
|
|
5959
5971
|
`
|
|
5960
5972
|
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
5961
|
-
" \u2718
|
|
5973
|
+
" \u2718 Error "
|
|
5962
5974
|
)} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
|
|
5963
5975
|
`
|
|
5964
5976
|
);
|
|
@@ -5968,7 +5980,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
5968
5980
|
return (message) => {
|
|
5969
5981
|
console.warn(
|
|
5970
5982
|
`
|
|
5971
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">
|
|
5983
|
+
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
5972
5984
|
" \u26A0 Warn "
|
|
5973
5985
|
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
5974
5986
|
`
|