@storm-software/workspace-tools 1.246.3 → 1.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/config/{nx-default.json → base.json} +46 -48
  4. package/dist/{chunk-WPYYDD5F.js → chunk-24AOAWKM.js} +2 -2
  5. package/dist/{chunk-P4ALYDGC.js → chunk-2HIEYKTF.js} +5 -5
  6. package/dist/{chunk-BBRVJL4A.mjs → chunk-2LIE7SJ3.mjs} +32 -19
  7. package/dist/{chunk-KPKHTJWT.mjs → chunk-3IY2B44Z.mjs} +4 -4
  8. package/dist/{chunk-66FRJGIN.js → chunk-4AJFP7HM.js} +20 -20
  9. package/dist/{chunk-6V5GP3U4.js → chunk-4JOIS7WW.js} +24 -14
  10. package/dist/{chunk-BYLPQCIB.js → chunk-5CXC7ITO.js} +11 -11
  11. package/dist/{chunk-TJ6WVBYM.mjs → chunk-5EWLM3N6.mjs} +4 -4
  12. package/dist/{chunk-XI4BWTXX.mjs → chunk-5GLAGFHA.mjs} +3 -3
  13. package/dist/{chunk-N7VQR5KC.mjs → chunk-5JXVOE56.mjs} +3 -3
  14. package/dist/{chunk-AY5HELLN.js → chunk-5LEU7C3E.js} +25 -25
  15. package/dist/{chunk-GZPCM2GI.mjs → chunk-7MZLWLLT.mjs} +3 -3
  16. package/dist/{chunk-H5XURNDS.js → chunk-AC5SI4YZ.js} +2 -2
  17. package/dist/{chunk-2AKLJNKO.mjs → chunk-AHTDYOCZ.mjs} +20 -13
  18. package/dist/{chunk-BC3QVHAH.mjs → chunk-ATMJKNFF.mjs} +5 -5
  19. package/dist/{chunk-LZNWOO4B.js → chunk-B5YTVDRU.js} +5 -5
  20. package/dist/{chunk-4F75KA7J.mjs → chunk-BLSGWUGX.mjs} +3 -3
  21. package/dist/{chunk-ZQPK5G4U.js → chunk-BRWRLQDC.js} +22 -15
  22. package/dist/{chunk-BLG6LLHW.mjs → chunk-C5YDISDP.mjs} +26 -16
  23. package/dist/{chunk-FZI3TKFY.mjs → chunk-D7VXZZFG.mjs} +1 -1
  24. package/dist/{chunk-G3AMYMML.js → chunk-DVR7HEPK.js} +36 -23
  25. package/dist/{chunk-U4AQXXXF.mjs → chunk-E52NPVHL.mjs} +4 -4
  26. package/dist/{chunk-VYH45FO6.mjs → chunk-EIM3O6HY.mjs} +1 -1
  27. package/dist/{chunk-HK26KBWU.mjs → chunk-EPZT247P.mjs} +4 -4
  28. package/dist/{chunk-N3WLDHSN.js → chunk-ETVB65M4.js} +2 -2
  29. package/dist/{chunk-SLCOHXD3.mjs → chunk-F2GYXQ5H.mjs} +5 -4
  30. package/dist/{chunk-Z6E637KA.js → chunk-GDHENHPI.js} +41 -41
  31. package/dist/{chunk-AWPP7DRY.js → chunk-GKL4BY2Y.js} +2 -2
  32. package/dist/{chunk-GQ6ZBQ6I.mjs → chunk-H7GRZIKQ.mjs} +4 -4
  33. package/dist/{chunk-I6BCQJPP.mjs → chunk-HDWS7GST.mjs} +3 -3
  34. package/dist/{chunk-LUQIF4A3.mjs → chunk-HUCDWLQ3.mjs} +2 -2
  35. package/dist/{chunk-FBIVTCSJ.mjs → chunk-JB4KCMSB.mjs} +2 -2
  36. package/dist/{chunk-O3ZLX7S5.mjs → chunk-JQCRK5FU.mjs} +3 -3
  37. package/dist/{chunk-NCFX2MWO.mjs → chunk-KZJCDAOU.mjs} +1 -1
  38. package/dist/{chunk-WCIY3TEF.mjs → chunk-LWUP4RIM.mjs} +2 -2
  39. package/dist/{chunk-U3TVR7B3.js → chunk-MOPEW5LB.js} +5 -5
  40. package/dist/{chunk-7QVGAOPQ.mjs → chunk-MQE5KGI7.mjs} +3 -3
  41. package/dist/{chunk-4YODDZMS.mjs → chunk-NH75ORHH.mjs} +3 -3
  42. package/dist/{chunk-USUT2GLD.mjs → chunk-OHEABZJW.mjs} +1 -1
  43. package/dist/{chunk-KV7YB4MU.mjs → chunk-OM7XDCE7.mjs} +3 -3
  44. package/dist/{chunk-ZKWGOANM.mjs → chunk-OS3ZHOJP.mjs} +5 -5
  45. package/dist/{chunk-3SPGOKCO.mjs → chunk-OVR2BAKA.mjs} +2 -2
  46. package/dist/{chunk-3ORCJSUT.mjs → chunk-P2SLAYFV.mjs} +3 -3
  47. package/dist/{chunk-U7TEDNQF.js → chunk-PKBJIHOW.js} +31 -31
  48. package/dist/{chunk-Q2DU6KGV.js → chunk-PQQYCAXU.js} +5 -5
  49. package/dist/{chunk-ZVP6NBMF.js → chunk-QMXS4YBR.js} +2 -2
  50. package/dist/{chunk-IPMZQTRA.mjs → chunk-R6RTCWUK.mjs} +2 -2
  51. package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
  52. package/dist/{chunk-ECSCURQQ.js → chunk-RBU35LQW.js} +2 -1
  53. package/dist/{chunk-RWDBQOGV.js → chunk-SJY2MQ7F.js} +5 -5
  54. package/dist/{chunk-NJ2QOT34.mjs → chunk-U7LV2H52.mjs} +1 -1
  55. package/dist/{chunk-34JK7ZOU.js → chunk-UALZJZUK.js} +2 -2
  56. package/dist/{chunk-LIYZBMAM.mjs → chunk-UH565HF3.mjs} +1 -1
  57. package/dist/{chunk-ZAE2P6GK.js → chunk-UKNWS4VZ.js} +4 -4
  58. package/dist/{chunk-R7VJ7ZHV.mjs → chunk-V7IOKRJA.mjs} +2 -2
  59. package/dist/{chunk-X7XA6QPV.mjs → chunk-VBPOZVKY.mjs} +3 -3
  60. package/dist/{chunk-EIL3PQQL.js → chunk-VBROJHZZ.js} +2 -2
  61. package/dist/{chunk-FDPZRNKZ.js → chunk-VBYEJNI3.js} +15 -15
  62. package/dist/{chunk-AQLXZBXJ.mjs → chunk-VCU6XMJC.mjs} +4 -4
  63. package/dist/{chunk-66TYTM73.mjs → chunk-W3SWWT4A.mjs} +1 -1
  64. package/dist/{chunk-ITL2GPJB.js → chunk-WAZC2KG4.js} +2 -2
  65. package/dist/{chunk-J5SXKBBU.mjs → chunk-X3GPVZMH.mjs} +1 -1
  66. package/dist/{chunk-QZHIWK5Z.mjs → chunk-XK3FSWMA.mjs} +1 -1
  67. package/dist/{chunk-6ZQ3QYXH.mjs → chunk-XUYTELRS.mjs} +2 -2
  68. package/dist/{chunk-Q47LFUGL.mjs → chunk-YHV3GYYF.mjs} +4 -4
  69. package/dist/{chunk-TBQLIKD4.mjs → chunk-YK676R5F.mjs} +6 -6
  70. package/dist/{chunk-BNYY2WQJ.js → chunk-ZDN367AN.js} +2 -2
  71. package/dist/{executor-CnnrgXKr.d.mts → executor-BDL9OXAe.d.mts} +1 -1
  72. package/dist/{executor-De29T5QB.d.mts → executor-BOz02M0D.d.mts} +1 -1
  73. package/dist/{executor-DZ-0sX_w.d.ts → executor-BzM1aAMj.d.ts} +1 -1
  74. package/dist/{executor-B2I8lRie.d.mts → executor-CJ2sUUqC.d.mts} +1 -1
  75. package/dist/{executor-B3LJ1461.d.mts → executor-D9Lkezla.d.mts} +1 -1
  76. package/dist/{executor-SU5oGftF.d.ts → executor-DIeaVupa.d.ts} +1 -1
  77. package/dist/{executor-D04WPR2V.d.ts → executor-DLeeL4eB.d.ts} +1 -1
  78. package/dist/{executor-B1mTS_M5.d.ts → executor-DdnyhsRE.d.ts} +1 -1
  79. package/dist/{executor-9k0vy4BU.d.mts → executor-DvKywXQM.d.mts} +1 -1
  80. package/dist/{executor-Dfot53CG.d.ts → executor-DxeOzkYd.d.ts} +1 -1
  81. package/dist/executors.d.mts +6 -6
  82. package/dist/executors.d.ts +6 -6
  83. package/dist/executors.js +16 -16
  84. package/dist/executors.mjs +22 -22
  85. package/dist/{generator-BCkqWM1d.d.ts → generator-8l8dnSzj.d.ts} +1 -1
  86. package/dist/{generator-DBa9-HbU.d.ts → generator-96lYy3vU.d.ts} +1 -1
  87. package/dist/{generator-BAbOohf7.d.mts → generator-ANcVdjRd.d.mts} +2 -2
  88. package/dist/{generator-CrR9QK6B.d.mts → generator-BXQhJBFX.d.mts} +2 -2
  89. package/dist/{generator-AFivysTp.d.ts → generator-Br48n2Qc.d.ts} +2 -2
  90. package/dist/{generator-CRiDjsPp.d.mts → generator-CAGPcZQ4.d.mts} +1 -1
  91. package/dist/{generator-rf62OraH.d.ts → generator-Cg5cXOd-.d.ts} +2 -2
  92. package/dist/{generator-B_HN13az.d.mts → generator-Ci71Fj-h.d.mts} +2 -2
  93. package/dist/{generator-DpXgF55u.d.mts → generator-D4l8BFsS.d.mts} +1 -1
  94. package/dist/{generator-DATsTV1E.d.mts → generator-DDFJK57t.d.mts} +2 -2
  95. package/dist/{generator-DNdirMec.d.ts → generator-DcKIyM9v.d.ts} +2 -2
  96. package/dist/{generator-F6EuzmJD.d.ts → generator-SVDta1L0.d.ts} +2 -2
  97. package/dist/generators.d.mts +8 -8
  98. package/dist/generators.d.ts +8 -8
  99. package/dist/generators.js +12 -12
  100. package/dist/generators.mjs +16 -16
  101. package/dist/index.d.mts +13 -13
  102. package/dist/index.d.ts +13 -13
  103. package/dist/index.js +26 -26
  104. package/dist/index.mjs +40 -40
  105. package/dist/src/base/base-executor.d.mts +2 -2
  106. package/dist/src/base/base-executor.d.ts +2 -2
  107. package/dist/src/base/base-executor.js +5 -5
  108. package/dist/src/base/base-executor.mjs +6 -6
  109. package/dist/src/base/base-executor.untyped.mjs +1 -1
  110. package/dist/src/base/base-generator.d.mts +2 -2
  111. package/dist/src/base/base-generator.d.ts +2 -2
  112. package/dist/src/base/base-generator.js +5 -5
  113. package/dist/src/base/base-generator.mjs +6 -6
  114. package/dist/src/base/base-generator.untyped.mjs +1 -1
  115. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  116. package/dist/src/base/index.d.mts +2 -2
  117. package/dist/src/base/index.d.ts +2 -2
  118. package/dist/src/base/index.js +7 -7
  119. package/dist/src/base/index.mjs +10 -10
  120. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  121. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  122. package/dist/src/executors/cargo-build/executor.js +6 -6
  123. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  124. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  125. package/dist/src/executors/cargo-check/executor.js +6 -6
  126. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  128. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  129. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  130. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  131. package/dist/src/executors/cargo-doc/executor.js +6 -6
  132. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  133. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  134. package/dist/src/executors/cargo-format/executor.js +6 -6
  135. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  136. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  137. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  138. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  139. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  140. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  141. package/dist/src/executors/clean-package/executor.js +7 -7
  142. package/dist/src/executors/clean-package/executor.mjs +6 -6
  143. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  144. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  145. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  146. package/dist/src/executors/esbuild/executor.js +7 -7
  147. package/dist/src/executors/esbuild/executor.mjs +8 -8
  148. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  149. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  150. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  151. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  152. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  153. package/dist/src/executors/size-limit/executor.js +6 -6
  154. package/dist/src/executors/size-limit/executor.mjs +7 -7
  155. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  156. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  157. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  158. package/dist/src/executors/tsdown/executor.js +7 -7
  159. package/dist/src/executors/tsdown/executor.mjs +8 -8
  160. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  161. package/dist/src/executors/typia/executor.d.mts +2 -2
  162. package/dist/src/executors/typia/executor.d.ts +2 -2
  163. package/dist/src/executors/typia/executor.js +6 -6
  164. package/dist/src/executors/typia/executor.mjs +7 -7
  165. package/dist/src/executors/typia/untyped.mjs +1 -1
  166. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  167. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  168. package/dist/src/executors/unbuild/executor.js +6 -6
  169. package/dist/src/executors/unbuild/executor.mjs +7 -7
  170. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  171. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  172. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  173. package/dist/src/generators/browser-library/generator.js +7 -7
  174. package/dist/src/generators/browser-library/generator.mjs +9 -9
  175. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  176. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  177. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  178. package/dist/src/generators/config-schema/generator.js +6 -6
  179. package/dist/src/generators/config-schema/generator.mjs +7 -7
  180. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  181. package/dist/src/generators/init/init.mjs +2 -2
  182. package/dist/src/generators/init/untyped.mjs +1 -1
  183. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  184. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  185. package/dist/src/generators/neutral-library/generator.js +7 -7
  186. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  187. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  188. package/dist/src/generators/node-library/generator.d.mts +3 -3
  189. package/dist/src/generators/node-library/generator.d.ts +3 -3
  190. package/dist/src/generators/node-library/generator.js +7 -7
  191. package/dist/src/generators/node-library/generator.mjs +9 -9
  192. package/dist/src/generators/node-library/untyped.mjs +1 -1
  193. package/dist/src/generators/preset/generator.d.mts +3 -3
  194. package/dist/src/generators/preset/generator.d.ts +3 -3
  195. package/dist/src/generators/preset/generator.js +6 -6
  196. package/dist/src/generators/preset/generator.mjs +7 -7
  197. package/dist/src/generators/preset/untyped.mjs +1 -1
  198. package/dist/src/generators/release-version/generator.d.mts +2 -2
  199. package/dist/src/generators/release-version/generator.d.ts +2 -2
  200. package/dist/src/generators/release-version/generator.js +4 -4
  201. package/dist/src/generators/release-version/generator.mjs +6 -6
  202. package/dist/src/generators/release-version/untyped.mjs +1 -1
  203. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  204. package/dist/src/plugins/rust/index.mjs +4 -4
  205. package/dist/src/plugins/typescript/index.mjs +4 -4
  206. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  207. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  208. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  209. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  210. package/dist/src/types.d.mts +2 -2
  211. package/dist/src/types.d.ts +2 -2
  212. package/dist/src/types.mjs +1 -1
  213. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  214. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  215. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  216. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  217. package/dist/src/utils/cargo.mjs +2 -2
  218. package/dist/src/utils/create-cli-options.mjs +2 -2
  219. package/dist/src/utils/get-project-configurations.js +3 -3
  220. package/dist/src/utils/get-project-configurations.mjs +4 -4
  221. package/dist/src/utils/index.d.mts +2 -2
  222. package/dist/src/utils/index.d.ts +2 -2
  223. package/dist/src/utils/index.js +4 -4
  224. package/dist/src/utils/index.mjs +14 -14
  225. package/dist/src/utils/lock-file.mjs +2 -2
  226. package/dist/src/utils/package-helpers.mjs +4 -4
  227. package/dist/src/utils/plugin-helpers.mjs +3 -3
  228. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  229. package/dist/src/utils/project-tags.d.mts +2 -2
  230. package/dist/src/utils/project-tags.d.ts +2 -2
  231. package/dist/src/utils/project-tags.mjs +2 -2
  232. package/dist/src/utils/toml.mjs +2 -2
  233. package/dist/src/utils/typia-transform.mjs +2 -2
  234. package/dist/src/utils/versions.mjs +1 -1
  235. package/dist/{types-B5IG4iSJ.d.ts → types-BbEVA-sX.d.mts} +3 -0
  236. package/dist/{types-B5IG4iSJ.d.mts → types-BbEVA-sX.d.ts} +3 -0
  237. package/dist/{types-DpaECebR.d.ts → types-DLS_kod0.d.ts} +1 -1
  238. package/dist/{types-44XkV3HO.d.mts → types-DM_AJ5NA.d.mts} +1 -1
  239. package/package.json +2 -3
  240. package/config/nx-cloud.json +0 -459
