@storm-software/workspace-tools 1.256.0 → 1.258.3

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 (162) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-WDK2FJUH.js → chunk-2PK5BCIY.js} +2 -2
  4. package/dist/{chunk-NXGJNB3C.js → chunk-3F3NF4YM.js} +5 -5
  5. package/dist/{chunk-2KNHEXJQ.mjs → chunk-3YR543RX.mjs} +3 -3
  6. package/dist/{chunk-WL7UV3YX.js → chunk-43IKGOHP.js} +41 -41
  7. package/dist/{chunk-FMOIAVZV.js → chunk-4ACCAZBA.js} +31 -31
  8. package/dist/{chunk-LWUP4RIM.mjs → chunk-4HNQJ5N3.mjs} +2 -2
  9. package/dist/{chunk-RSFH5OLL.mjs → chunk-5NAUK656.mjs} +3 -3
  10. package/dist/{chunk-TSVTG657.js → chunk-5T3XS2OY.js} +15 -15
  11. package/dist/{chunk-WZXQ6OON.mjs → chunk-74VPPX36.mjs} +3 -3
  12. package/dist/{chunk-OA6GD45B.mjs → chunk-7COYD6CR.mjs} +5 -5
  13. package/dist/{chunk-YZDXROZ2.js → chunk-7S4LTNOR.js} +11 -11
  14. package/dist/{chunk-X3GPVZMH.mjs → chunk-ANWKNY2S.mjs} +1 -1
  15. package/dist/{chunk-C5YDISDP.mjs → chunk-BZB4EUIR.mjs} +2 -2
  16. package/dist/{chunk-OVR2BAKA.mjs → chunk-CH2OHODH.mjs} +2 -2
  17. package/dist/{chunk-7AXJ27FU.mjs → chunk-CKMKONYV.mjs} +3 -3
  18. package/dist/{chunk-V7IOKRJA.mjs → chunk-D2OSRALZ.mjs} +2 -2
  19. package/dist/{chunk-JXSTSZSG.js → chunk-EHWWPRTA.js} +5 -5
  20. package/dist/{chunk-UF3YMASN.mjs → chunk-EKCNHHP6.mjs} +5 -5
  21. package/dist/{chunk-N2P34ZQV.mjs → chunk-G2IO7AN3.mjs} +4 -4
  22. package/dist/{chunk-KJPUYQEZ.js → chunk-GCE5FKMI.js} +9 -9
  23. package/dist/{chunk-XUYTELRS.mjs → chunk-GHEKTH3H.mjs} +2 -2
  24. package/dist/{chunk-CQAGLRNY.js → chunk-GJQKCDGC.js} +3 -3
  25. package/dist/{chunk-OHEABZJW.mjs → chunk-GNGBNABC.mjs} +1 -1
  26. package/dist/{chunk-3YC7YXGQ.js → chunk-GPLPX4K5.js} +7 -10
  27. package/dist/{chunk-WGTIKGAE.js → chunk-GRHWDFNY.js} +4 -4
  28. package/dist/{chunk-JB4KCMSB.mjs → chunk-H44GNZFA.mjs} +2 -2
  29. package/dist/{chunk-DCJXS5XI.js → chunk-HB4LJD5U.js} +4 -7
  30. package/dist/{chunk-27EDH7NY.mjs → chunk-HJ7Q5IKQ.mjs} +4 -4
  31. package/dist/{chunk-YILBFUCI.mjs → chunk-HMUVZGHI.mjs} +3 -3
  32. package/dist/{chunk-KZJCDAOU.mjs → chunk-HZHADTJO.mjs} +1 -1
  33. package/dist/{chunk-7H4PXXWW.mjs → chunk-I3FKLXIS.mjs} +4 -4
  34. package/dist/{chunk-G7HTMCQK.js → chunk-IBKU62MC.js} +2 -2
  35. package/dist/{chunk-R63XBQKW.mjs → chunk-IV7DHZEI.mjs} +10 -13
  36. package/dist/{chunk-XK3FSWMA.mjs → chunk-IZBZMG7H.mjs} +1 -1
  37. package/dist/{chunk-57LRWY5U.mjs → chunk-JCMCKJPZ.mjs} +3 -3
  38. package/dist/{chunk-U7LV2H52.mjs → chunk-JO5RMPRZ.mjs} +1 -1
  39. package/dist/{chunk-HUCDWLQ3.mjs → chunk-JRD4Z5TP.mjs} +2 -2
  40. package/dist/{chunk-SJNJ6TCD.js → chunk-K5ALCGH2.js} +2 -2
  41. package/dist/{chunk-S73S6XCY.mjs → chunk-KYPQ2RJW.mjs} +4 -4
  42. package/dist/{chunk-D7VXZZFG.mjs → chunk-MZ7FNI4Z.mjs} +1 -1
  43. package/dist/{chunk-VBPOZVKY.mjs → chunk-NB3JA2EC.mjs} +5 -5
  44. package/dist/{chunk-APSDUSBR.mjs → chunk-PPQX2JYW.mjs} +4 -4
  45. package/dist/{chunk-UH565HF3.mjs → chunk-QPAAA2OZ.mjs} +1 -1
  46. package/dist/{chunk-R7DU2APC.mjs → chunk-QS4Z3DUV.mjs} +1 -1
  47. package/dist/{chunk-E6NSTBOZ.mjs → chunk-QS7QSWSD.mjs} +4 -4
  48. package/dist/{chunk-KM47X5XW.mjs → chunk-S3ALYLKC.mjs} +3 -3
  49. package/dist/{chunk-JRGZWAZG.mjs → chunk-S4ZVXW2Q.mjs} +4 -4
  50. package/dist/{chunk-Q6OBRMZG.mjs → chunk-U6XGT4BU.mjs} +4 -4
  51. package/dist/{chunk-QKALACBC.js → chunk-UF5GVU3Z.js} +2 -2
  52. package/dist/{chunk-Q4YG53DV.js → chunk-UFZMCWNT.js} +20 -20
  53. package/dist/{chunk-QDZUYDVM.mjs → chunk-URH3WA2O.mjs} +4 -7
  54. package/dist/{chunk-EIM3O6HY.mjs → chunk-VX3ZNHGC.mjs} +1 -1
  55. package/dist/{chunk-W3SWWT4A.mjs → chunk-WA2VJ2IR.mjs} +1 -1
  56. package/dist/{chunk-F2GYXQ5H.mjs → chunk-XAJCHBHQ.mjs} +3 -3
  57. package/dist/{chunk-4SJW3KRV.js → chunk-XKLYAMQS.js} +2 -2
  58. package/dist/{chunk-P4ZEGEQX.mjs → chunk-XMOCZMKF.mjs} +3 -3
  59. package/dist/{chunk-7GW75RON.mjs → chunk-XNFVNPJG.mjs} +4 -4
  60. package/dist/{chunk-P2SLAYFV.mjs → chunk-XTO4N5DX.mjs} +3 -3
  61. package/dist/{chunk-7MZLWLLT.mjs → chunk-Y3EKTMQS.mjs} +3 -3
  62. package/dist/{chunk-4AMZUCHL.js → chunk-YEGKOZPW.js} +2 -2
  63. package/dist/{chunk-5O6RWCBQ.js → chunk-Z5226LCS.js} +2 -2
  64. package/dist/{chunk-R2NBU264.js → chunk-ZR26PZGA.js} +6 -6
  65. package/dist/{chunk-K434EGC4.js → chunk-ZTQL63SV.js} +2 -2
  66. package/dist/executors.js +16 -16
  67. package/dist/executors.mjs +26 -26
  68. package/dist/generators.js +9 -9
  69. package/dist/generators.mjs +18 -18
  70. package/dist/index.js +23 -23
  71. package/dist/index.mjs +46 -46
  72. package/dist/src/base/base-executor.js +3 -3
  73. package/dist/src/base/base-executor.mjs +6 -6
  74. package/dist/src/base/base-executor.untyped.mjs +1 -1
  75. package/dist/src/base/base-generator.js +3 -3
  76. package/dist/src/base/base-generator.mjs +6 -6
  77. package/dist/src/base/base-generator.untyped.mjs +1 -1
  78. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  79. package/dist/src/base/index.js +4 -4
  80. package/dist/src/base/index.mjs +10 -10
  81. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  82. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  83. package/dist/src/executors/cargo-build/executor.js +4 -4
  84. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  85. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  86. package/dist/src/executors/cargo-check/executor.js +4 -4
  87. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  88. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  89. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  90. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  91. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  92. package/dist/src/executors/cargo-doc/executor.js +4 -4
  93. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  94. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  95. package/dist/src/executors/cargo-format/executor.js +4 -4
  96. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  97. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  98. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  99. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  100. package/dist/src/executors/clean-package/executor.js +5 -5
  101. package/dist/src/executors/clean-package/executor.mjs +6 -6
  102. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  103. package/dist/src/executors/esbuild/executor.js +5 -5
  104. package/dist/src/executors/esbuild/executor.mjs +8 -8
  105. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  106. package/dist/src/executors/npm-publish/executor.js +2 -2
  107. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  108. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  109. package/dist/src/executors/size-limit/executor.js +4 -4
  110. package/dist/src/executors/size-limit/executor.mjs +7 -7
  111. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  112. package/dist/src/executors/tsdown/executor.js +5 -5
  113. package/dist/src/executors/tsdown/executor.mjs +8 -8
  114. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  115. package/dist/src/executors/typia/executor.js +4 -4
  116. package/dist/src/executors/typia/executor.mjs +7 -7
  117. package/dist/src/executors/typia/untyped.mjs +1 -1
  118. package/dist/src/executors/unbuild/executor.js +4 -4
  119. package/dist/src/executors/unbuild/executor.mjs +7 -7
  120. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  121. package/dist/src/generators/browser-library/generator.js +4 -4
  122. package/dist/src/generators/browser-library/generator.mjs +9 -9
  123. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  124. package/dist/src/generators/config-schema/generator.js +4 -4
  125. package/dist/src/generators/config-schema/generator.mjs +7 -7
  126. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  127. package/dist/src/generators/init/init.mjs +2 -2
  128. package/dist/src/generators/init/untyped.mjs +1 -1
  129. package/dist/src/generators/neutral-library/generator.js +4 -4
  130. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  131. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  132. package/dist/src/generators/node-library/generator.js +4 -4
  133. package/dist/src/generators/node-library/generator.mjs +9 -9
  134. package/dist/src/generators/node-library/untyped.mjs +1 -1
  135. package/dist/src/generators/preset/generator.js +4 -4
  136. package/dist/src/generators/preset/generator.mjs +7 -7
  137. package/dist/src/generators/preset/untyped.mjs +1 -1
  138. package/dist/src/generators/release-version/generator.js +3 -3
  139. package/dist/src/generators/release-version/generator.mjs +6 -6
  140. package/dist/src/generators/release-version/untyped.mjs +1 -1
  141. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  142. package/dist/src/plugins/rust/index.mjs +4 -4
  143. package/dist/src/plugins/typescript/index.mjs +4 -4
  144. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  145. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  146. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  147. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  148. package/dist/src/types.mjs +1 -1
  149. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  150. package/dist/src/utils/cargo.mjs +2 -2
  151. package/dist/src/utils/create-cli-options.mjs +2 -2
  152. package/dist/src/utils/get-project-configurations.mjs +4 -4
  153. package/dist/src/utils/index.mjs +14 -14
  154. package/dist/src/utils/lock-file.mjs +2 -2
  155. package/dist/src/utils/package-helpers.mjs +4 -4
  156. package/dist/src/utils/plugin-helpers.mjs +3 -3
  157. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  158. package/dist/src/utils/project-tags.mjs +2 -2
  159. package/dist/src/utils/toml.mjs +2 -2
  160. package/dist/src/utils/typia-transform.mjs +2 -2
  161. package/dist/src/utils/versions.mjs +1 -1
  162. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## 1.258.3 (2025-02-12)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **monorepo:** Ensure `prettier-plugin-pkg` is installed in the workspace root ([c8a4d56ec](https://github.com/storm-software/storm-ops/commit/c8a4d56ec))
