@storm-software/linting-tools 1.26.3 → 1.26.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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.26.4](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.3...linting-tools-v1.26.4) (2024-01-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **git-tools:** Resolved issue with logging strings ([21d9e0d](https://github.com/storm-software/storm-ops/commit/21d9e0dc7f21820909697577931d0c7b339755b7))
7
+ * **workspace-tools:** Remove the transform code from tsup patch ([399c910](https://github.com/storm-software/storm-ops/commit/399c910f0ca46741cc97b06f2a0812adbf7910f0))
8
+
9
+ ## [1.26.3](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.2...linting-tools-v1.26.3) (2024-01-16)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **workspace-tools:** Clean up code to apply getConfig option in tsup build ([96227fd](https://github.com/storm-software/storm-ops/commit/96227fde3d3f2871a88aa24be9206d555d373c9b))
15
+
1
16
  ## [1.26.2](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.1...linting-tools-v1.26.2) (2024-01-16)
2
17
 
3
18
 
package/cli/index.js CHANGED
@@ -282117,12 +282117,16 @@ 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
- ` ${chalk.bold.hex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6")(
282120
+ `
282121
+
282122
+
282123
+ ${chalk.bold.hex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6")(
282121
282124
  ">"
282122
- )} ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
282125
+ )} ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
282123
282126
  config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6"
282124
282127
  )(message)}
282125
282128
 
282129
+
282126
282130
  `
282127
282131
  );
282128
282132
  };
@@ -282130,12 +282134,16 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282130
282134
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
282131
282135
  return (message) => {
282132
282136
  console.error(
282133
- ` ${chalk.bold.hex(config2?.colors?.error ? config2.colors.error : "#7d1a1a")(
282137
+ `
282138
+
282139
+
282140
+ ${chalk.bold.hex(config2?.colors?.error ? config2.colors.error : "#7d1a1a")(
282134
282141
  ">"
282135
- )} ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
282142
+ )} ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
282136
282143
  config2?.colors?.error ? config2.colors.error : "#7d1a1a"
282137
282144
  )(message)}
282138
282145
 
282146
+
282139
282147
  `
282140
282148
  );
282141
282149
  };
@@ -282143,12 +282151,16 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282143
282151
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
282144
282152
  return (message) => {
282145
282153
  console.warn(
282146
- ` ${chalk.bold.hex(config2?.colors?.warning ? config2.colors.warning : "#fcc419")(
282154
+ `
282155
+
282156
+
282157
+ ${chalk.bold.hex(config2?.colors?.warning ? config2.colors.warning : "#fcc419")(
282147
282158
  ">"
282148
- )} ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282159
+ )} ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282149
282160
  config2?.colors?.warning ? config2.colors.warning : "#fcc419"
282150
282161
  )(message)}
282151
282162
 
282163
+
282152
282164
  `
282153
282165
  );
282154
282166
  };
@@ -282156,10 +282168,16 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282156
282168
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282157
282169
  return (message) => {
282158
282170
  console.info(
282159
- ` ${chalk.bold.hex(config2?.colors?.info ? config2.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config2?.colors?.info ? config2.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
282171
+ `
282172
+
282173
+
282174
+ ${chalk.bold.hex(config2?.colors?.info ? config2.colors.info : "#0ea5e9")(
282175
+ ">"
282176
+ )} ${chalk.bold.bgHex(config2?.colors?.info ? config2.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
282160
282177
  config2?.colors?.info ? config2.colors.info : "#0ea5e9"
282161
282178
  )(message)}
282162
282179
 
282180
+
282163
282181
  `
282164
282182
  );
282165
282183
  };
@@ -282167,12 +282185,16 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282167
282185
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282168
282186
  return (message) => {
282169
282187
  console.info(
282170
- ` ${chalk.bold.hex(config2?.colors?.success ? config2.colors.success : "#087f5b")(
282188
+ `
282189
+
282190
+
282191
+ ${chalk.bold.hex(config2?.colors?.success ? config2.colors.success : "#087f5b")(
282171
282192
  ">"
282172
- )} ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
282193
+ )} ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
282173
282194
  config2?.colors?.success ? config2.colors.success : "#087f5b"
282174
282195
  )(message)}
282175
282196
 
282197
+
282176
282198
  `
282177
282199
  );
282178
282200
  };
@@ -282180,24 +282202,32 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282180
282202
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
282181
282203
  return (message) => {
282182
282204
  console.debug(
282183
- ` ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282205
+ `
282206
+
282207
+
282208
+ ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282184
282209
  ">"
282185
- )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
282210
+ )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
282186
282211
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282187
282212
  )(message)}
282188
282213
 
282214
+
282189
282215
  `
282190
282216
  );
282191
282217
  };
282192
282218
  }
282193
282219
  return (message) => {
282194
282220
  console.log(
282195
- ` ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282221
+ `
282222
+
282223
+
282224
+ ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282196
282225
  ">"
282197
- )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
282226
+ )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
282198
282227
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282199
282228
  )(message)}
282200
282229
 
282230
+
282201
282231
  `
282202
282232
  );
282203
282233
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.26.3",
3
+ "version": "1.26.5",
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": [