@storm-software/linting-tools 1.15.8 → 1.15.9
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/CHANGELOG.md +7 -0
- package/cli/index.js +5 -5
- package/manypkg/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.15.8](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.15.7...linting-tools-v1.15.8) (2023-12-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **config-tools:** Update configuration types to allow any type of schema ([c79b428](https://github.com/storm-software/storm-ops/commit/c79b428057b6020c1a50e68dd6f753cf7ad133f5))
|
|
7
|
+
|
|
1
8
|
## [1.15.7](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.15.6...linting-tools-v1.15.7) (2023-12-03)
|
|
2
9
|
|
|
3
10
|
|
package/cli/index.js
CHANGED
|
@@ -314638,7 +314638,7 @@ async function runManypkg(manypkgType, manypkgArgs, manypkgFix = true) {
|
|
|
314638
314638
|
process.exit(1);
|
|
314639
314639
|
}
|
|
314640
314640
|
const { packages, rootPackage, rootDir } = await (0, import_get_packages4.getPackages)(
|
|
314641
|
-
process.env["
|
|
314641
|
+
process.env["STORM_WORKSPACE_ROOT"] ? process.env["STORM_WORKSPACE_ROOT"] : process.cwd()
|
|
314642
314642
|
);
|
|
314643
314643
|
const options = {
|
|
314644
314644
|
...defaultOptions2,
|
|
@@ -314684,7 +314684,7 @@ async function runManypkg(manypkgType, manypkgArgs, manypkgFix = true) {
|
|
|
314684
314684
|
function createProgram() {
|
|
314685
314685
|
console.log("Running\u26A1Storm Linting Tools");
|
|
314686
314686
|
const root = findWorkspaceRoot();
|
|
314687
|
-
process.env.
|
|
314687
|
+
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
314688
314688
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
|
314689
314689
|
root && process.chdir(root);
|
|
314690
314690
|
const program2 = new Command("storm-lint");
|
|
@@ -314776,7 +314776,7 @@ async function cspellAction(cspellConfig) {
|
|
|
314776
314776
|
dot: true,
|
|
314777
314777
|
debug: true,
|
|
314778
314778
|
gitignore: true,
|
|
314779
|
-
root: process.env["
|
|
314779
|
+
root: process.env["STORM_WORKSPACE_ROOT"] ? process.env["STORM_WORKSPACE_ROOT"] : process.cwd(),
|
|
314780
314780
|
defaultConfiguration: false,
|
|
314781
314781
|
config: cspellConfig
|
|
314782
314782
|
});
|
|
@@ -314856,8 +314856,8 @@ function setWorkspaceRoot(root) {
|
|
|
314856
314856
|
workspaceRoot = root;
|
|
314857
314857
|
}
|
|
314858
314858
|
function workspaceRootInner(dir, candidateRoot) {
|
|
314859
|
-
if (process.env.
|
|
314860
|
-
return process.env.
|
|
314859
|
+
if (process.env.STORM_WORKSPACE_ROOT)
|
|
314860
|
+
return process.env.STORM_WORKSPACE_ROOT;
|
|
314861
314861
|
if (path37.dirname(dir) === dir)
|
|
314862
314862
|
return candidateRoot;
|
|
314863
314863
|
const matches = [path37.join(dir, "pnpm-workspace.yaml")];
|
package/manypkg/index.js
CHANGED
|
@@ -25488,7 +25488,7 @@ async function runManypkg(manypkgType, manypkgArgs, manypkgFix = true) {
|
|
|
25488
25488
|
process.exit(1);
|
|
25489
25489
|
}
|
|
25490
25490
|
const { packages, rootPackage, rootDir } = await (0, import_get_packages4.getPackages)(
|
|
25491
|
-
process.env["
|
|
25491
|
+
process.env["STORM_WORKSPACE_ROOT"] ? process.env["STORM_WORKSPACE_ROOT"] : process.cwd()
|
|
25492
25492
|
);
|
|
25493
25493
|
const options = {
|
|
25494
25494
|
...defaultOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.9",
|
|
4
4
|
"private": false,
|
|
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
|
"keywords": [
|