@@ -1,10 +1,10 @@
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(); } }
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
3
 
4
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
4
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.js');
5
5
 
6
6
 
7
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
7
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
8
8
 
9
9
 
10
10
 
@@ -54,7 +54,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
54
54
  output: "src/"
55
55
  });
56
56
  }
57
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
57
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
58
58
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
59
59
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
60
60
  projectDir: projectRoot,
@@ -64,7 +64,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
64
64
  });
65
65
  await assetHandler.processAllAssetsOnce();
66
66
  if (includeSrc === true) {
67
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
67
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
68
68
  const files = await _glob.glob.call(void 0, [
69
69
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
70
70
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -86,7 +86,8 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
86
86
 
87
87
  var _projectgraph = require('nx/src/project-graph/project-graph');
88
88
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
89
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
89
+ const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
90
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
90
91
  const localPackages = [];
91
92
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
92
93
  const projectNode = project.node;
@@ -102,34 +103,46 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
102
103
  }
103
104
  }
104
105
  if (localPackages.length > 0) {
105
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
106
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
107
- if (!ret[localPackage.name]) {
108
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
106
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
107
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
108
+ const projectJson = JSON.parse(projectJsonFile);
109
+ const projectName2 = projectJson.name;
110
+ const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
111
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName2]])) {
112
+ throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
113
+ }
114
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _3 => _3.projects, 'optionalAccess', _4 => _4[projectName2], 'access', _5 => _5.implicitDependencies, 'optionalAccess', _6 => _6.reduce, 'call', _7 => _7((ret, dep) => {
115
+ if (_optionalChain([projectConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[dep]])) {
116
+ const depPackageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
117
+ if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
118
+ const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
119
+ const depPackageJson = JSON.parse(depPackageJsonContent);
120
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
121
+ ret.push(depPackageJson.name);
122
+ }
123
+ }
109
124
  }
