@storm-software/workspace-tools 1.234.1 → 1.234.2

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-VWJEKC3P.mjs → chunk-2VVJ73GY.mjs} +3 -3
  4. package/dist/{chunk-BANJXE74.js → chunk-4Q72QV36.js} +3 -3
  5. package/dist/{chunk-OH2QVCID.js → chunk-4XNHDVNL.js} +5 -5
  6. package/dist/{chunk-DOQEFB3U.js → chunk-5E43WELP.js} +5 -5
  7. package/dist/{chunk-QQHYWAVX.mjs → chunk-72NN2WXJ.mjs} +3 -3
  8. package/dist/{chunk-MVCUW6FQ.js → chunk-AVNWYF4W.js} +31 -31
  9. package/dist/{chunk-A3SB76KG.js → chunk-BCLA6IJA.js} +3 -3
  10. package/dist/{chunk-WWSP3KEN.mjs → chunk-CMJNXT73.mjs} +7 -7
  11. package/dist/{chunk-IIMNDUXX.js → chunk-CR3474CZ.js} +9 -9
  12. package/dist/{chunk-YFIHF222.js → chunk-DPZGOT3C.js} +2 -2
  13. package/dist/{chunk-XOIDDNCA.mjs → chunk-EGVA5PP4.mjs} +1 -1
  14. package/dist/{chunk-7PETCK66.js → chunk-G52PV2C4.js} +41 -41
  15. package/dist/{chunk-2NYBFBUU.js → chunk-GGUW7XKH.js} +3 -3
  16. package/dist/{chunk-Y2LDGJCA.js → chunk-GY2WLGUT.js} +3 -3
  17. package/dist/{chunk-AKLDSJTD.mjs → chunk-H3XJJKXF.mjs} +3 -3
  18. package/dist/{chunk-CNX755OY.mjs → chunk-H6T5R4GY.mjs} +3 -3
  19. package/dist/{chunk-2DNLATEG.mjs → chunk-IOCGVIIK.mjs} +1 -1
  20. package/dist/{chunk-VVHGKFCB.mjs → chunk-IYCUBLGZ.mjs} +2 -2
  21. package/dist/{chunk-UW6T77HF.js → chunk-K5Q4B5PP.js} +15 -15
  22. package/dist/{chunk-ZPQJ7P6C.mjs → chunk-L5S3FKZX.mjs} +3 -3
  23. package/dist/{chunk-FQCHDI2P.js → chunk-LCWHKBMG.js} +12 -12
  24. package/dist/{chunk-N4J73OER.mjs → chunk-MAFJC4FD.mjs} +2 -2
  25. package/dist/{chunk-KZGWRL4P.mjs → chunk-MO5U33M5.mjs} +3 -3
  26. package/dist/{chunk-ENBOBX3C.js → chunk-PQPHUTIU.js} +3 -3
  27. package/dist/{chunk-2E2DXYRF.js → chunk-PQVWSBEG.js} +2 -2
  28. package/dist/{chunk-XWYXKDH2.js → chunk-QEWNW5WN.js} +5 -5
  29. package/dist/{chunk-YO7MVS4A.js → chunk-RDPFNECS.js} +19 -19
  30. package/dist/{chunk-7TEC757Y.mjs → chunk-RENOUPVD.mjs} +1 -2
  31. package/dist/{chunk-PSMBZ5DR.mjs → chunk-RF5FJZO3.mjs} +1 -1
  32. package/dist/{chunk-ZJXBN32W.js → chunk-SCINGDII.js} +1 -2
  33. package/dist/{chunk-3GQ6H7GF.mjs → chunk-SGCC5BPM.mjs} +3 -3
  34. package/dist/{chunk-PKR4QUWJ.mjs → chunk-SKHELRGB.mjs} +1 -1
  35. package/dist/{chunk-5Z7CCIIJ.js → chunk-UJ6M3BUH.js} +3 -3
  36. package/dist/{chunk-IVRCEWW4.mjs → chunk-V3GDNLMY.mjs} +2 -2
  37. package/dist/{chunk-FE52EM76.js → chunk-VF3E6O7Z.js} +7 -7
  38. package/dist/{chunk-THMXFMSK.mjs → chunk-VFDAXDTM.mjs} +3 -3
  39. package/dist/{chunk-UROGF3KF.mjs → chunk-VSWQOG36.mjs} +3 -3
  40. package/dist/{chunk-BARR5D5N.mjs → chunk-XOFOKSLS.mjs} +3 -3
  41. package/dist/{chunk-VQMSXER7.js → chunk-Z2IEMJII.js} +3 -3
  42. package/dist/{chunk-4G35AYIJ.mjs → chunk-Z33MYNCC.mjs} +4 -4
  43. package/dist/executors.js +18 -18
  44. package/dist/executors.mjs +22 -22
  45. package/dist/generators.js +11 -11
  46. package/dist/generators.mjs +11 -11
  47. package/dist/index.js +48 -48
  48. package/dist/index.mjs +64 -64
  49. package/dist/src/base/base-executor.js +4 -4
  50. package/dist/src/base/base-executor.mjs +3 -3
  51. package/dist/src/base/base-generator.js +3 -3
  52. package/dist/src/base/base-generator.mjs +2 -2
  53. package/dist/src/base/index.js +12 -12
  54. package/dist/src/base/index.mjs +14 -14
  55. package/dist/src/executors/cargo-build/executor.js +6 -6
  56. package/dist/src/executors/cargo-build/executor.mjs +5 -5
  57. package/dist/src/executors/cargo-check/executor.js +6 -6
  58. package/dist/src/executors/cargo-check/executor.mjs +5 -5
  59. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  60. package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
  61. package/dist/src/executors/cargo-doc/executor.js +6 -6
  62. package/dist/src/executors/cargo-doc/executor.mjs +5 -5
  63. package/dist/src/executors/cargo-format/executor.js +6 -6
  64. package/dist/src/executors/cargo-format/executor.mjs +5 -5
  65. package/dist/src/executors/clean-package/executor.js +6 -6
  66. package/dist/src/executors/clean-package/executor.mjs +3 -3
  67. package/dist/src/executors/esbuild/executor.js +6 -6
  68. package/dist/src/executors/esbuild/executor.mjs +5 -5
  69. package/dist/src/executors/size-limit/executor.js +5 -5
  70. package/dist/src/executors/size-limit/executor.mjs +4 -4
  71. package/dist/src/executors/tsdown/executor.js +6 -6
  72. package/dist/src/executors/tsdown/executor.mjs +5 -5
  73. package/dist/src/executors/typia/executor.js +5 -5
  74. package/dist/src/executors/typia/executor.mjs +4 -4
  75. package/dist/src/executors/unbuild/executor.js +5 -5
  76. package/dist/src/executors/unbuild/executor.mjs +4 -4
  77. package/dist/src/generators/browser-library/generator.js +4 -4
  78. package/dist/src/generators/browser-library/generator.mjs +3 -3
  79. package/dist/src/generators/config-schema/generator.js +4 -4
  80. package/dist/src/generators/config-schema/generator.mjs +3 -3
  81. package/dist/src/generators/neutral-library/generator.js +4 -4
  82. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  83. package/dist/src/generators/node-library/generator.js +4 -4
  84. package/dist/src/generators/node-library/generator.mjs +3 -3
  85. package/dist/src/generators/preset/generator.js +4 -4
  86. package/dist/src/generators/preset/generator.mjs +3 -3
  87. package/dist/src/generators/release-version/generator.js +3 -3
  88. package/dist/src/generators/release-version/generator.mjs +2 -2
  89. package/dist/src/plugins/rust/cargo-toml.js +3 -3
  90. package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
  91. package/dist/src/plugins/rust/index.js +3 -3
  92. package/dist/src/plugins/rust/index.mjs +2 -2
  93. package/dist/src/utils/index.js +8 -8
  94. package/dist/src/utils/index.mjs +18 -18
  95. package/package.json +4 -4
  96. package/dist/{chunk-XONECYS4.js → chunk-YESI2BBC.js} +2 -2
  97. package/dist/{chunk-GZPCM2GI.mjs → chunk-Z322IWWR.mjs} +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 1.234.2 (2025-01-21)
