@storm-software/linting-tools 1.131.2 → 1.131.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/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-1.131.1-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-1.131.3-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/bin/lint.cjs CHANGED
@@ -314428,6 +314428,7 @@ var rootFiles = [
314428
314428
  var rootDirectories = [
314429
314429
  ".storm-workspace",
314430
314430
  ".nx",
314431
+ ".git",
314431
314432
  ".github",
314432
314433
  ".vscode",
314433
314434
  ".verdaccio"
@@ -317185,7 +317186,8 @@ var runAsync = (config2, command, cwd = _nullishCoalesce(config2.workspaceRoot,
317185
317186
  },
317186
317187
  windowsHide: true,
317187
317188
  maxBuffer: LARGE_BUFFER,
317188
- killSignal: "SIGTERM"
317189
+ killSignal: "SIGTERM",
317190
+ encoding: "utf8"
317189
317191
  });
317190
317192
  };
317191
317193
 
@@ -317268,6 +317270,7 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
317268
317270
  // ../config-tools/src/create-storm-config.ts
317269
317271
  _chunkQWAGYRDDcjs.init_cjs_shims.call(void 0, );
317270
317272
 
317273
+
317271
317274
  // ../config-tools/src/env/get-env.ts
317272
317275
  _chunkQWAGYRDDcjs.init_cjs_shims.call(void 0, );
317273
317276
  var getExtensionEnv = (extensionName) => {
@@ -317880,6 +317883,9 @@ var createStormWorkspaceConfig = async (extensionName, schema2, workspaceRoot, s
317880
317883
  configFile,
317881
317884
  defaultConfig
317882
317885
  );
317886
+ if (!configInput.variant) {
317887
+ configInput.variant = _fs3.existsSync.call(void 0, joinPaths(_workspaceRoot, "nx.json")) || _fs3.existsSync.call(void 0, joinPaths(_workspaceRoot, ".nx")) || _fs3.existsSync.call(void 0, joinPaths(_workspaceRoot, "lerna.json")) || _fs3.existsSync.call(void 0, joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
317888
+ }
317883
317889
  try {
317884
317890
  result = applyDefaultConfig(
317885
317891
  await workspaceConfigSchema.parseAsync(configInput)
package/bin/lint.js CHANGED
@@ -315031,6 +315031,7 @@ var rootFiles = [
315031
315031
  var rootDirectories = [
315032
315032
  ".storm-workspace",
315033
315033
  ".nx",
315034
+ ".git",
315034
315035
  ".github",
315035
315036
  ".vscode",
315036
315037
  ".verdaccio"
@@ -317788,7 +317789,8 @@ var runAsync = (config2, command, cwd = config2.workspaceRoot ?? process.cwd(),
317788
317789
  },
317789
317790
  windowsHide: true,
317790
317791
  maxBuffer: LARGE_BUFFER,
317791
- killSignal: "SIGTERM"
317792
+ killSignal: "SIGTERM",
317793
+ encoding: "utf8"
317792
317794
  });
317793
317795
  };
317794
317796
 
@@ -317870,6 +317872,7 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
317870
317872
 
317871
317873
  // ../config-tools/src/create-storm-config.ts
317872
317874
  init_esm_shims();
317875
+ import { existsSync as existsSync5 } from "node:fs";
317873
317876
 
317874
317877
  // ../config-tools/src/env/get-env.ts
317875
317878
  init_esm_shims();
@@ -318483,6 +318486,9 @@ var createStormWorkspaceConfig = async (extensionName, schema2, workspaceRoot, s
318483
318486
  configFile,
318484
318487
  defaultConfig
318485
318488
  );
318489
+ if (!configInput.variant) {
318490
+ configInput.variant = existsSync5(joinPaths(_workspaceRoot, "nx.json")) || existsSync5(joinPaths(_workspaceRoot, ".nx")) || existsSync5(joinPaths(_workspaceRoot, "lerna.json")) || existsSync5(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
318491
+ }
318486
318492
  try {
318487
318493
  result = applyDefaultConfig(
318488
318494
  await workspaceConfigSchema.parseAsync(configInput)
@@ -318571,7 +318577,7 @@ var import_edit_json_file = __toESM(require_lib5(), 1);
318571
318577
  // ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/package.js
318572
318578
  init_esm_shims();
318573
318579
  init_js_yaml();
318574
- import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
318580
+ import { existsSync as existsSync6, readFileSync as readFileSync2 } from "node:fs";
318575
318581
  import { join as join4, relative } from "node:path";
318576
318582
  var Package = class {
318577
318583
  constructor(path32, pathWorkspace) {
@@ -318582,7 +318588,7 @@ var Package = class {
318582
318588
  this.packageJsonEndsInNewline = packageJsonContents.endsWith("\n");
318583
318589
  this.packageJson = JSON.parse(packageJsonContents);
318584
318590
  const pnpmWorkspacePath = join4(path32, "pnpm-workspace.yaml");
318585
- if (existsSync5(pnpmWorkspacePath)) {
318591
+ if (existsSync6(pnpmWorkspacePath)) {
318586
318592
  const pnpmWorkspaceContents = readFileSync2(pnpmWorkspacePath, "utf8");
318587
318593
  const pnpmWorkspaceYaml = load(pnpmWorkspaceContents);
318588
318594
  this.pnpmWorkspacePackages = pnpmWorkspaceYaml.packages;
@@ -318624,7 +318630,7 @@ var Package = class {
318624
318630
  }
318625
318631
  static exists(path32) {
318626
318632
  const packageJsonPath = join4(path32, "package.json");
318627
- return existsSync5(packageJsonPath);
318633
+ return existsSync6(packageJsonPath);
318628
318634
  }
318629
318635
  static some(packages, callback2) {
318630
318636
  return packages.some((package_) => callback2(package_));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.131.2",
3
+ "version": "1.131.4",
4
4
  "type": "module",
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
  "repository": {
@@ -149,5 +149,5 @@
149
149
  "vfile-reporter": "8.1.1"
150
150
  },
151
151
  "publishConfig": { "access": "public" },
152
- "gitHead": "4685d950fde94a24f6739526637a100d134c3623"
152
+ "gitHead": "5ba1714ea3ed713513913707565190fad212ee67"
153
153
  }