@storm-software/linting-tools 1.26.2 → 1.26.4
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 +14 -0
- package/cli/index.js +42 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.26.3](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.2...linting-tools-v1.26.3) (2024-01-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Clean up code to apply getConfig option in tsup build ([96227fd](https://github.com/storm-software/storm-ops/commit/96227fde3d3f2871a88aa24be9206d555d373c9b))
|
|
7
|
+
|
|
8
|
+
## [1.26.2](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.1...linting-tools-v1.26.2) (2024-01-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **git-tools:** Updated console formatting and text colors ([82e869f](https://github.com/storm-software/storm-ops/commit/82e869f0395d112c0a2906223e0827fd9b243e54))
|
|
14
|
+
|
|
1
15
|
## [1.26.1](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.0...linting-tools-v1.26.1) (2024-01-16)
|
|
2
16
|
|
|
3
17
|
|
package/cli/index.js
CHANGED
|
@@ -282117,9 +282117,14 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282117
282117
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
282118
282118
|
return (message) => {
|
|
282119
282119
|
console.error(
|
|
282120
|
-
`
|
|
282120
|
+
`
|
|
282121
|
+
|
|
282122
|
+
${chalk.bold.hex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6")(
|
|
282123
|
+
">"
|
|
282124
|
+
)} ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
282121
282125
|
config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6"
|
|
282122
282126
|
)(message)}
|
|
282127
|
+
|
|
282123
282128
|
`
|
|
282124
282129
|
);
|
|
282125
282130
|
};
|
|
@@ -282127,9 +282132,14 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282127
282132
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
282128
282133
|
return (message) => {
|
|
282129
282134
|
console.error(
|
|
282130
|
-
`
|
|
282135
|
+
`
|
|
282136
|
+
|
|
282137
|
+
${chalk.bold.hex(config2?.colors?.error ? config2.colors.error : "#7d1a1a")(
|
|
282138
|
+
">"
|
|
282139
|
+
)} ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
282131
282140
|
config2?.colors?.error ? config2.colors.error : "#7d1a1a"
|
|
282132
282141
|
)(message)}
|
|
282142
|
+
|
|
282133
282143
|
`
|
|
282134
282144
|
);
|
|
282135
282145
|
};
|
|
@@ -282137,9 +282147,14 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282137
282147
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
282138
282148
|
return (message) => {
|
|
282139
282149
|
console.warn(
|
|
282140
|
-
`
|
|
282150
|
+
`
|
|
282151
|
+
|
|
282152
|
+
${chalk.bold.hex(config2?.colors?.warning ? config2.colors.warning : "#fcc419")(
|
|
282153
|
+
">"
|
|
282154
|
+
)} ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
282141
282155
|
config2?.colors?.warning ? config2.colors.warning : "#fcc419"
|
|
282142
282156
|
)(message)}
|
|
282157
|
+
|
|
282143
282158
|
`
|
|
282144
282159
|
);
|
|
282145
282160
|
};
|
|
@@ -282147,9 +282162,14 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282147
282162
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
282148
282163
|
return (message) => {
|
|
282149
282164
|
console.info(
|
|
282150
|
-
`
|
|
282165
|
+
`
|
|
282166
|
+
|
|
282167
|
+
${chalk.bold.hex(config2?.colors?.info ? config2.colors.info : "#0ea5e9")(
|
|
282168
|
+
">"
|
|
282169
|
+
)} ${chalk.bold.bgHex(config2?.colors?.info ? config2.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
282151
282170
|
config2?.colors?.info ? config2.colors.info : "#0ea5e9"
|
|
282152
282171
|
)(message)}
|
|
282172
|
+
|
|
282153
282173
|
`
|
|
282154
282174
|
);
|
|
282155
282175
|
};
|
|
@@ -282157,9 +282177,14 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282157
282177
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
282158
282178
|
return (message) => {
|
|
282159
282179
|
console.info(
|
|
282160
|
-
`
|
|
282180
|
+
`
|
|
282181
|
+
|
|
282182
|
+
${chalk.bold.hex(config2?.colors?.success ? config2.colors.success : "#087f5b")(
|
|
282183
|
+
">"
|
|
282184
|
+
)} ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
|
|
282161
282185
|
config2?.colors?.success ? config2.colors.success : "#087f5b"
|
|
282162
282186
|
)(message)}
|
|
282187
|
+
|
|
282163
282188
|
`
|
|
282164
282189
|
);
|
|
282165
282190
|
};
|
|
@@ -282167,18 +282192,28 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
|
|
|
282167
282192
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
282168
282193
|
return (message) => {
|
|
282169
282194
|
console.debug(
|
|
282170
|
-
`
|
|
282195
|
+
`
|
|
282196
|
+
|
|
282197
|
+
${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
|
|
282198
|
+
">"
|
|
282199
|
+
)} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
282171
282200
|
config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
|
|
282172
282201
|
)(message)}
|
|
282202
|
+
|
|
282173
282203
|
`
|
|
282174
282204
|
);
|
|
282175
282205
|
};
|
|
282176
282206
|
}
|
|
282177
282207
|
return (message) => {
|
|
282178
282208
|
console.log(
|
|
282179
|
-
`
|
|
282209
|
+
`
|
|
282210
|
+
|
|
282211
|
+
${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
|
|
282212
|
+
">"
|
|
282213
|
+
)} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
282180
282214
|
config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
|
|
282181
282215
|
)(message)}
|
|
282216
|
+
|
|
282182
282217
|
`
|
|
282183
282218
|
);
|
|
282184
282219
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"keywords": [
|