@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 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
- [![Version](https://img.shields.io/badge/version-1.40.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.41.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
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
- "lerna.json",
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 : findWorkspaceRootSafe(filePath2);
285274
- let cosmiconfigResult = await getJsonConfigFile("storm", workspacePath);
285275
- if (!cosmiconfigResult || cosmiconfigResult.isEmpty) {
285276
- if (!defaultExplorer) {
285277
- defaultExplorer = await getConfigFileExplorer("storm");
285278
- }
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;
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.40.0",
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
- "lerna.json",
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",