@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 +1 -1
- package/bin/lint.cjs +5 -0
- package/bin/lint.js +8 -3
- package/package.json +2 -2
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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
|
|
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 (
|
|
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
|
|
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.
|
|
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": "
|
|
152
|
+
"gitHead": "4d44644a8d56ed0d61e060cf74147fcc83210a5c"
|
|
153
153
|
}
|