@storm-software/workspace-tools 1.278.7 → 1.279.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,36 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.278.8](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.278.8) (2025-08-03)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Added `bentocache` vocab to dictionary
10
+ ([0ddb182dd](https://github.com/storm-software/storm-ops/commit/0ddb182dd))
11
+ - **monorepo:** Regenerate README markdown files
12
+ ([cd88b3e0d](https://github.com/storm-software/storm-ops/commit/cd88b3e0d))
13
+
14
+ ### Updated Dependencies
15
+
16
+ - Updated prettier to 0.51.70
17
+ - Updated esbuild to 0.45.58
18
+ - Updated unbuild to 0.49.69
19
+
20
+ ## [1.278.7](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.278.7) (2025-08-03)
21
+
22
+ ### Miscellaneous
23
+
24
+ - **cspell:** Added external package names to dictionary
25
+ ([a322e5039](https://github.com/storm-software/storm-ops/commit/a322e5039))
26
+ - **monorepo:** Regenerate README files and package.json links
27
+ ([aef5b3b2b](https://github.com/storm-software/storm-ops/commit/aef5b3b2b))
28
+
29
+ ### Updated Dependencies
30
+
31
+ - Updated prettier to 0.51.69
32
+ - Updated esbuild to 0.45.57
33
+ - Updated unbuild to 0.49.68
34
+
5
35
  ## [1.278.6](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.278.6) (2025-08-03)
6
36
 
7
37
  ### Miscellaneous
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.278.5-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.278.7-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 -->
@@ -40,7 +40,6 @@ 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
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Workspace Tools](#storm-workspace-tools)
package/config/base.json CHANGED
@@ -61,7 +61,6 @@
61
61
  "!{projectRoot}/tsconfig.spec.json",
62
62
  "!{projectRoot}/src/test-setup.[jt]s",
63
63
  "!{projectRoot}/test-setup.[jt]s",
64
- "!{projectRoot}/tsconfig.spec.json",
65
64
  "!{projectRoot}/.eslintignore",
66
65
  "!{projectRoot}/.eslintrc.json",
67
66
  "!{projectRoot}/.eslintrc.cjs",
@@ -82,13 +81,16 @@
82
81
  "!{projectRoot}/e2e/**/*",
83
82
  "!{projectRoot}/tests/**/*",
84
83
  "!{projectRoot}/testing/**/*",
85
- "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
86
- "!{projectRoot}/tsconfig.spec.json"
84
+ "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)"
87
85
  ],
88
86
  "testing": [
89
87
  "sharedGlobals",
90
88
  "{workspaceRoot}/jest.config.ts",
89
+ "{workspaceRoot}/jest.config.mts",
90
+ "{workspaceRoot}/jest.config.cts",
91
91
  "{workspaceRoot}/jest.preset.js",
92
+ "{workspaceRoot}/jest.preset.mjs",
93
+ "{workspaceRoot}/jest.preset.cjs",
92
94
  "{workspaceRoot}/benches/**/*",
93
95
  "{workspaceRoot}/e2e/**/*",
94
96
  "{workspaceRoot}/tests/**/*",
@@ -98,23 +100,16 @@
98
100
  "{projectRoot}/.env",
99
101
  "{projectRoot}/.env.local",
100
102
  "{projectRoot}/jest.config.ts",
103
+ "{projectRoot}/jest.config.mts",
104
+ "{projectRoot}/jest.config.cts",
101
105
  "{projectRoot}/tsconfig.spec.json",
102
106
  "{projectRoot}/src/test-setup.[jt]s",
103
107
  "{projectRoot}/test-setup.[jt]s",
104
- "{projectRoot}/tsconfig.spec.json",
105
- "{workspaceRoot}/jest.config.ts",
106
- "{workspaceRoot}/jest.preset.js",
107
- "{workspaceRoot}/benches/**/*",
108
- "{workspaceRoot}/e2e/**/*",
109
- "{workspaceRoot}/tests/**/*",
110
- "{workspaceRoot}/testing/**/*",
111
- "{workspaceRoot}/coverage/**/*",
112
108
  "{projectRoot}/benches/**/*",
113
109
  "{projectRoot}/e2e/**/*",
114
110
  "{projectRoot}/tests/**/*",
115
111
  "{projectRoot}/testing/**/*",
116
- "{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
117
- "{projectRoot}/tsconfig.spec.json"
112
+ "{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)"
118
113
  ],
119
114
  "linting": [
120
115
  "sharedGlobals",
@@ -188,7 +183,6 @@
188
183
  "{projectRoot}/contentlayer.config.ts",
189
184
  "{projectRoot}/.storybook/**/*",
190
185
  "{projectRoot}/tsconfig.storybook.json",
191
- "{projectRoot}/README.md",
192
186
  "{projectRoot}/docs/**/*",
193
187
  "{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
194
188
  "!{projectRoot}/benches/**/*",
@@ -226,9 +220,6 @@
226
220
  "{projectRoot}/src/**/*.yaml",
227
221
  "{projectRoot}/src/**/*.yml",
228
222
  "{projectRoot}/src/**/*.toml",
229
- {
230
- "runtime": "node -p '`${process.platform}_${process.arch}`'"
231
- },
232
223
  "!{projectRoot}/README.md",
233
224
  "!{projectRoot}/docs/**/*",
234
225
  "!{projectRoot}/benches/**/*",
@@ -331,8 +322,7 @@
331
322
  "plugins": [
332
323
  "@storm-software/workspace-tools/plugins/typescript",
333
324
  "@storm-software/workspace-tools/plugins/typescript/tsup",
334
- "@storm-software/workspace-tools/plugins/typescript/untyped",
335
- "@storm-software/workspace-tools/plugins/rust"
325
+ "@storm-software/workspace-tools/plugins/typescript/untyped"
336
326
  ],
337
327
  "parallel": 3,
338
328
  "defaultBase": "main",
@@ -163,6 +163,19 @@ var createNodesV2 = [
163
163
  command: `echo 'Formatting the project files in "{projectRoot}"' `
164
164
  }
165
165
  };
166
+ targets["type-check"] ??= {
167
+ cache: true,
168
+ inputs: ["typescript", "^production"],
169
+ outputs: ["{workspaceRoot}/dist/{projectRoot}"],
170
+ executor: "nx:run-commands",
171
+ dependsOn: ["^type-check", "^build"],
172
+ options: {
173
+ command: `pnpm exec tsc --noEmit --pretty --project ${join(
174
+ projectConfig.root,
175
+ "tsconfig.json"
176
+ )}`
177
+ }
178
+ };
166
179
  targets.clean ??= {
167
180
  cache: true,
168
181
  executor: "nx:run-commands",
@@ -163,6 +163,19 @@ var createNodesV2 = [
163
163
  command: `echo 'Formatting the project files in "{projectRoot}"' `
164
164
  }
165
165
  };
166
+ targets["type-check"] ??= {
167
+ cache: true,
168
+ inputs: ["typescript", "^production"],
169
+ outputs: ["{workspaceRoot}/dist/{projectRoot}"],
170
+ executor: "nx:run-commands",
171
+ dependsOn: ["^type-check", "^build"],
172
+ options: {
173
+ command: `pnpm exec tsc --noEmit --pretty --project ${_path.join.call(void 0,
174
+ projectConfig.root,
175
+ "tsconfig.json"
176
+ )}`
177
+ }
178
+ };
166
179
  targets.clean ??= {
167
180
  cache: true,
168
181
  executor: "nx:run-commands",
package/dist/executors.js CHANGED
@@ -13,13 +13,13 @@ var _chunkAH253N44js = require('./chunk-AH253N44.js');
13
13
  var _chunkDJLGYPRAjs = require('./chunk-DJLGYPRA.js');
14
14
 
15
15
 
16
- var _chunkWRXLSZ6Ijs = require('./chunk-WRXLSZ6I.js');
16
+ var _chunk63DISBXNjs = require('./chunk-63DISBXN.js');
17
17
 
18
18
 
19
- var _chunkUTAJHUJLjs = require('./chunk-UTAJHUJL.js');
19
+ var _chunkWRXLSZ6Ijs = require('./chunk-WRXLSZ6I.js');
20
20
 
21
21
 
22
- var _chunk63DISBXNjs = require('./chunk-63DISBXN.js');
22
+ var _chunkUTAJHUJLjs = require('./chunk-UTAJHUJL.js');
23
23
 
24
24
 
25
25
  var _chunkVR3OLKAIjs = require('./chunk-VR3OLKAI.js');
@@ -11,15 +11,15 @@ import {
11
11
  import {
12
12
  unbuildExecutorFn
13
13
  } from "./chunk-GNIDPNI3.mjs";
14
+ import {
15
+ cargoFormatExecutor
16
+ } from "./chunk-5KP5KWGU.mjs";
14
17
  import {
15
18
  getRegistryVersion
16
19
  } from "./chunk-7DLHAWLG.mjs";
17
20
  import {
18
21
  esbuildExecutorFn
19
22
  } from "./chunk-CCMBHSV7.mjs";
20
- import {
21
- cargoFormatExecutor
22
- } from "./chunk-5KP5KWGU.mjs";
23
23
  import {
24
24
  cargoBuildExecutor
25
25
  } from "./chunk-K7FEZWBA.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 _chunkG3YKHGPEjs = require('./chunk-G3YKHGPE.js');
5
-
6
-
7
4
  var _chunkYEUILWDRjs = require('./chunk-YEUILWDR.js');
8
5
 
9
6
 
@@ -20,6 +17,9 @@ var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
20
17
 
21
18
 
22
19
  var _chunkESFH6QVEjs = require('./chunk-ESFH6QVE.js');
20
+
21
+
22
+ var _chunkG3YKHGPEjs = require('./chunk-G3YKHGPE.js');
23
23
  require('./chunk-GYLUTELW.js');
24
24
  require('./chunk-HI4G4OOG.js');
25
25
  require('./chunk-452FQZ3B.js');
@@ -1,7 +1,4 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
- import {
3
- nodeLibraryGeneratorFn
4
- } from "./chunk-N46RWKEK.mjs";
5
2
  import {
6
3
  presetGeneratorFn
7
4
  } from "./chunk-V2UGPEY2.mjs";
@@ -20,6 +17,9 @@ import {
20
17
  import {
21
18
  neutralLibraryGeneratorFn
22
19
  } from "./chunk-FVGLL54Y.mjs";
20
+ import {
21
+ nodeLibraryGeneratorFn
22
+ } from "./chunk-N46RWKEK.mjs";
23
23
  import "./chunk-CNBBZVVG.mjs";
24
24
  import "./chunk-EK75QNMS.mjs";
25
25
  import "./chunk-SVIG7SR3.mjs";
package/dist/index.js CHANGED
@@ -62,13 +62,13 @@ var _chunkAH253N44js = require('./chunk-AH253N44.js');
62
62
  var _chunkDJLGYPRAjs = require('./chunk-DJLGYPRA.js');
63
63
 
64
64
 
65
- var _chunkWRXLSZ6Ijs = require('./chunk-WRXLSZ6I.js');
65
+ var _chunk63DISBXNjs = require('./chunk-63DISBXN.js');
66
66
 
67
67
 
68
- var _chunkUTAJHUJLjs = require('./chunk-UTAJHUJL.js');
68
+ var _chunkWRXLSZ6Ijs = require('./chunk-WRXLSZ6I.js');
69
69
 
70
70
 
71
- var _chunk63DISBXNjs = require('./chunk-63DISBXN.js');
71
+ var _chunkUTAJHUJLjs = require('./chunk-UTAJHUJL.js');
72
72
 
73
73
 
74
74
  var _chunkVR3OLKAIjs = require('./chunk-VR3OLKAI.js');
@@ -103,9 +103,6 @@ var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
103
103
  require('./chunk-INERRJ6Q.js');
104
104
 
105
105
 
106
- var _chunkG3YKHGPEjs = require('./chunk-G3YKHGPE.js');
107
-
108
-
109
106
  var _chunkYEUILWDRjs = require('./chunk-YEUILWDR.js');
110
107
 
111
108
 
@@ -124,6 +121,9 @@ var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
124
121
  var _chunkESFH6QVEjs = require('./chunk-ESFH6QVE.js');
125
122
 
126
123
 
124
+ var _chunkG3YKHGPEjs = require('./chunk-G3YKHGPE.js');
125
+
126
+
127
127
 
128
128
 
129
129
 
package/dist/index.mjs CHANGED
@@ -60,15 +60,15 @@ import {
60
60
  import {
61
61
  unbuildExecutorFn
62
62
  } from "./chunk-GNIDPNI3.mjs";
63
+ import {
64
+ cargoFormatExecutor
65
+ } from "./chunk-5KP5KWGU.mjs";
63
66
  import {
64
67
  getRegistryVersion
65
68
  } from "./chunk-7DLHAWLG.mjs";
66
69
  import {
67
70
  esbuildExecutorFn
68
71
  } from "./chunk-CCMBHSV7.mjs";
69
- import {
70
- cargoFormatExecutor
71
- } from "./chunk-5KP5KWGU.mjs";
72
72
  import {
73
73
  cargoBuildExecutor
74
74
  } from "./chunk-K7FEZWBA.mjs";
@@ -101,9 +101,6 @@ import {
101
101
  runProcess
102
102
  } from "./chunk-6LP3KKXE.mjs";
103
103
  import "./chunk-RLIZVCIN.mjs";
104
- import {
105
- nodeLibraryGeneratorFn
106
- } from "./chunk-N46RWKEK.mjs";
107
104
  import {
108
105
  presetGeneratorFn
109
106
  } from "./chunk-V2UGPEY2.mjs";
@@ -122,6 +119,9 @@ import {
122
119
  import {
123
120
  neutralLibraryGeneratorFn
124
121
  } from "./chunk-FVGLL54Y.mjs";
122
+ import {
123
+ nodeLibraryGeneratorFn
124
+ } from "./chunk-N46RWKEK.mjs";
125
125
  import {
126
126
  createProjectTsConfigJson,
127
127
  getOutputPath,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRANQ4TXUjs = require('../../../chunk-RANQ4TXU.js');
4
+ var _chunkQDQ5YUCNjs = require('../../../chunk-QDQ5YUCN.js');
5
5
  require('../../../chunk-NSSJMQFD.js');
6
6
  require('../../../chunk-AX3RSZT7.js');
7
7
  require('../../../chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
10
 
11
- exports.createNodesV2 = _chunkRANQ4TXUjs.createNodesV2; exports.name = _chunkRANQ4TXUjs.name;
11
+ exports.createNodesV2 = _chunkQDQ5YUCNjs.createNodesV2; exports.name = _chunkQDQ5YUCNjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodesV2,
3
3
  name
4
- } from "../../../chunk-R3OLB3C6.mjs";
4
+ } from "../../../chunk-D7XLAFS5.mjs";
5
5
  import "../../../chunk-FHBOYSRN.mjs";
6
6
  import "../../../chunk-F66XEAID.mjs";
7
7
  import "../../../chunk-5EK4H7VB.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRANQ4TXUjs = require('../../../chunk-RANQ4TXU.js');
4
+ var _chunkQDQ5YUCNjs = require('../../../chunk-QDQ5YUCN.js');
5
5
  require('../../../chunk-NSSJMQFD.js');
6
6
  require('../../../chunk-AX3RSZT7.js');
7
7
  require('../../../chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
10
 
11
- exports.createNodesV2 = _chunkRANQ4TXUjs.createNodesV2; exports.name = _chunkRANQ4TXUjs.name;
11
+ exports.createNodesV2 = _chunkQDQ5YUCNjs.createNodesV2; exports.name = _chunkQDQ5YUCNjs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodesV2,
3
3
  name
4
- } from "../../../chunk-R3OLB3C6.mjs";
4
+ } from "../../../chunk-D7XLAFS5.mjs";
5
5
  import "../../../chunk-FHBOYSRN.mjs";
6
6
  import "../../../chunk-F66XEAID.mjs";
7
7
  import "../../../chunk-5EK4H7VB.mjs";
@@ -1,7 +1,9 @@
1
1
  import { CreateNodesV2 } from '@nx/devkit';
2
2
 
3
3
  declare const name = "storm-software/typescript/tsup";
4
- type TsupPluginOptions = object;
4
+ type TsupPluginOptions = {
5
+ useRootDist?: boolean;
6
+ };
5
7
  declare const createNodesV2: CreateNodesV2<TsupPluginOptions>;
6
8
 
7
9
  export { type TsupPluginOptions, createNodesV2, name };
@@ -1,7 +1,9 @@
1
1
  import { CreateNodesV2 } from '@nx/devkit';
2
2
 
3
3
  declare const name = "storm-software/typescript/tsup";
4
- type TsupPluginOptions = object;
4
+ type TsupPluginOptions = {
5
+ useRootDist?: boolean;
6
+ };
5
7
  declare const createNodesV2: CreateNodesV2<TsupPluginOptions>;
6
8
 
7
9
  export { type TsupPluginOptions, createNodesV2, name };
@@ -65,7 +65,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
65
65
  while (relativeConfig.startsWith("/")) {
66
66
  relativeConfig = relativeConfig.slice(1);
67
67
  }
68
- targets["build-base"] ??= {
68
+ targets[_optionalChain([options2, 'optionalAccess', _5 => _5.useRootDist]) !== false ? "build-base" : "build"] = {
69
69
  cache: true,
70
70
  inputs: [
71
71
  `{workspaceRoot}/${configFile}`,
@@ -74,31 +74,33 @@ 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", "^build"],
77
+ dependsOn: ["build-untyped", "type-check", "^build"],
78
78
  options: {
79
79
  command: `tsup --config="${relativeConfig}"`,
80
80
  cwd: root
81
81
  }
82
82
  };
83
- targets.build ??= {
84
- cache: true,
85
- inputs: [
86
- "{workspaceRoot}/LICENSE",
87
- "{projectRoot}/dist",
88
- "{projectRoot}/*.md",
89
- "{projectRoot}/package.json"
90
- ],
91
- outputs: ["{workspaceRoot}/dist/{projectRoot}"],
92
- executor: "nx:run-commands",
93
- dependsOn: ["build-base", "build-untyped", "^build"],
94
- options: {
95
- commands: [
96
- `pnpm copyfiles LICENSE dist/${root}`,
97
- `pnpm copyfiles --up=2 ./${root}/*.md ./${root}/package.json dist/${root}`,
98
- `pnpm copyfiles --up=3 "./${root}/dist/**/*" dist/${root}/dist`
99
- ]
100
- }
101
- };
83
+ if (_optionalChain([options2, 'optionalAccess', _6 => _6.useRootDist]) !== false) {
84
+ targets.build = {
85
+ cache: true,
86
+ inputs: [
87
+ "{workspaceRoot}/LICENSE",
88
+ "{projectRoot}/dist",
89
+ "{projectRoot}/*.md",
90
+ "{projectRoot}/package.json"
91
+ ],
92
+ outputs: ["{workspaceRoot}/dist/{projectRoot}"],
93
+ executor: "nx:run-commands",
94
+ dependsOn: ["build-base", "build-untyped", "^build"],
95
+ options: {
96
+ commands: [
97
+ `pnpm copyfiles LICENSE dist/${root}`,
98
+ `pnpm copyfiles --up=2 ./${root}/*.md ./${root}/package.json dist/${root}`,
99
+ `pnpm copyfiles --up=3 "./${root}/dist/**/*" dist/${root}/dist`
100
+ ]
101
+ }
102
+ };
103
+ }
102
104
  targets.clean = {
103
105
  executor: "nx:run-commands",
104
106
  inputs: [
@@ -65,7 +65,7 @@ Please add it to your dependencies by running \`pnpm add tsup -D --filter="${pac
65
65
  while (relativeConfig.startsWith("/")) {
66
66
  relativeConfig = relativeConfig.slice(1);
67
67
  }
68
- targets["build-base"] ??= {
68
+ targets[options2?.useRootDist !== false ? "build-base" : "build"] = {
69
69
  cache: true,
70
70
  inputs: [
71
71
  `{workspaceRoot}/${configFile}`,
@@ -74,31 +74,33 @@ 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", "^build"],
77
+ dependsOn: ["build-untyped", "type-check", "^build"],
78
78
  options: {
79
79
  command: `tsup --config="${relativeConfig}"`,
80
80
  cwd: root
81
81
  }
82
82
  };
83
- targets.build ??= {
84
- cache: true,
85
- inputs: [
86
- "{workspaceRoot}/LICENSE",
87
- "{projectRoot}/dist",
88
- "{projectRoot}/*.md",
89
- "{projectRoot}/package.json"
90
- ],
91
- outputs: ["{workspaceRoot}/dist/{projectRoot}"],
92
- executor: "nx:run-commands",
93
- dependsOn: ["build-base", "build-untyped", "^build"],
94
- options: {
95
- commands: [
96
- `pnpm copyfiles LICENSE dist/${root}`,
97
- `pnpm copyfiles --up=2 ./${root}/*.md ./${root}/package.json dist/${root}`,
98
- `pnpm copyfiles --up=3 "./${root}/dist/**/*" dist/${root}/dist`
99
- ]
100
- }
101
- };
83
+ if (options2?.useRootDist !== false) {
84
+ targets.build = {
85
+ cache: true,
86
+ inputs: [
87
+ "{workspaceRoot}/LICENSE",
88
+ "{projectRoot}/dist",
89
+ "{projectRoot}/*.md",
90
+ "{projectRoot}/package.json"
91
+ ],
92
+ outputs: ["{workspaceRoot}/dist/{projectRoot}"],
93
+ executor: "nx:run-commands",
94
+ dependsOn: ["build-base", "build-untyped", "^build"],
95
+ options: {
96
+ commands: [
97
+ `pnpm copyfiles LICENSE dist/${root}`,
98
+ `pnpm copyfiles --up=2 ./${root}/*.md ./${root}/package.json dist/${root}`,
99
+ `pnpm copyfiles --up=3 "./${root}/dist/**/*" dist/${root}/dist`
100
+ ]
101
+ }
102
+ };
103
+ }
102
104
  targets.clean = {
103
105
  executor: "nx:run-commands",
104
106
  inputs: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.278.7",
3
+ "version": "1.279.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.45.57",
212
- "@storm-software/prettier": "^0.51.69",
213
- "@storm-software/unbuild": "^0.49.68",
211
+ "@storm-software/esbuild": "^0.45.59",
212
+ "@storm-software/prettier": "^0.51.71",
213
+ "@storm-software/unbuild": "^0.49.70",
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": "b368e0e9b48bf33fb209d5f30148a1cd5929bd73"
241
+ "gitHead": "02c8cb2e1f2bf609086789189e99224caec55688"
242
242
  }