110
125
  return ret;
111
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
112
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
113
- if (!ret[localPackage.name]) {
114
- ret[localPackage.name] = {
115
- optional: false
116
- };
126
+ }, [])]);
127
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
128
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _10 => _10.includes, 'call', _11 => _11(localPackage.name)])) {
129
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
117
130
  }
118
131
  return ret;
119
- }, _nullishCoalesce(packageJson.peerDependenciesMeta, () => ( {})));
132
+ }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
120
133
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
121
- if (!ret[localPackage.name]) {
134
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _12 => _12.includes, 'call', _13 => _13(localPackage.name)])) {
122
135
  ret[localPackage.name] = localPackage.version || "0.0.1";
123
136
  }
124
137
  return ret;
125
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
138
+ }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
126
139
  } else {
127
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
140
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
128
141
  }
129
142
  return packageJson;
130
143
  }, "addPackageDependencies");
131
144
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
132
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
145
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
133
146
  const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
134
147
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
135
148
  packageJson.type ??= "module";
@@ -197,7 +210,7 @@ var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
197
210
  // ../build-tools/src/utilities/get-entry-points.ts
198
211
 
199
212
  var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
200
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
213
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
201
214
  const entryPoints = [];
202
215
  if (entry) {
203
216
  if (Array.isArray(entry)) {
@@ -220,7 +233,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
220
233
  results.push(...files.reduce((ret, filePath) => {
221
234
  const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
222
235
  if (result) {
223
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
236
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
224
237
  if (!results.includes(result)) {
225
238
  results.push(result);
226
239
  }
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-SLCOHXD3.mjs";
4
+ } from "./chunk-F2GYXQ5H.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-GQ6ZBQ6I.mjs";
7
+ } from "./chunk-H7GRZIKQ.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-NCFX2MWO.mjs";
10
+ } from "./chunk-KZJCDAOU.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
14
- } from "./chunk-XUV4U54K.mjs";
14
+ } from "./chunk-R7DU2APC.mjs";
15
15
 
16
16
  // src/generators/neutral-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-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -3,7 +3,7 @@ import {
3
3
  parseCargoToml,
4
4
  parseCargoTomlWithTree,
5
5
  stringifyCargoToml
6
- } from "./chunk-VYH45FO6.mjs";
6
+ } from "./chunk-EIM3O6HY.mjs";
7
7
  import {
8
8
  getConfig,
9
9
  getStopwatch,
@@ -13,13 +13,13 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-2AKLJNKO.mjs";
16
+ } from "./chunk-AHTDYOCZ.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
- } from "./chunk-BLG6LLHW.mjs";
19
+ } from "./chunk-C5YDISDP.mjs";
20
20
  import {
21
21
  __name
22
- } from "./chunk-XUV4U54K.mjs";
22
+ } from "./chunk-R7DU2APC.mjs";
23
23
 
