@storm-software/workspace-tools 1.239.6 → 1.240.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,22 @@
1
+ ## 1.240.0 (2025-01-23)
2
+
3
+ ### Features
4
+
5
+ - **config-tools:** Added the `storm-config` CLI to view current workspace configuration ([4241a6ae](https://github.com/storm-software/storm-ops/commit/4241a6ae))
6
+
7
+ ### Bug Fixes
8
+
9
+ - **monorepo:** Resolve issue with internal package referencing ([cdc11477](https://github.com/storm-software/storm-ops/commit/cdc11477))
10
+
11
+ ### 🧱 Updated Dependencies
12
+
13
+ - Updated esbuild to 0.21.4
14
+ - Updated esbuild to 0.21.4
15
+ - Updated unbuild to 0.31.0
16
+ - Updated unbuild to 0.31.0
17
+ - Updated tsdown to 0.22.4
18
+ - Updated tsdown to 0.22.4
19
+
1
20
  ## 1.239.6 (2025-01-22)
2
21
 
3
22
  ### 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.239.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.239.6-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 -->
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
-
3
-
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
4
2
 
5
3
 
6
4
  var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
@@ -27,38 +25,18 @@ var DEFAULT_TARGET = "esnext";
27
25
  var DEFAULT_ORGANIZATION = "storm-software";
28
26
 
29
27
  // ../build-tools/src/utilities/copy-assets.ts
30
- var _devkit = require('@nx/devkit');
31
- var _js = require('@nx/js');
28
+ var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
32
29
  var _glob = require('glob');
33
30
  var _promises = require('fs/promises');
34
-
35
- // ../build-tools/src/utilities/read-nx-config.ts
36
- var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
37
-
38
- var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
39
- let rootDir = workspaceRoot;
40
- if (!rootDir) {
41
- const config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, );
42
- rootDir = config.workspaceRoot;
43
- }
44
- const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
45
- if (!_fs.existsSync.call(void 0, nxJsonPath)) {
46
- throw new Error("Cannot find project.json configuration");
47
- }
48
- const configContent = await _promises.readFile.call(void 0, nxJsonPath, "utf8");
49
- return JSON.parse(configContent);
50
- }, "readNxConfig");
51
-
52
- // ../build-tools/src/utilities/copy-assets.ts
53
- var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
31
+ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
54
32
  const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
55
33
  pendingAssets.push({
56
- input: _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot),
34
+ input: projectRoot,
57
35
  glob: "*.md",
58
36
  output: "."
59
37
  });
60
38
  pendingAssets.push({
61
- input: config.workspaceRoot,
39
+ input: ".",
62
40
  glob: "LICENSE",
63
41
  output: "."
64
42
  });
@@ -76,36 +54,15 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
76
54
  output: "src/"
77
55
  });
78
56
  }
79
- const nxJson = readNxConfig(config.workspaceRoot);
80
- const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
81
- const projectsConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
82
- if (!_optionalChain([projectsConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName]])) {
83
- throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
84
- }
85
- const buildTarget = _optionalChain([projectsConfigurations, 'access', _3 => _3.projects, 'access', _4 => _4[projectName], 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build]);
86
- if (!buildTarget) {
87
- throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
88
- }
89
57
  _chunkRN4QXP7Fjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
90
58
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
91
- const result = await _js.copyAssets.call(void 0, {
92
- assets: pendingAssets,
93
- watch: false,
94
- outputPath
95
- }, {
96
- root: config.workspaceRoot,
97
- targetName: "build",
98
- target: buildTarget,
99
- projectName,
100
- projectGraph,
101
- projectsConfigurations,
102
- nxJsonConfiguration: nxJson,
103
- cwd: config.workspaceRoot,
104
- isVerbose: _chunkRN4QXP7Fjs.isVerbose.call(void 0, config.logLevel)
59
+ const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
60
+ projectDir: projectRoot,
61
+ rootDir: config.workspaceRoot,
62
+ outputDir: outputPath,
63
+ assets: pendingAssets
105
64
  });
