@storm-software/eslint 0.165.10 → 0.165.12

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
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.165.8-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)
24
+ [![Version](https://img.shields.io/badge/version-0.165.10-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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/preset.js CHANGED
@@ -55,10 +55,10 @@ import {
55
55
  init_esm_shims
56
56
  } from "./chunk-NAOQBQSK.js";
57
57
 
58
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/Debug.js
58
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/Debug.js
59
59
  import * as __import_process from "process";
60
60
  var require_Debug = __commonJS({
61
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
61
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
62
62
  "use strict";
63
63
  init_esm_shims();
64
64
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -74,12 +74,12 @@ var require_Debug = __commonJS({
74
74
  }
75
75
  });
76
76
 
77
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
77
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
78
78
  import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
79
79
  import * as __import_path from "path";
80
80
  import * as __import_fs from "fs";
81
81
  var require_ConfigCache = __commonJS({
82
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
82
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
83
83
  "use strict";
84
84
  init_esm_shims();
85
85
  var __import___Debug = __toESM(require_Debug());
@@ -290,22 +290,46 @@ var require_ConfigCache = __commonJS({
290
290
  );
291
291
  } else if (_fs.existsSync(
292
292
  path.join(
293
+ workspaceRootPath,
294
+ "node_modules",
295
+ "@storm-software",
296
+ "tsdoc",
297
+ "config",
298
+ configFilePath
299
+ )
300
+ )) {
301
+ return path.join(
302
+ workspaceRootPath,
303
+ "node_modules",
293
304
  "@storm-software",
294
305
  "tsdoc",
306
+ "config",
307
+ configFilePath
308
+ );
309
+ } else if (_fs.existsSync(
310
+ path.join(
311
+ workspaceRootPath,
312
+ "node_modules",
313
+ "@storm-software",
314
+ "tsdoc",
315
+ "dist",
295
316
  configFilePath
296
317
  )
297
318
  )) {
298
319
  return path.join(
320
+ workspaceRootPath,
321
+ "node_modules",
299
322
  "@storm-software",
300
323
  "tsdoc",
324
+ "dist",
301
325
  configFilePath
302
326
  );
303
327
  }
304
328
  return void 0;
305
329
  }
306
330
  static getStormConfigFile(options) {
307
- const type = options.type || "recommended";
308
- const configFile = options.configFile;
331
+ const type = options && options.type ? options.type : "recommended";
332
+ const configFile = options && options.configFile ? options.configFile : void 0;
309
333
  let workspaceRoot = "";
310
334
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
311
335
  workspaceRoot = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
@@ -313,14 +337,18 @@ var require_ConfigCache = __commonJS({
313
337
  if (!workspaceRoot) {
314
338
  workspaceRoot = findWorkspaceRoot3();
315
339
  }
340
+ let currentConfigFile = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
341
+ Debug_1.Debug.log(`Config file from user options: ${currentConfigFile || "(none)"}`);
316
342
  let configFilePath = _ConfigCache._checkConfigFilePath(
317
343
  workspaceRoot,
318
- process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile
344
+ currentConfigFile
319
345
  );
320
346
  if (!configFilePath) {
347
+ currentConfigFile = `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`;
348
+ Debug_1.Debug.log(`Config file from user options not found, trying: ${currentConfigFile}`);
321
349
  configFilePath = _ConfigCache._checkConfigFilePath(
322
350
  workspaceRoot,
323
- `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`
351
+ currentConfigFile
324
352
  );
325
353
  if (!configFilePath) {
326
354
  configFilePath = _ConfigCache._checkConfigFilePath(
@@ -385,10 +413,10 @@ var require_ConfigCache = __commonJS({
385
413
  }
386
414
  });
387
415
 
388
- // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/index.js
416
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/index.js
389
417
  import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
390
418
  var require_lib = __commonJS({
391
- "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=43534445509c3ee9a9b9a2c948e3e3589c8bf13e52044be770075e009a0e6cd1/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
419
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
392
420
  "use strict";
393
421
  init_esm_shims();
394
422
  var __import___Debug = __toESM(require_Debug());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.165.10",
3
+ "version": "0.165.12",
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.1",
165
165
  "@eslint/markdown": "^6.6.0",
166
166
  "@nx/eslint-plugin": "^21.4.1",
167
- "@storm-software/config": "^1.130.6",
168
- "@storm-software/config-tools": "^1.183.9",
167
+ "@storm-software/config": "^1.130.7",
168
+ "@storm-software/config-tools": "^1.183.11",
169
169
  "@stylistic/eslint-plugin": "^4.4.1",
170
170
  "@typescript-eslint/eslint-plugin": "^8.35.0",
171
171
  "@typescript-eslint/parser": "^8.35.0",
@@ -241,5 +241,5 @@
241
241
  },
242
242
  "publishConfig": { "access": "public" },
243
243
  "sideEffects": false,
244
- "gitHead": "7c0ed16488136b62e4b55bb8932b024dac0637d7"
244
+ "gitHead": "e3a65d569028bf9ea0883e17613944a9edae541d"
245
245
  }