@storm-software/workspace-tools 1.258.5 → 1.258.7

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 (230) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-3F3NF4YM.js → chunk-2TQXYRZ2.js} +5 -5
  4. package/dist/{chunk-JRD4Z5TP.mjs → chunk-3DA3TU7H.mjs} +2 -2
  5. package/dist/{chunk-ANWKNY2S.mjs → chunk-3LMQ7A5E.mjs} +1 -1
  6. package/dist/{chunk-IV7DHZEI.mjs → chunk-422NV4UL.mjs} +10 -10
  7. package/dist/{chunk-GHEKTH3H.mjs → chunk-44JHFUCX.mjs} +2 -2
  8. package/dist/{chunk-U6XGT4BU.mjs → chunk-4G7TO7DK.mjs} +4 -4
  9. package/dist/{chunk-XKLYAMQS.js → chunk-5RCOCQH4.js} +2 -2
  10. package/dist/{chunk-QPAAA2OZ.mjs → chunk-6FJBMCUB.mjs} +1 -1
  11. package/dist/{chunk-ZR26PZGA.js → chunk-6OSR2VYB.js} +7 -7
  12. package/dist/{chunk-YEGKOZPW.js → chunk-7BWXITD4.js} +2 -2
  13. package/dist/{chunk-IZBZMG7H.mjs → chunk-A4QFANJD.mjs} +1 -1
  14. package/dist/{chunk-HB4LJD5U.js → chunk-B5E3XSP6.js} +2 -2
  15. package/dist/{chunk-KYPQ2RJW.mjs → chunk-BIKY5HDG.mjs} +4 -4
  16. package/dist/{chunk-URH3WA2O.mjs → chunk-CAS5H2GG.mjs} +2 -2
  17. package/dist/{chunk-XMOCZMKF.mjs → chunk-CD3M4BYC.mjs} +3 -3
  18. package/dist/{chunk-GCE5FKMI.js → chunk-D56HKJCS.js} +9 -9
  19. package/dist/{chunk-HZHADTJO.mjs → chunk-DJFG4LGU.mjs} +1 -1
  20. package/dist/{chunk-GNGBNABC.mjs → chunk-DUUNSAIT.mjs} +1 -1
  21. package/dist/{chunk-IBKU62MC.js → chunk-DWHFHGLZ.js} +2 -2
  22. package/dist/{chunk-UF5GVU3Z.js → chunk-EUFCKDUK.js} +2 -2
  23. package/dist/{chunk-S4ZVXW2Q.mjs → chunk-F43E25RT.mjs} +4 -4
  24. package/dist/{chunk-Y3EKTMQS.mjs → chunk-FPRHRYZV.mjs} +3 -3
  25. package/dist/{chunk-BZB4EUIR.mjs → chunk-GYGR5QJY.mjs} +2 -2
  26. package/dist/{chunk-MZ7FNI4Z.mjs → chunk-H7TZFCSU.mjs} +1 -1
  27. package/dist/{chunk-5T3XS2OY.js → chunk-HOH2SGCB.js} +15 -15
  28. package/dist/{chunk-ZTQL63SV.js → chunk-I2FWSOY2.js} +2 -2
  29. package/dist/{chunk-GRHWDFNY.js → chunk-IJO4MZSE.js} +4 -4
  30. package/dist/{chunk-Z5226LCS.js → chunk-KHQPJPM5.js} +2 -2
  31. package/dist/{chunk-EHWWPRTA.js → chunk-LUZNYXQ3.js} +5 -5
  32. package/dist/{chunk-UFZMCWNT.js → chunk-LZFVNTSD.js} +20 -20
  33. package/dist/{chunk-NB3JA2EC.mjs → chunk-MQU3PU5I.mjs} +3 -3
  34. package/dist/{chunk-GPLPX4K5.js → chunk-MZDSQVPG.js} +7 -7
  35. package/dist/{chunk-4ACCAZBA.js → chunk-NQZZEUJZ.js} +32 -32
  36. package/dist/{chunk-7COYD6CR.mjs → chunk-NSGGX475.mjs} +6 -6
  37. package/dist/{chunk-74VPPX36.mjs → chunk-NUNH5CHM.mjs} +3 -3
  38. package/dist/{chunk-XNFVNPJG.mjs → chunk-O3U3FNMB.mjs} +4 -4
  39. package/dist/{chunk-WA2VJ2IR.mjs → chunk-OEXS6BM2.mjs} +1 -1
  40. package/dist/{chunk-VX3ZNHGC.mjs → chunk-OWQYES7U.mjs} +1 -1
  41. package/dist/{chunk-HMUVZGHI.mjs → chunk-OZJRGZYP.mjs} +3 -3
  42. package/dist/{chunk-CH2OHODH.mjs → chunk-PX3Q7IW7.mjs} +2 -2
  43. package/dist/{chunk-7S4LTNOR.js → chunk-QAHYWB6S.js} +11 -11
  44. package/dist/{chunk-PPQX2JYW.mjs → chunk-RC33SW7M.mjs} +4 -4
  45. package/dist/{chunk-4HNQJ5N3.mjs → chunk-RL4PGDLS.mjs} +2 -2
  46. package/dist/{chunk-S3ALYLKC.mjs → chunk-S5FGJ3VF.mjs} +3 -3
  47. package/dist/{chunk-G2IO7AN3.mjs → chunk-SERUXLAQ.mjs} +5 -5
  48. package/dist/{chunk-XAJCHBHQ.mjs → chunk-SLD47MNH.mjs} +3 -3
  49. package/dist/{chunk-HJ7Q5IKQ.mjs → chunk-TPXVLKDP.mjs} +4 -4
  50. package/dist/{chunk-EKCNHHP6.mjs → chunk-U5EBEAZT.mjs} +6 -6
  51. package/dist/{chunk-2PK5BCIY.js → chunk-UH5YAUZF.js} +2 -2
  52. package/dist/{chunk-JO5RMPRZ.mjs → chunk-UK6CM2TY.mjs} +1 -1
  53. package/dist/{chunk-JCMCKJPZ.mjs → chunk-UUFGQFBH.mjs} +3 -3
  54. package/dist/{chunk-I3FKLXIS.mjs → chunk-UZCXVTJ2.mjs} +4 -4
  55. package/dist/{chunk-H44GNZFA.mjs → chunk-V3BHMCB3.mjs} +2 -2
  56. package/dist/{chunk-3YR543RX.mjs → chunk-WVQ6FTDW.mjs} +3 -3
  57. package/dist/{chunk-CKMKONYV.mjs → chunk-WXCBW33G.mjs} +3 -3
  58. package/dist/{chunk-K5ALCGH2.js → chunk-WZDSYTAY.js} +2 -2
  59. package/dist/{chunk-5NAUK656.mjs → chunk-X4Q7SFNW.mjs} +3 -3
  60. package/dist/{chunk-QS7QSWSD.mjs → chunk-XA5JHQKX.mjs} +4 -4
  61. package/dist/{chunk-XTO4N5DX.mjs → chunk-YMUMNLGM.mjs} +3 -3
  62. package/dist/{chunk-43IKGOHP.js → chunk-Z2DZKHBY.js} +42 -42
  63. package/dist/{chunk-QS4Z3DUV.mjs → chunk-ZMF7BFD4.mjs} +1 -1
  64. package/dist/{chunk-D2OSRALZ.mjs → chunk-ZZU66B3Z.mjs} +2 -2
  65. package/dist/{executor-DxeOzkYd.d.ts → executor-BDvqiAmr.d.ts} +1 -1
  66. package/dist/{executor-DvKywXQM.d.mts → executor-BLSVtRwG.d.mts} +1 -1
  67. package/dist/{executor-D9Lkezla.d.mts → executor-Bce2bwmv.d.mts} +1 -1
  68. package/dist/{executor-DdnyhsRE.d.ts → executor-Be5Fd52r.d.ts} +1 -1
  69. package/dist/{executor-DIeaVupa.d.ts → executor-C_TfLA0a.d.ts} +1 -1
  70. package/dist/{executor-BzM1aAMj.d.ts → executor-Cn6-xbcu.d.ts} +1 -1
  71. package/dist/{executor-BDL9OXAe.d.mts → executor-D7hQFdok.d.mts} +1 -1
  72. package/dist/{executor-CJ2sUUqC.d.mts → executor-DFZM1IRb.d.mts} +1 -1
  73. package/dist/{executor-BOz02M0D.d.mts → executor-KAQdKP88.d.mts} +1 -1
  74. package/dist/{executor-DLeeL4eB.d.ts → executor-rWFext3F.d.ts} +1 -1
  75. package/dist/executors.d.mts +6 -6
  76. package/dist/executors.d.ts +6 -6
  77. package/dist/executors.js +15 -15
  78. package/dist/executors.mjs +28 -28
  79. package/dist/{generator-Cg5cXOd-.d.ts → generator-BlI_P2Wx.d.ts} +2 -2
  80. package/dist/{generator-Ci71Fj-h.d.mts → generator-Boug2ukK.d.mts} +2 -2
  81. package/dist/{generator-SVDta1L0.d.ts → generator-CDnWruqm.d.ts} +2 -2
  82. package/dist/{generator-BXQhJBFX.d.mts → generator-CWhc4hwg.d.mts} +2 -2
  83. package/dist/{generator-ANcVdjRd.d.mts → generator-D7OgP7cF.d.mts} +2 -2
  84. package/dist/{generator-DcKIyM9v.d.ts → generator-DbQxnpL0.d.ts} +2 -2
  85. package/dist/{generator-CAGPcZQ4.d.mts → generator-Mz3RW03i.d.mts} +1 -1
  86. package/dist/{generator-8l8dnSzj.d.ts → generator-Q7K2v4XK.d.ts} +1 -1
  87. package/dist/{generator-DnI2NZWN.d.ts → generator-RNiDtdN6.d.ts} +1 -1
  88. package/dist/{generator-C93HVhAG.d.mts → generator-XDHzC_Tb.d.mts} +1 -1
  89. package/dist/{generator-DDFJK57t.d.mts → generator-gSneYaPS.d.mts} +2 -2
  90. package/dist/{generator-Br48n2Qc.d.ts → generator-vajo9_If.d.ts} +2 -2
  91. package/dist/generators.d.mts +8 -8
  92. package/dist/generators.d.ts +8 -8
  93. package/dist/generators.js +9 -9
  94. package/dist/generators.mjs +21 -21
  95. package/dist/index.d.mts +13 -13
  96. package/dist/index.d.ts +13 -13
  97. package/dist/index.js +22 -22
  98. package/dist/index.mjs +51 -51
  99. package/dist/src/base/base-executor.d.mts +2 -2
  100. package/dist/src/base/base-executor.d.ts +2 -2
  101. package/dist/src/base/base-executor.js +3 -3
  102. package/dist/src/base/base-executor.mjs +6 -6
  103. package/dist/src/base/base-executor.untyped.mjs +1 -1
  104. package/dist/src/base/base-generator.d.mts +2 -2
  105. package/dist/src/base/base-generator.d.ts +2 -2
  106. package/dist/src/base/base-generator.js +3 -3
  107. package/dist/src/base/base-generator.mjs +6 -6
  108. package/dist/src/base/base-generator.untyped.mjs +1 -1
  109. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  110. package/dist/src/base/index.d.mts +2 -2
  111. package/dist/src/base/index.d.ts +2 -2
  112. package/dist/src/base/index.js +4 -4
  113. package/dist/src/base/index.mjs +10 -10
  114. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  115. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  116. package/dist/src/executors/cargo-build/executor.js +4 -4
  117. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  118. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  119. package/dist/src/executors/cargo-check/executor.js +4 -4
  120. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  121. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  122. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  123. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  124. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  125. package/dist/src/executors/cargo-doc/executor.js +4 -4
  126. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  128. package/dist/src/executors/cargo-format/executor.js +4 -4
  129. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  130. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  131. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  132. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  133. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  134. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  135. package/dist/src/executors/clean-package/executor.js +5 -5
  136. package/dist/src/executors/clean-package/executor.mjs +6 -6
  137. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  138. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  139. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  140. package/dist/src/executors/esbuild/executor.js +5 -5
  141. package/dist/src/executors/esbuild/executor.mjs +8 -8
  142. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  143. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  144. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  145. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  146. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  147. package/dist/src/executors/size-limit/executor.js +4 -4
  148. package/dist/src/executors/size-limit/executor.mjs +7 -7
  149. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  150. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  151. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  152. package/dist/src/executors/tsdown/executor.js +5 -5
  153. package/dist/src/executors/tsdown/executor.mjs +8 -8
  154. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  155. package/dist/src/executors/typia/executor.d.mts +2 -2
  156. package/dist/src/executors/typia/executor.d.ts +2 -2
  157. package/dist/src/executors/typia/executor.js +4 -4
  158. package/dist/src/executors/typia/executor.mjs +7 -7
  159. package/dist/src/executors/typia/untyped.mjs +1 -1
  160. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  161. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  162. package/dist/src/executors/unbuild/executor.js +4 -4
  163. package/dist/src/executors/unbuild/executor.mjs +7 -7
  164. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  165. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  166. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  167. package/dist/src/generators/browser-library/generator.js +4 -4
  168. package/dist/src/generators/browser-library/generator.mjs +9 -9
  169. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  170. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  171. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  172. package/dist/src/generators/config-schema/generator.js +4 -4
  173. package/dist/src/generators/config-schema/generator.mjs +7 -7
  174. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  175. package/dist/src/generators/init/init.mjs +2 -2
  176. package/dist/src/generators/init/untyped.mjs +1 -1
  177. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  178. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  179. package/dist/src/generators/neutral-library/generator.js +4 -4
  180. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  181. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  182. package/dist/src/generators/node-library/generator.d.mts +3 -3
  183. package/dist/src/generators/node-library/generator.d.ts +3 -3
  184. package/dist/src/generators/node-library/generator.js +4 -4
  185. package/dist/src/generators/node-library/generator.mjs +9 -9
  186. package/dist/src/generators/node-library/untyped.mjs +1 -1
  187. package/dist/src/generators/preset/generator.d.mts +3 -3
  188. package/dist/src/generators/preset/generator.d.ts +3 -3
  189. package/dist/src/generators/preset/generator.js +4 -4
  190. package/dist/src/generators/preset/generator.mjs +7 -7
  191. package/dist/src/generators/preset/untyped.mjs +1 -1
  192. package/dist/src/generators/release-version/generator.d.mts +2 -2
  193. package/dist/src/generators/release-version/generator.d.ts +2 -2
  194. package/dist/src/generators/release-version/generator.js +3 -3
  195. package/dist/src/generators/release-version/generator.mjs +6 -6
  196. package/dist/src/generators/release-version/untyped.mjs +1 -1
  197. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  198. package/dist/src/plugins/rust/index.mjs +4 -4
  199. package/dist/src/plugins/typescript/index.mjs +4 -4
  200. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  201. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  202. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  203. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  204. package/dist/src/types.d.mts +2 -2
  205. package/dist/src/types.d.ts +2 -2
  206. package/dist/src/types.mjs +1 -1
  207. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  208. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  209. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  210. package/dist/src/utils/cargo.mjs +2 -2
  211. package/dist/src/utils/create-cli-options.mjs +2 -2
  212. package/dist/src/utils/get-project-configurations.mjs +4 -4
  213. package/dist/src/utils/index.d.mts +2 -2
  214. package/dist/src/utils/index.d.ts +2 -2
  215. package/dist/src/utils/index.mjs +14 -14
  216. package/dist/src/utils/lock-file.mjs +2 -2
  217. package/dist/src/utils/package-helpers.mjs +4 -4
  218. package/dist/src/utils/plugin-helpers.mjs +3 -3
  219. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  220. package/dist/src/utils/project-tags.d.mts +2 -2
  221. package/dist/src/utils/project-tags.d.ts +2 -2
  222. package/dist/src/utils/project-tags.mjs +2 -2
  223. package/dist/src/utils/toml.mjs +2 -2
  224. package/dist/src/utils/typia-transform.mjs +2 -2
  225. package/dist/src/utils/versions.mjs +1 -1
  226. package/dist/{types-DLS_kod0.d.ts → types-C5TJM8DH.d.ts} +1 -1
  227. package/dist/{types-BbEVA-sX.d.ts → types-D6pIdih6.d.mts} +3 -3
  228. package/dist/{types-BbEVA-sX.d.mts → types-D6pIdih6.d.ts} +3 -3
  229. package/dist/{types-DM_AJ5NA.d.mts → types-DJVJD8fA.d.mts} +1 -1
  230. package/package.json +3 -3
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
7
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
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 _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 _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
3
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
4
4
 