24
24
  // src/generators/release-version/generator.ts
25
25
  import { formatFiles, joinPathFragments, output, readJson, updateJson, writeJson } from "@nx/devkit";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
7
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.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 = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag
7
- } from "./chunk-66TYTM73.mjs";
7
+ } from "./chunk-W3SWWT4A.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-NCFX2MWO.mjs";
10
+ } from "./chunk-KZJCDAOU.mjs";
11
11
  import {
12
12
  __name
13
- } from "./chunk-XUV4U54K.mjs";
13
+ } from "./chunk-R7DU2APC.mjs";
14
14
 
15
15
  // src/base/typescript-library-generator.ts
16
16
  import { addDependenciesToPackageJson, addProjectConfiguration, ensurePackage, formatFiles, names, offsetFromRoot, readJson, updateJson, writeJson } from "@nx/devkit";
@@ -298,7 +298,8 @@ async function normalizeOptions(tree, options, config) {
298
298
  projectRoot,
299
299
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
300
300
  importPath: normalizedImportPath,
301
- rootProject
301
+ rootProject,
302
+ shouldUseSwcJest: false
302
303
  };
303
304
  }
304
305
  __name(normalizeOptions, "normalizeOptions");
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkG3AMYMMLjs = require('./chunk-G3AMYMML.js');
11
+ var _chunkDVR7HEPKjs = require('./chunk-DVR7HEPK.js');
12
12
 
