@storm-software/git-tools 2.66.0 → 2.67.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 +6 -0
- package/README.md +1 -1
- package/bin/git.js +14 -21
- package/bin/post-checkout.js +14 -21
- package/bin/post-commit.js +14 -21
- package/bin/post-merge.js +14 -21
- package/bin/pre-commit.js +14 -21
- package/bin/pre-install.js +14 -21
- package/bin/pre-push.js +14 -21
- package/bin/prepare.js +14 -21
- package/bin/version-warning.js +14 -21
- package/package.json +1 -1
- package/src/cli/index.js +14 -21
- package/src/commit/index.js +14 -21
- package/src/commitizen/index.js +14 -21
- package/src/index.js +14 -21
- package/src/release/index.js +14 -21
package/src/index.js
CHANGED
|
@@ -226091,10 +226091,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
|
|
|
226091
226091
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
226092
226092
|
return (message) => {
|
|
226093
226093
|
console.error(
|
|
226094
|
-
|
|
226095
|
-
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
226094
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
226096
226095
|
" \u{1F480} Fatal "
|
|
226097
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
226096
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
226098
226097
|
`
|
|
226099
226098
|
);
|
|
226100
226099
|
};
|
|
@@ -226102,10 +226101,9 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
|
|
|
226102
226101
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
226103
226102
|
return (message) => {
|
|
226104
226103
|
console.error(
|
|
226105
|
-
|
|
226106
|
-
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
226104
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
226107
226105
|
" \u2718 Error "
|
|
226108
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
226106
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
226109
226107
|
`
|
|
226110
226108
|
);
|
|
226111
226109
|
};
|
|
@@ -226113,10 +226111,9 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
|
|
|
226113
226111
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
226114
226112
|
return (message) => {
|
|
226115
226113
|
console.warn(
|
|
226116
|
-
|
|
226117
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
226114
|
+
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
226118
226115
|
" \u26A0 Warn "
|
|
226119
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
226116
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
|
|
226120
226117
|
`
|
|
226121
226118
|
);
|
|
226122
226119
|
};
|
|
@@ -226124,10 +226121,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
226124
226121
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
|
|
226125
226122
|
return (message) => {
|
|
226126
226123
|
console.info(
|
|
226127
|
-
|
|
226128
|
-
${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
226124
|
+
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
226129
226125
|
" \u2713 Success "
|
|
226130
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
226126
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
|
|
226131
226127
|
`
|
|
226132
226128
|
);
|
|
226133
226129
|
};
|
|
@@ -226135,10 +226131,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
226135
226131
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
226136
226132
|
return (message) => {
|
|
226137
226133
|
console.info(
|
|
226138
|
-
|
|
226139
|
-
${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
226134
|
+
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
226140
226135
|
" \u2139 Info "
|
|
226141
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
226136
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
|
|
226142
226137
|
`
|
|
226143
226138
|
);
|
|
226144
226139
|
};
|
|
@@ -226146,20 +226141,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
|
|
|
226146
226141
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
226147
226142
|
return (message) => {
|
|
226148
226143
|
console.debug(
|
|
226149
|
-
|
|
226150
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
226144
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
226151
226145
|
" \u{1F6E0} Debug "
|
|
226152
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
226146
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
226153
226147
|
`
|
|
226154
226148
|
);
|
|
226155
226149
|
};
|
|
226156
226150
|
}
|
|
226157
226151
|
return (message) => {
|
|
226158
226152
|
console.log(
|
|
226159
|
-
|
|
226160
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
226153
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
226161
226154
|
" \u2709 System "
|
|
226162
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
226155
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
226163
226156
|
`
|
|
226164
226157
|
);
|
|
226165
226158
|
};
|
package/src/release/index.js
CHANGED
|
@@ -5950,10 +5950,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
|
5950
5950
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
5951
5951
|
return (message) => {
|
|
5952
5952
|
console.error(
|
|
5953
|
-
|
|
5954
|
-
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
5953
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
5955
5954
|
" \u{1F480} Fatal "
|
|
5956
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
5955
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
5957
5956
|
`
|
|
5958
5957
|
);
|
|
5959
5958
|
};
|
|
@@ -5961,10 +5960,9 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
|
|
|
5961
5960
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
5962
5961
|
return (message) => {
|
|
5963
5962
|
console.error(
|
|
5964
|
-
|
|
5965
|
-
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
5963
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
5966
5964
|
" \u2718 Error "
|
|
5967
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
5965
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
5968
5966
|
`
|
|
5969
5967
|
);
|
|
5970
5968
|
};
|
|
@@ -5972,10 +5970,9 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
|
|
|
5972
5970
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
5973
5971
|
return (message) => {
|
|
5974
5972
|
console.warn(
|
|
5975
|
-
|
|
5976
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
5973
|
+
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
5977
5974
|
" \u26A0 Warn "
|
|
5978
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
5975
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
|
|
5979
5976
|
`
|
|
5980
5977
|
);
|
|
5981
5978
|
};
|
|
@@ -5983,10 +5980,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
5983
5980
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
|
|
5984
5981
|
return (message) => {
|
|
5985
5982
|
console.info(
|
|
5986
|
-
|
|
5987
|
-
${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
5983
|
+
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
5988
5984
|
" \u2713 Success "
|
|
5989
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
5985
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
|
|
5990
5986
|
`
|
|
5991
5987
|
);
|
|
5992
5988
|
};
|
|
@@ -5994,10 +5990,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
5994
5990
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
5995
5991
|
return (message) => {
|
|
5996
5992
|
console.info(
|
|
5997
|
-
|
|
5998
|
-
${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
5993
|
+
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
5999
5994
|
" \u2139 Info "
|
|
6000
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
5995
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
|
|
6001
5996
|
`
|
|
6002
5997
|
);
|
|
6003
5998
|
};
|
|
@@ -6005,20 +6000,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
|
|
|
6005
6000
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
6006
6001
|
return (message) => {
|
|
6007
6002
|
console.debug(
|
|
6008
|
-
|
|
6009
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
6003
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
6010
6004
|
" \u{1F6E0} Debug "
|
|
6011
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
6005
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
6012
6006
|
`
|
|
6013
6007
|
);
|
|
6014
6008
|
};
|
|
6015
6009
|
}
|
|
6016
6010
|
return (message) => {
|
|
6017
6011
|
console.log(
|
|
6018
|
-
|
|
6019
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
6012
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
6020
6013
|
" \u2709 System "
|
|
6021
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
6014
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
6022
6015
|
`
|
|
6023
6016
|
);
|
|
6024
6017
|
};
|