5
5
 
6
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
6
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkGPLPX4K5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
7
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.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 = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkLZFVNTSDjs.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});
2
2
 
3
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
3
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
4
4
 
5
5
 
6
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
6
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.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
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkMZDSQVPGjs.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
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkMZDSQVPGjs.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 = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkLZFVNTSDjs.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) => {
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
15
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
16
16
 
17
17
 
18
18
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  // src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
38
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
39
  if (!executorOptions.skipReadingConfig) {
40
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
40
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
41
41
  - workspaceRoot: ${workspaceRoot}
42
42
  - projectRoot: ${projectRoot}
43
43
  - sourceRoot: ${sourceRoot}
44
44
  - projectName: ${projectName}
45
45
  `, config);
46
- config = await _chunkGPLPX4K5js.getConfig.call(void 0, workspaceRoot);
46
+ config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot);
47
47
  }
48
48
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
49
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
49
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
50
50
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
51
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
52
52
  }
53
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, options)}
53
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, options)}
55
55
  `, config);
56
56
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
57
57
  workspaceRoot,
@@ -60,13 +60,13 @@ ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, options)}
60
60
  projectName,
61
61
  config
62
62
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
63
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, tokenized)}
63
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, tokenized)}
65
65
  `, config);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
67
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -76,26 +76,26 @@ ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, tokenized)}
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
79
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
87
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunkGPLPX4K5js.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkMZDSQVPGjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunkGPLPX4K5js.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunkGPLPX4K5js.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkMZDSQVPGjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkMZDSQVPGjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-H44GNZFA.mjs";
3
+ } from "./chunk-V3BHMCB3.mjs";
4
4
  import {
5
5
  joinPaths
6
- } from "./chunk-HZHADTJO.mjs";
6
+ } from "./chunk-DJFG4LGU.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-QS4Z3DUV.mjs";
9
+ } from "./chunk-ZMF7BFD4.mjs";
10
10
 
11
11
  // src/executors/npm-publish/executor.ts
12
12
  import { execSync } from "node:child_process";
@@ -129,11 +129,11 @@ var StormConfigSchema = _zod2.default.object({
129
129
  preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
130
130
  owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
131
131
  bot: WorkspaceBotConfigSchema,
132
- env: _zod2.default.enum([
132
+ mode: _zod2.default.enum([
133
133
  "development",
134
134
  "staging",
135
135
  "production"
136
- ]).default("production").describe("The current runtime environment name for the package"),
136
+ ]).default("production").describe("The current runtime environment mode for the package"),
137
137
  workspaceRoot: _zod2.default.string().trim().default("").describe("The root directory of the workspace"),
138
138
  externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
139
139
  skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
@@ -607,7 +607,7 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
607
607
  build: process.env[`${prefix}BUILD_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
