@storm-software/linting-tools 1.26.3 → 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 CHANGED
@@ -1,3 +1,10 @@
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
+
1
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)
2
9
 
3
10
 
package/cli/index.js CHANGED
@@ -282117,9 +282117,11 @@ 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
+ ${chalk.bold.hex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6")(
282121
282123
  ">"
282122
- )} ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
282124
+ )} ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
282123
282125
  config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6"
282124
282126
  )(message)}
282125
282127
 
@@ -282130,9 +282132,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282130
282132
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
282131
282133
  return (message) => {
282132
282134
  console.error(
282133
- ` ${chalk.bold.hex(config2?.colors?.error ? config2.colors.error : "#7d1a1a")(
282135
+ `
282136
+
282137
+ ${chalk.bold.hex(config2?.colors?.error ? config2.colors.error : "#7d1a1a")(
282134
282138
  ">"
282135
- )} ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
282139
+ )} ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
282136
282140
  config2?.colors?.error ? config2.colors.error : "#7d1a1a"
282137
282141
  )(message)}
282138
282142
 
@@ -282143,9 +282147,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282143
282147
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
282144
282148
  return (message) => {
282145
282149
  console.warn(
282146
- ` ${chalk.bold.hex(config2?.colors?.warning ? config2.colors.warning : "#fcc419")(
282150
+ `
282151
+
282152
+ ${chalk.bold.hex(config2?.colors?.warning ? config2.colors.warning : "#fcc419")(
282147
282153
  ">"
282148
- )} ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282154
+ )} ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282149
282155
  config2?.colors?.warning ? config2.colors.warning : "#fcc419"
282150
282156
  )(message)}
282151
282157
 
@@ -282156,7 +282162,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282156
282162
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282157
282163
  return (message) => {
282158
282164
  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(
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(
282160
282170
  config2?.colors?.info ? config2.colors.info : "#0ea5e9"
282161
282171
  )(message)}
282162
282172
 
@@ -282167,9 +282177,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282167
282177
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282168
282178
  return (message) => {
282169
282179
  console.info(
282170
- ` ${chalk.bold.hex(config2?.colors?.success ? config2.colors.success : "#087f5b")(
282180
+ `
282181
+
282182
+ ${chalk.bold.hex(config2?.colors?.success ? config2.colors.success : "#087f5b")(
282171
282183
  ">"
282172
- )} ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
282184
+ )} ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
282173
282185
  config2?.colors?.success ? config2.colors.success : "#087f5b"
282174
282186
  )(message)}
282175
282187
 
@@ -282180,9 +282192,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282180
282192
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
282181
282193
  return (message) => {
282182
282194
  console.debug(
282183
- ` ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282195
+ `
282196
+
282197
+ ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282184
282198
  ">"
282185
- )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
282199
+ )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
282186
282200
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282187
282201
  )(message)}
282188
282202
 
@@ -282192,9 +282206,11 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282192
282206
  }
282193
282207
  return (message) => {
282194
282208
  console.log(
282195
- ` ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282209
+ `
282210
+
282211
+ ${chalk.bold.hex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6")(
282196
282212
  ">"
282197
- )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
282213
+ )} ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
282198
282214
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282199
282215
  )(message)}
282200
282216
 
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.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": [