@storm-software/eslint 0.169.75 → 0.169.77

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/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.169.67-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.169.74-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -46,7 +46,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
46
46
 
47
47
  <!-- START doctoc -->
48
48
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
49
-
50
49
  ## Table of Contents
51
50
 
52
51
  - [Storm Base ESLint Package](#storm-base-eslint-package)
package/dist/preset.js CHANGED
@@ -2016,6 +2016,7 @@ var DEFAULT_COLOR_CONFIG = {
2016
2016
  help: "#5C4EE5",
2017
2017
  success: "#087f5b",
2018
2018
  info: "#0550ae",
2019
+ debug: "#8afafc",
2019
2020
  warning: "#e3b341",
2020
2021
  danger: "#D8314A",
2021
2022
  fatal: "#51070f",
@@ -2032,6 +2033,7 @@ var DEFAULT_COLOR_CONFIG = {
2032
2033
  help: "#818cf8",
2033
2034
  success: "#10b981",
2034
2035
  info: "#58a6ff",
2036
+ debug: "#8afafc",
2035
2037
  warning: "#f3d371",
2036
2038
  danger: "#D8314A",
2037
2039
  fatal: "#a40e26",
@@ -2219,7 +2221,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
2219
2221
  return (message) => {
2220
2222
  console.debug(
2221
2223
  `
2222
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2224
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2223
2225
  `
2224
2226
  );
2225
2227
  };
@@ -2228,7 +2230,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
2228
2230
  return (message) => {
2229
2231
  console.debug(
2230
2232
  `
2231
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2233
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2232
2234
  `
2233
2235
  );
2234
2236
  };
@@ -4586,6 +4588,10 @@ var infoColorSchema = _default(colorSchema, "#38bdf8");
4586
4588
  schemaRegistry.add(infoColorSchema, {
4587
4589
  description: "The informational color of the workspace"
4588
4590
  });
4591
+ var debugColorSchema = _default(colorSchema, "#8afafc");
4592
+ schemaRegistry.add(debugColorSchema, {
4593
+ description: "The debug color of the workspace"
4594
+ });
4589
4595
  var warningColorSchema = _default(colorSchema, "#f3d371");
4590
4596
  schemaRegistry.add(warningColorSchema, {
4591
4597
  description: "The warning color of the workspace"
@@ -4620,6 +4626,7 @@ var darkColorsSchema = object({
4620
4626
  help: helpColorSchema,
4621
4627
  success: successColorSchema,
4622
4628
  info: infoColorSchema,
4629
+ debug: debugColorSchema,
4623
4630
  warning: warningColorSchema,
4624
4631
  danger: dangerColorSchema,
4625
4632
  fatal: fatalColorSchema,
@@ -4637,6 +4644,7 @@ var lightColorsSchema = object({
4637
4644
  help: helpColorSchema,
4638
4645
  success: successColorSchema,
4639
4646
  info: infoColorSchema,
4647
+ debug: debugColorSchema,
4640
4648
  warning: warningColorSchema,
4641
4649
  danger: dangerColorSchema,
4642
4650
  fatal: fatalColorSchema,
@@ -4658,6 +4666,7 @@ var singleColorsSchema = object({
4658
4666
  help: helpColorSchema,
4659
4667
  success: successColorSchema,
4660
4668
  info: infoColorSchema,
4669
+ debug: debugColorSchema,
4661
4670
  warning: warningColorSchema,
4662
4671
  danger: dangerColorSchema,
4663
4672
  fatal: fatalColorSchema,
@@ -5446,6 +5455,7 @@ var getSingleThemeColorsEnv = (prefix) => {
5446
5455
  help: process.env[`${prefix}HELP`],
5447
5456
  success: process.env[`${prefix}SUCCESS`],
5448
5457
  info: process.env[`${prefix}INFO`],
5458
+ debug: process.env[`${prefix}DEBUG`],
5449
5459
  warning: process.env[`${prefix}WARNING`],
5450
5460
  danger: process.env[`${prefix}DANGER`],
5451
5461
  fatal: process.env[`${prefix}FATAL`],
@@ -5484,6 +5494,7 @@ var getBaseThemeColorsEnv = (prefix) => {
5484
5494
  help: process.env[`${prefix}HELP`],
5485
5495
  success: process.env[`${prefix}SUCCESS`],
5486
5496
  info: process.env[`${prefix}INFO`],
5497
+ debug: process.env[`${prefix}DEBUG`],
5487
5498
  warning: process.env[`${prefix}WARNING`],
5488
5499
  danger: process.env[`${prefix}DANGER`],
5489
5500
  fatal: process.env[`${prefix}FATAL`],
@@ -5786,6 +5797,9 @@ var setSingleThemeColorsEnv = (prefix, config3) => {
5786
5797
  if (config3.info) {
5787
5798
  process.env[`${prefix}INFO`] = config3.info;
5788
5799
  }
5800
+ if (config3.debug) {
5801
+ process.env[`${prefix}DEBUG`] = config3.debug;
5802
+ }
5789
5803
  if (config3.warning) {
5790
5804
  process.env[`${prefix}WARNING`] = config3.warning;
5791
5805
  }
@@ -5841,6 +5855,9 @@ var setBaseThemeColorsEnv = (prefix, config3) => {
5841
5855
  if (config3.info) {
5842
5856
  process.env[`${prefix}INFO`] = config3.info;
5843
5857
  }
5858
+ if (config3.debug) {
5859
+ process.env[`${prefix}DEBUG`] = config3.debug;
5860
+ }
5844
5861
  if (config3.warning) {
5845
5862
  process.env[`${prefix}WARNING`] = config3.warning;
5846
5863
  }
@@ -6734,8 +6751,8 @@ async function javascript(options = {}) {
6734
6751
  "always",
6735
6752
  {
6736
6753
  line: {
6737
- exceptions: ["-", "+", "#region", "#endregion"],
6738
- markers: ["=", "!", "/"]
6754
+ exceptions: ["-", "+"],
6755
+ markers: ["=", "!", "/", "#region", "#endregion"]
6739
6756
  // space here to support sprockets directives, slash for TS /// comments
6740
6757
  },
6741
6758
  block: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.169.75",
3
+ "version": "0.169.77",
4
4
  "type": "module",
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -164,8 +164,8 @@
164
164
  "@eslint/eslintrc": "^3.3.3",
165
165
  "@eslint/markdown": "^6.6.0",
166
166
  "@nx/eslint-plugin": "^22.3.3",
167
- "@storm-software/config": "^1.134.74",
168
- "@storm-software/config-tools": "^1.188.74",
167
+ "@storm-software/config": "^1.135.0",
168
+ "@storm-software/config-tools": "^1.188.76",
169
169
  "@stylistic/eslint-plugin": "^4.4.1",
170
170
  "@typescript-eslint/eslint-plugin": "^8.50.1",
171
171
  "@typescript-eslint/parser": "^8.50.1",
@@ -241,5 +241,5 @@
241
241
  },
242
242
  "publishConfig": { "access": "public" },
243
243
  "sideEffects": false,
244
- "gitHead": "04528fd5ad2e9964bafae6e92842b2c59015141a"
244
+ "gitHead": "e19d4a36814afd4e68d56d8c7e620ec273b71a03"
245
245
  }