608
608
  },
609
609
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
610
- env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
610
+ mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
611
611
  // ci:
612
612
  // process.env[`${prefix}CI`] !== undefined
613
613
  // ? Boolean(
@@ -816,10 +816,10 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
816
816
  process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
817
817
  }
818
818
  }
819
- if (config.env) {
820
- process.env[`${prefix}ENV`] = config.env;
821
- process.env.NODE_ENV = config.env;
822
- process.env.ENVIRONMENT = config.env;
819
+ if (config.mode) {
820
+ process.env[`${prefix}MODE`] = config.mode;
821
+ process.env.NODE_ENV = config.mode;
822
+ process.env.ENVIRONMENT = config.mode;
823
823
  }
824
824
  if (_optionalChain([config, 'access', _44 => _44.colors, 'optionalAccess', _45 => _45.base, 'optionalAccess', _46 => _46.light]) || _optionalChain([config, 'access', _47 => _47.colors, 'optionalAccess', _48 => _48.base, 'optionalAccess', _49 => _49.dark])) {
825
825
  for (const key of Object.keys(config.colors)) {
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkZR26PZGAjs = require('./chunk-ZR26PZGA.js');
9
+ var _chunk6OSR2VYBjs = require('./chunk-6OSR2VYB.js');
10
10
 
11
11
 
12
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
12
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
22
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
23
23
 
24
24
 
25
25
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -54,7 +54,7 @@ var DEFAULT_BUILD_OPTIONS = {
54
54
  "cjs"
55
55
  ],
56
56
  tsconfig: "tsconfig.json",
57
- envName: "production",
57
+ mode: "production",
58
58
  globalName: "globalThis",
59
59
  unused: {
60
60
  level: "error"
@@ -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 _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");
77
+ const config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot.dir);
78
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
79
+ const stopwatch = _chunkMZDSQVPGjs.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 ??= _chunkZR26PZGAjs.DEFAULT_TARGET;
96
+ options.target ??= _chunk6OSR2VYBjs.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 = _chunkZR26PZGAjs.getEnv.call(void 0, "tsdown", options);
101
+ const env = _chunk6OSR2VYBjs.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 _chunkZR26PZGAjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
108
+ entryPoints: await _chunk6OSR2VYBjs.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 || _chunkGPLPX4K5js.isVerbose.call(void 0, ) || userOptions.debug === true,
119
+ verbose: userOptions.verbose || _chunkMZDSQVPGjs.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
- _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");
154
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
155
+ const stopwatch = _chunkMZDSQVPGjs.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 _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);
165
+ packageJson = await _chunk6OSR2VYBjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
+ packageJson = await _chunk6OSR2VYBjs.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["."] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
169
+ packageJson.exports["."] ??= _chunk6OSR2VYBjs.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}`] ??= _chunkZR26PZGAjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
187
+ packageJson.exports[`./${entry}`] ??= _chunk6OSR2VYBjs.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
- _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
- const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, `${options.name} build`);
206
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
+ const stopwatch = _chunkMZDSQVPGjs.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
- _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);
219
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
+ const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, `${options.name} asset copy`);
221
+ await _chunk6OSR2VYBjs.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
- _chunkGPLPX4K5js.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
227
+ _chunkMZDSQVPGjs.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
- _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`);
232
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
233
+ const stopwatch = _chunkMZDSQVPGjs.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
- _chunkGPLPX4K5js.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
- const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, "TSDown pipeline");
241
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
+ const stopwatch = _chunkMZDSQVPGjs.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
- _chunkGPLPX4K5js.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
260
+ _chunkMZDSQVPGjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
261
261
  }
