@storm-software/git-tools 2.124.61 → 2.124.63
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/bin/{chunk-YBTSEKHW.cjs → chunk-LHLRRAC7.cjs} +43 -13
- package/bin/chunk-LHLRRAC7.cjs.map +1 -0
- package/bin/{chunk-TMQCIJTZ.js → chunk-SH7GWQRX.js} +43 -13
- package/bin/chunk-SH7GWQRX.js.map +1 -0
- package/bin/git.cjs +75 -75
- package/bin/git.js +1 -1
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-73HIS2A2.cjs → chunk-7W6KKQAE.cjs} +41 -11
- package/dist/{chunk-PFHNJI5V.js → chunk-LCKUTJW7.js} +41 -11
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/release/config.cjs +8 -8
- package/dist/release/config.js +1 -1
- package/package.json +4 -4
- package/bin/chunk-TMQCIJTZ.js.map +0 -1
- package/bin/chunk-YBTSEKHW.cjs.map +0 -1
|
@@ -92,9 +92,9 @@ function isUnicodeSupported() {
|
|
|
92
92
|
var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
|
|
93
93
|
var CONSOLE_ICONS = {
|
|
94
94
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
95
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
95
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
96
96
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
97
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
97
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
98
98
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
99
99
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
100
100
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -173,7 +173,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) =>
|
|
|
173
173
|
return (message) => {
|
|
174
174
|
console.error(
|
|
175
175
|
`
|
|
176
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
176
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
177
|
+
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
178
|
+
)(
|
|
179
|
+
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
180
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
177
181
|
`
|
|
178
182
|
);
|
|
179
183
|
};
|
|
@@ -182,7 +186,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
|
|
|
182
186
|
return (message) => {
|
|
183
187
|
console.error(
|
|
184
188
|
`
|
|
185
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
189
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
190
|
+
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
191
|
+
)(
|
|
192
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
193
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
186
194
|
`
|
|
187
195
|
);
|
|
188
196
|
};
|
|
@@ -191,7 +199,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
|
|
|
191
199
|
return (message) => {
|
|
192
200
|
console.warn(
|
|
193
201
|
`
|
|
194
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
202
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
203
|
+
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
204
|
+
)(
|
|
205
|
+
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
206
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
195
207
|
`
|
|
196
208
|
);
|
|
197
209
|
};
|
|
@@ -200,7 +212,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
|
|
|
200
212
|
return (message) => {
|
|
201
213
|
console.info(
|
|
202
214
|
`
|
|
203
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
215
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
216
|
+
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
217
|
+
)(
|
|
218
|
+
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
219
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
204
220
|
`
|
|
205
221
|
);
|
|
206
222
|
};
|
|
@@ -209,7 +225,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
|
|
|
209
225
|
return (message) => {
|
|
210
226
|
console.info(
|
|
211
227
|
`
|
|
212
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
228
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
229
|
+
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
230
|
+
)(
|
|
231
|
+
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
232
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
213
233
|
`
|
|
214
234
|
);
|
|
215
235
|
};
|
|
@@ -218,7 +238,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
218
238
|
return (message) => {
|
|
219
239
|
console.debug(
|
|
220
240
|
`
|
|
221
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
241
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
242
|
+
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
243
|
+
)(
|
|
244
|
+
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
245
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
222
246
|
`
|
|
223
247
|
);
|
|
224
248
|
};
|
|
@@ -227,7 +251,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
|
|
|
227
251
|
return (message) => {
|
|
228
252
|
console.debug(
|
|
229
253
|
`
|
|
230
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
254
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
255
|
+
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
256
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
231
257
|
`
|
|
232
258
|
);
|
|
233
259
|
};
|
|
@@ -235,7 +261,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
|
|
|
235
261
|
return (message) => {
|
|
236
262
|
console.log(
|
|
237
263
|
`
|
|
238
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
264
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
265
|
+
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
266
|
+
)(
|
|
267
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
268
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
239
269
|
`
|
|
240
270
|
);
|
|
241
271
|
};
|
|
@@ -247,7 +277,7 @@ var writeInfo = (message, config2) => getLogFn(LogLevel.INFO, config2)(message);
|
|
|
247
277
|
var writeSuccess = (message, config2) => getLogFn(LogLevel.SUCCESS, config2)(message);
|
|
248
278
|
var writeDebug = (message, config2) => getLogFn(LogLevel.DEBUG, config2)(message);
|
|
249
279
|
var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
|
|
250
|
-
var MAX_DEPTH =
|
|
280
|
+
var MAX_DEPTH = 6;
|
|
251
281
|
var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
252
282
|
if (depth2 > MAX_DEPTH) {
|
|
253
283
|
return "<max depth>";
|
|
@@ -3790,5 +3820,5 @@ function getWorkspaceConfig(skipLogs = true, options = {}) {
|
|
|
3790
3820
|
}
|
|
3791
3821
|
|
|
3792
3822
|
export { STORM_DEFAULT_RELEASE_BANNER, defu, exitWithError, exitWithSuccess, findWorkspaceRootSafe, getConfig, getWorkspaceConfig, handleProcess, isVerbose, joinPaths, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeTrace, writeWarning };
|
|
3793
|
-
//# sourceMappingURL=chunk-
|
|
3794
|
-
//# sourceMappingURL=chunk-
|
|
3823
|
+
//# sourceMappingURL=chunk-SH7GWQRX.js.map
|
|
3824
|
+
//# sourceMappingURL=chunk-SH7GWQRX.js.map
|