13
13
 
14
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
14
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
26
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.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
- _chunkZQPK5G4Ujs.writeError.call(void 0, `The following errors occurred during the build:
334
+ _chunkBRWRLQDCjs.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);
@@ -440,7 +440,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
440
440
  localBuild: true
441
441
  });
442
442
  if (extractorResult.succeeded === false) {
443
- _chunkZQPK5G4Ujs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
443
+ _chunkBRWRLQDCjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
444
444
  throw new Error("API Extractor completed with errors");
445
445
  }
446
446
  }
@@ -489,7 +489,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
489
489
 
490
490
  // ../esbuild/src/config.ts
491
491
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
492
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkG3AMYMMLjs.getOutExtension.call(void 0, options.format, pkgType);
492
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkDVR7HEPKjs.getOutExtension.call(void 0, options.format, pkgType);
493
493
  }, "getOutputExtensionMap");
494
494
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
495
495
  nodeProtocolPlugin(options, resolvedOptions),
@@ -537,7 +537,7 @@ var DEFAULT_BUILD_OPTIONS = {
537
537
  ".woff": "file",
538
538
  ".woff2": "file"
539
539
  },
540
- banner: _chunkG3AMYMMLjs.DEFAULT_COMPILED_BANNER
540
+ banner: _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER
541
541
  };
542
542
 
543
543
  // ../esbuild/src/plugins/deps-check.ts
@@ -619,8 +619,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
619
619
  const filteredMissingDeps = missingDependencies.filter((dep) => {
620
620
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
621
621
  });
622
- _chunkZQPK5G4Ujs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
623
- _chunkZQPK5G4Ujs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
622
+ _chunkBRWRLQDCjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
623
+ _chunkBRWRLQDCjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
624
624
  if (filteredMissingDeps.length > 0) {
625
625
  throw new Error(`Missing dependencies detected - please install them:
626
626
  ${JSON.stringify(filteredMissingDeps)}
@@ -714,9 +714,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
714
714
  if (!workspaceRoot) {
715
715
  throw new Error("Cannot find Nx workspace root");
716
716
  }
717
- const config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot.dir);
718
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
719
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, "Build options resolution");
717
+ const config = await _chunkBRWRLQDCjs.getConfig.call(void 0, workspaceRoot.dir);
718
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
719
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, "Build options resolution");
720
720
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
721
721
  exitOnError: true