262
- _chunkGPLPX4K5js.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
262
+ _chunkMZDSQVPGjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
263
263
  } catch (error) {
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.");
264
+ _chunkMZDSQVPGjs.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
- _chunkGPLPX4K5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
274
+ _chunkMZDSQVPGjs.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 = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
291
+ var executor_default = _chunkLZFVNTSDjs.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) => {
@@ -8,10 +8,10 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-G2IO7AN3.mjs";
11
+ } from "./chunk-SERUXLAQ.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-HJ7Q5IKQ.mjs";
14
+ } from "./chunk-TPXVLKDP.mjs";
15
15
  import {
16
16
  getConfig,
17
17
  getStopwatch,
@@ -23,15 +23,15 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-IV7DHZEI.mjs";
26
+ } from "./chunk-422NV4UL.mjs";
27
27
  import {
28
28
  joinPaths
29
- } from "./chunk-HZHADTJO.mjs";
29
+ } from "./chunk-DJFG4LGU.mjs";
30
30
  import {
31
31
  __dirname,
32
32
  __name,
33
33
  __require
34
- } from "./chunk-QS4Z3DUV.mjs";
34
+ } from "./chunk-ZMF7BFD4.mjs";
35
35
 
36
36
  // ../esbuild/src/build.ts
37
37
  import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