106
- if (!result.success) {
107
- throw new Error("The Build process failed trying to copy assets");
108
- }
65
+ await assetHandler.processAllAssetsOnce();
109
66
  if (includeSrc === true) {
110
67
  _chunkRN4QXP7Fjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
111
68
  const files = await _glob.glob.call(void 0, [
@@ -125,7 +82,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
125
82
  // ../build-tools/src/utilities/generate-package-json.ts
126
83
  var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
127
84
 
128
-
85
+ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
129
86
 
130
87
  var _projectgraph = require('nx/src/project-graph/project-graph');
131
88
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
@@ -301,7 +258,7 @@ var _path = require('path'); var _path2 = _interopRequireDefault(_path);
301
258
  var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
302
259
 
303
260
  // ../build-tools/src/plugins/type-definitions.ts
304
-
261
+ var _devkit = require('@nx/devkit');
305
262
 
306
263
 
307
264
  // ../build-tools/src/utilities/get-out-extension.ts
@@ -326,6 +283,10 @@ function getOutExtension(format, pkgType) {
326
283
  }
327
284
  _chunk3GQAWCBQjs.__name.call(void 0, getOutExtension, "getOutExtension");
328
285
 
286
+ // ../build-tools/src/utilities/read-nx-config.ts
287
+
288
+
289
+
329
290
  // ../build-tools/src/utilities/task-graph.ts
330
291
  var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
331
292
 
@@ -8,7 +8,7 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-INGLAMPC.mjs";
11
+ } from "./chunk-Y5SXJ6IC.mjs";
12
12
  import {
13
13
  withRunExecutor
14
14
  } from "./chunk-JKJK4ONU.mjs";
@@ -905,7 +905,7 @@ async function copyBuildAssets(context2) {
905
905
  if (context2.result?.errors.length === 0) {
906
906
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
907
907
  const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
908
- await copyAssets(context2.options.config, context2.options.assets ?? [], context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
908
+ await copyAssets(context2.options.config, context2.options.assets ?? [], context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
909
909
  stopwatch();
910
910
  }
911
911
  return context2;
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk5HAR4KECjs = require('./chunk-5HAR4KEC.js');
9
+ var _chunk2JLHVV5Sjs = require('./chunk-2JLHVV5S.js');
10
10
 
11
11
 
12
12
  var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
@@ -91,19 +91,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunk5HAR4KECjs.DEFAULT_TARGET;
94
+ options.target ??= _chunk2JLHVV5Sjs.DEFAULT_TARGET;
95
95
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunk5HAR4KECjs.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunk2JLHVV5Sjs.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
104
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunk5HAR4KECjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunk2JLHVV5Sjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
109
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -159,11 +159,11 @@ async function generatePackageJson(options) {
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunk5HAR4KECjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunk5HAR4KECjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunk2JLHVV5Sjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunk2JLHVV5Sjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunk5HAR4KECjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunk5HAR4KECjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -215,7 +215,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
216
  _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
217
  const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunk5HAR4KECjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
218
+ await _chunk2JLHVV5Sjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunk5HAR4KECjs = require('./chunk-5HAR4KEC.js');
11
+ var _chunk2JLHVV5Sjs = require('./chunk-2JLHVV5S.js');
12
12
 
13
13
 
14
14
  var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
@@ -487,7 +487,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
487
487
 
488
488
  // ../esbuild/src/config.ts
489
489
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
490
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunk5HAR4KECjs.getOutExtension.call(void 0, options.format, pkgType);
490
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunk2JLHVV5Sjs.getOutExtension.call(void 0, options.format, pkgType);
491
491
  }, "getOutputExtensionMap");
492
492
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
493
493
  nodeProtocolPlugin(options, resolvedOptions),
@@ -535,7 +535,7 @@ var DEFAULT_BUILD_OPTIONS = {
535
535
  ".woff": "file",
536
536
  ".woff2": "file"
537
537
  },
538
- banner: _chunk5HAR4KECjs.DEFAULT_COMPILED_BANNER
538
+ banner: _chunk2JLHVV5Sjs.DEFAULT_COMPILED_BANNER
539
539
  };
540
540
 
541
541
  // ../esbuild/src/plugins/deps-check.ts
@@ -730,14 +730,14 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
730
730
  }
731
731
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
732
732
  options.name ??= `${projectName}-${options.format}`;
733
- options.target ??= _chunk5HAR4KECjs.DEFAULT_TARGET;
733
+ options.target ??= _chunk2JLHVV5Sjs.DEFAULT_TARGET;
734
734
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
735
735
  if (!await _node.hfs.isFile(packageJsonPath)) {
736
736
  throw new Error("Cannot find package.json configuration");
737
737
  }
738
738
  const packageJson = await _node.hfs.json(packageJsonPath);
739
739
  const outExtension = getOutputExtensionMap(options, packageJson.type);
740
- const env = _chunk5HAR4KECjs.getEnv.call(void 0, "esbuild", options);
740
+ const env = _chunk2JLHVV5Sjs.getEnv.call(void 0, "esbuild", options);
741
741
  const result = {
742
742
  ...options,
743
743
  config,
@@ -757,7 +757,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
757
757
  ...userOptions,
758
758
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
759
759
  format: options.format || "cjs",
760
- entryPoints: await _chunk5HAR4KECjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
760
+ entryPoints: await _chunk2JLHVV5Sjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
761
761
  "./src/index.ts"
762
762
  ], userOptions.emitOnAll),
763
763
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -782,8 +782,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
782
782
  outExtension,
783
783
  footer: userOptions.footer,
784
784
  banner: {
785
- js: options.banner || _chunk5HAR4KECjs.DEFAULT_COMPILED_BANNER,
786
- css: options.banner || _chunk5HAR4KECjs.DEFAULT_COMPILED_BANNER
785
+ js: options.banner || _chunk2JLHVV5Sjs.DEFAULT_COMPILED_BANNER,
786
+ css: options.banner || _chunk2JLHVV5Sjs.DEFAULT_COMPILED_BANNER
787
787
  },
788
788
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
789
789
  treeShaking: options.format === "esm",
@@ -825,11 +825,11 @@ async function generatePackageJson(context2) {
825
825
  if (!packageJson) {
826
826
  throw new Error("Cannot find package.json configuration file");
827
827
  }
828
- packageJson = await _chunk5HAR4KECjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
- packageJson = await _chunk5HAR4KECjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
828
+ packageJson = await _chunk2JLHVV5Sjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
+ packageJson = await _chunk2JLHVV5Sjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
830
830
  packageJson.exports ??= {};
831
831
  packageJson.exports["./package.json"] ??= "./package.json";
832
- packageJson.exports["."] ??= _chunk5HAR4KECjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
832
+ packageJson.exports["."] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
833
833
  let entryPoints = [
834
834
  {
835
835
  in: "./src/index.ts",
@@ -847,7 +847,7 @@ async function generatePackageJson(context2) {
847
847
  const split = entryPoint.out.split(".");
848
848
  split.pop();
849
849
  const entry = split.join(".").replaceAll("\\", "/");
850
- packageJson.exports[`./${entry}`] ??= _chunk5HAR4KECjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
850
+ packageJson.exports[`./${entry}`] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
851
851
  }
852
852
  }
853
853
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -904,7 +904,7 @@ async function copyBuildAssets(context2) {
904
904
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
905
905
  _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
906
  const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
- await _chunk5HAR4KECjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
907
+ await _chunk2JLHVV5Sjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
908
908
  stopwatch();
909
909
  }
910
910
  return context2;
@@ -6,7 +6,7 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-INGLAMPC.mjs";
9
+ } from "./chunk-Y5SXJ6IC.mjs";
10
10
  import {
11
11
  withRunExecutor
12
12
  } from "./chunk-JKJK4ONU.mjs";
@@ -215,7 +215,7 @@ __name(executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
216
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
217
  const stopwatch = getStopwatch(`${options.name} asset copy`);
218
- await copyAssets(options.config, options.assets ?? [], options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
218
+ await copyAssets(options.config, options.assets ?? [], options.outdir, options.projectRoot, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
@@ -1,6 +1,4 @@
1
1
  import {
2
- getConfig,
3
- isVerbose,
4
2
  writeDebug,
5
3
  writeTrace
6
4
  } from "./chunk-NYX3ICKR.mjs";
@@ -27,38 +25,18 @@ var DEFAULT_TARGET = "esnext";
27
25
  var DEFAULT_ORGANIZATION = "storm-software";
28
26
 
29
27
  // ../build-tools/src/utilities/copy-assets.ts
30
- import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "@nx/devkit";
31
- import { copyAssets as copyAssetsBase } from "@nx/js";
28
+ import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
32
29
  import { glob } from "glob";
33
- import { readFile as readFile2, writeFile } from "node:fs/promises";
34
-
35
- // ../build-tools/src/utilities/read-nx-config.ts
36
- import { existsSync } from "node:fs";
37
- import { readFile } from "node:fs/promises";
38
- var readNxConfig = /* @__PURE__ */ __name(async (workspaceRoot) => {
39
- let rootDir = workspaceRoot;
40
- if (!rootDir) {
41
- const config = await getConfig();
42
- rootDir = config.workspaceRoot;
43
- }
44
- const nxJsonPath = joinPaths(rootDir, "nx.json");
45
- if (!existsSync(nxJsonPath)) {
46
- throw new Error("Cannot find project.json configuration");
47
- }
48
- const configContent = await readFile(nxJsonPath, "utf8");
49
- return JSON.parse(configContent);
50
- }, "readNxConfig");
51
-
52
- // ../build-tools/src/utilities/copy-assets.ts
53
- var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
30
+ import { readFile, writeFile } from "node:fs/promises";
31
+ var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
54
32
  const pendingAssets = Array.from(assets ?? []);
55
33
  pendingAssets.push({
56
- input: joinPaths(config.workspaceRoot, projectRoot),
34
+ input: projectRoot,
57
35
  glob: "*.md",
58
36
  output: "."
59
37
  });
60
38
  pendingAssets.push({
61
- input: config.workspaceRoot,
39
+ input: ".",
62
40
  glob: "LICENSE",
63
41
  output: "."
64
42
  });
@@ -76,36 +54,15 @@ var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, proje
76
54
  output: "src/"
77
55
  });
78
56
  }
79
- const nxJson = readNxConfig(config.workspaceRoot);
80
- const projectGraph = readCachedProjectGraph();
81
- const projectsConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
82
- if (!projectsConfigurations?.projects?.[projectName]) {
83
- throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
84
- }
85
- const buildTarget = projectsConfigurations.projects[projectName].targets?.build;
86
- if (!buildTarget) {
87
- throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${joinPaths(projectRoot, "project.json")}`);
88
- }
89
57
  writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
90
58
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`, config);
91
- const result = await copyAssetsBase({
92
- assets: pendingAssets,
93
- watch: false,
94
- outputPath
95
- }, {
96
- root: config.workspaceRoot,
97
- targetName: "build",
98
- target: buildTarget,
99
- projectName,
100
- projectGraph,
101
- projectsConfigurations,
102
- nxJsonConfiguration: nxJson,
103
- cwd: config.workspaceRoot,
104
- isVerbose: isVerbose(config.logLevel)
59
+ const assetHandler = new CopyAssetsHandler({
60
+ projectDir: projectRoot,
61
+ rootDir: config.workspaceRoot,
62
+ outputDir: outputPath,
63
+ assets: pendingAssets
105
64
  });
106
- if (!result.success) {
107
- throw new Error("The Build process failed trying to copy assets");
108
- }
65
+ await assetHandler.processAllAssetsOnce();
109
66
  if (includeSrc === true) {
110
67
  writeDebug(`\u{1F4DD} Adding banner and writing source files: ${joinPaths(outputPath, "src")}`, config);
111
68
  const files = await glob([
@@ -116,7 +73,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
116
73
  ]);
117
74
  await Promise.allSettled(files.map(async (file) => writeFile(file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
118
75
 
119
- ${await readFile2(file, "utf8")}
76
+ ${await readFile(file, "utf8")}
120
77
 
121
78
  ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `// ${footer}` : ""}`)));
122
79
  }
@@ -125,18 +82,18 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
125
82
  // ../build-tools/src/utilities/generate-package-json.ts
126
83
  import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
127
84
  import { Glob } from "glob";
128
- import { existsSync as existsSync2 } from "node:fs";
129
- import { readFile as readFile3 } from "node:fs/promises";
130
- import { readCachedProjectGraph as readCachedProjectGraph2 } from "nx/src/project-graph/project-graph";
85
+ import { existsSync } from "node:fs";
86
+ import { readFile as readFile2 } from "node:fs/promises";
87
+ import { readCachedProjectGraph } from "nx/src/project-graph/project-graph";
131
88
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
132
- const projectDependencies = calculateProjectBuildableDependencies(void 0, readCachedProjectGraph2(), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
89
+ const projectDependencies = calculateProjectBuildableDependencies(void 0, readCachedProjectGraph(), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
133
90
  const localPackages = [];
134
91
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
135
92
  const projectNode = project.node;
136
93
  if (projectNode.data.root) {
137
94
  const projectPackageJsonPath = joinPaths(workspaceRoot, projectNode.data.root, "package.json");
138
- if (existsSync2(projectPackageJsonPath)) {
139
- const projectPackageJsonContent = await readFile3(projectPackageJsonPath, "utf8");
95
+ if (existsSync(projectPackageJsonPath)) {
96
+ const projectPackageJsonContent = await readFile2(projectPackageJsonPath, "utf8");
140
97
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
141
98
  if (projectPackageJson.private !== false) {
142
99
  localPackages.push(projectPackageJson);
@@ -173,7 +130,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
173
130
  }, "addPackageDependencies");
174
131
  var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
175
132
  const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
176
- const workspacePackageJsonContent = await readFile3(joinPaths(workspaceRoot, "package.json"), "utf8");
133
+ const workspacePackageJsonContent = await readFile2(joinPaths(workspaceRoot, "package.json"), "utf8");
177
134
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
178
135
  packageJson.type ??= "module";
179
136
  packageJson.sideEffects ??= false;
@@ -326,6 +283,10 @@ function getOutExtension(format, pkgType) {
326
283
  }
327
284
  __name(getOutExtension, "getOutExtension");
328
285
 
286
+ // ../build-tools/src/utilities/read-nx-config.ts
287
+ import { existsSync as existsSync2 } from "node:fs";
288
+ import { readFile as readFile3 } from "node:fs/promises";
289
+
329
290
  // ../build-tools/src/utilities/task-graph.ts
330
291
  import { createTaskGraph, mapTargetDefaultsToDependencies } from "nx/src/tasks-runner/create-task-graph";
331
292
 
package/dist/executors.js CHANGED
@@ -10,7 +10,7 @@ var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
10
10
  var _chunk3LJCHADSjs = require('./chunk-3LJCHADS.js');
11
11
 
12
12
 
13
- var _chunkNOVYFOO2js = require('./chunk-NOVYFOO2.js');
13
+ var _chunk6NSTM255js = require('./chunk-6NSTM255.js');
14
14
 
15
15
 
16
16
  var _chunkMQAKNE4Xjs = require('./chunk-MQAKNE4X.js');
@@ -22,8 +22,8 @@ var _chunkYVJY3MXRjs = require('./chunk-YVJY3MXR.js');
22
22
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
23
23
 
24
24
 
25
- var _chunkGRU36BAPjs = require('./chunk-GRU36BAP.js');
26
- require('./chunk-5HAR4KEC.js');
25
+ var _chunk6WRRTV43js = require('./chunk-6WRRTV43.js');
26
+ require('./chunk-2JLHVV5S.js');
27
27
 
28
28
 
29
29
  var _chunkAPBDTIK2js = require('./chunk-APBDTIK2.js');
@@ -58,4 +58,4 @@ require('./chunk-3GQAWCBQ.js');
58
58
 
59
59
 
60
60
 
61
- exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkAPBDTIK2js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkNWSV2EYZjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkSGSMEZWTjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk4AOGBZNIjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkYVJY3MXRjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkGRU36BAPjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunk3LJCHADSjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkNOVYFOO2js.tsdownExecutorFn; exports.typiaExecutorFn = _chunkMQAKNE4Xjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkBJAK7EVKjs.unbuildExecutorFn;
61
+ exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkAPBDTIK2js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkNWSV2EYZjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkSGSMEZWTjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk4AOGBZNIjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkYVJY3MXRjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk6WRRTV43js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunk3LJCHADSjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk6NSTM255js.tsdownExecutorFn; exports.typiaExecutorFn = _chunkMQAKNE4Xjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkBJAK7EVKjs.unbuildExecutorFn;
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-MFWYLIWY.mjs";
11
11
  import {
12
12
  tsdownExecutorFn
13
- } from "./chunk-HLVPVUIE.mjs";
13
+ } from "./chunk-M47JATRY.mjs";
14
14
  import {
15
15
  typiaExecutorFn
16
16
  } from "./chunk-M4PPRKPX.mjs";
@@ -22,8 +22,8 @@ import {
22
22
  } from "./chunk-6ZQ3QYXH.mjs";
23
23
  import {
24
24
  esbuildExecutorFn
25
- } from "./chunk-34RUITCL.mjs";
26
- import "./chunk-INGLAMPC.mjs";
25
+ } from "./chunk-33S3ENYB.mjs";
26
+ import "./chunk-Y5SXJ6IC.mjs";
27
27
  import {
28
28
  cargoBuildExecutor
29
29
  } from "./chunk-7HUOKMPU.mjs";
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
51
51
  var _chunk3LJCHADSjs = require('./chunk-3LJCHADS.js');
52
52
 
53
53
 
54
- var _chunkNOVYFOO2js = require('./chunk-NOVYFOO2.js');
54
+ var _chunk6NSTM255js = require('./chunk-6NSTM255.js');
55
55
 
56
56
 
57
57
  var _chunkMQAKNE4Xjs = require('./chunk-MQAKNE4X.js');
@@ -63,8 +63,8 @@ var _chunkYVJY3MXRjs = require('./chunk-YVJY3MXR.js');
63
63
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
64
64
 
65
65
 
66
- var _chunkGRU36BAPjs = require('./chunk-GRU36BAP.js');
67
- require('./chunk-5HAR4KEC.js');
66
+ var _chunk6WRRTV43js = require('./chunk-6WRRTV43.js');
67
+ require('./chunk-2JLHVV5S.js');
68
68
 
69
69
 
70
70
  var _chunkAPBDTIK2js = require('./chunk-APBDTIK2.js');
@@ -277,4 +277,4 @@ require('./chunk-3GQAWCBQ.js');
277
277
 
278
278
 
279
279
 
280
- exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPY52QA2Rjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPY52QA2Rjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPY52QA2Rjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPY52QA2Rjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPY52QA2Rjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPY52QA2Rjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPY52QA2Rjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunk2VV3TV3Cjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkAPBDTIK2js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkNWSV2EYZjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkSGSMEZWTjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunk4AOGBZNIjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkYVJY3MXRjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkHCEVPME2js.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkFBLF4KJFjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkGRU36BAPjs.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunk7YRW5HNXjs.formatProjectTag; exports.getLockFileDependencies = _chunkPY52QA2Rjs.getLockFileDependencies; exports.getLockFileName = _chunkPY52QA2Rjs.getLockFileName; exports.getLockFileNodes = _chunkPY52QA2Rjs.getLockFileNodes; exports.getOutputPath = _chunkFBLF4KJFjs.getOutputPath; exports.getPackageInfo = _chunk7AXFMX2Tjs.getPackageInfo; exports.getProjectConfiguration = _chunkZPWY4RXHjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkZPWY4RXHjs.getProjectConfigurations; exports.getProjectTag = _chunk7YRW5HNXjs.getProjectTag; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.getTypiaTransform = _chunkXITP2BX2js.getTypiaTransform; exports.hasProjectTag = _chunk7YRW5HNXjs.hasProjectTag; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.isEqualProjectTag = _chunk7YRW5HNXjs.isEqualProjectTag; exports.isExternal = _chunkULBTYC2Bjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkPY52QA2Rjs.lockFileExists; exports.modifyCargoNestedTable = _chunkZMFVKBRMjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkZMFVKBRMjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkSBHOAJITjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkY7RQKDIFjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkFBLF4KJFjs.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkZMFVKBRMjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkZMFVKBRMjs.parseCargoTomlWithTree; exports.pnpmCatalogUpdate = _chunkWPMFZECRjs.pnpmCatalogUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkPB6J3FU7js.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunk4ZKSU75Ojs.releaseVersionGeneratorFn; exports.runProcess = _chunkULBTYC2Bjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunk7YRW5HNXjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunk3LJCHADSjs.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkZMFVKBRMjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsdownExecutorFn = _chunkNOVYFOO2js.tsdownExecutorFn; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkFBLF4KJFjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIWCQL3AQjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunkZFIZ5Q46js.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunkMQAKNE4Xjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkBJAK7EVKjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkCRMDACYFjs.withRunExecutor; exports.withRunGenerator = _chunkEGBJI6CNjs.withRunGenerator;
280
+ exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPY52QA2Rjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPY52QA2Rjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPY52QA2Rjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPY52QA2Rjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPY52QA2Rjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPY52QA2Rjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPY52QA2Rjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunk2VV3TV3Cjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkAPBDTIK2js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkNWSV2EYZjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkSGSMEZWTjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunk4AOGBZNIjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkYVJY3MXRjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkHCEVPME2js.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkFBLF4KJFjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunk6WRRTV43js.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunk7YRW5HNXjs.formatProjectTag; exports.getLockFileDependencies = _chunkPY52QA2Rjs.getLockFileDependencies; exports.getLockFileName = _chunkPY52QA2Rjs.getLockFileName; exports.getLockFileNodes = _chunkPY52QA2Rjs.getLockFileNodes; exports.getOutputPath = _chunkFBLF4KJFjs.getOutputPath; exports.getPackageInfo = _chunk7AXFMX2Tjs.getPackageInfo; exports.getProjectConfiguration = _chunkZPWY4RXHjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkZPWY4RXHjs.getProjectConfigurations; exports.getProjectTag = _chunk7YRW5HNXjs.getProjectTag; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.getTypiaTransform = _chunkXITP2BX2js.getTypiaTransform; exports.hasProjectTag = _chunk7YRW5HNXjs.hasProjectTag; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.isEqualProjectTag = _chunk7YRW5HNXjs.isEqualProjectTag; exports.isExternal = _chunkULBTYC2Bjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkPY52QA2Rjs.lockFileExists; exports.modifyCargoNestedTable = _chunkZMFVKBRMjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkZMFVKBRMjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkSBHOAJITjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkY7RQKDIFjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkFBLF4KJFjs.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkZMFVKBRMjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkZMFVKBRMjs.parseCargoTomlWithTree; exports.pnpmCatalogUpdate = _chunkWPMFZECRjs.pnpmCatalogUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkPB6J3FU7js.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunk4ZKSU75Ojs.releaseVersionGeneratorFn; exports.runProcess = _chunkULBTYC2Bjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunk7YRW5HNXjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunk3LJCHADSjs.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkZMFVKBRMjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsdownExecutorFn = _chunk6NSTM255js.tsdownExecutorFn; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkFBLF4KJFjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIWCQL3AQjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunkZFIZ5Q46js.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunkMQAKNE4Xjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkBJAK7EVKjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkCRMDACYFjs.withRunExecutor; exports.withRunGenerator = _chunkEGBJI6CNjs.withRunGenerator;
package/dist/index.mjs CHANGED
@@ -51,7 +51,7 @@ import {
51
51
  } from "./chunk-MFWYLIWY.mjs";
52
52
  import {
53
53
  tsdownExecutorFn
54
- } from "./chunk-HLVPVUIE.mjs";
54
+ } from "./chunk-M47JATRY.mjs";
55
55
  import {
56
56
  typiaExecutorFn
57
57
  } from "./chunk-M4PPRKPX.mjs";
@@ -63,8 +63,8 @@ import {
63
63
  } from "./chunk-6ZQ3QYXH.mjs";
64
64
  import {
65
65
  esbuildExecutorFn
66
- } from "./chunk-34RUITCL.mjs";
67
- import "./chunk-INGLAMPC.mjs";
66
+ } from "./chunk-33S3ENYB.mjs";
67
+ import "./chunk-Y5SXJ6IC.mjs";
68
68
  import {
69
69
  cargoBuildExecutor
70
70
  } from "./chunk-7HUOKMPU.mjs";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkGRU36BAPjs = require('../../../chunk-GRU36BAP.js');
5
- require('../../../chunk-5HAR4KEC.js');
4
+ var _chunk6WRRTV43js = require('../../../chunk-6WRRTV43.js');
5
+ require('../../../chunk-2JLHVV5S.js');
6
6
  require('../../../chunk-CRMDACYF.js');
7
7
  require('../../../chunk-XS73BPQS.js');
8
8
  require('../../../chunk-RN4QXP7F.js');
@@ -12,4 +12,4 @@ require('../../../chunk-3GQAWCBQ.js');
12
12
 
13
13
 
14
14
 
15
- exports.default = _chunkGRU36BAPjs.executor_default; exports.esbuildExecutorFn = _chunkGRU36BAPjs.esbuildExecutorFn;
15
+ exports.default = _chunk6WRRTV43js.executor_default; exports.esbuildExecutorFn = _chunk6WRRTV43js.esbuildExecutorFn;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  esbuildExecutorFn,
3
3
  executor_default
4
- } from "../../../chunk-34RUITCL.mjs";
5
- import "../../../chunk-INGLAMPC.mjs";
4
+ } from "../../../chunk-33S3ENYB.mjs";
5
+ import "../../../chunk-Y5SXJ6IC.mjs";
6
6
  import "../../../chunk-JKJK4ONU.mjs";
7
7
  import "../../../chunk-2BQA54CQ.mjs";
8
8
  import "../../../chunk-NYX3ICKR.mjs";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkNOVYFOO2js = require('../../../chunk-NOVYFOO2.js');
5
- require('../../../chunk-5HAR4KEC.js');
4
+ var _chunk6NSTM255js = require('../../../chunk-6NSTM255.js');
5
+ require('../../../chunk-2JLHVV5S.js');
6
6
  require('../../../chunk-CRMDACYF.js');
7
7
  require('../../../chunk-XS73BPQS.js');
8
8
  require('../../../chunk-RN4QXP7F.js');
@@ -12,4 +12,4 @@ require('../../../chunk-3GQAWCBQ.js');
12
12
 
13
13
 
14
14
 
15
- exports.default = _chunkNOVYFOO2js.executor_default; exports.tsdownExecutorFn = _chunkNOVYFOO2js.tsdownExecutorFn;
15
+ exports.default = _chunk6NSTM255js.executor_default; exports.tsdownExecutorFn = _chunk6NSTM255js.tsdownExecutorFn;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default,
3
3
  tsdownExecutorFn
4
- } from "../../../chunk-HLVPVUIE.mjs";
5
- import "../../../chunk-INGLAMPC.mjs";
4
+ } from "../../../chunk-M47JATRY.mjs";
5
+ import "../../../chunk-Y5SXJ6IC.mjs";
6
6
  import "../../../chunk-JKJK4ONU.mjs";
7
7
  import "../../../chunk-2BQA54CQ.mjs";
8
8
  import "../../../chunk-NYX3ICKR.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.239.6",
3
+ "version": "1.240.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",
@@ -209,10 +209,10 @@
209
209
  "devDependencies": {
210
210
  "@microsoft/api-extractor": "^7.48.1",
211
211
  "@nx/esbuild": "^20.3.1",
212
- "@storm-software/esbuild": "workspace:*",
212
+ "@storm-software/esbuild": "0.21.4",
213
213
  "@storm-software/prettier": "workspace:*",
214
- "@storm-software/tsdown": "workspace:*",
215
- "@storm-software/unbuild": "workspace:*",
214
+ "@storm-software/tsdown": "0.22.4",
215
+ "@storm-software/unbuild": "0.31.0",
216
216
  "@types/micromatch": "4.0.9",
217
217
  "@types/node": "^22.10.2",
218
218
  "@types/semver": "7.5.8",