@storm-software/linting-tools 1.40.0 → 1.41.1
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 +29 -0
- package/README.md +1 -1
- package/alex/.alexignore +0 -0
- package/alex/.alexrc +0 -0
- package/bin/lint.js +19 -20
- package/package.json +1 -1
- package/src/cli/index.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## 1.41.1 (2024-02-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Update the build executor back to esbuild ([ff200547](https://github.com/storm-software/storm-ops/commit/ff200547))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
## 1.41.0 (2024-02-26)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🚀 Features
|
|
17
|
+
|
|
18
|
+
- **tsconfig:** Added package to contain default base tsconfig files ([1b341f9a](https://github.com/storm-software/storm-ops/commit/1b341f9a))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### 🩹 Fixes
|
|
22
|
+
|
|
23
|
+
- **git-tools:** Resolved linting issues with the nx-version module ([9b5f02d0](https://github.com/storm-software/storm-ops/commit/9b5f02d0))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### ❤️ Thank You
|
|
27
|
+
|
|
28
|
+
- Patrick Sullivan
|
|
29
|
+
|
|
1
30
|
## 1.40.0 (2024-02-26)
|
|
2
31
|
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
16
16
|
|
|
17
17
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
18
18
|
|
|
19
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
21
21
|
|
|
22
22
|
> [!IMPORTANT]
|
package/alex/.alexignore
CHANGED
|
File without changes
|
package/alex/.alexrc
CHANGED
|
File without changes
|
package/bin/lint.js
CHANGED
|
@@ -285188,7 +285188,7 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
285188
285188
|
|
|
285189
285189
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
285190
285190
|
var rootFiles = [
|
|
285191
|
-
"
|
|
285191
|
+
"storm.json",
|
|
285192
285192
|
"storm.config.js",
|
|
285193
285193
|
"storm.config.ts",
|
|
285194
285194
|
".storm.json",
|
|
@@ -285196,6 +285196,7 @@ var rootFiles = [
|
|
|
285196
285196
|
".storm.yml",
|
|
285197
285197
|
".storm.js",
|
|
285198
285198
|
".storm.ts",
|
|
285199
|
+
"lerna.json",
|
|
285199
285200
|
"nx.json",
|
|
285200
285201
|
"turbo.json",
|
|
285201
285202
|
"npm-workspace.json",
|
|
@@ -285270,25 +285271,23 @@ var getJsonConfigFile = async (fileName, filePath2) => {
|
|
|
285270
285271
|
} : { config: {}, filepath: jsonPath, isEmpty: isEmpty3 };
|
|
285271
285272
|
};
|
|
285272
285273
|
var getConfigFile = async (filePath2, additionalFileNames = []) => {
|
|
285273
|
-
const workspacePath = filePath2 ? filePath2 :
|
|
285274
|
-
|
|
285275
|
-
|
|
285276
|
-
|
|
285277
|
-
|
|
285278
|
-
|
|
285279
|
-
|
|
285280
|
-
|
|
285281
|
-
|
|
285282
|
-
|
|
285283
|
-
|
|
285284
|
-
|
|
285285
|
-
|
|
285286
|
-
|
|
285287
|
-
|
|
285288
|
-
|
|
285289
|
-
|
|
285290
|
-
break;
|
|
285291
|
-
}
|
|
285274
|
+
const workspacePath = filePath2 ? filePath2 : findWorkspaceRoot(filePath2);
|
|
285275
|
+
if (!defaultExplorer) {
|
|
285276
|
+
defaultExplorer = await getConfigFileExplorer("storm");
|
|
285277
|
+
}
|
|
285278
|
+
let cosmiconfigResult = null;
|
|
285279
|
+
if (defaultExplorer) {
|
|
285280
|
+
cosmiconfigResult = await defaultExplorer.search(workspacePath);
|
|
285281
|
+
}
|
|
285282
|
+
if ((!cosmiconfigResult || cosmiconfigResult.isEmpty) && additionalFileNames.length > 0) {
|
|
285283
|
+
for (const additionalFileName of additionalFileNames) {
|
|
285284
|
+
cosmiconfigResult = await getJsonConfigFile(additionalFileName, workspacePath);
|
|
285285
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
285286
|
+
break;
|
|
285287
|
+
}
|
|
285288
|
+
cosmiconfigResult = await getConfigFileByName(additionalFileName, workspacePath);
|
|
285289
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
285290
|
+
break;
|
|
285292
285291
|
}
|
|
285293
285292
|
}
|
|
285294
285293
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.1",
|
|
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": [
|
package/src/cli/index.js
CHANGED
|
@@ -281044,7 +281044,7 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
281044
281044
|
|
|
281045
281045
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
281046
281046
|
var rootFiles = [
|
|
281047
|
-
"
|
|
281047
|
+
"storm.json",
|
|
281048
281048
|
"storm.config.js",
|
|
281049
281049
|
"storm.config.ts",
|
|
281050
281050
|
".storm.json",
|
|
@@ -281052,6 +281052,7 @@ var rootFiles = [
|
|
|
281052
281052
|
".storm.yml",
|
|
281053
281053
|
".storm.js",
|
|
281054
281054
|
".storm.ts",
|
|
281055
|
+
"lerna.json",
|
|
281055
281056
|
"nx.json",
|
|
281056
281057
|
"turbo.json",
|
|
281057
281058
|
"npm-workspace.json",
|