@@ -507,7 +507,7 @@ var DEFAULT_BUILD_OPTIONS = {
507
507
  external: [],
508
508
  logLevel: "error",
509
509
  tsconfig: "tsconfig.json",
510
- envName: "production",
510
+ mode: "production",
511
511
  keepNames: true,
512
512
  metafile: true,
513
513
  injectShims: true,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getProjectPlatform
3
- } from "./chunk-JRD4Z5TP.mjs";
3
+ } from "./chunk-3DA3TU7H.mjs";
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag,
7
7
  isEqualProjectTag,
8
8
  setDefaultProjectTags
9
- } from "./chunk-WA2VJ2IR.mjs";
9
+ } from "./chunk-OEXS6BM2.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-QS4Z3DUV.mjs";
12
+ } from "./chunk-ZMF7BFD4.mjs";
13
13
 
14
14
  // src/plugins/typescript/project-config.ts
15
15
  import { existsSync } from "node:fs";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-XAJCHBHQ.mjs";
4
+ } from "./chunk-SLD47MNH.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-S4ZVXW2Q.mjs";
7
+ } from "./chunk-F43E25RT.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-HZHADTJO.mjs";
10
+ } from "./chunk-DJFG4LGU.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
14
- } from "./chunk-QS4Z3DUV.mjs";
14
+ } from "./chunk-ZMF7BFD4.mjs";
15
15
 
16
16
  // src/generators/browser-library/generator.ts
17
17
  import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-QS4Z3DUV.mjs";
3
+ } from "./chunk-ZMF7BFD4.mjs";
4
4
 
5
5
  // src/utils/project-tags.ts
6
6
  var ProjectTagConstants = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-QS4Z3DUV.mjs";
3
+ } from "./chunk-ZMF7BFD4.mjs";
4
4
 
5
5
  // src/utils/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-IZBZMG7H.mjs";
4
+ } from "./chunk-A4QFANJD.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-HJ7Q5IKQ.mjs";
7
+ } from "./chunk-TPXVLKDP.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-QS4Z3DUV.mjs";
10
+ } from "./chunk-ZMF7BFD4.mjs";
11
11
 
12
12
  // src/executors/cargo-format/executor.ts
13
13
  async function cargoFormatExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-BZB4EUIR.mjs";
3
+ } from "./chunk-GYGR5QJY.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-QS4Z3DUV.mjs";
6
+ } from "./chunk-ZMF7BFD4.mjs";
7
7
 
8
8
  // src/utils/apply-workspace-tokens.ts
9
9
  var applyWorkspaceExecutorTokens = /* @__PURE__ */ __name(async (option, tokenizerOptions) => {