@storm-software/workspace-tools 1.252.4 → 1.254.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,15 @@
1
+ ## 1.254.0 (2025-02-07)
2
+
3
+ ### Features
4
+
5
+ - **workspace-tools:** Added the `lintInternalTools` option to plugin ([99f56f186](https://github.com/storm-software/storm-ops/commit/99f56f186))
6
+
7
+ ## 1.253.0 (2025-02-07)
8
+
9
+ ### Features
10
+
11
+ - **workspace-tools:** Added `enableKnip`, `enableMarkdownlint`, and `enableEslint` options to plugin ([35fc9dba1](https://github.com/storm-software/storm-ops/commit/35fc9dba1))
12
+
1
13
  ## 1.252.4 (2025-02-07)
2
14
 
3
15
  ### Bug Fixes
@@ -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 --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
  }
@@ -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 --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 = {
package/dist/executors.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
5
5
 
6
6
 
7
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
7
+ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
8
8
 
9
9
 
10
10
  var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
@@ -13,12 +13,6 @@ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
13
13
  var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
14
14
 
15
15
 
16
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
17
-
18
-
19
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
20
-
21
-
22
16
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
23
17
 
24
18
 
@@ -26,7 +20,10 @@ var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
26
20
  require('./chunk-R2NBU264.js');
27
21
 
28
22
 
29
- var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
23
+ var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
24
+
25
+
26
+ var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
30
27
 
31
28
 
32
29
  var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
@@ -35,7 +32,10 @@ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
35
32
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
36
33
 
37
34
 
38
- var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
35
+ var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
36
+
37
+
38
+ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
39
39
  require('./chunk-CUPARBOS.js');
40
40
  require('./chunk-ULBTYC2B.js');
41
41
  require('./chunk-ZMFVKBRM.js');
@@ -3,20 +3,14 @@ import {
3
3
  unbuildExecutorFn
4
4
  } from "./chunk-7H4PXXWW.mjs";
5
5
  import {
6
- LARGE_BUFFER
7
- } from "./chunk-VBPOZVKY.mjs";
6
+ tsdownExecutorFn
7
+ } from "./chunk-UF3YMASN.mjs";
8
8
  import {
9
9
  sizeLimitExecutorFn
10
10
  } from "./chunk-KM47X5XW.mjs";
11
11
  import {
12
12
  typiaExecutorFn
13
13
  } from "./chunk-2KNHEXJQ.mjs";
14
- import {
15
- tsdownExecutorFn
16
- } from "./chunk-UF3YMASN.mjs";
17
- import {
18
- cargoFormatExecutor
19
- } from "./chunk-YILBFUCI.mjs";
20
14
  import {
21
15
  getRegistryVersion
22
16
  } from "./chunk-XUYTELRS.mjs";
@@ -25,8 +19,11 @@ import {
25
19
  } from "./chunk-OA6GD45B.mjs";
26
20
  import "./chunk-N2P34ZQV.mjs";
27
21
  import {
28
- cargoBuildExecutor
29
- } from "./chunk-RSFH5OLL.mjs";
22
+ LARGE_BUFFER
23
+ } from "./chunk-VBPOZVKY.mjs";
24
+ import {
25
+ cargoCheckExecutor
26
+ } from "./chunk-P4ZEGEQX.mjs";
30
27
  import {
31
28
  cargoClippyExecutor
32
29
  } from "./chunk-57LRWY5U.mjs";
@@ -34,8 +31,11 @@ import {
34
31
  cargoDocExecutor
35
32
  } from "./chunk-7AXJ27FU.mjs";
36
33
  import {
37
- cargoCheckExecutor
38
- } from "./chunk-P4ZEGEQX.mjs";
34
+ cargoFormatExecutor
35
+ } from "./chunk-YILBFUCI.mjs";
36
+ import {
37
+ cargoBuildExecutor
38
+ } from "./chunk-RSFH5OLL.mjs";
39
39
  import "./chunk-JB4KCMSB.mjs";
40
40
  import "./chunk-XK3FSWMA.mjs";
41
41
  import "./chunk-EIM3O6HY.mjs";
@@ -1,9 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
2
2
 
3
3
 
4
- var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
5
-
6
-
7
4
  var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
8
5
 
9
6
 
@@ -20,6 +17,9 @@ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
20
17
 
21
18
 
22
19
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
20
+
21
+
22
+ var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
23
23
  require('./chunk-RBU35LQW.js');
24
24
  require('./chunk-HI4G4OOG.js');
25
25
  require('./chunk-7YRW5HNX.js');
@@ -1,7 +1,4 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
- import {
3
- neutralLibraryGeneratorFn
4
- } from "./chunk-APSDUSBR.mjs";
5
2
  import {
6
3
  nodeLibraryGeneratorFn
7
4
  } from "./chunk-Q6OBRMZG.mjs";
@@ -20,6 +17,9 @@ import {
20
17
  import {
21
18
  initGenerator
22
19
  } from "./chunk-X3GPVZMH.mjs";
20
+ import {
21
+ neutralLibraryGeneratorFn
22
+ } from "./chunk-APSDUSBR.mjs";
23
23
  import "./chunk-F2GYXQ5H.mjs";
24
24
  import "./chunk-EK75QNMS.mjs";
25
25
  import "./chunk-W3SWWT4A.mjs";
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ require('./chunk-3J53KHVV.js');
51
51
  var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
52
52
 
53
53
 
54
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
54
+ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
55
55
 
56
56
 
57
57
  var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
@@ -60,12 +60,6 @@ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
60
60
  var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
61
61
 
62
62
 
63
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
64
-
65
-
66
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
67
-
68
-
69
63
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
70
64
 
71
65
 
@@ -73,7 +67,10 @@ var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
73
67
  require('./chunk-R2NBU264.js');
74
68
 
75
69
 
76
- var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
70
+ var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
71
+
72
+
73
+ var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
77
74
 
78
75
 
79
76
  var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
@@ -82,7 +79,10 @@ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
82
79
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
83
80
 
84
81
 
85
- var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
82
+ var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
83
+
84
+
85
+ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
86
86
 
87
87
 
88
88
  var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
@@ -100,9 +100,6 @@ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
100
100
  require('./chunk-INERRJ6Q.js');
101
101
 
102
102
 
103
- var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
104
-
105
-
106
103
  var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
107
104
 
108
105
 
@@ -121,6 +118,9 @@ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
121
118
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
122
119
 
123
120
 
121
+ var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
122
+
123
+
124
124
 
125
125
 
126
126
 
package/dist/index.mjs CHANGED
@@ -50,20 +50,14 @@ import {
50
50
  unbuildExecutorFn
51
51
  } from "./chunk-7H4PXXWW.mjs";
52
52
  import {
53
- LARGE_BUFFER
54
- } from "./chunk-VBPOZVKY.mjs";
53
+ tsdownExecutorFn
54
+ } from "./chunk-UF3YMASN.mjs";
55
55
  import {
56
56
  sizeLimitExecutorFn
57
57
  } from "./chunk-KM47X5XW.mjs";
58
58
  import {
59
59
  typiaExecutorFn
60
60
  } from "./chunk-2KNHEXJQ.mjs";
61
- import {
62
- tsdownExecutorFn
63
- } from "./chunk-UF3YMASN.mjs";
64
- import {
65
- cargoFormatExecutor
66
- } from "./chunk-YILBFUCI.mjs";
67
61
  import {
68
62
  getRegistryVersion
69
63
  } from "./chunk-XUYTELRS.mjs";
@@ -72,8 +66,11 @@ import {
72
66
  } from "./chunk-OA6GD45B.mjs";
73
67
  import "./chunk-N2P34ZQV.mjs";
74
68
  import {
75
- cargoBuildExecutor
76
- } from "./chunk-RSFH5OLL.mjs";
69
+ LARGE_BUFFER
70
+ } from "./chunk-VBPOZVKY.mjs";
71
+ import {
72
+ cargoCheckExecutor
73
+ } from "./chunk-P4ZEGEQX.mjs";
77
74
  import {
78
75
  cargoClippyExecutor
79
76
  } from "./chunk-57LRWY5U.mjs";
