@storm-software/workspace-tools 1.283.0 → 1.285.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 +42 -0
- package/README.md +2 -1
- package/dist/src/plugins/typescript/index.d.mts +9 -0
- package/dist/src/plugins/typescript/index.d.ts +9 -0
- package/dist/src/plugins/typescript/index.js +14 -14
- package/dist/src/plugins/typescript/index.mjs +8 -8
- package/dist/src/plugins/typescript/tsup.js +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.284.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.284.0) (2025-09-13)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Added the ability to support the `tsgo` compiler
|
|
10
|
+
([86ad08c45](https://github.com/storm-software/storm-ops/commit/86ad08c45))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Resolve issues with invalid workspace package
|
|
15
|
+
([a5e95d09a](https://github.com/storm-software/storm-ops/commit/a5e95d09a))
|
|
16
|
+
|
|
17
|
+
### Miscellaneous
|
|
18
|
+
|
|
19
|
+
- **monorepo:** Regenerate README markdown files
|
|
20
|
+
([268809036](https://github.com/storm-software/storm-ops/commit/268809036))
|
|
21
|
+
|
|
22
|
+
### Updated Dependencies
|
|
23
|
+
|
|
24
|
+
- Updated prettier to 0.53.16
|
|
25
|
+
- Updated esbuild to 0.48.0
|
|
26
|
+
- Updated unbuild to 0.52.0
|
|
27
|
+
|
|
28
|
+
## [1.283.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.283.0) (2025-09-08)
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
- **workspace-tools:** Updated the `typescript` plugin to allow specification of
|
|
33
|
+
task names in options
|
|
34
|
+
([f11af9560](https://github.com/storm-software/storm-ops/commit/f11af9560))
|
|
35
|
+
|
|
36
|
+
### Miscellaneous
|
|
37
|
+
|
|
38
|
+
- **monorepo:** Update workspace package links
|
|
39
|
+
([08b9b2380](https://github.com/storm-software/storm-ops/commit/08b9b2380))
|
|
40
|
+
|
|
41
|
+
### Updated Dependencies
|
|
42
|
+
|
|
43
|
+
- Updated prettier to 0.53.15
|
|
44
|
+
- Updated esbuild to 0.47.19
|
|
45
|
+
- Updated unbuild to 0.51.19
|
|
46
|
+
|
|
5
47
|
## [1.282.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.282.1) (2025-09-08)
|
|
6
48
|
|
|
7
49
|
### Bug Fixes
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Workspace Tools](#storm-workspace-tools)
|
|
@@ -38,6 +38,15 @@ interface TypeScriptPluginOptions {
|
|
|
38
38
|
* @defaultValue "type-check"
|
|
39
39
|
*/
|
|
40
40
|
enableTypeCheck?: string | false;
|
|
41
|
+
/**
|
|
42
|
+
* Whether to use `tsgo` for TypeScript language features in editors that support it.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* This requires the `@typescript/native-preview` package to be installed in the workspace.
|
|
46
|
+
*
|
|
47
|
+
* @defaultValue false
|
|
48
|
+
*/
|
|
49
|
+
useTsGo?: boolean;
|
|
41
50
|
/**
|
|
42
51
|
* Whether to skip the linting of internal tools (projects in the `/tools` directory).
|
|
43
52
|
*
|
|
@@ -38,6 +38,15 @@ interface TypeScriptPluginOptions {
|
|
|
38
38
|
* @defaultValue "type-check"
|
|
39
39
|
*/
|
|
40
40
|
enableTypeCheck?: string | false;
|
|
41
|
+
/**
|
|
42
|
+
* Whether to use `tsgo` for TypeScript language features in editors that support it.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* This requires the `@typescript/native-preview` package to be installed in the workspace.
|
|
46
|
+
*
|
|
47
|
+
* @defaultValue false
|
|
48
|
+
*/
|
|
49
|
+
useTsGo?: boolean;
|
|
41
50
|
/**
|
|
42
51
|
* Whether to skip the linting of internal tools (projects in the `/tools` directory).
|
|
43
52
|
*
|
|
@@ -95,13 +95,13 @@ var createNodesV2 = [
|
|
|
95
95
|
targets[_optionalChain([options2, 'optionalAccess', _10 => _10.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _11 => _11.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check"] ??= {
|
|
96
96
|
cache: true,
|
|
97
97
|
inputs: ["typescript", "^production"],
|
|
98
|
-
outputs: [
|
|
98
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
99
99
|
executor: "nx:run-commands",
|
|
100
100
|
dependsOn: [
|
|
101
101
|
`^${_optionalChain([options2, 'optionalAccess', _12 => _12.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _13 => _13.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check"}`
|
|
102
102
|
],
|
|
103
103
|
options: {
|
|
104
|
-
command: `pnpm exec tsc --noEmit --pretty --project
|
|
104
|
+
command: `pnpm exec ${_optionalChain([options2, 'optionalAccess', _14 => _14.useTsGo]) ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${_path.join.call(void 0,
|
|
105
105
|
projectConfig.root,
|
|
106
106
|
"tsconfig.json"
|
|
107
107
|
)}`
|
|
@@ -114,16 +114,16 @@ var createNodesV2 = [
|
|
|
114
114
|
eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
|
|
115
115
|
}
|
|
116
116
|
if (eslintConfig) {
|
|
117
|
-
targets[_optionalChain([options2, 'optionalAccess',
|
|
117
|
+
targets[_optionalChain([options2, 'optionalAccess', _15 => _15.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _16 => _16.enableEslint]) === "string" ? options2.enableEslint : "lint"] ??= {
|
|
118
118
|
cache: true,
|
|
119
119
|
inputs: ["linting", "typescript", "^production"],
|
|
120
120
|
outputs: [
|
|
121
121
|
"{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
|
|
122
122
|
],
|
|
123
123
|
dependsOn: [
|
|
124
|
-
enableMarkdownlint ? _optionalChain([options2, 'optionalAccess',
|
|
125
|
-
enableTypeCheck ? _optionalChain([options2, 'optionalAccess',
|
|
126
|
-
`^${_optionalChain([options2, 'optionalAccess',
|
|
124
|
+
enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _17 => _17.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _18 => _18.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
|
|
125
|
+
enableTypeCheck ? _optionalChain([options2, 'optionalAccess', _19 => _19.enableTypeCheck]) && typeof _optionalChain([options2, 'optionalAccess', _20 => _20.enableTypeCheck]) === "string" ? options2.enableTypeCheck : "type-check" : void 0,
|
|
126
|
+
`^${_optionalChain([options2, 'optionalAccess', _21 => _21.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _22 => _22.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
|
|
127
127
|
].filter(Boolean),
|
|
128
128
|
executor: "@nx/eslint:lint",
|
|
129
129
|
options: {
|
|
@@ -191,7 +191,7 @@ var createNodesV2 = [
|
|
|
191
191
|
cache: true,
|
|
192
192
|
executor: "nx:run-commands",
|
|
193
193
|
inputs: ["typescript", "^production"],
|
|
194
|
-
outputs: [
|
|
194
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
195
195
|
options: {
|
|
196
196
|
command: "pnpm exec rimraf dist/{projectRoot}",
|
|
197
197
|
color: true,
|
|
@@ -203,7 +203,7 @@ var createNodesV2 = [
|
|
|
203
203
|
executor: "nx:run-commands",
|
|
204
204
|
dependsOn: ["clean", "^build"],
|
|
205
205
|
inputs: ["typescript", "^production"],
|
|
206
|
-
outputs: [
|
|
206
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
207
207
|
options: {
|
|
208
208
|
command: `pnpm exec nx run ${projectConfig.name}:build`
|
|
209
209
|
}
|
|
@@ -213,7 +213,7 @@ var createNodesV2 = [
|
|
|
213
213
|
cache: true,
|
|
214
214
|
executor: "@nx/jest:jest",
|
|
215
215
|
inputs: ["testing", "typescript", "^production"],
|
|
216
|
-
outputs: [
|
|
216
|
+
outputs: [`{workspaceRoot}/coverage/${root}`],
|
|
217
217
|
defaultConfiguration: "development",
|
|
218
218
|
options: {
|
|
219
219
|
jestConfig: "{projectRoot}/jest.config.ts",
|
|
@@ -241,7 +241,7 @@ var createNodesV2 = [
|
|
|
241
241
|
targets["size-limit"] ??= {
|
|
242
242
|
cache: true,
|
|
243
243
|
inputs: ["testing", "typescript", "^production"],
|
|
244
|
-
outputs: [
|
|
244
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
245
245
|
dependsOn: ["build", "^size-limit"],
|
|
246
246
|
options: {}
|
|
247
247
|
};
|
|
@@ -271,16 +271,16 @@ var createNodesV2 = [
|
|
|
271
271
|
targets["clean-package"] ??= {
|
|
272
272
|
cache: true,
|
|
273
273
|
dependsOn: ["build"],
|
|
274
|
-
inputs: [
|
|
275
|
-
outputs: [
|
|
274
|
+
inputs: [`{workspaceRoot}/dist/${root}`],
|
|
275
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
276
276
|
executor: "@storm-software/workspace-tools:clean-package",
|
|
277
277
|
options: {
|
|
278
278
|
cleanReadMe: true,
|
|
279
279
|
cleanComments: true
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
|
-
_optionalChain([targets, 'access',
|
|
283
|
-
_optionalChain([targets, 'access',
|
|
282
|
+
_optionalChain([targets, 'access', _23 => _23["nx-release-publish"], 'access', _24 => _24.dependsOn, 'optionalAccess', _25 => _25.push, 'call', _26 => _26("clean-package")]);
|
|
283
|
+
_optionalChain([targets, 'access', _27 => _27["size-limit"], 'access', _28 => _28.dependsOn, 'optionalAccess', _29 => _29.push, 'call', _30 => _30("clean-package")]);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
_chunkAX3RSZT7js.addProjectTag.call(void 0,
|
|
@@ -96,13 +96,13 @@ var createNodesV2 = [
|
|
|
96
96
|
targets[options2?.enableTypeCheck && typeof options2?.enableTypeCheck === "string" ? options2.enableTypeCheck : "type-check"] ??= {
|
|
97
97
|
cache: true,
|
|
98
98
|
inputs: ["typescript", "^production"],
|
|
99
|
-
outputs: [
|
|
99
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
100
100
|
executor: "nx:run-commands",
|
|
101
101
|
dependsOn: [
|
|
102
102
|
`^${options2?.enableTypeCheck && typeof options2?.enableTypeCheck === "string" ? options2.enableTypeCheck : "type-check"}`
|
|
103
103
|
],
|
|
104
104
|
options: {
|
|
105
|
-
command: `pnpm exec tsc --noEmit --pretty --project
|
|
105
|
+
command: `pnpm exec ${options2?.useTsGo ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${join(
|
|
106
106
|
projectConfig.root,
|
|
107
107
|
"tsconfig.json"
|
|
108
108
|
)}`
|
|
@@ -192,7 +192,7 @@ var createNodesV2 = [
|
|
|
192
192
|
cache: true,
|
|
193
193
|
executor: "nx:run-commands",
|
|
194
194
|
inputs: ["typescript", "^production"],
|
|
195
|
-
outputs: [
|
|
195
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
196
196
|
options: {
|
|
197
197
|
command: "pnpm exec rimraf dist/{projectRoot}",
|
|
198
198
|
color: true,
|
|
@@ -204,7 +204,7 @@ var createNodesV2 = [
|
|
|
204
204
|
executor: "nx:run-commands",
|
|
205
205
|
dependsOn: ["clean", "^build"],
|
|
206
206
|
inputs: ["typescript", "^production"],
|
|
207
|
-
outputs: [
|
|
207
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
208
208
|
options: {
|
|
209
209
|
command: `pnpm exec nx run ${projectConfig.name}:build`
|
|
210
210
|
}
|
|
@@ -214,7 +214,7 @@ var createNodesV2 = [
|
|
|
214
214
|
cache: true,
|
|
215
215
|
executor: "@nx/jest:jest",
|
|
216
216
|
inputs: ["testing", "typescript", "^production"],
|
|
217
|
-
outputs: [
|
|
217
|
+
outputs: [`{workspaceRoot}/coverage/${root}`],
|
|
218
218
|
defaultConfiguration: "development",
|
|
219
219
|
options: {
|
|
220
220
|
jestConfig: "{projectRoot}/jest.config.ts",
|
|
@@ -242,7 +242,7 @@ var createNodesV2 = [
|
|
|
242
242
|
targets["size-limit"] ??= {
|
|
243
243
|
cache: true,
|
|
244
244
|
inputs: ["testing", "typescript", "^production"],
|
|
245
|
-
outputs: [
|
|
245
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
246
246
|
dependsOn: ["build", "^size-limit"],
|
|
247
247
|
options: {}
|
|
248
248
|
};
|
|
@@ -272,8 +272,8 @@ var createNodesV2 = [
|
|
|
272
272
|
targets["clean-package"] ??= {
|
|
273
273
|
cache: true,
|
|
274
274
|
dependsOn: ["build"],
|
|
275
|
-
inputs: [
|
|
276
|
-
outputs: [
|
|
275
|
+
inputs: [`{workspaceRoot}/dist/${root}`],
|
|
276
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
277
277
|
executor: "@storm-software/workspace-tools:clean-package",
|
|
278
278
|
options: {
|
|
279
279
|
cleanReadMe: true,
|
|
@@ -88,7 +88,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
|
|
|
88
88
|
"{projectRoot}/*.md",
|
|
89
89
|
"{projectRoot}/package.json"
|
|
90
90
|
],
|
|
91
|
-
outputs: [
|
|
91
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
92
92
|
executor: "nx:run-commands",
|
|
93
93
|
dependsOn: ["build-base", "build-untyped", "^build"],
|
|
94
94
|
options: {
|
|
@@ -89,7 +89,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
|
|
|
89
89
|
"{projectRoot}/*.md",
|
|
90
90
|
"{projectRoot}/package.json"
|
|
91
91
|
],
|
|
92
|
-
outputs: [
|
|
92
|
+
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
93
93
|
executor: "nx:run-commands",
|
|
94
94
|
dependsOn: ["build-base", "build-untyped", "^build"],
|
|
95
95
|
options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.285.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.
|
|
212
|
-
"@storm-software/prettier": "^0.
|
|
213
|
-
"@storm-software/unbuild": "^0.
|
|
211
|
+
"@storm-software/esbuild": "^0.49.0",
|
|
212
|
+
"@storm-software/prettier": "^0.54.0",
|
|
213
|
+
"@storm-software/unbuild": "^0.53.0",
|
|
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": "
|
|
241
|
+
"gitHead": "d3350e57030ab2882bb43180d63535b49e411f11"
|
|
242
242
|
}
|