@storm-software/linting-tools 1.131.2 → 1.131.3

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.2-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"
@@ -317268,6 +317269,7 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
317268
317269
  // ../config-tools/src/create-storm-config.ts
317269
317270
  _chunkQWAGYRDDcjs.init_cjs_shims.call(void 0, );
317270
317271
 
317272
+
317271
317273
  // ../config-tools/src/env/get-env.ts
317272
317274
  _chunkQWAGYRDDcjs.init_cjs_shims.call(void 0, );
317273
317275
  var getExtensionEnv = (extensionName) => {
@@ -317880,6 +317882,9 @@ var createStormWorkspaceConfig = async (extensionName, schema2, workspaceRoot, s
317880
317882
  configFile,
317881
317883
  defaultConfig
317882
317884
  );
317885
+ if (!configInput.variant) {
317886
+ 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";
317887
+ }
317883
317888
  try {
317884
317889
  result = applyDefaultConfig(
317885
317890
  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"
@@ -317870,6 +317871,7 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
317870
317871
 
317871
317872
  // ../config-tools/src/create-storm-config.ts
317872
317873
  init_esm_shims();
317874
+ import { existsSync as existsSync5 } from "node:fs";
317873
317875
 
317874
317876
  // ../config-tools/src/env/get-env.ts
317875
317877
  init_esm_shims();
@@ -318483,6 +318485,9 @@ var createStormWorkspaceConfig = async (extensionName, schema2, workspaceRoot, s
318483
318485
  configFile,
318484
318486
  defaultConfig
318485
318487
  );
318488
+ if (!configInput.variant) {
318489
+ configInput.variant = existsSync5(joinPaths(_workspaceRoot, "nx.json")) || existsSync5(joinPaths(_workspaceRoot, ".nx")) || existsSync5(joinPaths(_workspaceRoot, "lerna.json")) || existsSync5(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
318490
+ }
318486
318491
  try {
318487
318492
  result = applyDefaultConfig(
318488
318493
  await workspaceConfigSchema.parseAsync(configInput)
@@ -318571,7 +318576,7 @@ var import_edit_json_file = __toESM(require_lib5(), 1);
318571
318576
  // ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/package.js
318572
318577
  init_esm_shims();
318573
318578
  init_js_yaml();
318574
- import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
318579
+ import { existsSync as existsSync6, readFileSync as readFileSync2 } from "node:fs";
318575
318580
  import { join as join4, relative } from "node:path";
318576
318581
  var Package = class {
318577
318582
  constructor(path32, pathWorkspace) {
@@ -318582,7 +318587,7 @@ var Package = class {
318582
318587
  this.packageJsonEndsInNewline = packageJsonContents.endsWith("\n");
318583
318588
  this.packageJson = JSON.parse(packageJsonContents);
318584
318589
  const pnpmWorkspacePath = join4(path32, "pnpm-workspace.yaml");
318585
- if (existsSync5(pnpmWorkspacePath)) {
318590
+ if (existsSync6(pnpmWorkspacePath)) {
318586
318591
  const pnpmWorkspaceContents = readFileSync2(pnpmWorkspacePath, "utf8");
318587
318592
  const pnpmWorkspaceYaml = load(pnpmWorkspaceContents);
318588
318593
  this.pnpmWorkspacePackages = pnpmWorkspaceYaml.packages;
@@ -318624,7 +318629,7 @@ var Package = class {
318624
318629
  }
318625
318630
  static exists(path32) {
318626
318631
  const packageJsonPath = join4(path32, "package.json");
318627
- return existsSync5(packageJsonPath);
318632
+ return existsSync6(packageJsonPath);
318628
318633
  }
318629
318634
  static some(packages, callback2) {
318630
318635
  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.3",
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": "4d44644a8d56ed0d61e060cf74147fcc83210a5c"
153
153
  }