@storm-software/workspace-tools 1.253.0 → 1.254.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,15 @@
1
+ ## 1.254.1 (2025-02-07)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Resolved issue with the path used to check for internal tools ([a75fe409c](https://github.com/storm-software/storm-ops/commit/a75fe409c))
6
+
7
+ ## 1.254.0 (2025-02-07)
8
+
9
+ ### Features
10
+
11
+ - **workspace-tools:** Added the `lintInternalTools` option to plugin ([99f56f186](https://github.com/storm-software/storm-ops/commit/99f56f186))
12
+
1
13
  ## 1.253.0 (2025-02-07)
2
14
 
3
15
  ### Features
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.252.1-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.254.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 -->
@@ -41,81 +41,93 @@ var createNodes = [
41
41
  const enableEslint = opts?.enableEslint !== false;
42
42
  const nxJson = readNxJson(ctx.workspaceRoot);
43
43
  const targets = readTargetsFromPackageJson(packageJson, nxJson);
44
- const relativePath = relative(dirname(file), ctx.workspaceRoot);
45
- if (!targets["lint-knip"] && enableKnip) {
46
- targets["lint-knip"] = {
47
- cache: true,
48
- outputs: [
49
- "{projectRoot}/**/*.md",
50
- "{projectRoot}/**/*.mdx"
51
- ],
52
- inputs: [
53
- "linting",
54
- "{projectRoot}/**/*.md",
55
- "{projectRoot}/**/*.mdx"
56
- ],
44
+ if (join(ctx.workspaceRoot, project.root).startsWith(join(ctx.workspaceRoot, "tools")) && opts?.lintInternalTools !== true) {
45
+ targets.lint = {
57
46
  dependsOn: [
58
- "^lint-knip"
47
+ "^lint"
59
48
  ],
60
49
  executor: "nx:run-commands",
61
50
  options: {
62
- command: `pnpm exec knip --config "${join(relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "${join(relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}" --workspace "${relativePath.replaceAll("\\", "/")}"`
51
+ command: "echo 'Skipping linting of internal tools package \"{projectName}\". This can be changed by setting `lintInternalTools` to `true` in the Storm TypeScript plugin options.' "
63
52
  }
64
53
  };
65
- }
66
- if (!targets["lint-markdown"] && enableMarkdownlint) {
67
- targets["lint-markdown"] = {
68
- cache: true,
69
- outputs: [
70
- "{projectRoot}/**/*.md",
71
- "{projectRoot}/**/*.mdx"
72
- ],
73
- inputs: [
74
- "linting",
75
- "{projectRoot}/**/*.md",
76
- "{projectRoot}/**/*.mdx"
77
- ],
78
- dependsOn: [
79
- "^lint-markdown"
80
- ],
81
- executor: "nx:run-commands",
82
- options: {
83
- command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
84
- }
85
- };
86
- }
87
- if (!targets.lint && enableEslint) {
88
- let eslintConfig = checkEslintConfigAtPath(project.root);
89
- if (!eslintConfig) {
90
- eslintConfig = checkEslintConfigAtPath(ctx.workspaceRoot);
91
- }
92
- if (eslintConfig) {
93
- targets.lint = {
54
+ } else {
55
+ if (!targets["lint-knip"] && enableKnip) {
56
+ const relativePath = relative(dirname(file), ctx.workspaceRoot);
57
+ targets["lint-knip"] = {
94
58
  cache: true,
59
+ outputs: [
60
+ "{projectRoot}/**/*.md",
61
+ "{projectRoot}/**/*.mdx"
62
+ ],
95
63
  inputs: [
96
64
  "linting",
97
- "typescript",
98
- "^production"
65
+ "{projectRoot}/**/*.md",
66
+ "{projectRoot}/**/*.mdx"
67
+ ],
68
+ dependsOn: [
69
+ "^lint-knip"
99
70
  ],
71
+ executor: "nx:run-commands",
72
+ options: {
73
+ command: `pnpm exec knip --config "${join(relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --no-exit-code --cache --cache-location "${join(relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}" --workspace "${relativePath.replaceAll("\\", "/")}"`
74
+ }
75
+ };
76
+ }
77
+ if (!targets["lint-markdown"] && enableMarkdownlint) {
78
+ targets["lint-markdown"] = {
79
+ cache: true,
100
80
  outputs: [
101
- "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
81
+ "{projectRoot}/**/*.md",
82
+ "{projectRoot}/**/*.mdx"
83
+ ],
84
+ inputs: [
85
+ "linting",
86
+ "{projectRoot}/**/*.md",
87
+ "{projectRoot}/**/*.mdx"
102
88
  ],
103
89
  dependsOn: [
104
- "lint-markdown",
105
- "lint-knip",
106
- "^lint"
90
+ "^lint-markdown"
107
91
  ],
108
- executor: "@nx/eslint:lint",
92
+ executor: "nx:run-commands",
109
93
  options: {
110
- format: "stylish",
111
- fix: true,
112
- errorOnUnmatchedPattern: false,
113
- cache: true,
114
- cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
115
- eslintConfig
94
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
116
95
  }
117
96
  };
118
97
  }
98
+ if (!targets.lint && enableEslint) {
99
+ let eslintConfig = checkEslintConfigAtPath(project.root);
100
+ if (!eslintConfig) {
101
+ eslintConfig = checkEslintConfigAtPath(ctx.workspaceRoot);
102
+ }
103
+ if (eslintConfig) {
104
+ targets.lint = {
105
+ cache: true,
106
+ inputs: [
107
+ "linting",
108
+ "typescript",
109
+ "^production"
110
+ ],
111
+ outputs: [
112
+ "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
113
+ ],
114
+ dependsOn: [
115
+ "lint-markdown",
116
+ "lint-knip",
117
+ "^lint"
118
+ ],
119
+ executor: "@nx/eslint:lint",
120
+ options: {
121
+ format: "stylish",
122
+ fix: true,
123
+ errorOnUnmatchedPattern: false,
124
+ cache: true,
125
+ cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
126
+ eslintConfig
127
+ }
128
+ };
129
+ }
130
+ }
119
131
  }
120
132
  if (!targets.format) {
121
133
  targets.format = {
@@ -41,81 +41,93 @@ var createNodes = [
41
41
  const enableEslint = _optionalChain([opts, 'optionalAccess', _4 => _4.enableEslint]) !== false;
42
42
  const nxJson = _nxjsonjs.readNxJson.call(void 0, ctx.workspaceRoot);
43
43
  const targets = _packagejson.readTargetsFromPackageJson.call(void 0, packageJson, nxJson);
44
- const relativePath = _path.relative.call(void 0, _path.dirname.call(void 0, file), ctx.workspaceRoot);
45
- if (!targets["lint-knip"] && enableKnip) {
46
- targets["lint-knip"] = {
47
- cache: true,
48
- outputs: [
49
- "{projectRoot}/**/*.md",
50
- "{projectRoot}/**/*.mdx"
51
- ],
52
- inputs: [
53
- "linting",
54
- "{projectRoot}/**/*.md",
55
- "{projectRoot}/**/*.mdx"
56
- ],
44
+ if (_path.join.call(void 0, ctx.workspaceRoot, project.root).startsWith(_path.join.call(void 0, ctx.workspaceRoot, "tools")) && _optionalChain([opts, 'optionalAccess', _5 => _5.lintInternalTools]) !== true) {
45
+ targets.lint = {
57
46
  dependsOn: [
58
- "^lint-knip"
47
+ "^lint"
59
48
  ],
60
49
  executor: "nx:run-commands",
61
50
  options: {
62
- command: `pnpm exec knip --config "${_path.join.call(void 0, relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "${_path.join.call(void 0, relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}" --workspace "${relativePath.replaceAll("\\", "/")}"`
51
+ command: "echo 'Skipping linting of internal tools package \"{projectName}\". This can be changed by setting `lintInternalTools` to `true` in the Storm TypeScript plugin options.' "
63
52
  }
64
53
  };
65
- }
66
- if (!targets["lint-markdown"] && enableMarkdownlint) {
67
- targets["lint-markdown"] = {
68
- cache: true,
69
- outputs: [
70
- "{projectRoot}/**/*.md",
71
- "{projectRoot}/**/*.mdx"
72
- ],
73
- inputs: [
74
- "linting",
75
- "{projectRoot}/**/*.md",
76
- "{projectRoot}/**/*.mdx"
77
- ],
78
- dependsOn: [
79
- "^lint-markdown"
80
- ],
81
- executor: "nx:run-commands",
82
- options: {
83
- command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
84
- }
85
- };
86
- }
87
- if (!targets.lint && enableEslint) {
88
- let eslintConfig = checkEslintConfigAtPath(project.root);
89
- if (!eslintConfig) {
90
- eslintConfig = checkEslintConfigAtPath(ctx.workspaceRoot);
91
- }
92
- if (eslintConfig) {
93
- targets.lint = {
54
+ } else {
55
+ if (!targets["lint-knip"] && enableKnip) {
56
+ const relativePath = _path.relative.call(void 0, _path.dirname.call(void 0, file), ctx.workspaceRoot);
57
+ targets["lint-knip"] = {
94
58
  cache: true,
59
+ outputs: [
60
+ "{projectRoot}/**/*.md",
61
+ "{projectRoot}/**/*.mdx"
62
+ ],
95
63
  inputs: [
96
64
  "linting",
97
- "typescript",
98
- "^production"
65
+ "{projectRoot}/**/*.md",
66
+ "{projectRoot}/**/*.mdx"
67
+ ],
68
+ dependsOn: [
69
+ "^lint-knip"
99
70
  ],
71
+ executor: "nx:run-commands",
72
+ options: {
73
+ command: `pnpm exec knip --config "${_path.join.call(void 0, relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --no-exit-code --cache --cache-location "${_path.join.call(void 0, relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}" --workspace "${relativePath.replaceAll("\\", "/")}"`
74
+ }
75
+ };
76
+ }
77
+ if (!targets["lint-markdown"] && enableMarkdownlint) {
78
+ targets["lint-markdown"] = {
79
+ cache: true,
100
80
  outputs: [
101
- "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
81
+ "{projectRoot}/**/*.md",
82
+ "{projectRoot}/**/*.mdx"
83
+ ],
84
+ inputs: [
85
+ "linting",
86
+ "{projectRoot}/**/*.md",
87
+ "{projectRoot}/**/*.mdx"
102
88
  ],
103
89
  dependsOn: [
104
- "lint-markdown",
105
- "lint-knip",
106
- "^lint"
90
+ "^lint-markdown"
107
91
  ],
108
- executor: "@nx/eslint:lint",
92
+ executor: "nx:run-commands",
109
93
  options: {
110
- format: "stylish",
111
- fix: true,
112
- errorOnUnmatchedPattern: false,
113
- cache: true,
114
- cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
115
- eslintConfig
94
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
116
95
  }
117
96
  };
118
97
  }
98
+ if (!targets.lint && enableEslint) {
99
+ let eslintConfig = checkEslintConfigAtPath(project.root);
100
+ if (!eslintConfig) {
101
+ eslintConfig = checkEslintConfigAtPath(ctx.workspaceRoot);
102
+ }
103
+ if (eslintConfig) {
104
+ targets.lint = {
105
+ cache: true,
106
+ inputs: [
107
+ "linting",
108
+ "typescript",
109
+ "^production"
110
+ ],
111
+ outputs: [
112
+ "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
113
+ ],
114
+ dependsOn: [
115
+ "lint-markdown",
116
+ "lint-knip",
117
+ "^lint"
118
+ ],
119
+ executor: "@nx/eslint:lint",
120
+ options: {
121
+ format: "stylish",
122
+ fix: true,
123
+ errorOnUnmatchedPattern: false,
124
+ cache: true,
125
+ cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
126
+ eslintConfig
127
+ }
128
+ };
129
+ }
130
+ }
119
131
  }
120
132
  if (!targets.format) {
121
133
  targets.format = {
@@ -242,8 +254,8 @@ var createNodes = [
242
254
  cleanComments: true
243
255
  }
244
256
  };
245
- _optionalChain([targets, 'access', _5 => _5["nx-release-publish"], 'access', _6 => _6.dependsOn, 'optionalAccess', _7 => _7.push, 'call', _8 => _8("clean-package")]);
246
- _optionalChain([targets, 'access', _9 => _9["size-limit"], 'access', _10 => _10.dependsOn, 'optionalAccess', _11 => _11.push, 'call', _12 => _12("clean-package")]);
257
+ _optionalChain([targets, 'access', _6 => _6["nx-release-publish"], 'access', _7 => _7.dependsOn, 'optionalAccess', _8 => _8.push, 'call', _9 => _9("clean-package")]);
258
+ _optionalChain([targets, 'access', _10 => _10["size-limit"], 'access', _11 => _11.dependsOn, 'optionalAccess', _12 => _12.push, 'call', _13 => _13("clean-package")]);
247
259
  }
248
260
  }
249
261
  _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TYPESCRIPT, {
@@ -273,15 +285,15 @@ var createNodes = [
273
285
  break;
274
286
  }
275
287
  _chunk7YRW5HNXjs.setDefaultProjectTags.call(void 0, project, name);
276
- return _optionalChain([project, 'optionalAccess', _13 => _13.name]) ? {
288
+ return _optionalChain([project, 'optionalAccess', _14 => _14.name]) ? {
277
289
  projects: {
278
290
  [project.name]: {
279
291
  ...project,
280
292
  targets,
281
293
  release: {
282
- ..._optionalChain([project, 'optionalAccess', _14 => _14.release]),
294
+ ..._optionalChain([project, 'optionalAccess', _15 => _15.release]),
283
295
  version: {
284
- ..._optionalChain([project, 'optionalAccess', _15 => _15.release, 'optionalAccess', _16 => _16.version]),
296
+ ..._optionalChain([project, 'optionalAccess', _16 => _16.release, 'optionalAccess', _17 => _17.version]),
285
297
  generator: "@storm-software/workspace-tools:release-version"
286
298
  }
287
299
  }
package/dist/executors.js CHANGED
@@ -4,19 +4,19 @@
4
4
  var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
5
5
 
6
6
 
7
- var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
8
-
9
-
10
7
  var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
11
8
 
12
9
 
13
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
10
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
14
11
 
15
12
 
16
13
  var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
17
14
 
18
15
 
19
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
16
+ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
17
+
18
+
19
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
20
20
 
21
21
 
22
22
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
@@ -26,16 +26,16 @@ var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
26
26
  require('./chunk-R2NBU264.js');
27
27
 
28
28
 
29
- var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
29
+ var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
30
30
 
31
31
 
32
- var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
32
+ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
33
33
 
34
34
 
35
35
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
36
36
 
37
37
 
38
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
38
+ var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
39
39
  require('./chunk-CUPARBOS.js');
40
40
  require('./chunk-ULBTYC2B.js');
41
41
  require('./chunk-ZMFVKBRM.js');
@@ -2,21 +2,21 @@ import "./chunk-V7YZ3666.mjs";
2
2
  import {
3
3
  unbuildExecutorFn
4
4
  } from "./chunk-7H4PXXWW.mjs";
5
- import {
6
- sizeLimitExecutorFn
7
- } from "./chunk-KM47X5XW.mjs";
8
5
  import {
9
6
  LARGE_BUFFER
10
7
  } from "./chunk-VBPOZVKY.mjs";
11
8
  import {
12
- tsdownExecutorFn
13
- } from "./chunk-UF3YMASN.mjs";
9
+ sizeLimitExecutorFn
10
+ } from "./chunk-KM47X5XW.mjs";
14
11
  import {
15
12
  typiaExecutorFn
16
13
  } from "./chunk-2KNHEXJQ.mjs";
17
14
  import {
18
- cargoFormatExecutor
19
- } from "./chunk-YILBFUCI.mjs";
15
+ tsdownExecutorFn
16
+ } from "./chunk-UF3YMASN.mjs";
17
+ import {
18
+ cargoClippyExecutor
19
+ } from "./chunk-57LRWY5U.mjs";
20
20
  import {
21
21
  getRegistryVersion
22
22
  } from "./chunk-XUYTELRS.mjs";
@@ -24,18 +24,18 @@ import {
24
24
  esbuildExecutorFn
25
25
  } from "./chunk-OA6GD45B.mjs";
26
26
  import "./chunk-N2P34ZQV.mjs";
27
- import {
28
- cargoBuildExecutor
29
- } from "./chunk-RSFH5OLL.mjs";
30
27
  import {
31
28
  cargoCheckExecutor
32
29
  } from "./chunk-P4ZEGEQX.mjs";
30
+ import {
31
+ cargoBuildExecutor
32
+ } from "./chunk-RSFH5OLL.mjs";
33
33
  import {
34
34
  cargoDocExecutor
35
35
  } from "./chunk-7AXJ27FU.mjs";
36
36
  import {
37
- cargoClippyExecutor
38
- } from "./chunk-57LRWY5U.mjs";
37
+ cargoFormatExecutor
38
+ } from "./chunk-YILBFUCI.mjs";
39
39
  import "./chunk-JB4KCMSB.mjs";
40
40
  import "./chunk-XK3FSWMA.mjs";
41
41
  import "./chunk-EIM3O6HY.mjs";
package/dist/index.js CHANGED
@@ -51,19 +51,19 @@ require('./chunk-3J53KHVV.js');
51
51
  var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
52
52
 
53
53
 
54
- var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
55
-
56
-
57
54
  var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
58
55
 
59
56
 
60
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
57
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
61
58
 
62
59
 
63
60
  var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
64
61
 
65
62
 
66
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
63
+ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
64
+
65
+
66
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
67
67
 
68
68
 
69
69
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
@@ -73,16 +73,16 @@ var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
73
73
  require('./chunk-R2NBU264.js');
74
74
 
75
75
 
76
- var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
76
+ var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
77
77
 
78
78
 
79
- var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
79
+ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
80
80
 
81
81
 
82
82
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
83
83
 
84
84
 
85
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
85
+ var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
86
86
 
87
87
 
88
88
  var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
package/dist/index.mjs CHANGED
@@ -49,21 +49,21 @@ import "./chunk-V7YZ3666.mjs";
49
49
  import {
50
50
  unbuildExecutorFn
51
51
  } from "./chunk-7H4PXXWW.mjs";
52
- import {
53
- sizeLimitExecutorFn
54
- } from "./chunk-KM47X5XW.mjs";
55
52
  import {
56
53
  LARGE_BUFFER
57
54
  } from "./chunk-VBPOZVKY.mjs";
58
55
  import {
59
- tsdownExecutorFn
60
- } from "./chunk-UF3YMASN.mjs";
56
+ sizeLimitExecutorFn
57
+ } from "./chunk-KM47X5XW.mjs";
61
58
  import {
62
59
  typiaExecutorFn
63
60
  } from "./chunk-2KNHEXJQ.mjs";
64
61
  import {
65
- cargoFormatExecutor
66
- } from "./chunk-YILBFUCI.mjs";
62
+ tsdownExecutorFn
63
+ } from "./chunk-UF3YMASN.mjs";
64
+ import {
65
+ cargoClippyExecutor
66
+ } from "./chunk-57LRWY5U.mjs";
67
67
  import {
68
68
  getRegistryVersion
69
69
  } from "./chunk-XUYTELRS.mjs";
@@ -71,18 +71,18 @@ import {
71
71
  esbuildExecutorFn
72
72
  } from "./chunk-OA6GD45B.mjs";
73
73
  import "./chunk-N2P34ZQV.mjs";
74
- import {
75
- cargoBuildExecutor
76
- } from "./chunk-RSFH5OLL.mjs";
77
74
  import {
78
75
  cargoCheckExecutor
79
76
  } from "./chunk-P4ZEGEQX.mjs";
77
+ import {
78
+ cargoBuildExecutor
79
+ } from "./chunk-RSFH5OLL.mjs";
80
80
  import {
81
81
  cargoDocExecutor
82
82
  } from "./chunk-7AXJ27FU.mjs";
83
83
  import {
84
- cargoClippyExecutor
85
- } from "./chunk-57LRWY5U.mjs";
84
+ cargoFormatExecutor
85
+ } from "./chunk-YILBFUCI.mjs";
86
86
  import {
87
87
  pnpmCatalogUpdate
88
88
  } from "./chunk-JB4KCMSB.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRTFMVX72js = require('../../../chunk-RTFMVX72.js');
4
+ var _chunkSZSARW23js = require('../../../chunk-SZSARW23.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 = _chunkRTFMVX72js.createNodes; exports.name = _chunkRTFMVX72js.name;
11
+ exports.createNodes = _chunkSZSARW23js.createNodes; exports.name = _chunkSZSARW23js.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-HGE4C5SO.mjs";
4
+ } from "../../../chunk-GXJDMCIO.mjs";
5
5
  import "../../../chunk-HUCDWLQ3.mjs";
6
6
  import "../../../chunk-W3SWWT4A.mjs";
7
7
  import "../../../chunk-R7DU2APC.mjs";
@@ -1,11 +1,36 @@
1
1
  import { CreateNodes } from '@nx/devkit';
2
2
 
3
3
  declare const name = "storm-software/typescript";
4
+ /**
5
+ * Options for configuring the TypeScript plugin.
6
+ */
4
7
  interface TypeScriptPluginOptions {
8
+ /**
9
+ * Whether to include applications in the TypeScript project configuration.
10
+ * @defaultValue true
11
+ */
5
12
  includeApps?: boolean;
13
+ /**
14
+ * Whether to enable Knip, a tool for analyzing TypeScript projects.
15
+ * @defaultValue true
16
+ */
6
17
  enableKnip?: boolean;
18
+ /**
19
+ * Whether to enable Markdownlint for linting Markdown files.
20
+ * @defaultValue true
21
+ */
7
22
  enableMarkdownlint?: boolean;
23
+ /**
24
+ * Whether to enable ESLint for linting TypeScript and JavaScript files.
25
+ * @defaultValue true
26
+ */
8
27
  enableEslint?: boolean;
28
+ /**
29
+ * Whether to skip the linting of internal tools (projects in the `/tools` directory).
30
+ *
31
+ * @defaultValue false
32
+ */
33
+ lintInternalTools?: boolean;
9
34
  }
10
35
  declare const createNodes: CreateNodes<TypeScriptPluginOptions>;
11
36
 
@@ -1,11 +1,36 @@
1
1
  import { CreateNodes } from '@nx/devkit';
2
2
 
3
3
  declare const name = "storm-software/typescript";
4
+ /**
5
+ * Options for configuring the TypeScript plugin.
6
+ */
4
7
  interface TypeScriptPluginOptions {
8
+ /**
9
+ * Whether to include applications in the TypeScript project configuration.
10
+ * @defaultValue true
11
+ */
5
12
  includeApps?: boolean;
13
+ /**
14
+ * Whether to enable Knip, a tool for analyzing TypeScript projects.
15
+ * @defaultValue true
16
+ */
6
17
  enableKnip?: boolean;
18
+ /**
19
+ * Whether to enable Markdownlint for linting Markdown files.
20
+ * @defaultValue true
21
+ */
7
22
  enableMarkdownlint?: boolean;
23
+ /**
24
+ * Whether to enable ESLint for linting TypeScript and JavaScript files.
25
+ * @defaultValue true
26
+ */
8
27
  enableEslint?: boolean;
28
+ /**
29
+ * Whether to skip the linting of internal tools (projects in the `/tools` directory).
30
+ *
31
+ * @defaultValue false
32
+ */
33
+ lintInternalTools?: boolean;
9
34
  }
10
35
  declare const createNodes: CreateNodes<TypeScriptPluginOptions>;
11
36
 
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRTFMVX72js = require('../../../chunk-RTFMVX72.js');
4
+ var _chunkSZSARW23js = require('../../../chunk-SZSARW23.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 = _chunkRTFMVX72js.createNodes; exports.name = _chunkRTFMVX72js.name;
11
+ exports.createNodes = _chunkSZSARW23js.createNodes; exports.name = _chunkSZSARW23js.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-HGE4C5SO.mjs";
4
+ } from "../../../chunk-GXJDMCIO.mjs";
5
5
  import "../../../chunk-HUCDWLQ3.mjs";
6
6
  import "../../../chunk-W3SWWT4A.mjs";
7
7
  import "../../../chunk-R7DU2APC.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.253.0",
3
+ "version": "1.254.1",
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",