@storm-software/workspace-tools 1.293.10 → 1.293.11
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 +21 -0
- package/dist/src/plugins/typescript/index.d.mts +3 -3
- package/dist/src/plugins/typescript/index.d.ts +3 -3
- package/dist/src/plugins/typescript/index.js +5 -5
- package/dist/src/plugins/typescript/index.mjs +5 -5
- package/dist/src/plugins/typescript/tsdown.js +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.js +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.293.10](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.10) (11/16/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Format workspace source files
|
|
10
|
+
([974aa3c4c](https://github.com/storm-software/storm-ops/commit/974aa3c4c))
|
|
11
|
+
- **config-tools:** Update `getStopwatch` to use `formatDistanceToNow` function
|
|
12
|
+
([3ddade5f5](https://github.com/storm-software/storm-ops/commit/3ddade5f5))
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated **testing-tools** to **v1.119.40**
|
|
17
|
+
- Updated **config-tools** to **v1.188.40**
|
|
18
|
+
- Updated **pnpm-tools** to **v0.6.40**
|
|
19
|
+
- Updated **npm-tools** to **v0.5.40**
|
|
20
|
+
- Updated **prettier** to **v0.57.40**
|
|
21
|
+
- Updated **esbuild** to **v0.53.40**
|
|
22
|
+
- Updated **unbuild** to **v0.57.40**
|
|
23
|
+
- Updated **config** to **v1.134.40**
|
|
24
|
+
- Updated **tsdown** to **v0.45.40**
|
|
25
|
+
|
|
5
26
|
## [1.293.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.9) (11/16/2025)
|
|
6
27
|
|
|
7
28
|
### Miscellaneous
|
|
@@ -33,11 +33,11 @@ interface TypeScriptPluginOptions {
|
|
|
33
33
|
* Whether to enable TypeScript type checking via `tsc`.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* If set to a string, it will be used as the target name instead of the default "
|
|
36
|
+
* If set to a string, it will be used as the target name instead of the default "typecheck".
|
|
37
37
|
*
|
|
38
|
-
* @defaultValue
|
|
38
|
+
* @defaultValue false
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
enableTypecheck?: string | true;
|
|
41
41
|
/**
|
|
42
42
|
* Whether to use `tsgo` for TypeScript language features in editors that support it.
|
|
43
43
|
*
|
|
@@ -33,11 +33,11 @@ interface TypeScriptPluginOptions {
|
|
|
33
33
|
* Whether to enable TypeScript type checking via `tsc`.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* If set to a string, it will be used as the target name instead of the default "
|
|
36
|
+
* If set to a string, it will be used as the target name instead of the default "typecheck".
|
|
37
37
|
*
|
|
38
|
-
* @defaultValue
|
|
38
|
+
* @defaultValue false
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
enableTypecheck?: string | true;
|
|
41
41
|
/**
|
|
42
42
|
* Whether to use `tsgo` for TypeScript language features in editors that support it.
|
|
43
43
|
*
|
|
@@ -46,7 +46,7 @@ var createNodesV2 = [
|
|
|
46
46
|
const root = _chunkJ6F3WHRBjs.getRoot.call(void 0, project.root, context2);
|
|
47
47
|
const enableMarkdownlint = _optionalChain([options2, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
|
|
48
48
|
const enableEslint = _optionalChain([options2, 'optionalAccess', _3 => _3.enableEslint]) !== false;
|
|
49
|
-
const
|
|
49
|
+
const enableTypecheck = !!_optionalChain([options2, 'optionalAccess', _4 => _4.enableTypecheck]);
|
|
50
50
|
const targets = _packagejson.readTargetsFromPackageJson.call(void 0,
|
|
51
51
|
packageJson,
|
|
52
52
|
nxJson,
|
|
@@ -91,15 +91,15 @@ var createNodesV2 = [
|
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
if (
|
|
95
|
-
targets[_optionalChain([options2, 'optionalAccess', _10 => _10.
|
|
94
|
+
if (enableTypecheck) {
|
|
95
|
+
targets[_optionalChain([options2, 'optionalAccess', _10 => _10.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _11 => _11.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"] ??= {
|
|
96
96
|
cache: true,
|
|
97
97
|
inputs: ["typescript", "^production"],
|
|
98
98
|
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
99
99
|
executor: "nx:run-commands",
|
|
100
100
|
dependsOn: [
|
|
101
101
|
"build-untyped",
|
|
102
|
-
`^${_optionalChain([options2, 'optionalAccess', _12 => _12.
|
|
102
|
+
`^${_optionalChain([options2, 'optionalAccess', _12 => _12.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _13 => _13.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"}`
|
|
103
103
|
],
|
|
104
104
|
options: {
|
|
105
105
|
command: `pnpm exec ${_optionalChain([options2, 'optionalAccess', _14 => _14.useTsGo]) ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${_path.join.call(void 0,
|
|
@@ -123,7 +123,7 @@ var createNodesV2 = [
|
|
|
123
123
|
],
|
|
124
124
|
dependsOn: [
|
|
125
125
|
enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _17 => _17.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _18 => _18.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
|
|
126
|
-
|
|
126
|
+
enableTypecheck ? _optionalChain([options2, 'optionalAccess', _19 => _19.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _20 => _20.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck" : void 0,
|
|
127
127
|
`^${_optionalChain([options2, 'optionalAccess', _21 => _21.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _22 => _22.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
|
|
128
128
|
].filter(Boolean),
|
|
129
129
|
executor: "@nx/eslint:lint",
|
|
@@ -47,7 +47,7 @@ var createNodesV2 = [
|
|
|
47
47
|
const root = getRoot(project.root, context2);
|
|
48
48
|
const enableMarkdownlint = options2?.enableMarkdownlint !== false;
|
|
49
49
|
const enableEslint = options2?.enableEslint !== false;
|
|
50
|
-
const
|
|
50
|
+
const enableTypecheck = !!options2?.enableTypecheck;
|
|
51
51
|
const targets = readTargetsFromPackageJson(
|
|
52
52
|
packageJson,
|
|
53
53
|
nxJson,
|
|
@@ -92,15 +92,15 @@ var createNodesV2 = [
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
if (
|
|
96
|
-
targets[options2?.
|
|
95
|
+
if (enableTypecheck) {
|
|
96
|
+
targets[options2?.enableTypecheck && typeof options2?.enableTypecheck === "string" ? options2.enableTypecheck : "typecheck"] ??= {
|
|
97
97
|
cache: true,
|
|
98
98
|
inputs: ["typescript", "^production"],
|
|
99
99
|
outputs: [`{workspaceRoot}/dist/${root}`],
|
|
100
100
|
executor: "nx:run-commands",
|
|
101
101
|
dependsOn: [
|
|
102
102
|
"build-untyped",
|
|
103
|
-
`^${options2?.
|
|
103
|
+
`^${options2?.enableTypecheck && typeof options2?.enableTypecheck === "string" ? options2.enableTypecheck : "typecheck"}`
|
|
104
104
|
],
|
|
105
105
|
options: {
|
|
106
106
|
command: `pnpm exec ${options2?.useTsGo ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${join(
|
|
@@ -124,7 +124,7 @@ var createNodesV2 = [
|
|
|
124
124
|
],
|
|
125
125
|
dependsOn: [
|
|
126
126
|
enableMarkdownlint ? options2?.enableMarkdownlint && typeof options2?.enableMarkdownlint === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
|
|
127
|
-
|
|
127
|
+
enableTypecheck ? options2?.enableTypecheck && typeof options2?.enableTypecheck === "string" ? options2.enableTypecheck : "typecheck" : void 0,
|
|
128
128
|
`^${options2?.enableEslint && typeof options2?.enableEslint === "string" ? options2.enableEslint : "lint"}`
|
|
129
129
|
].filter(Boolean),
|
|
130
130
|
executor: "@nx/eslint:lint",
|
|
@@ -73,7 +73,7 @@ Please add it to your dependencies by running \`pnpm add tsdown -D --filter="${p
|
|
|
73
73
|
],
|
|
74
74
|
outputs: ["{projectRoot}/dist"],
|
|
75
75
|
executor: "nx:run-commands",
|
|
76
|
-
dependsOn: ["build-untyped", "
|
|
76
|
+
dependsOn: ["build-untyped", "typecheck", "^build"],
|
|
77
77
|
options: {
|
|
78
78
|
command: `tsdown --config="${relativeConfig}"`,
|
|
79
79
|
cwd: root
|
|
@@ -74,7 +74,7 @@ Please add it to your dependencies by running \`pnpm add tsdown -D --filter="${p
|
|
|
74
74
|
],
|
|
75
75
|
outputs: ["{projectRoot}/dist"],
|
|
76
76
|
executor: "nx:run-commands",
|
|
77
|
-
dependsOn: ["build-untyped", "
|
|
77
|
+
dependsOn: ["build-untyped", "typecheck", "^build"],
|
|
78
78
|
options: {
|
|
79
79
|
command: `tsdown --config="${relativeConfig}"`,
|
|
80
80
|
cwd: root
|
|
@@ -73,7 +73,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
|
|
|
73
73
|
],
|
|
74
74
|
outputs: ["{projectRoot}/dist"],
|
|
75
75
|
executor: "nx:run-commands",
|
|
76
|
-
dependsOn: ["build-untyped", "
|
|
76
|
+
dependsOn: ["build-untyped", "typecheck", "^build"],
|
|
77
77
|
options: {
|
|
78
78
|
command: `tsup --config="${relativeConfig}"`,
|
|
79
79
|
cwd: root
|
|
@@ -74,7 +74,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
|
|
|
74
74
|
],
|
|
75
75
|
outputs: ["{projectRoot}/dist"],
|
|
76
76
|
executor: "nx:run-commands",
|
|
77
|
-
dependsOn: ["build-untyped", "
|
|
77
|
+
dependsOn: ["build-untyped", "typecheck", "^build"],
|
|
78
78
|
options: {
|
|
79
79
|
command: `tsup --config="${relativeConfig}"`,
|
|
80
80
|
cwd: root
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.293.
|
|
3
|
+
"version": "1.293.11",
|
|
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",
|
|
@@ -240,15 +240,15 @@
|
|
|
240
240
|
"@size-limit/esbuild": "11.1.4",
|
|
241
241
|
"@size-limit/esbuild-why": "11.1.4",
|
|
242
242
|
"@size-limit/file": "11.1.4",
|
|
243
|
-
"@storm-software/config-tools": "^1.188.
|
|
244
|
-
"@storm-software/esbuild": "^0.53.
|
|
245
|
-
"@storm-software/npm-tools": "^0.5.
|
|
246
|
-
"@storm-software/pnpm-tools": "^0.6.
|
|
247
|
-
"@storm-software/prettier": "^0.57.
|
|
248
|
-
"@storm-software/tsdown": "^0.45.
|
|
249
|
-
"@storm-software/unbuild": "^0.57.
|
|
243
|
+
"@storm-software/config-tools": "^1.188.41",
|
|
244
|
+
"@storm-software/esbuild": "^0.53.41",
|
|
245
|
+
"@storm-software/npm-tools": "^0.5.41",
|
|
246
|
+
"@storm-software/pnpm-tools": "^0.6.41",
|
|
247
|
+
"@storm-software/prettier": "^0.57.41",
|
|
248
|
+
"@storm-software/tsdown": "^0.45.41",
|
|
249
|
+
"@storm-software/unbuild": "^0.57.41",
|
|
250
250
|
"fs-extra": "11.2.0",
|
|
251
|
-
"glob": "^11.0
|
|
251
|
+
"glob": "^11.1.0",
|
|
252
252
|
"jiti": "2.4.2",
|
|
253
253
|
"markdownlint-cli2": "^0.17.2",
|
|
254
254
|
"micromatch": "^4.0.8",
|
|
@@ -272,5 +272,5 @@
|
|
|
272
272
|
"publishConfig": { "access": "public" },
|
|
273
273
|
"executors": "./executors.json",
|
|
274
274
|
"generators": "./generators.json",
|
|
275
|
-
"gitHead": "
|
|
275
|
+
"gitHead": "225b086d3e279e6cfb27e454d8bfd186b0c2aeb2"
|
|
276
276
|
}
|