6
+
7
+ ## 1.258.2 (2025-02-12)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **workspace-tools:** Resolve issue with missing dependency on release ([f97cc70e6](https://github.com/storm-software/storm-ops/commit/f97cc70e6))
12
+
13
+ ## 1.258.1 (2025-02-12)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **workspace-tools:** Resolve issue with invalid reference ([400560453](https://github.com/storm-software/storm-ops/commit/400560453))
18
+
19
+ ## 1.258.0 (2025-02-12)
20
+
21
+ ### Features
22
+
23
+ - **monorepo:** Update the package manager version ([7722640d6](https://github.com/storm-software/storm-ops/commit/7722640d6))
24
+
25
+ ### Bug Fixes
26
+
27
+ - **eslint:** Resolve issue with type checker errors ([ff7adf002](https://github.com/storm-software/storm-ops/commit/ff7adf002))
28
+
29
+ ## 1.257.0 (2025-02-12)
30
+
31
+ ### Features
32
+
33
+ - **eslint:** Upgrade ESLint version used in package ([69fcbae20](https://github.com/storm-software/storm-ops/commit/69fcbae20))
34
+
1
35
  ## 1.256.0 (2025-02-07)
2
36
 
3
37
  ### Features
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.255.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.258.2-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 -->
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkTSVTG657js = require('./chunk-TSVTG657.js');
10
+ var _chunk5T3XS2OYjs = require('./chunk-5T3XS2OY.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunkTSVTG657js.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunk5T3XS2OYjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -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 _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
3
+ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
4
4
 
5
5
 
6
- var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
6
+ var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.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
- _chunk3YC7YXGQjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkGPLPX4K5js.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
- _chunk3YC7YXGQjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkGPLPX4K5js.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 = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkUFZMCWNTjs.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,12 +1,12 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-27EDH7NY.mjs";
3
+ } from "./chunk-HJ7Q5IKQ.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-R63XBQKW.mjs";
6
+ } from "./chunk-IV7DHZEI.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-R7DU2APC.mjs";
9
+ } from "./chunk-QS4Z3DUV.mjs";
10
10
 
11
11
  // src/executors/typia/executor.ts
12
12
  import { removeSync } from "fs-extra";
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkR2NBU264js = require('./chunk-R2NBU264.js');
11
+ var _chunkZR26PZGAjs = require('./chunk-ZR26PZGA.js');
12
12
 
13
13
 
14
- var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
14
+ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
26
+ var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
27
27
 
28
28
 
29
29
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -331,7 +331,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
331
331
  setup(build4) {
332
332
  build4.onEnd((result) => {
333
333
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
334
- _chunk3YC7YXGQjs.writeError.call(void 0, `The following errors occurred during the build:
334
+ _chunkGPLPX4K5js.writeError.call(void 0, `The following errors occurred during the build:
335
335
  ${result.errors.map((error) => error.text).join("\n")}
336
336
 
337
337
  `, resolvedOptions.config);
@@ -439,7 +439,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
439
439
  localBuild: true
440
440
  });
441
441
  if (extractorResult.succeeded === false) {
442
- _chunk3YC7YXGQjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
442
+ _chunkGPLPX4K5js.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
443
443
  throw new Error("API Extractor completed with errors");
444
444
  }
445
445
  }
@@ -488,7 +488,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
488
488
 
489
489
  // ../esbuild/src/config.ts
490
490
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
491
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkR2NBU264js.getOutExtension.call(void 0, options.format, pkgType);
491
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkZR26PZGAjs.getOutExtension.call(void 0, options.format, pkgType);
492
492
  }, "getOutputExtensionMap");
493
493
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
494
494
  nodeProtocolPlugin(options, resolvedOptions),
@@ -536,7 +536,7 @@ var DEFAULT_BUILD_OPTIONS = {
536
536
  ".woff": "file",
537
537
  ".woff2": "file"
538
538
  },
539
- banner: _chunkR2NBU264js.DEFAULT_COMPILED_BANNER
539
+ banner: _chunkZR26PZGAjs.DEFAULT_COMPILED_BANNER
540
540
  };
541
541
 
542
542
  // ../esbuild/src/plugins/deps-check.ts
@@ -618,8 +618,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
618
618
  const filteredMissingDeps = missingDependencies.filter((dep) => {
619
619
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
620
620
  });
621
- _chunk3YC7YXGQjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
622
- _chunk3YC7YXGQjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
621
+ _chunkGPLPX4K5js.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
622
+ _chunkGPLPX4K5js.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
623
623
  if (filteredMissingDeps.length > 0) {
624
624
  throw new Error(`Missing dependencies detected - please install them:
625
625
  ${JSON.stringify(filteredMissingDeps)}
@@ -713,9 +713,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
713
713
  if (!workspaceRoot) {
714
714
  throw new Error("Cannot find Nx workspace root");
715
715
  }
716
- const config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot.dir);
717
- _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
718
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Build options resolution");
716
+ const config = await _chunkGPLPX4K5js.getConfig.call(void 0, workspaceRoot.dir);
717
+ _chunkGPLPX4K5js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
718
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "Build options resolution");
719
719
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
720
720
  exitOnError: true
721
721
  });
@@ -732,7 +732,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
732
732
  }
733
733
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
734
734
  options.name ??= `${projectName}-${options.format}`;
735
- options.target ??= _chunkR2NBU264js.DEFAULT_TARGET;
735
+ options.target ??= _chunkZR26PZGAjs.DEFAULT_TARGET;
736
736
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
737
737
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
738
738
  throw new Error("Cannot find package.json configuration");
@@ -740,7 +740,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
740
740
  const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
741
741
  const packageJson = JSON.parse(packageJsonFile);
742
742
  const outExtension = getOutputExtensionMap(options, packageJson.type);
743
- const env = _chunkR2NBU264js.getEnv.call(void 0, "esbuild", options);
743
+ const env = _chunkZR26PZGAjs.getEnv.call(void 0, "esbuild", options);
744
744
  const result = {
745
745
  ...options,
746
746
  config,
@@ -760,7 +760,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
760
760
  ...userOptions,
761
761
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
762
762
  format: options.format || "cjs",
763
- entryPoints: await _chunkR2NBU264js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
763
+ entryPoints: await _chunkZR26PZGAjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
764
764
  "./src/index.ts"
765
765
  ], userOptions.emitOnAll),
766
766
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -771,7 +771,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
771
771
  projectGraph,
772
772
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
773
773
  minify: userOptions.minify || !userOptions.debug,
774
- verbose: userOptions.verbose || _chunk3YC7YXGQjs.isVerbose.call(void 0, ) || userOptions.debug === true,
774
+ verbose: userOptions.verbose || _chunkGPLPX4K5js.isVerbose.call(void 0, ) || userOptions.debug === true,
775
775
  includeSrc: userOptions.includeSrc === true,
776
776
  metafile: userOptions.metafile !== false,
777
777
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -785,8 +785,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
785
785
  outExtension,
786
786
  footer: userOptions.footer,
787
787
  banner: {
788
- js: options.banner || _chunkR2NBU264js.DEFAULT_COMPILED_BANNER,
789
- css: options.banner || _chunkR2NBU264js.DEFAULT_COMPILED_BANNER
788
+ js: options.banner || _chunkZR26PZGAjs.DEFAULT_COMPILED_BANNER,
789
+ css: options.banner || _chunkZR26PZGAjs.DEFAULT_COMPILED_BANNER
790
790
  },
791
791
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
792
792
  treeShaking: options.format === "esm",
@@ -818,8 +818,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
818
818
  }, "resolveOptions");