2
+
3
+ ### Continuous Integration
4
+
5
+ - **workspace-tools:** Mark all internal packages as external ([f8c65aeb](https://github.com/storm-software/storm-ops/commit/f8c65aeb))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated esbuild to 0.20.1
10
+ - Updated unbuild to 0.24.2
11
+ - Updated unbuild to 0.24.2
12
+ - Updated tsdown to 0.21.1
13
+
1
14
  ## 1.234.1 (2025-01-20)
2
15
 
3
16
  ### 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.234.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.234.1-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,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-4G35AYIJ.mjs";
3
+ } from "./chunk-Z33MYNCC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-PVTEDLBL.mjs";
@@ -23,7 +23,7 @@ async function unbuildExecutorFn(options, context, config) {
23
23
  fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
24
24
  interopDefault: true
25
25
  });
26
- const stormUnbuild = await jiti.import("@storm-software/unbuild");
26
+ const stormUnbuild = await jiti.import("@storm-software/unbuild/build");
27
27
  await stormUnbuild.build(defu({
28
28
  ...options,
29
29
  projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
3
4
 
4
- var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
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
2
 
3
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
4
4
 
5
5
 
6
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
6
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
4
4
 
5
5
 
6
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
6
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-2DNLATEG.mjs";
9
+ } from "./chunk-IOCGVIIK.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-4G35AYIJ.mjs";
12
+ } from "./chunk-Z33MYNCC.mjs";
13
13
  import {
14
14
  getStopwatch,
15
15
  isVerbose,
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-7TEC757Y.mjs";
22
+ } from "./chunk-RENOUPVD.mjs";
23
23
  import {
24
24
  joinPaths
25
25
  } from "./chunk-PVTEDLBL.mjs";
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkFE52EM76js = require('./chunk-FE52EM76.js');
9
+ var _chunkVF3E6O7Zjs = require('./chunk-VF3E6O7Z.js');
10
10
 
11
11
 
12
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
12
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
22
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
23
23
 
24
24
 
25
25
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,9 +73,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
@@ -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 ??= _chunkFE52EM76js.DEFAULT_TARGET;
94
+ options.target ??= _chunkVF3E6O7Zjs.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 = _chunkFE52EM76js.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunkVF3E6O7Zjs.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 _chunkFE52EM76js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunkVF3E6O7Zjs.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),
@@ -114,7 +114,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
114
114
  projectGraph,