@@ -81,8 +78,11 @@ import {
81
78
  cargoDocExecutor
82
79
  } from "./chunk-7AXJ27FU.mjs";
83
80
  import {
84
- cargoCheckExecutor
85
- } from "./chunk-P4ZEGEQX.mjs";
81
+ cargoFormatExecutor
82
+ } from "./chunk-YILBFUCI.mjs";
83
+ import {
84
+ cargoBuildExecutor
85
+ } from "./chunk-RSFH5OLL.mjs";
86
86
  import {
87
87
  pnpmCatalogUpdate
88
88
  } from "./chunk-JB4KCMSB.mjs";
@@ -98,9 +98,6 @@ import {
98
98
  runProcess
99
99
  } from "./chunk-XK3FSWMA.mjs";
100
100
  import "./chunk-RLIZVCIN.mjs";
101
- import {
102
- neutralLibraryGeneratorFn
103
- } from "./chunk-APSDUSBR.mjs";
104
101
  import {
105
102
  nodeLibraryGeneratorFn
106
103
  } from "./chunk-Q6OBRMZG.mjs";
@@ -119,6 +116,9 @@ import {
119
116
  import {
120
117
  initGenerator
121
118
  } from "./chunk-X3GPVZMH.mjs";
119
+ import {
120
+ neutralLibraryGeneratorFn
121
+ } from "./chunk-APSDUSBR.mjs";
122
122
  import {
123
123
  createProjectTsConfigJson,
124
124
  getOutputPath,
@@ -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 _chunkIETCLLEWjs = require('../../../chunk-IETCLLEW.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 = _chunkIETCLLEWjs.createNodes; exports.name = _chunkIETCLLEWjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-HGE4C5SO.mjs";
4
+ } from "../../../chunk-OJCG5B6D.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 _chunkIETCLLEWjs = require('../../../chunk-IETCLLEW.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 = _chunkIETCLLEWjs.createNodes; exports.name = _chunkIETCLLEWjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-HGE4C5SO.mjs";
4
+ } from "../../../chunk-OJCG5B6D.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.252.4",
3
+ "version": "1.254.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",