@storm-software/git-tools 2.129.4 → 2.129.5
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/README.md +1 -1
- package/bin/{chunk-N7J3ORRT.js → chunk-52H32YOS.js} +3 -3
- package/bin/{chunk-N7J3ORRT.js.map → chunk-52H32YOS.js.map} +1 -1
- package/bin/{chunk-Z64XNZ43.cjs → chunk-6W6FBNEJ.cjs} +4 -4
- package/bin/{chunk-Z64XNZ43.cjs.map → chunk-6W6FBNEJ.cjs.map} +1 -1
- package/bin/{chunk-ZW2KYP2Z.cjs → chunk-A3GMURSK.cjs} +4 -4
- package/bin/{chunk-ZW2KYP2Z.cjs.map → chunk-A3GMURSK.cjs.map} +1 -1
- package/bin/{chunk-IA2Z3BAB.cjs → chunk-DZDXQHJV.cjs} +5 -5
- package/bin/{chunk-IA2Z3BAB.cjs.map → chunk-DZDXQHJV.cjs.map} +1 -1
- package/bin/{chunk-6FITE6HP.js → chunk-EOTZWMWQ.js} +3 -3
- package/bin/{chunk-6FITE6HP.js.map → chunk-EOTZWMWQ.js.map} +1 -1
- package/bin/{chunk-3IBASKZ6.cjs → chunk-H2JIDXRZ.cjs} +4 -4
- package/bin/{chunk-3IBASKZ6.cjs.map → chunk-H2JIDXRZ.cjs.map} +1 -1
- package/bin/{chunk-RZZ5UCVV.js → chunk-LVSMYJQM.js} +3 -3
- package/bin/{chunk-RZZ5UCVV.js.map → chunk-LVSMYJQM.js.map} +1 -1
- package/bin/{chunk-EI723ABQ.cjs → chunk-MVQI65TW.cjs} +6 -6
- package/bin/{chunk-EI723ABQ.cjs.map → chunk-MVQI65TW.cjs.map} +1 -1
- package/bin/{chunk-S7Z6YPPG.js → chunk-N2HECVLR.js} +3 -3
- package/bin/{chunk-S7Z6YPPG.js.map → chunk-N2HECVLR.js.map} +1 -1
- package/bin/{chunk-S3E6UR4Y.js → chunk-NOO7FRF4.js} +42 -2
- package/bin/chunk-NOO7FRF4.js.map +1 -0
- package/bin/{chunk-ROGUZ46T.js → chunk-PFSAEKCF.js} +3 -3
- package/bin/{chunk-ROGUZ46T.js.map → chunk-PFSAEKCF.js.map} +1 -1
- package/bin/{chunk-DFXXNV3C.cjs → chunk-QDTVI7WT.cjs} +42 -2
- package/bin/chunk-QDTVI7WT.cjs.map +1 -0
- package/bin/{chunk-XHWHVOBP.cjs → chunk-RMBT73YE.cjs} +4 -4
- package/bin/{chunk-XHWHVOBP.cjs.map → chunk-RMBT73YE.cjs.map} +1 -1
- package/bin/{chunk-C7APS633.cjs → chunk-S32TDLJX.cjs} +4 -4
- package/bin/{chunk-C7APS633.cjs.map → chunk-S32TDLJX.cjs.map} +1 -1
- package/bin/{chunk-LHPUN2YZ.js → chunk-TWP7LTYJ.js} +3 -3
- package/bin/{chunk-LHPUN2YZ.js.map → chunk-TWP7LTYJ.js.map} +1 -1
- package/bin/{chunk-JE32WMBP.js → chunk-WCDB3OLV.js} +3 -3
- package/bin/{chunk-JE32WMBP.js.map → chunk-WCDB3OLV.js.map} +1 -1
- package/bin/git.cjs +118 -118
- package/bin/git.js +8 -8
- package/bin/post-checkout.cjs +7 -7
- package/bin/post-checkout.js +2 -2
- package/bin/post-commit.cjs +7 -7
- package/bin/post-commit.js +2 -2
- package/bin/post-merge.cjs +7 -7
- package/bin/post-merge.js +2 -2
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +7 -7
- package/bin/pre-install.js +2 -2
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +2 -2
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-BUQYMEBK.cjs → chunk-3OFWCM5Y.cjs} +2 -2
- package/dist/{chunk-RQ67RJVN.cjs → chunk-4FUTKXP2.cjs} +27 -10
- package/dist/{chunk-GTOCMU46.cjs → chunk-4PWPCASG.cjs} +4 -4
- package/dist/{chunk-ZKDVZXHI.js → chunk-5CRI6NO7.js} +1 -1
- package/dist/{chunk-DMVL4OYZ.cjs → chunk-6QAR5LMB.cjs} +2 -2
- package/dist/{chunk-UQMGLURT.js → chunk-AC5ULQLU.js} +1 -1
- package/dist/{chunk-HVTQXN3A.js → chunk-CD4EKGDM.js} +18 -1
- package/dist/{chunk-LSTKPCAN.cjs → chunk-D4WHHW75.cjs} +2 -2
- package/dist/{chunk-SIFTTG22.cjs → chunk-EV4B3GJD.cjs} +23 -1
- package/dist/{chunk-F2HQMRJH.cjs → chunk-GF4ZXZCS.cjs} +3 -3
- package/dist/{chunk-5DVCH44C.cjs → chunk-OYVBGDDT.cjs} +2 -2
- package/dist/{chunk-YUE6ZNKC.js → chunk-P5NAAC4N.js} +1 -1
- package/dist/{chunk-X7F62ZNF.js → chunk-TMHJ5TB2.js} +23 -1
- package/dist/{chunk-AU2RMJUK.js → chunk-U4ITJVBF.js} +1 -1
- package/dist/{chunk-RK75BACO.js → chunk-VFGEAZEU.js} +1 -1
- package/dist/{chunk-Z4CPTYLS.cjs → chunk-VQV7XNP4.cjs} +2 -2
- package/dist/{chunk-2NF67ZEY.js → chunk-WG652PIV.js} +1 -1
- package/dist/{chunk-C6MBULOZ.js → chunk-YLZ6V3A5.js} +1 -1
- package/dist/index.cjs +23 -23
- package/dist/index.js +9 -9
- package/dist/release/config.cjs +9 -9
- package/dist/release/config.js +2 -2
- package/package.json +5 -5
- package/bin/chunk-DFXXNV3C.cjs.map +0 -1
- package/bin/chunk-S3E6UR4Y.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-USTER7R2.js';
|
|
2
2
|
import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
|
|
3
|
-
import { writeTrace, formatLogMessage, writeWarning, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-
|
|
3
|
+
import { writeTrace, formatLogMessage, writeWarning, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-TMHJ5TB2.js';
|
|
4
4
|
import defu from 'defu';
|
|
5
5
|
import { loadConfig } from 'c12';
|
|
6
6
|
import { existsSync } from 'node:fs';
|
|
@@ -1654,6 +1654,10 @@ var fatalColorSchema = optional(colorSchema);
|
|
|
1654
1654
|
schemaRegistry.add(fatalColorSchema, {
|
|
1655
1655
|
description: "The fatal color of the workspace"
|
|
1656
1656
|
});
|
|
1657
|
+
var performanceColorSchema = _default(colorSchema, "#00ff00");
|
|
1658
|
+
schemaRegistry.add(performanceColorSchema, {
|
|
1659
|
+
description: "The performance color of the workspace"
|
|
1660
|
+
});
|
|
1657
1661
|
var positiveColorSchema = _default(colorSchema, "#4ade80");
|
|
1658
1662
|
schemaRegistry.add(positiveColorSchema, {
|
|
1659
1663
|
description: "The positive number color of the workspace"
|
|
@@ -1680,6 +1684,7 @@ var darkColorsSchema = object({
|
|
|
1680
1684
|
warning: warningColorSchema,
|
|
1681
1685
|
danger: dangerColorSchema,
|
|
1682
1686
|
fatal: fatalColorSchema,
|
|
1687
|
+
performance: performanceColorSchema,
|
|
1683
1688
|
positive: positiveColorSchema,
|
|
1684
1689
|
negative: negativeColorSchema,
|
|
1685
1690
|
gradient: gradientStopsSchema
|
|
@@ -1698,6 +1703,7 @@ var lightColorsSchema = object({
|
|
|
1698
1703
|
warning: warningColorSchema,
|
|
1699
1704
|
danger: dangerColorSchema,
|
|
1700
1705
|
fatal: fatalColorSchema,
|
|
1706
|
+
performance: performanceColorSchema,
|
|
1701
1707
|
positive: positiveColorSchema,
|
|
1702
1708
|
negative: negativeColorSchema,
|
|
1703
1709
|
gradient: gradientStopsSchema
|
|
@@ -1720,6 +1726,7 @@ var singleColorsSchema = object({
|
|
|
1720
1726
|
warning: warningColorSchema,
|
|
1721
1727
|
danger: dangerColorSchema,
|
|
1722
1728
|
fatal: fatalColorSchema,
|
|
1729
|
+
performance: performanceColorSchema,
|
|
1723
1730
|
positive: positiveColorSchema,
|
|
1724
1731
|
negative: negativeColorSchema,
|
|
1725
1732
|
gradient: gradientStopsSchema
|
|
@@ -2087,6 +2094,7 @@ var logLevelSchema = _default(
|
|
|
2087
2094
|
"warn",
|
|
2088
2095
|
"success",
|
|
2089
2096
|
"info",
|
|
2097
|
+
"performance",
|
|
2090
2098
|
"debug",
|
|
2091
2099
|
"trace",
|
|
2092
2100
|
"all"
|
|
@@ -2166,6 +2174,7 @@ var COLOR_KEYS = [
|
|
|
2166
2174
|
"warning",
|
|
2167
2175
|
"danger",
|
|
2168
2176
|
"fatal",
|
|
2177
|
+
"performance",
|
|
2169
2178
|
"positive",
|
|
2170
2179
|
"negative"
|
|
2171
2180
|
];
|
|
@@ -2483,6 +2492,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
2483
2492
|
warning: process.env[`${prefix}WARNING`],
|
|
2484
2493
|
danger: process.env[`${prefix}DANGER`],
|
|
2485
2494
|
fatal: process.env[`${prefix}FATAL`],
|
|
2495
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
2486
2496
|
positive: process.env[`${prefix}POSITIVE`],
|
|
2487
2497
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
2488
2498
|
gradient
|
|
@@ -2522,6 +2532,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2522
2532
|
warning: process.env[`${prefix}WARNING`],
|
|
2523
2533
|
danger: process.env[`${prefix}DANGER`],
|
|
2524
2534
|
fatal: process.env[`${prefix}FATAL`],
|
|
2535
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
2525
2536
|
positive: process.env[`${prefix}POSITIVE`],
|
|
2526
2537
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
2527
2538
|
gradient
|
|
@@ -2832,6 +2843,9 @@ var setSingleThemeColorsEnv = (prefix, config2) => {
|
|
|
2832
2843
|
if (config2.fatal) {
|
|
2833
2844
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
2834
2845
|
}
|
|
2846
|
+
if (config2.performance) {
|
|
2847
|
+
process.env[`${prefix}PERFORMANCE`] = config2.performance;
|
|
2848
|
+
}
|
|
2835
2849
|
if (config2.positive) {
|
|
2836
2850
|
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
2837
2851
|
}
|
|
@@ -2890,6 +2904,9 @@ var setBaseThemeColorsEnv = (prefix, config2) => {
|
|
|
2890
2904
|
if (config2.fatal) {
|
|
2891
2905
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
2892
2906
|
}
|
|
2907
|
+
if (config2.performance) {
|
|
2908
|
+
process.env[`${prefix}PERFORMANCE`] = config2.performance;
|
|
2909
|
+
}
|
|
2893
2910
|
if (config2.positive) {
|
|
2894
2911
|
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
2895
2912
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkEV4B3GJD_cjs.writeInfo("Running post-checkout hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
|
@@ -17,6 +17,7 @@ var LogLevel = {
|
|
|
17
17
|
WARN: 30,
|
|
18
18
|
SUCCESS: 35,
|
|
19
19
|
INFO: 40,
|
|
20
|
+
PERFORMANCE: 50,
|
|
20
21
|
DEBUG: 60,
|
|
21
22
|
TRACE: 70,
|
|
22
23
|
ALL: 100
|
|
@@ -28,6 +29,7 @@ var LogLevelLabel = {
|
|
|
28
29
|
WARN: "warn",
|
|
29
30
|
SUCCESS: "success",
|
|
30
31
|
INFO: "info",
|
|
32
|
+
PERFORMANCE: "performance",
|
|
31
33
|
DEBUG: "debug",
|
|
32
34
|
TRACE: "trace",
|
|
33
35
|
ALL: "all"
|
|
@@ -42,7 +44,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
42
44
|
debug: "#8afafc",
|
|
43
45
|
warning: "#f3d371",
|
|
44
46
|
danger: "#D8314A",
|
|
45
|
-
fatal: "#a40e26"
|
|
47
|
+
fatal: "#a40e26",
|
|
48
|
+
performance: "#00ff00"}
|
|
46
49
|
};
|
|
47
50
|
var chalkDefault = {
|
|
48
51
|
hex: (_) => (message) => message,
|
|
@@ -93,6 +96,7 @@ var CONSOLE_ICONS = {
|
|
|
93
96
|
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
94
97
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
95
98
|
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
99
|
+
[LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
|
|
96
100
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
97
101
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
98
102
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -113,6 +117,8 @@ var getLogLevel = (label) => {
|
|
|
113
117
|
return LogLevel.TRACE;
|
|
114
118
|
case "debug":
|
|
115
119
|
return LogLevel.DEBUG;
|
|
120
|
+
case "performance":
|
|
121
|
+
return LogLevel.PERFORMANCE;
|
|
116
122
|
case "info":
|
|
117
123
|
return LogLevel.INFO;
|
|
118
124
|
case "warn":
|
|
@@ -137,6 +143,9 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
137
143
|
if (logLevel >= LogLevel.DEBUG) {
|
|
138
144
|
return LogLevelLabel.DEBUG;
|
|
139
145
|
}
|
|
146
|
+
if (logLevel >= LogLevel.PERFORMANCE) {
|
|
147
|
+
return LogLevelLabel.PERFORMANCE;
|
|
148
|
+
}
|
|
140
149
|
if (logLevel >= LogLevel.INFO) {
|
|
141
150
|
return LogLevelLabel.INFO;
|
|
142
151
|
}
|
|
@@ -224,6 +233,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
224
233
|
)(
|
|
225
234
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
226
235
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
236
|
+
`
|
|
237
|
+
);
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
|
|
241
|
+
return (message) => {
|
|
242
|
+
console.debug(
|
|
243
|
+
`
|
|
244
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
245
|
+
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
246
|
+
)(
|
|
247
|
+
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
248
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
227
249
|
`
|
|
228
250
|
);
|
|
229
251
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-install.ts
|
|
7
7
|
async function preInstallHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkEV4B3GJD_cjs.writeInfo("Running pre-install hook...", config);
|
|
9
9
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
10
|
-
|
|
10
|
+
chunkEV4B3GJD_cjs.writeInfo("Skipping pre-install for CI process...", config);
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
chunkFJL2V56E_cjs.run(config, "npx -y only-allow pnpm");
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-merge.ts
|
|
8
8
|
async function postMergeHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkEV4B3GJD_cjs.writeInfo("Running post-merge hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
|
@@ -11,6 +11,7 @@ var LogLevel = {
|
|
|
11
11
|
WARN: 30,
|
|
12
12
|
SUCCESS: 35,
|
|
13
13
|
INFO: 40,
|
|
14
|
+
PERFORMANCE: 50,
|
|
14
15
|
DEBUG: 60,
|
|
15
16
|
TRACE: 70,
|
|
16
17
|
ALL: 100
|
|
@@ -22,6 +23,7 @@ var LogLevelLabel = {
|
|
|
22
23
|
WARN: "warn",
|
|
23
24
|
SUCCESS: "success",
|
|
24
25
|
INFO: "info",
|
|
26
|
+
PERFORMANCE: "performance",
|
|
25
27
|
DEBUG: "debug",
|
|
26
28
|
TRACE: "trace",
|
|
27
29
|
ALL: "all"
|
|
@@ -36,7 +38,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
36
38
|
debug: "#8afafc",
|
|
37
39
|
warning: "#f3d371",
|
|
38
40
|
danger: "#D8314A",
|
|
39
|
-
fatal: "#a40e26"
|
|
41
|
+
fatal: "#a40e26",
|
|
42
|
+
performance: "#00ff00"}
|
|
40
43
|
};
|
|
41
44
|
var chalkDefault = {
|
|
42
45
|
hex: (_) => (message) => message,
|
|
@@ -87,6 +90,7 @@ var CONSOLE_ICONS = {
|
|
|
87
90
|
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
88
91
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
89
92
|
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
93
|
+
[LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
|
|
90
94
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
91
95
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
92
96
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -107,6 +111,8 @@ var getLogLevel = (label) => {
|
|
|
107
111
|
return LogLevel.TRACE;
|
|
108
112
|
case "debug":
|
|
109
113
|
return LogLevel.DEBUG;
|
|
114
|
+
case "performance":
|
|
115
|
+
return LogLevel.PERFORMANCE;
|
|
110
116
|
case "info":
|
|
111
117
|
return LogLevel.INFO;
|
|
112
118
|
case "warn":
|
|
@@ -131,6 +137,9 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
131
137
|
if (logLevel >= LogLevel.DEBUG) {
|
|
132
138
|
return LogLevelLabel.DEBUG;
|
|
133
139
|
}
|
|
140
|
+
if (logLevel >= LogLevel.PERFORMANCE) {
|
|
141
|
+
return LogLevelLabel.PERFORMANCE;
|
|
142
|
+
}
|
|
134
143
|
if (logLevel >= LogLevel.INFO) {
|
|
135
144
|
return LogLevelLabel.INFO;
|
|
136
145
|
}
|
|
@@ -218,6 +227,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
218
227
|
)(
|
|
219
228
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
220
229
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
230
|
+
`
|
|
231
|
+
);
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
|
|
235
|
+
return (message) => {
|
|
236
|
+
console.debug(
|
|
237
|
+
`
|
|
238
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
239
|
+
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
240
|
+
)(
|
|
241
|
+
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
242
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
221
243
|
`
|
|
222
244
|
);
|
|
223
245
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
2
|
import { run } from './chunk-JOPN56T4.js';
|
|
3
|
-
import { writeInfo } from './chunk-
|
|
3
|
+
import { writeInfo } from './chunk-TMHJ5TB2.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-merge.ts
|
|
6
6
|
async function postMergeHook(config, files) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
|
-
import { writeInfo, writeSuccess } from './chunk-
|
|
2
|
+
import { writeInfo, writeSuccess } from './chunk-TMHJ5TB2.js';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { readFile } from 'node:fs/promises';
|
|
5
5
|
import path from 'node:path';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-commit.ts
|
|
8
8
|
async function postCommitHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkEV4B3GJD_cjs.writeInfo("Running post-commit hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
package/dist/index.cjs
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4FUTKXP2_cjs = require('./chunk-4FUTKXP2.cjs');
|
|
4
4
|
var chunk7ZSL4J35_cjs = require('./chunk-7ZSL4J35.cjs');
|
|
5
5
|
require('./chunk-CT6VGZZS.cjs');
|
|
6
6
|
require('./chunk-4VPJA7YJ.cjs');
|
|
7
7
|
var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
|
|
8
8
|
require('./chunk-ENL3GCXS.cjs');
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
9
|
+
var chunk4PWPCASG_cjs = require('./chunk-4PWPCASG.cjs');
|
|
10
|
+
var chunk6QAR5LMB_cjs = require('./chunk-6QAR5LMB.cjs');
|
|
11
|
+
var chunkD4WHHW75_cjs = require('./chunk-D4WHHW75.cjs');
|
|
12
|
+
var chunkVQV7XNP4_cjs = require('./chunk-VQV7XNP4.cjs');
|
|
13
|
+
var chunkOYVBGDDT_cjs = require('./chunk-OYVBGDDT.cjs');
|
|
14
|
+
var chunk3OFWCM5Y_cjs = require('./chunk-3OFWCM5Y.cjs');
|
|
15
15
|
require('./chunk-QCNDIFYQ.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkGF4ZXZCS_cjs = require('./chunk-GF4ZXZCS.cjs');
|
|
17
17
|
require('./chunk-FJL2V56E.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-EV4B3GJD.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk4FUTKXP2_cjs.getReleaseGroupConfig; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
51
51
|
enumerable: true,
|
|
@@ -57,29 +57,29 @@ Object.defineProperty(exports, "DEFAULT_COMMIT_PROMPT_MESSAGES", {
|
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "prePushHook", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk4PWPCASG_cjs.prePushHook; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "prepareHook", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk6QAR5LMB_cjs.prepareHook; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "postCheckoutHook", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkD4WHHW75_cjs.postCheckoutHook; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "postCommitHook", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkVQV7XNP4_cjs.postCommitHook; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "postMergeHook", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkOYVBGDDT_cjs.postMergeHook; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "preCommitHook", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk3OFWCM5Y_cjs.preCommitHook; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "preInstallHook", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkGF4ZXZCS_cjs.preInstallHook; }
|
|
85
85
|
});
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './chunk-
|
|
1
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './chunk-CD4EKGDM.js';
|
|
2
2
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-USTER7R2.js';
|
|
3
3
|
import './chunk-WCAKLYL2.js';
|
|
4
4
|
import './chunk-3GGWHKRP.js';
|
|
5
5
|
export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
|
|
6
6
|
import './chunk-Q47SPRY7.js';
|
|
7
|
-
export { prePushHook } from './chunk-
|
|
8
|
-
export { prepareHook } from './chunk-
|
|
9
|
-
export { postCheckoutHook } from './chunk-
|
|
10
|
-
export { postCommitHook } from './chunk-
|
|
11
|
-
export { postMergeHook } from './chunk-
|
|
12
|
-
export { preCommitHook } from './chunk-
|
|
7
|
+
export { prePushHook } from './chunk-VFGEAZEU.js';
|
|
8
|
+
export { prepareHook } from './chunk-P5NAAC4N.js';
|
|
9
|
+
export { postCheckoutHook } from './chunk-AC5ULQLU.js';
|
|
10
|
+
export { postCommitHook } from './chunk-5CRI6NO7.js';
|
|
11
|
+
export { postMergeHook } from './chunk-U4ITJVBF.js';
|
|
12
|
+
export { preCommitHook } from './chunk-YLZ6V3A5.js';
|
|
13
13
|
import './chunk-HMHOHK22.js';
|
|
14
|
-
export { preInstallHook } from './chunk-
|
|
14
|
+
export { preInstallHook } from './chunk-WG652PIV.js';
|
|
15
15
|
import './chunk-JOPN56T4.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-TMHJ5TB2.js';
|
package/dist/release/config.cjs
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4FUTKXP2_cjs = require('../chunk-4FUTKXP2.cjs');
|
|
4
4
|
require('../chunk-7ZSL4J35.cjs');
|
|
5
5
|
require('../chunk-CT6VGZZS.cjs');
|
|
6
6
|
require('../chunk-4VPJA7YJ.cjs');
|
|
7
7
|
require('../chunk-YBAE6I5L.cjs');
|
|
8
8
|
require('../chunk-QCNDIFYQ.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-EV4B3GJD.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4FUTKXP2_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4FUTKXP2_cjs.getReleaseGroupConfig; }
|
|
40
40
|
});
|
package/dist/release/config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from '../chunk-
|
|
1
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from '../chunk-CD4EKGDM.js';
|
|
2
2
|
import '../chunk-USTER7R2.js';
|
|
3
3
|
import '../chunk-WCAKLYL2.js';
|
|
4
4
|
import '../chunk-3GGWHKRP.js';
|
|
5
5
|
import '../chunk-5XU2KBM6.js';
|
|
6
6
|
import '../chunk-HMHOHK22.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-TMHJ5TB2.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.129.
|
|
3
|
+
"version": "2.129.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"keywords": [
|
|
@@ -190,8 +190,8 @@
|
|
|
190
190
|
"@inquirer/prompts": "^8.3.2",
|
|
191
191
|
"@nx/devkit": "^22.6.0",
|
|
192
192
|
"@nx/js": "22.5.1",
|
|
193
|
-
"@storm-software/config": "^1.
|
|
194
|
-
"@storm-software/config-tools": "^1.189.
|
|
193
|
+
"@storm-software/config": "^1.136.0",
|
|
194
|
+
"@storm-software/config-tools": "^1.189.41",
|
|
195
195
|
"@textlint/ast-node-types": "14.4.2",
|
|
196
196
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
197
197
|
"anchor-markdown-header": "0.7.0",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"chalk": "^4.1.2",
|
|
201
201
|
"chalk-template": "1.1.0",
|
|
202
202
|
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
203
|
-
"conventional-changelog-storm-software": "^0.3.
|
|
203
|
+
"conventional-changelog-storm-software": "^0.3.122",
|
|
204
204
|
"htmlparser2": "10.0.0",
|
|
205
205
|
"jsonc-parser": "3.2.1",
|
|
206
206
|
"nx": "22.5.1",
|
|
@@ -225,5 +225,5 @@
|
|
|
225
225
|
"packageManager": "pnpm@10.3.0",
|
|
226
226
|
"engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
|
|
227
227
|
"publishConfig": { "access": "public" },
|
|
228
|
-
"gitHead": "
|
|
228
|
+
"gitHead": "86357db0291c9364860c12fda996cd88e8a5e0bd"
|
|
229
229
|
}
|