@storm-software/workspace-tools 1.253.0 → 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,9 @@
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
+
1
7
  ## 1.253.0 (2025-02-07)
2
8
 
3
9
  ### Features
@@ -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,19 +4,13 @@
4
4
  var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
5
5
 
6
6
 
7
- var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
8
-
9
-
10
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
11
-
12
-
13
7
  var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
14
8
 
15
9
 
16
- var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
10
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
17
11
 
18
12
 
19
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
13
+ var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
20
14
 
21
15
 
22
16
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
@@ -26,16 +20,22 @@ 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');
30
24
 
31
25
 
32
26
  var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
33
27
 
34
28
 
29
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
30
+
31
+
35
32
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
36
33
 
37
34
 
38
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.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');
@@ -2,21 +2,15 @@ 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
- import {
9
- LARGE_BUFFER
10
- } from "./chunk-VBPOZVKY.mjs";
11
5
  import {
12
6
  tsdownExecutorFn
13
7
  } from "./chunk-UF3YMASN.mjs";
8
+ import {
9
+ sizeLimitExecutorFn
10
+ } from "./chunk-KM47X5XW.mjs";
14
11
  import {
15
12
  typiaExecutorFn
16
13
  } from "./chunk-2KNHEXJQ.mjs";
17
- import {
18
- cargoFormatExecutor
19
- } from "./chunk-YILBFUCI.mjs";
20
14
  import {
21
15
  getRegistryVersion
22
16
  } from "./chunk-XUYTELRS.mjs";
@@ -25,17 +19,23 @@ 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";
30
24
  import {
31
25
  cargoCheckExecutor
32
26
  } from "./chunk-P4ZEGEQX.mjs";
27
+ import {
28
+ cargoClippyExecutor
29
+ } from "./chunk-57LRWY5U.mjs";
33
30
  import {
34
31
  cargoDocExecutor
35
32
  } from "./chunk-7AXJ27FU.mjs";
36
33
  import {
37
- cargoClippyExecutor
38
- } from "./chunk-57LRWY5U.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,13 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
2
2
 
3
3
 
4
- var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
5
-
6
-
7
- var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
4
+ var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
8
5
 
9
6
 
10
- var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
7
+ var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
11
8
 
12
9
 
13
10
  var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
@@ -16,10 +13,13 @@ var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
16
13
  var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
17
14
 
18
15
 
16
+ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
17
+
18
+
19
19
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
20
20
 
21
21
 
22
- var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
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,25 +1,25 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
- import {
3
- presetGeneratorFn
4
- } from "./chunk-QDZUYDVM.mjs";
5
- import {
6
- neutralLibraryGeneratorFn
7
- } from "./chunk-APSDUSBR.mjs";
8
2
  import {
9
3
  nodeLibraryGeneratorFn
10
4
  } from "./chunk-Q6OBRMZG.mjs";
5
+ import {
6
+ presetGeneratorFn
7
+ } from "./chunk-QDZUYDVM.mjs";
11
8
  import {
12
9
  releaseVersionGeneratorFn
13
10
  } from "./chunk-TNAEFYVH.mjs";
14
11
  import {
15
12
  browserLibraryGeneratorFn
16
13
  } from "./chunk-7GW75RON.mjs";
14
+ import {
15
+ configSchemaGeneratorFn
16
+ } from "./chunk-S73S6XCY.mjs";
17
17
  import {
18
18
  initGenerator
19
19
  } from "./chunk-X3GPVZMH.mjs";
20
20
  import {
21
- configSchemaGeneratorFn
22
- } from "./chunk-S73S6XCY.mjs";
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,19 +51,13 @@ 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
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
58
-
59
-
60
54
  var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
61
55
 
62
56
 
63
- var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
57
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
64
58
 
65
59
 
66
- var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
60
+ var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
67
61
 
68
62
 
69
63
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
@@ -73,16 +67,22 @@ 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');
77
71
 
78
72
 
79
73
  var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
80
74
 
81
75
 
76
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
77
+
78
+
82
79
  var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
83
80
 
84
81
 
85
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.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,13 +100,10 @@ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
100
100
  require('./chunk-INERRJ6Q.js');
101
101
 
102
102
 
103
- var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
104
-
105
-
106
- var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
103
+ var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
107
104
 
108
105
 
109
- var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
106
+ var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
110
107
 
111
108
 
112
109
  var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
@@ -115,10 +112,13 @@ var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
115
112
  var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
116
113
 
117
114
 
115
+ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
116
+
117
+
118
118
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
119
119
 
120
120
 
121
- var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
121
+ var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
122
122
 
123
123
 
124
124
 
package/dist/index.mjs CHANGED
@@ -49,21 +49,15 @@ 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
- import {
56
- LARGE_BUFFER
57
- } from "./chunk-VBPOZVKY.mjs";
58
52
  import {
59
53
  tsdownExecutorFn
60
54
  } from "./chunk-UF3YMASN.mjs";
55
+ import {
56
+ sizeLimitExecutorFn
57
+ } from "./chunk-KM47X5XW.mjs";
61
58
  import {
62
59
  typiaExecutorFn
63
60
  } from "./chunk-2KNHEXJQ.mjs";
64
- import {
65
- cargoFormatExecutor
66
- } from "./chunk-YILBFUCI.mjs";
67
61
  import {
68
62
  getRegistryVersion
69
63
  } from "./chunk-XUYTELRS.mjs";
@@ -72,17 +66,23 @@ 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";
77
71
  import {
78
72
  cargoCheckExecutor
79
73
  } from "./chunk-P4ZEGEQX.mjs";
74
+ import {
75
+ cargoClippyExecutor
76
+ } from "./chunk-57LRWY5U.mjs";
80
77
  import {
81
78
  cargoDocExecutor
82
79
  } from "./chunk-7AXJ27FU.mjs";
83
80
  import {
84
- cargoClippyExecutor
85
- } from "./chunk-57LRWY5U.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,27 +98,27 @@ import {
98
98
  runProcess
99
99
  } from "./chunk-XK3FSWMA.mjs";
100
100
  import "./chunk-RLIZVCIN.mjs";
101
- import {
102
- presetGeneratorFn
103
- } from "./chunk-QDZUYDVM.mjs";
104
- import {
105
- neutralLibraryGeneratorFn
106
- } from "./chunk-APSDUSBR.mjs";
107
101
  import {
108
102
  nodeLibraryGeneratorFn
109
103
  } from "./chunk-Q6OBRMZG.mjs";
104
+ import {
105
+ presetGeneratorFn
106
+ } from "./chunk-QDZUYDVM.mjs";
110
107
  import {
111
108
  releaseVersionGeneratorFn
112
109
  } from "./chunk-TNAEFYVH.mjs";
113
110
  import {
114
111
  browserLibraryGeneratorFn
115
112
  } from "./chunk-7GW75RON.mjs";
113
+ import {
114
+ configSchemaGeneratorFn
115
+ } from "./chunk-S73S6XCY.mjs";
116
116
  import {
117
117
  initGenerator
118
118
  } from "./chunk-X3GPVZMH.mjs";
119
119
  import {
120
- configSchemaGeneratorFn
121
- } from "./chunk-S73S6XCY.mjs";
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.253.0",
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",