@storm-software/git-tools 2.63.4 → 2.64.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 +18 -0
- package/README.md +1 -1
- package/bin/git.js +63 -21
- package/bin/post-checkout.js +63 -21
- package/bin/post-commit.js +63 -21
- package/bin/post-merge.js +63 -21
- package/bin/pre-commit.js +63 -21
- package/bin/pre-install.js +63 -21
- package/bin/pre-push.js +63 -21
- package/bin/prepare.js +63 -21
- package/bin/version-warning.js +63 -21
- package/lefthook/config.yml +2 -2
- package/package.json +2 -2
- package/src/cli/index.js +63 -21
- package/src/commit/index.js +28 -10
- package/src/commitizen/index.js +28 -10
- package/src/index.js +63 -21
- package/src/release/changelog-renderer.js +16 -15
- package/src/release/index.js +28 -10
package/src/release/index.js
CHANGED
|
@@ -5721,24 +5721,30 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
|
|
|
5721
5721
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
5722
5722
|
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
5723
5723
|
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");
|
|
5724
|
+
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
5724
5725
|
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");
|
|
5725
5726
|
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");
|
|
5726
5727
|
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
|
|
5727
5728
|
var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
5728
5729
|
var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
|
|
5729
5730
|
var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
5731
|
+
var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
5732
|
+
var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
5730
5733
|
var DarkThemeColorConfigSchema = z.object({
|
|
5731
5734
|
foreground: LightColorSchema,
|
|
5732
5735
|
background: DarkColorSchema,
|
|
5733
5736
|
brand: BrandColorSchema,
|
|
5734
5737
|
alternate: AlternateColorSchema,
|
|
5735
5738
|
accent: AccentColorSchema,
|
|
5739
|
+
link: LinkColorSchema,
|
|
5736
5740
|
help: HelpColorSchema,
|
|
5737
5741
|
success: SuccessColorSchema,
|
|
5738
5742
|
info: InfoColorSchema,
|
|
5739
5743
|
warning: WarningColorSchema,
|
|
5740
5744
|
error: ErrorColorSchema,
|
|
5741
|
-
fatal: FatalColorSchema
|
|
5745
|
+
fatal: FatalColorSchema,
|
|
5746
|
+
positive: PositiveColorSchema,
|
|
5747
|
+
negative: NegativeColorSchema
|
|
5742
5748
|
});
|
|
5743
5749
|
var LightThemeColorConfigSchema = z.object({
|
|
5744
5750
|
foreground: DarkColorSchema,
|
|
@@ -5746,12 +5752,15 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
5746
5752
|
brand: BrandColorSchema,
|
|
5747
5753
|
alternate: AlternateColorSchema,
|
|
5748
5754
|
accent: AccentColorSchema,
|
|
5755
|
+
link: LinkColorSchema,
|
|
5749
5756
|
help: HelpColorSchema,
|
|
5750
5757
|
success: SuccessColorSchema,
|
|
5751
5758
|
info: InfoColorSchema,
|
|
5752
5759
|
warning: WarningColorSchema,
|
|
5753
5760
|
error: ErrorColorSchema,
|
|
5754
|
-
fatal: FatalColorSchema
|
|
5761
|
+
fatal: FatalColorSchema,
|
|
5762
|
+
positive: PositiveColorSchema,
|
|
5763
|
+
negative: NegativeColorSchema
|
|
5755
5764
|
});
|
|
5756
5765
|
var MultiThemeColorConfigSchema = z.object({
|
|
5757
5766
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -5763,12 +5772,15 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5763
5772
|
brand: BrandColorSchema,
|
|
5764
5773
|
alternate: AlternateColorSchema,
|
|
5765
5774
|
accent: AccentColorSchema,
|
|
5775
|
+
link: LinkColorSchema,
|
|
5766
5776
|
help: HelpColorSchema,
|
|
5767
5777
|
success: SuccessColorSchema,
|
|
5768
5778
|
info: InfoColorSchema,
|
|
5769
5779
|
warning: WarningColorSchema,
|
|
5770
5780
|
error: ErrorColorSchema,
|
|
5771
|
-
fatal: FatalColorSchema
|
|
5781
|
+
fatal: FatalColorSchema,
|
|
5782
|
+
positive: PositiveColorSchema,
|
|
5783
|
+
negative: NegativeColorSchema
|
|
5772
5784
|
});
|
|
5773
5785
|
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
5774
5786
|
var RegistryConfigSchema = z.object({
|
|
@@ -5853,23 +5865,29 @@ var StormConfigSchema = z.object({
|
|
|
5853
5865
|
var DEFAULT_COLOR_CONFIG = {
|
|
5854
5866
|
"light": {
|
|
5855
5867
|
"background": "#fafafa",
|
|
5856
|
-
"foreground": "#
|
|
5868
|
+
"foreground": "#1d1e22",
|
|
5857
5869
|
"brand": "#1fb2a6",
|
|
5870
|
+
"alternate": "#db2777",
|
|
5858
5871
|
"help": "#5C4EE5",
|
|
5859
5872
|
"success": "#087f5b",
|
|
5860
5873
|
"info": "#0550ae",
|
|
5861
5874
|
"warning": "#e3b341",
|
|
5862
|
-
"error": "#a40e26"
|
|
5875
|
+
"error": "#a40e26",
|
|
5876
|
+
"positive": "#22c55e",
|
|
5877
|
+
"negative": "#dc2626"
|
|
5863
5878
|
},
|
|
5864
5879
|
"dark": {
|
|
5865
|
-
"background": "#
|
|
5866
|
-
"foreground": "#
|
|
5867
|
-
"brand": "#
|
|
5868
|
-
"
|
|
5880
|
+
"background": "#1d1e22",
|
|
5881
|
+
"foreground": "#cbd5e1",
|
|
5882
|
+
"brand": "#2dd4bf",
|
|
5883
|
+
"alternate": "#db2777",
|
|
5884
|
+
"help": "#818cf8",
|
|
5869
5885
|
"success": "#10b981",
|
|
5870
5886
|
"info": "#58a6ff",
|
|
5871
5887
|
"warning": "#f3d371",
|
|
5872
|
-
"error": "#d1242f"
|
|
5888
|
+
"error": "#d1242f",
|
|
5889
|
+
"positive": "#22c55e",
|
|
5890
|
+
"negative": "#dc2626"
|
|
5873
5891
|
}
|
|
5874
5892
|
};
|
|
5875
5893
|
var DEFAULT_STORM_CONFIG = {
|