722
722
  });
@@ -733,7 +733,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
733
733
  }
734
734
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
735
735
  options.name ??= `${projectName}-${options.format}`;
736
- options.target ??= _chunkG3AMYMMLjs.DEFAULT_TARGET;
736
+ options.target ??= _chunkDVR7HEPKjs.DEFAULT_TARGET;
737
737
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
738
738
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
739
739
  throw new Error("Cannot find package.json configuration");
@@ -741,7 +741,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
741
741
  const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
742
742
  const packageJson = JSON.parse(packageJsonFile);
743
743
  const outExtension = getOutputExtensionMap(options, packageJson.type);
744
- const env = _chunkG3AMYMMLjs.getEnv.call(void 0, "esbuild", options);
744
+ const env = _chunkDVR7HEPKjs.getEnv.call(void 0, "esbuild", options);
745
745
  const result = {
746
746
  ...options,
747
747
  config,
@@ -761,7 +761,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
761
761
  ...userOptions,
762
762
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
763
763
  format: options.format || "cjs",
764
- entryPoints: await _chunkG3AMYMMLjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
764
+ entryPoints: await _chunkDVR7HEPKjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
765
765
  "./src/index.ts"
766
766
  ], userOptions.emitOnAll),
767
767
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -772,7 +772,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
772
772
  projectGraph,