115
115
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunkZJXBN32Wjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkSCINGDIIjs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -149,8 +149,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
151
  if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Write package.json file");
154
154
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
@@ -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 _chunkFE52EM76js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunkFE52EM76js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunkVF3E6O7Zjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunkVF3E6O7Zjs.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["."] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunkVF3E6O7Zjs.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}`] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunkVF3E6O7Zjs.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";
@@ -200,8 +200,8 @@ async function generatePackageJson(options) {
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunkFE52EM76js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunkVF3E6O7Zjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunkZJXBN32Wjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkSCINGDIIjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunkZJXBN32Wjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkSCINGDIIjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkSCINGDIIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
3
4
 
4
- var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
7
+ var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -1,9 +1,3 @@
1
- import {
2
- modifyCargoTable,
3
- parseCargoToml,
4
- parseCargoTomlWithTree,
5
- stringifyCargoToml
6
- } from "./chunk-VYH45FO6.mjs";
7
1
  import {
8
2
  getStopwatch,
9
3
  loadStormConfig,
@@ -13,7 +7,13 @@ import {
13
7
  writeInfo,
14
8
  writeSuccess,
15
9
  writeTrace
16
- } from "./chunk-7TEC757Y.mjs";
10
+ } from "./chunk-RENOUPVD.mjs";
11
+ import {
12
+ modifyCargoTable,
13
+ parseCargoToml,
14
+ parseCargoTomlWithTree,
15
+ stringifyCargoToml
16
+ } from "./chunk-VYH45FO6.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
2
 
3
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
3
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
9
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
10
10
 
11
11
 
12
12
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkZJXBN32Wjs.StormConfigSchema, {
21
+ _chunkSCINGDIIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
+ _chunkSCINGDIIjs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSCINGDIIjs.StormConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkZJXBN32Wjs.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkSCINGDIIjs.writeTrace.call(void 0, jsonSchema, config);
27
27
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkSCINGDIIjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -4,7 +4,7 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
7
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -70,7 +70,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
70
70
  return null;
71
71
  }
72
72
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
73
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
73
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
74
74
  hooks: {
75
75
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
76
76
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-PKR4QUWJ.mjs";
7
+ } from "./chunk-SKHELRGB.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name