@storm-software/workspace-tools 1.43.1 → 1.43.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.43.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.0...workspace-tools-v1.43.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.43.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.42.4...workspace-tools-v1.43.0) (2024-01-15)
2
9
 
3
10
 
package/index.js CHANGED
@@ -130251,7 +130251,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130251
130251
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
130252
130252
  return (message) => {
130253
130253
  console.error(
130254
- ` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").inverse("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
130254
+ ` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
130255
130255
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
130256
130256
  )(message)}
130257
130257
  `
@@ -130261,7 +130261,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130261
130261
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
130262
130262
  return (message) => {
130263
130263
  console.error(
130264
- ` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").inverse("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
130264
+ ` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
130265
130265
  config?.colors?.error ? config.colors.error : "#7d1a1a"
130266
130266
  )(message)}
130267
130267
  `
@@ -130271,7 +130271,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130271
130271
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
130272
130272
  return (message) => {
130273
130273
  console.warn(
130274
- ` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").inverse("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130274
+ ` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130275
130275
  config?.colors?.warning ? config.colors.warning : "#fcc419"
130276
130276
  )(message)}
130277
130277
  `
@@ -130281,7 +130281,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130281
130281
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130282
130282
  return (message) => {
130283
130283
  console.info(
130284
- ` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").inverse("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
130284
+ ` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
130285
130285
  config?.colors?.info ? config.colors.info : "#0ea5e9"
130286
130286
  )(message)}
130287
130287
  `
@@ -130291,7 +130291,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130291
130291
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130292
130292
  return (message) => {
130293
130293
  console.info(
130294
- ` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").inverse("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
130294
+ ` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
130295
130295
  config?.colors?.success ? config.colors.success : "#087f5b"
130296
130296
  )(message)}
130297
130297
  `
@@ -130301,7 +130301,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130301
130301
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
130302
130302
  return (message) => {
130303
130303
  console.debug(
130304
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").inverse("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
130304
+ ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
130305
130305
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130306
130306
  )(message)}
130307
130307
  `
@@ -130310,7 +130310,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130310
130310
  }
130311
130311
  return (message) => {
130312
130312
  console.log(
130313
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").inverse("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
130313
+ ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
130314
130314
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130315
130315
  )(message)}
130316
130316
  `