@storm-software/linting-tools 1.26.1 → 1.26.2

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.1](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.26.0...linting-tools-v1.26.1) (2024-01-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **git-tools:** Resolved logging issues with git hooks and tsup build ([daeec6e](https://github.com/storm-software/storm-ops/commit/daeec6efaad169b6947eedef1a07339c0b52409c))
7
+
1
8
  # [1.26.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.25.3...linting-tools-v1.26.0) (2024-01-15)
2
9
 
3
10
 
package/cli/index.js CHANGED
@@ -282117,7 +282117,7 @@ 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.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").inverse("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
282120
+ ` ${chalk.bold.bgHex(config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
282121
282121
  config2?.colors?.fatal ? config2.colors.fatal : "#1fb2a6"
282122
282122
  )(message)}
282123
282123
  `
@@ -282127,7 +282127,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282127
282127
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
282128
282128
  return (message) => {
282129
282129
  console.error(
282130
- ` ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").inverse("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
282130
+ ` ${chalk.bold.bgHex(config2?.colors?.error ? config2.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
282131
282131
  config2?.colors?.error ? config2.colors.error : "#7d1a1a"
282132
282132
  )(message)}
282133
282133
  `
@@ -282137,7 +282137,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282137
282137
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
282138
282138
  return (message) => {
282139
282139
  console.warn(
282140
- ` ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").inverse("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282140
+ ` ${chalk.bold.bgHex(config2?.colors?.warning ? config2.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
282141
282141
  config2?.colors?.warning ? config2.colors.warning : "#fcc419"
282142
282142
  )(message)}
282143
282143
  `
@@ -282147,7 +282147,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282147
282147
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282148
282148
  return (message) => {
282149
282149
  console.info(
282150
- ` ${chalk.bold.bgHex(config2?.colors?.info ? config2.colors.info : "#0ea5e9").inverse("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
282150
+ ` ${chalk.bold.bgHex(config2?.colors?.info ? config2.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
282151
282151
  config2?.colors?.info ? config2.colors.info : "#0ea5e9"
282152
282152
  )(message)}
282153
282153
  `
@@ -282157,7 +282157,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282157
282157
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
282158
282158
  return (message) => {
282159
282159
  console.info(
282160
- ` ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").inverse("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
282160
+ ` ${chalk.bold.bgHex(config2?.colors?.success ? config2.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
282161
282161
  config2?.colors?.success ? config2.colors.success : "#087f5b"
282162
282162
  )(message)}
282163
282163
  `
@@ -282167,7 +282167,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282167
282167
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
282168
282168
  return (message) => {
282169
282169
  console.debug(
282170
- ` ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").inverse("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
282170
+ ` ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
282171
282171
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282172
282172
  )(message)}
282173
282173
  `
@@ -282176,7 +282176,7 @@ var getLogFn = (config2 = {}, logLevel = LogLevel.INFO) => {
282176
282176
  }
282177
282177
  return (message) => {
282178
282178
  console.log(
282179
- ` ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").inverse("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
282179
+ ` ${chalk.bold.bgHex(config2?.colors?.primary ? config2.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
282180
282180
  config2?.colors?.primary ? config2.colors.primary : "#1fb2a6"
282181
282181
  )(message)}
282182
282182
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
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": [