773
773
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
774
774
  minify: userOptions.minify || !userOptions.debug,
775
- verbose: userOptions.verbose || _chunkZQPK5G4Ujs.isVerbose.call(void 0, ) || userOptions.debug === true,
775
+ verbose: userOptions.verbose || _chunkBRWRLQDCjs.isVerbose.call(void 0, ) || userOptions.debug === true,
776
776
  includeSrc: userOptions.includeSrc === true,
777
777
  metafile: userOptions.metafile !== false,
778
778
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -786,8 +786,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
786
786
  outExtension,
787
787
  footer: userOptions.footer,
788
788
  banner: {
789
- js: options.banner || _chunkG3AMYMMLjs.DEFAULT_COMPILED_BANNER,
790
- css: options.banner || _chunkG3AMYMMLjs.DEFAULT_COMPILED_BANNER
789
+ js: options.banner || _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER,
790
+ css: options.banner || _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER
791
791
  },
792
792
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
793
793
  treeShaking: options.format === "esm",
@@ -819,8 +819,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
819
819
  }, "resolveOptions");
820
820
  async function generatePackageJson(context2) {
821
821
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
822
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
823
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, "Write package.json file");
822
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
823
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, "Write package.json file");
824
824
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
825
825
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
826
826
  throw new Error("Cannot find package.json configuration");
@@ -830,11 +830,11 @@ async function generatePackageJson(context2) {
830
830
  if (!packageJson) {
831
831
  throw new Error("Cannot find package.json configuration file");
832
832
  }
833
- packageJson = await _chunkG3AMYMMLjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
834
- packageJson = await _chunkG3AMYMMLjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
833
+ packageJson = await _chunkDVR7HEPKjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
834
+ packageJson = await _chunkDVR7HEPKjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
835
835
  packageJson.exports ??= {};
836
836
  packageJson.exports["./package.json"] ??= "./package.json";
837
- packageJson.exports["."] ??= _chunkG3AMYMMLjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
837
+ packageJson.exports["."] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
838
838
  let entryPoints = [
839
839
  {
840
840
  in: "./src/index.ts",
@@ -852,7 +852,7 @@ async function generatePackageJson(context2) {
852
852
  const split = entryPoint.out.split(".");
853
853
  split.pop();
854
854
  const entry = split.join(".").replaceAll("\\", "/");
855
- packageJson.exports[`./${entry}`] ??= _chunkG3AMYMMLjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
855
+ packageJson.exports[`./${entry}`] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
856
856
  }
857
857
  }
858
858
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -890,8 +890,8 @@ async function generateContext(getOptions) {
890
890
  }
891
891
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
892
892
  async function executeEsBuild(context2) {
893
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
894
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, `${context2.options.name} build`);
893
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
894
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, `${context2.options.name} build`);
895
895
  if (process.env.WATCH === "true") {
896
896
  const ctx = await esbuild2.context(context2.options);
897
897
  watch(ctx, context2.options);
@@ -907,9 +907,9 @@ async function executeEsBuild(context2) {
907
907
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
908
908
  async function copyBuildAssets(context2) {
909
909
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
910
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
911
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
912
- await _chunkG3AMYMMLjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
910
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
911
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
912
+ await _chunkDVR7HEPKjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
913
913
  stopwatch();
914
914
  }
915
915
  return context2;
@@ -918,9 +918,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
918
918
  async function reportResults(context2) {
919
919
  if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
920
920
  if (context2.result.warnings.length > 0) {
921
- _chunkZQPK5G4Ujs.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
+ _chunkBRWRLQDCjs.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);
922
922
  }
923
- _chunkZQPK5G4Ujs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
923
+ _chunkBRWRLQDCjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
924
924
  }
925
925
  }
926
926
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -956,8 +956,8 @@ async function dependencyCheck(options) {
956
956
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
957
957
  async function cleanOutputPath(context2) {
958
958
  if (context2.options.clean !== false && context2.options.outdir) {
959
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
960
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
959
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
960
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
961
961
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
962
962
  stopwatch();
963
963
  }
@@ -965,8 +965,8 @@ async function cleanOutputPath(context2) {
965
965
  }
966
966
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
967
967
  async function build3(options) {
968
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
969
- const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, "ESBuild pipeline");
968
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
969
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, "ESBuild pipeline");
970
970
  try {
971
971
  const opts = Array.isArray(options) ? options : [
972
972
  options
@@ -976,9 +976,9 @@ async function build3(options) {
976
976
  }
977
977
  void transduce.async(opts, dependencyCheck);
978
978
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
979
- _chunkZQPK5G4Ujs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
979
+ _chunkBRWRLQDCjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
980
980
  } catch (error) {
981
- _chunkZQPK5G4Ujs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
981
+ _chunkBRWRLQDCjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
982
982
  throw error;
983
983
  } finally {
984
984
  stopwatch();
@@ -1006,9 +1006,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1006
1006
  return context2.rebuild();
1007
1007
  });
1008
1008
  if (rebuildResult instanceof Error) {
1009
- _chunkZQPK5G4Ujs.writeError.call(void 0, rebuildResult.message);
1009
+ _chunkBRWRLQDCjs.writeError.call(void 0, rebuildResult.message);
1010
1010
  }
1011
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1011
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1012
1012
  }, 10);
