@storm-software/workspace-tools 1.258.7 → 1.259.0

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,19 @@
1
+ ## 1.259.0 (2025-02-21)
2
+
3
+ ### Features
4
+
5
+ - **workspace-tools:** Added `lint-ls`, `format-readme`, and `format-toml` to plugins ([f6dd27ad4](https://github.com/storm-software/storm-ops/commit/f6dd27ad4))
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Format monorepo files and run linters ([8f25455d5](https://github.com/storm-software/storm-ops/commit/8f25455d5))
10
+
11
+ ## 1.258.8 (2025-02-18)
12
+
13
+ ### Miscellaneous
14
+
15
+ - **monorepo:** Regenerate README markdown files ([ae8ae2775](https://github.com/storm-software/storm-ops/commit/ae8ae2775))
16
+
1
17
  ## 1.258.7 (2025-02-15)
2
18
 
3
19
  ### Miscellaneous
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.258.6-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.259.0-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/config/base.json CHANGED
@@ -350,7 +350,7 @@
350
350
  "dependsOn": ["^format-readme"],
351
351
  "executor": "nx:run-commands",
352
352
  "options": {
353
- "command": "pnpm exec storm-git readme-gen --templates=\"tools/readme-templates\" --project=\"{projectName}\""
353
+ "command": "pnpm exec storm-git readme --templates=\"tools/readme-templates\" --project=\"{projectName}\""
354
354
  }
355
355
  },
356
356
  "format-prettier": {
@@ -51,6 +51,23 @@ var createNodes = [
51
51
  }
52
52
  };
53
53
  } else {
54
+ if (!targets["lint-ls"]) {
55
+ targets["lint-ls"] = {
56
+ cache: true,
57
+ inputs: [
58
+ "linting",
59
+ "typescript",
60
+ "^production"
61
+ ],
62
+ dependsOn: [
63
+ "^lint-ls"
64
+ ],
65
+ executor: "nx:run-commands",
66
+ options: {
67
+ command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
68
+ }
69
+ };
70
+ }
54
71
  if (!targets["lint-markdown"] && enableMarkdownlint) {
55
72
  targets["lint-markdown"] = {
56
73
  cache: true,
@@ -106,6 +123,62 @@ var createNodes = [
106
123
  }
107
124
  }
108
125
  }
126
+ if (!targets["format-toml"]) {
127
+ targets["format-toml"] = {
128
+ inputs: [
129
+ "linting",
130
+ "{projectRoot}/**/*.toml"
131
+ ],
132
+ outputs: [
133
+ "{projectRoot}/**/*.toml"
134
+ ],
135
+ dependsOn: [
136
+ "^format-toml"
137
+ ],
138
+ executor: "nx:run-commands",
139
+ options: {
140
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
141
+ }
142
+ };
143
+ }
144
+ if (!targets["format-readme"]) {
145
+ targets["format-readme"] = {
146
+ inputs: [
147
+ "linting",
148
+ "documentation",
149
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
150
+ ],
151
+ outputs: [
152
+ "{projectRoot}/README.md"
153
+ ],
154
+ dependsOn: [
155
+ "^format-readme"
156
+ ],
157
+ executor: "nx:run-commands",
158
+ options: {
159
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
160
+ }
161
+ };
162
+ }
163
+ if (!targets["format-prettier"]) {
164
+ targets["format-prettier"] = {
165
+ inputs: [
166
+ "linting",
167
+ "typescript",
168
+ "^production"
169
+ ],
170
+ outputs: [
171
+ "{projectRoot}/**/*"
172
+ ],
173
+ dependsOn: [
174
+ "^format-prettier"
175
+ ],
176
+ executor: "nx:run-commands",
177
+ options: {
178
+ command: 'pnpm exec prettier "{projectRoot}/**/*" --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/config.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore" --cache --cache-location="node_modules/.cache/prettier/{projectRoot}" '
179
+ }
180
+ };
181
+ }
109
182
  if (!targets.format) {
110
183
  targets.format = {
111
184
  dependsOn: [
@@ -51,6 +51,23 @@ var createNodes = [
51
51
  }
52
52
  };
53
53
  } else {
54
+ if (!targets["lint-ls"]) {
55
+ targets["lint-ls"] = {
56
+ cache: true,
57
+ inputs: [
58
+ "linting",
59
+ "typescript",
60
+ "^production"
61
+ ],
62
+ dependsOn: [
63
+ "^lint-ls"
64
+ ],
65
+ executor: "nx:run-commands",
66
+ options: {
67
+ command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
68
+ }
69
+ };
70
+ }
54
71
  if (!targets["lint-markdown"] && enableMarkdownlint) {
55
72
  targets["lint-markdown"] = {
56
73
  cache: true,
@@ -106,6 +123,62 @@ var createNodes = [
106
123
  }
107
124
  }
108
125
  }
126
+ if (!targets["format-toml"]) {
127
+ targets["format-toml"] = {
128
+ inputs: [
129
+ "linting",
130
+ "{projectRoot}/**/*.toml"
131
+ ],
132
+ outputs: [
133
+ "{projectRoot}/**/*.toml"
134
+ ],
135
+ dependsOn: [
136
+ "^format-toml"
137
+ ],
138
+ executor: "nx:run-commands",
139
+ options: {
140
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
141
+ }
142
+ };
143
+ }
144
+ if (!targets["format-readme"]) {
145
+ targets["format-readme"] = {
146
+ inputs: [
147
+ "linting",
148
+ "documentation",
149
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
150
+ ],
151
+ outputs: [
152
+ "{projectRoot}/README.md"
153
+ ],
154
+ dependsOn: [
155
+ "^format-readme"
156
+ ],
157
+ executor: "nx:run-commands",
158
+ options: {
159
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
160
+ }
161
+ };
162
+ }
163
+ if (!targets["format-prettier"]) {
164
+ targets["format-prettier"] = {
165
+ inputs: [
166
+ "linting",
167
+ "typescript",
168
+ "^production"
169
+ ],
170
+ outputs: [
171
+ "{projectRoot}/**/*"
172
+ ],
173
+ dependsOn: [
174
+ "^format-prettier"
175
+ ],
176
+ executor: "nx:run-commands",
177
+ options: {
178
+ command: 'pnpm exec prettier "{projectRoot}/**/*" --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/config.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore" --cache --cache-location="node_modules/.cache/prettier/{projectRoot}" '
179
+ }
180
+ };
181
+ }
109
182
  if (!targets.format) {
110
183
  targets.format = {
111
184
  dependsOn: [
@@ -77,6 +77,25 @@ var createNodesV2 = [
77
77
  continue;
78
78
  }
79
79
  project.targets = {
80
+ "lint-markdown": {
81
+ cache: true,
82
+ outputs: [
83
+ "{projectRoot}/**/*.md",
84
+ "{projectRoot}/**/*.mdx"
85
+ ],
86
+ inputs: [
87
+ "linting",
88
+ "{projectRoot}/**/*.md",
89
+ "{projectRoot}/**/*.mdx"
90
+ ],
91
+ dependsOn: [
92
+ "^lint-markdown"
93
+ ],
94
+ executor: "nx:run-commands",
95
+ options: {
96
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
97
+ }
98
+ },
80
99
  "lint-ls": {
81
100
  cache: true,
82
101
  inputs: [
@@ -100,6 +119,8 @@ var createNodesV2 = [
100
119
  "^production"
101
120
  ],
102
121
  dependsOn: [
122
+ "lint-ls",
123
+ "lint-markdown",
103
124
  "^lint"
104
125
  ],
105
126
  executor: "@storm-software/workspace-tools:cargo-clippy",
@@ -133,23 +154,35 @@ var createNodesV2 = [
133
154
  inputs: [
134
155
  "linting",
135
156
  "documentation",
136
- "rust",
137
- "^production"
157
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
158
+ ],
159
+ outputs: [
160
+ "{projectRoot}/README.md"
138
161
  ],
139
162
  dependsOn: [
140
163
  "^format-readme"
141
- ]
164
+ ],
165
+ executor: "nx:run-commands",
166
+ options: {
167
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
168
+ }
142
169
  },
143
170
  "format-toml": {
144
171
  cache: true,
145
172
  inputs: [
146
173
  "linting",
147
- "rust",
148
- "^production"
174
+ "{projectRoot}/**/*.toml"
175
+ ],
176
+ outputs: [
177
+ "{projectRoot}/**/*.toml"
149
178
  ],
150
179
  dependsOn: [
151
180
  "^format-toml"
152
- ]
181
+ ],
182
+ executor: "nx:run-commands",
183
+ options: {
184
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
185
+ }
153
186
  },
154
187
  "format-clippy": {
155
188
  cache: true,
@@ -77,6 +77,25 @@ var createNodesV2 = [
77
77
  continue;
78
78
  }
79
79
  project.targets = {
80
+ "lint-markdown": {
81
+ cache: true,
82
+ outputs: [
83
+ "{projectRoot}/**/*.md",
84
+ "{projectRoot}/**/*.mdx"
85
+ ],
86
+ inputs: [
87
+ "linting",
88
+ "{projectRoot}/**/*.md",
89
+ "{projectRoot}/**/*.mdx"
90
+ ],
91
+ dependsOn: [
92
+ "^lint-markdown"
93
+ ],
94
+ executor: "nx:run-commands",
95
+ options: {
96
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
97
+ }
98
+ },
80
99
  "lint-ls": {
81
100
  cache: true,
82
101
  inputs: [
@@ -100,6 +119,8 @@ var createNodesV2 = [
100
119
  "^production"
101
120
  ],
102
121
  dependsOn: [
122
+ "lint-ls",
123
+ "lint-markdown",
103
124
  "^lint"
104
125
  ],
105
126
  executor: "@storm-software/workspace-tools:cargo-clippy",
@@ -133,23 +154,35 @@ var createNodesV2 = [
133
154
  inputs: [
134
155
  "linting",
135
156
  "documentation",
136
- "rust",
137
- "^production"
157
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
158
+ ],
159
+ outputs: [
160
+ "{projectRoot}/README.md"
138
161
  ],
139
162
  dependsOn: [
140
163
  "^format-readme"
141
- ]
164
+ ],
165
+ executor: "nx:run-commands",
166
+ options: {
167
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
168
+ }
142
169
  },
143
170
  "format-toml": {
144
171
  cache: true,
145
172
  inputs: [
146
173
  "linting",
147
- "rust",
148
- "^production"
174
+ "{projectRoot}/**/*.toml"
175
+ ],
176
+ outputs: [
177
+ "{projectRoot}/**/*.toml"
149
178
  ],
150
179
  dependsOn: [
151
180
  "^format-toml"
152
- ]
181
+ ],
182
+ executor: "nx:run-commands",
183
+ options: {
184
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
185
+ }
153
186
  },
154
187
  "format-clippy": {
155
188
  cache: true,
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkXONECYS4js = require('../../../chunk-XONECYS4.js');
8
+ var _chunkKEBNU3P2js = require('../../../chunk-KEBNU3P2.js');
9
9
  require('../../../chunk-ULBTYC2B.js');
10
10
  require('../../../chunk-7YRW5HNX.js');
11
11
  require('../../../chunk-3GQAWCBQ.js');
@@ -16,4 +16,4 @@ require('../../../chunk-3GQAWCBQ.js');
16
16
 
17
17
 
18
18
 
19
- exports.DEFAULT_ERROR_MESSAGE = _chunkXONECYS4js.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkXONECYS4js.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkXONECYS4js.createDependencies; exports.createNodesV2 = _chunkXONECYS4js.createNodesV2; exports.description = _chunkXONECYS4js.description; exports.name = _chunkXONECYS4js.name;
19
+ exports.DEFAULT_ERROR_MESSAGE = _chunkKEBNU3P2js.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkKEBNU3P2js.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkKEBNU3P2js.createDependencies; exports.createNodesV2 = _chunkKEBNU3P2js.createNodesV2; exports.description = _chunkKEBNU3P2js.description; exports.name = _chunkKEBNU3P2js.name;
@@ -5,7 +5,7 @@ import {
5
5
  createNodesV2,
6
6
  description,
7
7
  name
8
- } from "../../../chunk-FPRHRYZV.mjs";
8
+ } from "../../../chunk-PDABJOFA.mjs";
9
9
  import "../../../chunk-A4QFANJD.mjs";
10
10
  import "../../../chunk-OEXS6BM2.mjs";
11
11
  import "../../../chunk-ZMF7BFD4.mjs";
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkXONECYS4js = require('../../../chunk-XONECYS4.js');
8
+ var _chunkKEBNU3P2js = require('../../../chunk-KEBNU3P2.js');
9
9
  require('../../../chunk-ULBTYC2B.js');
10
10
  require('../../../chunk-7YRW5HNX.js');
11
11
  require('../../../chunk-3GQAWCBQ.js');
@@ -16,4 +16,4 @@ require('../../../chunk-3GQAWCBQ.js');
16
16
 
17
17
 
18
18
 
19
- exports.DEFAULT_ERROR_MESSAGE = _chunkXONECYS4js.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkXONECYS4js.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkXONECYS4js.createDependencies; exports.createNodesV2 = _chunkXONECYS4js.createNodesV2; exports.description = _chunkXONECYS4js.description; exports.name = _chunkXONECYS4js.name;
19
+ exports.DEFAULT_ERROR_MESSAGE = _chunkKEBNU3P2js.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkKEBNU3P2js.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkKEBNU3P2js.createDependencies; exports.createNodesV2 = _chunkKEBNU3P2js.createNodesV2; exports.description = _chunkKEBNU3P2js.description; exports.name = _chunkKEBNU3P2js.name;
@@ -5,7 +5,7 @@ import {
5
5
  createNodesV2,
6
6
  description,
7
7
  name
8
- } from "../../../chunk-FPRHRYZV.mjs";
8
+ } from "../../../chunk-PDABJOFA.mjs";
9
9
  import "../../../chunk-A4QFANJD.mjs";
10
10
  import "../../../chunk-OEXS6BM2.mjs";
11
11
  import "../../../chunk-ZMF7BFD4.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkLJGEDT3Ljs = require('../../../chunk-LJGEDT3L.js');
4
+ var _chunk5ZRY4MVLjs = require('../../../chunk-5ZRY4MVL.js');
5
5
  require('../../../chunk-UF6KFXG5.js');
6
6
  require('../../../chunk-7YRW5HNX.js');
7
7
  require('../../../chunk-3GQAWCBQ.js');
8
8
 
9
9
 
10
10
 
11
- exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
11
+ exports.createNodes = _chunk5ZRY4MVLjs.createNodes; exports.name = _chunk5ZRY4MVLjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-NUNH5CHM.mjs";
4
+ } from "../../../chunk-EREQD6LF.mjs";
5
5
  import "../../../chunk-3DA3TU7H.mjs";
6
6
  import "../../../chunk-OEXS6BM2.mjs";
7
7
  import "../../../chunk-ZMF7BFD4.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkLJGEDT3Ljs = require('../../../chunk-LJGEDT3L.js');
4
+ var _chunk5ZRY4MVLjs = require('../../../chunk-5ZRY4MVL.js');
5
5
  require('../../../chunk-UF6KFXG5.js');
6
6
  require('../../../chunk-7YRW5HNX.js');
7
7
  require('../../../chunk-3GQAWCBQ.js');
8
8
 
9
9
 
10
10
 
11
- exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
11
+ exports.createNodes = _chunk5ZRY4MVLjs.createNodes; exports.name = _chunk5ZRY4MVLjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-NUNH5CHM.mjs";
4
+ } from "../../../chunk-EREQD6LF.mjs";
5
5
  import "../../../chunk-3DA3TU7H.mjs";
6
6
  import "../../../chunk-OEXS6BM2.mjs";
7
7
  import "../../../chunk-ZMF7BFD4.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.258.7",
3
+ "version": "1.259.0",
4
4
  "description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
5
5
  "repository": {
6
6
  "type": "github",