819
819
  async function generatePackageJson(context2) {
820
820
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
821
- _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
822
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Write package.json file");
821
+ _chunkGPLPX4K5js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
822
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "Write package.json file");
823
823
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
824
824
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
825
825
  throw new Error("Cannot find package.json configuration");
@@ -829,11 +829,11 @@ async function generatePackageJson(context2) {
829
829
  if (!packageJson) {
830
830
  throw new Error("Cannot find package.json configuration file");
831
831
  }
832
- packageJson = await _chunkR2NBU264js.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
833
- packageJson = await _chunkR2NBU264js.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
832
+ packageJson = await _chunkZR26PZGAjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
833
+ packageJson = await _chunkZR26PZGAjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
834
834
  packageJson.exports ??= {};
835
835
  packageJson.exports["./package.json"] ??= "./package.json";
836
- packageJson.exports["."] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
836
+ packageJson.exports["."] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
837
837
  let entryPoints = [
838
838
  {
839
839
  in: "./src/index.ts",
@@ -851,7 +851,7 @@ async function generatePackageJson(context2) {
851
851
  const split = entryPoint.out.split(".");
852
852
  split.pop();
853
853
  const entry = split.join(".").replaceAll("\\", "/");
854
- packageJson.exports[`./${entry}`] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
854
+ packageJson.exports[`./${entry}`] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
855
855
  }
856
856
  }
857
857
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -889,8 +889,8 @@ async function generateContext(getOptions) {
889
889
  }
890
890
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
891
891
  async function executeEsBuild(context2) {
892
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
893
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} build`);
892
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
893
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${context2.options.name} build`);
894
894
  if (process.env.WATCH === "true") {
895
895
  const ctx = await esbuild2.context(context2.options);
896
896
  watch(ctx, context2.options);
@@ -906,9 +906,9 @@ async function executeEsBuild(context2) {
906
906
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
907
907
  async function copyBuildAssets(context2) {
908
908
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
909
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
910
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
911
- await _chunkR2NBU264js.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
909
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
910
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
911
+ await _chunkZR26PZGAjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
912
912
  stopwatch();
913
913
  }
914
914
  return context2;
@@ -917,9 +917,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
917
917
  async function reportResults(context2) {
918
918
  if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
919
919
  if (context2.result.warnings.length > 0) {
920
- _chunk3YC7YXGQjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
920
+ _chunkGPLPX4K5js.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
921
921
  }
922
- _chunk3YC7YXGQjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
922
+ _chunkGPLPX4K5js.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
923
923
  }
924
924
  }
925
925
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -955,8 +955,8 @@ async function dependencyCheck(options) {
955
955
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
956
956
  async function cleanOutputPath(context2) {
957
957
  if (context2.options.clean !== false && context2.options.outdir) {
958
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
959
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
958
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
959
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${context2.options.name} output clean`);
960
960
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
961
961
  stopwatch();
962
962
  }
@@ -964,8 +964,8 @@ async function cleanOutputPath(context2) {
964
964
  }
965
965
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
966
966
  async function build3(options) {
967
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
968
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "ESBuild pipeline");
967
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
968
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "ESBuild pipeline");
969
969
  try {
970
970
  const opts = Array.isArray(options) ? options : [
971
971
  options
@@ -975,9 +975,9 @@ async function build3(options) {
975
975
  }
976
976
  void transduce.async(opts, dependencyCheck);
977
977
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
978
- _chunk3YC7YXGQjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
978
+ _chunkGPLPX4K5js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
979
979
  } catch (error) {
980
- _chunk3YC7YXGQjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
980
+ _chunkGPLPX4K5js.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
981
981
  throw error;
982
982
  } finally {
983
983
  stopwatch();
@@ -1005,9 +1005,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1005
1005
  return context2.rebuild();
1006
1006
  });
1007
1007
  if (rebuildResult instanceof Error) {
1008
- _chunk3YC7YXGQjs.writeError.call(void 0, rebuildResult.message);
1008
+ _chunkGPLPX4K5js.writeError.call(void 0, rebuildResult.message);
1009
1009
  }
1010
- _chunk3YC7YXGQjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1010
+ _chunkGPLPX4K5js.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1011
1011
  }, 10);
1012
1012
  changeWatcher.on("change", fastRebuild);
1013
1013
  return void 0;
@@ -1015,7 +1015,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1015
1015
 
1016
1016
  // src/executors/esbuild/executor.ts
1017
1017
  async function esbuildExecutorFn(options, context2, config) {
1018
- _chunk3YC7YXGQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1018
+ _chunkGPLPX4K5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1019
1019
  if (!_optionalChain([context2, 'access', _32 => _32.projectsConfigurations, 'optionalAccess', _33 => _33.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _34 => _34.projectsConfigurations, 'access', _35 => _35.projects, 'access', _36 => _36[context2.projectName], 'optionalAccess', _37 => _37.root])) {
1020
1020
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1021
1021
  }
@@ -1032,7 +1032,7 @@ async function esbuildExecutorFn(options, context2, config) {
1032
1032
  };
1033
1033
  }
1034
1034
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1035
- var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1035
+ var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1036
1036
  skipReadingConfig: false,
1037
1037
  hooks: {
1038
1038
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkR2NBU264js = require('./chunk-R2NBU264.js');
9
+ var _chunkZR26PZGAjs = require('./chunk-ZR26PZGA.js');
10
10
 
11
11
 
12
- var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
12
+ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
19
19
 
20
20
 
21
21
 
22
- var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
22
+ var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
23
23
 
24
24
 
25
25
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -74,9 +74,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
74
74
  if (!workspaceRoot) {
75
75
  throw new Error("Cannot find Nx workspace root");
76
76
  }
77
- const config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot.dir);
78
- _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
79
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Build options resolution");
77
+ const config = await _chunkGPLPX4K5js.getConfig.call(void 0, workspaceRoot.dir);
78
+ _chunkGPLPX4K5js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
79
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "Build options resolution");
80
80
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
81
81
  exitOnError: true
82
82
  });
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
93
93
  }
94
94
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
95
95
  options.name ??= `${projectName}-${options.format}`;
96
- options.target ??= _chunkR2NBU264js.DEFAULT_TARGET;
96
+ options.target ??= _chunkZR26PZGAjs.DEFAULT_TARGET;
97
97
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
98
98
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
99
99
  throw new Error("Cannot find package.json configuration");
100
100
  }
101
- const env = _chunkR2NBU264js.getEnv.call(void 0, "tsdown", options);
101
+ const env = _chunkZR26PZGAjs.getEnv.call(void 0, "tsdown", options);
102
102
  const result = {
103
103
  ...options,
104
104
  config,
105
105
  ...userOptions,
106
106
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
107
107
  format: options.format || "cjs",
108
- entryPoints: await _chunkR2NBU264js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
108
+ entryPoints: await _chunkZR26PZGAjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
109
109
  "./src/index.ts"
110
110
  ], userOptions.emitOnAll),
111
111
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -116,7 +116,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
116
116
  projectGraph,
117
117
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
118
118
  minify: userOptions.minify || !userOptions.debug,
119
- verbose: userOptions.verbose || _chunk3YC7YXGQjs.isVerbose.call(void 0, ) || userOptions.debug === true,
119
+ verbose: userOptions.verbose || _chunkGPLPX4K5js.isVerbose.call(void 0, ) || userOptions.debug === true,
120
120
  includeSrc: userOptions.includeSrc === true,
121
121
  metafile: userOptions.metafile !== false,
122
122
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -151,8 +151,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
151
151
  }, "resolveOptions");
152
152
  async function generatePackageJson(options) {
153
153
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
154
- _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
155
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Write package.json file");
154
+ _chunkGPLPX4K5js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
155
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "Write package.json file");
156
156
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "project.json");
157
157
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
158
158
  throw new Error("Cannot find package.json configuration");
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
162
162
  throw new Error("Cannot find package.json configuration file");
163
163
  }
164
164
  let packageJson = JSON.parse(packageJsonFile);
165
- packageJson = await _chunkR2NBU264js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
- packageJson = await _chunkR2NBU264js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
165
+ packageJson = await _chunkZR26PZGAjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
+ packageJson = await _chunkZR26PZGAjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
167
167
  packageJson.exports ??= {};
168
168
  packageJson.exports["./package.json"] ??= "./package.json";
169
- packageJson.exports["."] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
169
+ packageJson.exports["."] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
170
170
  let entryPoints = [
171
171
  {
172
172
  in: "./src/index.ts",
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
184
184
  const split = entryPoint.out.split(".");
185
185
  split.pop();
186
186
  const entry = split.join(".").replaceAll("\\", "/");
187
- packageJson.exports[`./${entry}`] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
187
+ packageJson.exports[`./${entry}`] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
188
188
  }
189
189
  }
190
190
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -203,8 +203,8 @@ async function generatePackageJson(options) {
203
203
  }
204
204
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
205
205
  async function executeTSDown(options) {
206
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} build`);
206
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${options.name} build`);
208
208
  await _tsdown.build.call(void 0, {
209
209
  ...options,
210
210
  entry: options.entryPoints,
@@ -216,21 +216,21 @@ async function executeTSDown(options) {
216
216
  }
217
217
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
218
218
  async function copyBuildAssets(options) {
219
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} asset copy`);
221
- await _chunkR2NBU264js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
219
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${options.name} asset copy`);
221
+ await _chunkZR26PZGAjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
222
222
  stopwatch();
223
223
  return options;
224
224
  }
225
225
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
226
226
  async function reportResults(options) {
227
- _chunk3YC7YXGQjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
227
+ _chunkGPLPX4K5js.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
228
228
  }
229
229
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
230
230
  async function cleanOutputPath(options) {
231
231
  if (options.clean !== false && options.outdir) {
232
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
233
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} output clean`);
232
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
233
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${options.name} output clean`);
234
234
  await cleanDirectories(options.name, options.outdir, options.config);
235
235
  stopwatch();
236
236
  }
@@ -238,8 +238,8 @@ async function cleanOutputPath(options) {
238
238
  }
239
239
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
240
240
  async function build(options) {
241
- _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
- const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "TSDown pipeline");
241
+ _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
+ const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "TSDown pipeline");
243
243
  try {
244
244
  const opts = Array.isArray(options) ? options : [
245
245
  options
@@ -257,11 +257,11 @@ async function build(options) {
257
257
  await reportResults(opt);
258
258
  }));
259
259
  } else {
260
- _chunk3YC7YXGQjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
260
+ _chunkGPLPX4K5js.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
261
261
  }
262
- _chunk3YC7YXGQjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
262
+ _chunkGPLPX4K5js.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
263
263
  } catch (error) {
264
- _chunk3YC7YXGQjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
264
+ _chunkGPLPX4K5js.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
265
265
  throw error;
266
266
  } finally {
267
267
  stopwatch();
@@ -271,7 +271,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
271
271
 
272
272
  // src/executors/tsdown/executor.ts
273
273
  async function tsdownExecutorFn(options, context, config) {
274
- _chunk3YC7YXGQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
274
+ _chunkGPLPX4K5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
275
275
  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])) {
276
276
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
277
277
  }
@@ -288,7 +288,7 @@ async function tsdownExecutorFn(options, context, config) {
288
288
  };
289
289
  }
290
290
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
291
- var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
291
+ var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
292
292
  skipReadingConfig: false,
293
293
  hooks: {
294
294
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-C5YDISDP.mjs";
3
+ } from "./chunk-BZB4EUIR.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-R7DU2APC.mjs";
6
+ } from "./chunk-QS4Z3DUV.mjs";
7
7
 
8
8
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
9
9
  var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-XK3FSWMA.mjs";
4
+ } from "./chunk-IZBZMG7H.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-27EDH7NY.mjs";
7
+ } from "./chunk-HJ7Q5IKQ.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-R7DU2APC.mjs";
10
+ } from "./chunk-QS4Z3DUV.mjs";
11
11
 
12
12
  // src/executors/cargo-build/executor.ts
13
13
  async function cargoBuildExecutor(options, context) {