1013
1013
  changeWatcher.on("change", fastRebuild);
1014
1014
  return void 0;
@@ -1016,7 +1016,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1016
1016
 
1017
1017
  // src/executors/esbuild/executor.ts
1018
1018
  async function esbuildExecutorFn(options, context2, config) {
1019
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1019
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1020
1020
  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])) {
1021
1021
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1022
1022
  }
@@ -1033,7 +1033,7 @@ async function esbuildExecutorFn(options, context2, config) {
1033
1033
  };
1034
1034
  }
1035
1035
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1036
- var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1036
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1037
1037
  skipReadingConfig: false,
1038
1038
  hooks: {
1039
1039
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
3
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -8,7 +8,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
8
8
  // src/utils/get-project-configurations.ts
9
9
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
10
10
  var getProjectConfigurations = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async () => {
11
- return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ));
11
+ return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ));
12
12
  }, "getProjectConfigurations");
13
13
  var getProjectConfiguration = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (projectName) => _optionalChain([getProjectConfigurations, 'call', _ => _(), 'optionalAccess', _2 => _2[projectName]]), "getProjectConfiguration");
14
14
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-WCIY3TEF.mjs";
4
+ } from "./chunk-LWUP4RIM.mjs";
5
5
  import {
6
6
  getConfig,
7
7
  getStopwatch,
@@ -11,13 +11,13 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-2AKLJNKO.mjs";
14
+ } from "./chunk-AHTDYOCZ.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
- } from "./chunk-BLG6LLHW.mjs";
17
+ } from "./chunk-C5YDISDP.mjs";
18
18
  import {
19
19
  __name
20
- } from "./chunk-XUV4U54K.mjs";
20
+ } from "./chunk-R7DU2APC.mjs";
21
21
 
22
22
  // src/base/base-generator.ts
23
23
  var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-QZHIWK5Z.mjs";
4
+ } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-AQLXZBXJ.mjs";
7
+ } from "./chunk-VCU6XMJC.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/executors/cargo-build/executor.ts
13
13
  async function cargoBuildExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProjectTagConstants,
3
3
  getProjectTag
4
- } from "./chunk-66TYTM73.mjs";
4
+ } from "./chunk-W3SWWT4A.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-XUV4U54K.mjs";
7
+ } from "./chunk-R7DU2APC.mjs";
8
8
 
9
9
  // src/utils/plugin-helpers.ts
10
10
  import { readJsonFile } from "@nx/devkit";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-NCFX2MWO.mjs";
3
+ } from "./chunk-KZJCDAOU.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // src/utils/pnpm-deps-update.ts
9
9
  import { existsSync } from "node:fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-AQLXZBXJ.mjs";
3
+ } from "./chunk-VCU6XMJC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-2AKLJNKO.mjs";
6
+ } from "./chunk-AHTDYOCZ.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-XUV4U54K.mjs";
9
+ } from "./chunk-R7DU2APC.mjs";
10
10
 
11
11
  // src/executors/size-limit/executor.ts
12
12
  import { joinPathFragments } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-BLG6LLHW.mjs";
3
+ } from "./chunk-C5YDISDP.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
9
9
  var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {