@storm-software/workspace-tools 1.282.1 → 1.283.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
@@ -2,6 +2,23 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.282.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.282.1) (2025-09-08)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **workspace-tools:** Update type check task to `lint-tsc`
10
+ ([01a7b9d65](https://github.com/storm-software/storm-ops/commit/01a7b9d65))
11
+
12
+ ### Miscellaneous
13
+
14
+ - **monorepo:** Update workspace package links
15
+ ([64710d08d](https://github.com/storm-software/storm-ops/commit/64710d08d))
16
+
17
+ ### Updated Dependencies
18
+
19
+ - Updated esbuild to 0.47.18
20
+ - Updated unbuild to 0.51.18
21
+
5
22
  ## [1.282.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.282.0) (2025-09-06)
6
23
 
7
24
  ### 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.281.16-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.282.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 -->
@@ -11,30 +11,33 @@ interface TypeScriptPluginOptions {
11
11
  * @defaultValue true
12
12
  */
13
13
  includeApps?: boolean;
14
- /**
15
- * Whether to enable Knip, a tool for analyzing TypeScript projects.
16
- *
17
- * @defaultValue true
18
- */
19
- enableKnip?: boolean;
20
14
  /**
21
15
  * Whether to enable Markdownlint for linting Markdown files.
22
16
  *
23
- * @defaultValue true
17
+ * @remarks
18
+ * If set to a string, it will be used as the target name instead of the default "lint-markdown".
19
+ *
20
+ * @defaultValue "lint-markdown"
24
21
  */
25
- enableMarkdownlint?: boolean;
22
+ enableMarkdownlint?: string | false;
26
23
  /**
27
24
  * Whether to enable ESLint for linting TypeScript and JavaScript files.
28
25
  *
29
- * @defaultValue true
26
+ * @remarks
27
+ * If set to a string, it will be used as the target name instead of the default "lint".
28
+ *
29
+ * @defaultValue "lint"
30
30
  */
31
- enableEslint?: boolean;
31
+ enableEslint?: string | false;
32
32
  /**
33
33
  * Whether to enable TypeScript type checking via `tsc`.
34
34
  *
35
- * @defaultValue true
35
+ * @remarks
36
+ * If set to a string, it will be used as the target name instead of the default "type-check".
37
+ *
38
+ * @defaultValue "type-check"
36
39
  */
37
- enableTypeCheck?: boolean;
40
+ enableTypeCheck?: string | false;
38
41
  /**
39
42
  * Whether to skip the linting of internal tools (projects in the `/tools` directory).
40
43
  *
@@ -11,30 +11,33 @@ interface TypeScriptPluginOptions {
11
11
  * @defaultValue true
12
12
  */
13
13
  includeApps?: boolean;
14
- /**
15
- * Whether to enable Knip, a tool for analyzing TypeScript projects.
16
- *
17
- * @defaultValue true
18
- */
19
- enableKnip?: boolean;
20
14
  /**
21
15
  * Whether to enable Markdownlint for linting Markdown files.
22
16
  *
23
- * @defaultValue true
17
+ * @remarks
18
+ * If set to a string, it will be used as the target name instead of the default "lint-markdown".
19
+ *
20
+ * @defaultValue "lint-markdown"
24
21
  */
25
- enableMarkdownlint?: boolean;
22
+ enableMarkdownlint?: string | false;
26
23
  /**
27
24
  * Whether to enable ESLint for linting TypeScript and JavaScript files.
28
25
  *
29
- * @defaultValue true
26
+ * @remarks
27
+ * If set to a string, it will be used as the target name instead of the default "lint".
28
+ *
29
+ * @defaultValue "lint"
30
30
  */
31
- enableEslint?: boolean;
31
+ enableEslint?: string | false;
32
32
  /**
33
33
  * Whether to enable TypeScript type checking via `tsc`.
34
34
  *
35
- * @defaultValue true
35
+ * @remarks
36
+ * If set to a string, it will be used as the target name instead of the default "type-check".
37
+ *
38
+ * @defaultValue "type-check"
36
39
  */
37
- enableTypeCheck?: boolean;
40
+ enableTypeCheck?: string | false;
38
41
  /**
39
42
  * Whether to skip the linting of internal tools (projects in the `/tools` directory).
40
43
  *
@@ -74,7 +74,7 @@ var createNodesV2 = [
74
74
  }
75
75
  };
76
76
  if (enableMarkdownlint) {
77
- targets["lint-markdown"] ??= {
77
+ targets[_optionalChain([options2, 'optionalAccess', _6 => _6.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _7 => _7.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"] ??= {
78
78
  cache: true,
79
79
  inputs: [
80
80
  "linting",
@@ -82,7 +82,9 @@ var createNodesV2 = [
82
82
  "{projectRoot}/**/*.mdx"
83
83
  ],
84
84
  outputs: ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
85
- dependsOn: ["^lint-markdown"],
85
+ dependsOn: [
86
+ `^${_optionalChain([options2, 'optionalAccess', _8 => _8.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _9 => _9.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"}`
87
+ ],
86
88
  executor: "nx:run-commands",
87
89
  options: {
88
90
  command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
@@ -90,12 +92,14 @@ var createNodesV2 = [
90
92
  };
91
93
  }
92
94
  if (enableTypeCheck) {
93
- targets["lint-tsc"] ??= {
95
+ targets[_optionalChain([options2, 'optionalAccess', _10 => _10.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _11 => _11.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check"] ??= {
94
96
  cache: true,
95
97
  inputs: ["typescript", "^production"],
96
98
  outputs: ["{workspaceRoot}/dist/{projectRoot}"],
97
99
  executor: "nx:run-commands",
98
- dependsOn: ["^lint-tsc"],
100
+ dependsOn: [
101
+ `^${_optionalChain([options2, 'optionalAccess', _12 => _12.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _13 => _13.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check"}`
102
+ ],
99
103
  options: {
100
104
  command: `pnpm exec tsc --noEmit --pretty --project ${_path.join.call(void 0,
101
105
  projectConfig.root,
@@ -110,16 +114,16 @@ var createNodesV2 = [
110
114
  eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
111
115
  }
112
116
  if (eslintConfig) {
113
- targets.lint ??= {
117
+ targets[_optionalChain([options2, 'optionalAccess', _14 => _14.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _15 => _15.enableEslint]) === "string" ? options2.enableEslint : "lint"] ??= {
114
118
  cache: true,
115
119
  inputs: ["linting", "typescript", "^production"],
116
120
  outputs: [
117
121
  "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
118
122
  ],
119
123
  dependsOn: [
120
- enableMarkdownlint ? "lint-markdown" : void 0,
121
- enableTypeCheck ? "lint-tsc" : void 0,
122
- "^lint"
124
+ enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _16 => _16.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _17 => _17.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
125
+ enableTypeCheck ? _optionalChain([options2, 'optionalAccess', _18 => _18.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _19 => _19.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check" : void 0,
126
+ `^${_optionalChain([options2, 'optionalAccess', _20 => _20.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _21 => _21.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
123
127
  ].filter(Boolean),
124
128
  executor: "@nx/eslint:lint",
125
129
  options: {
@@ -275,8 +279,8 @@ var createNodesV2 = [
275
279
  cleanComments: true
276
280
  }
277
281
  };
278
- _optionalChain([targets, 'access', _6 => _6["nx-release-publish"], 'access', _7 => _7.dependsOn, 'optionalAccess', _8 => _8.push, 'call', _9 => _9("clean-package")]);
279
- _optionalChain([targets, 'access', _10 => _10["size-limit"], 'access', _11 => _11.dependsOn, 'optionalAccess', _12 => _12.push, 'call', _13 => _13("clean-package")]);
282
+ _optionalChain([targets, 'access', _22 => _22["nx-release-publish"], 'access', _23 => _23.dependsOn, 'optionalAccess', _24 => _24.push, 'call', _25 => _25("clean-package")]);
283
+ _optionalChain([targets, 'access', _26 => _26["size-limit"], 'access', _27 => _27.dependsOn, 'optionalAccess', _28 => _28.push, 'call', _29 => _29("clean-package")]);
280
284
  }
281
285
  }
282
286
  _chunkAX3RSZT7js.addProjectTag.call(void 0,
@@ -75,7 +75,7 @@ var createNodesV2 = [
75
75
  }
76
76
  };
77
77
  if (enableMarkdownlint) {
78
- targets["lint-markdown"] ??= {
78
+ targets[options2?.enableMarkdownlint && typeof options2?.enableMarkdownlint === "string" ? options2.enableMarkdownlint : "lint-markdown"] ??= {
79
79
  cache: true,
80
80
  inputs: [
81
81
  "linting",
@@ -83,7 +83,9 @@ var createNodesV2 = [
83
83
  "{projectRoot}/**/*.mdx"
84
84
  ],
85
85
  outputs: ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
86
- dependsOn: ["^lint-markdown"],
86
+ dependsOn: [
87
+ `^${options2?.enableMarkdownlint && typeof options2?.enableMarkdownlint === "string" ? options2.enableMarkdownlint : "lint-markdown"}`
88
+ ],
87
89
  executor: "nx:run-commands",
88
90
  options: {
89
91
  command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
@@ -91,12 +93,14 @@ var createNodesV2 = [
91
93
  };
92
94
  }
93
95
  if (enableTypeCheck) {
94
- targets["lint-tsc"] ??= {
96
+ targets[options2?.enableTypeCheck && typeof options2?.enableTypeCheck === "string" ? options2.enableTypeCheck : "type-check"] ??= {
95
97
  cache: true,
96
98
  inputs: ["typescript", "^production"],
97
99
  outputs: ["{workspaceRoot}/dist/{projectRoot}"],
98
100
  executor: "nx:run-commands",
99
- dependsOn: ["^lint-tsc"],
101
+ dependsOn: [
102
+ `^${options2?.enableTypeCheck && typeof options2?.enableTypeCheck === "string" ? options2.enableTypeCheck : "type-check"}`
103
+ ],
100
104
  options: {
101
105
  command: `pnpm exec tsc --noEmit --pretty --project ${join(
102
106
  projectConfig.root,
@@ -111,16 +115,16 @@ var createNodesV2 = [
111
115
  eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
112
116
  }
113
117
  if (eslintConfig) {
114
- targets.lint ??= {
118
+ targets[options2?.enableEslint && typeof options2?.enableEslint === "string" ? options2.enableEslint : "lint"] ??= {
115
119
  cache: true,
116
120
  inputs: ["linting", "typescript", "^production"],
117
121
  outputs: [
118
122
  "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
119
123
  ],
120
124
  dependsOn: [
121
- enableMarkdownlint ? "lint-markdown" : void 0,
122
- enableTypeCheck ? "lint-tsc" : void 0,
123
- "^lint"
125
+ enableMarkdownlint ? options2?.enableMarkdownlint && typeof options2?.enableMarkdownlint === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
126
+ enableTypeCheck ? options2?.enableTypeCheck && typeof options2?.enableTypeCheck === "string" ? options2.enableTypeCheck : "type-check" : void 0,
127
+ `^${options2?.enableEslint && typeof options2?.enableEslint === "string" ? options2.enableEslint : "lint"}`
124
128
  ].filter(Boolean),
125
129
  executor: "@nx/eslint:lint",
126
130
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.282.1",
3
+ "version": "1.283.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",
@@ -208,9 +208,9 @@
208
208
  "@size-limit/esbuild": "11.1.4",
209
209
  "@size-limit/esbuild-why": "11.1.4",
210
210
  "@size-limit/file": "11.1.4",
211
- "@storm-software/esbuild": "^0.47.18",
212
- "@storm-software/prettier": "^0.53.14",
213
- "@storm-software/unbuild": "^0.51.18",
211
+ "@storm-software/esbuild": "^0.47.19",
212
+ "@storm-software/prettier": "^0.53.15",
213
+ "@storm-software/unbuild": "^0.51.19",
214
214
  "fs-extra": "11.2.0",
215
215
  "glob": "^11.0.1",
216
216
  "jiti": "^2.4.2",
@@ -238,5 +238,5 @@
238
238
  "publishConfig": { "access": "public" },
239
239
  "executors": "./executors.json",
240
240
  "generators": "./generators.json",
241
- "gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
241
+ "gitHead": "77515798dbca4de4833086fb6135a0d062e5da45"
242
242
  }