@storm-software/workspace-tools 1.266.9 → 1.267.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 (154) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-Z2D5X5KJ.mjs → chunk-2C37GBZ2.mjs} +2 -2
  4. package/dist/{chunk-5AVEZVE5.mjs → chunk-2TEC7IFE.mjs} +4 -4
  5. package/dist/{chunk-WBNGMFYP.js → chunk-4Y6B6JDH.js} +11 -11
  6. package/dist/{chunk-K7B7YVQF.mjs → chunk-5I7ULQZF.mjs} +1 -1
  7. package/dist/{chunk-JL5QGFBX.js → chunk-6CGAYKQL.js} +20 -20
  8. package/dist/{chunk-BJ6UNKNM.js → chunk-6JJB5AYA.js} +9 -9
  9. package/dist/{chunk-TKGD3SNO.mjs → chunk-7FHFHZRB.mjs} +1 -1
  10. package/dist/{chunk-Z255YQZR.js → chunk-7NNHBZC5.js} +2 -2
  11. package/dist/{chunk-HYRQEEMO.js → chunk-7PRHEOCT.js} +2 -2
  12. package/dist/{chunk-UBMOQCNN.js → chunk-B3DVFXXD.js} +2 -2
  13. package/dist/{chunk-5G2XZTUU.mjs → chunk-BFGWJ7BS.mjs} +4 -4
  14. package/dist/{chunk-YWAH4DHJ.mjs → chunk-BJMT4ECA.mjs} +3 -3
  15. package/dist/chunk-BUPROWVS.js +653 -0
  16. package/dist/{chunk-4UPFP6EX.mjs → chunk-CM2FQCBL.mjs} +3 -3
  17. package/dist/{chunk-VUIT3ZAI.mjs → chunk-CNCYVRZ4.mjs} +1 -1
  18. package/dist/{chunk-NCTH2PTP.mjs → chunk-EHFWY65U.mjs} +3 -3
  19. package/dist/{chunk-XGSZL5N7.mjs → chunk-FM2TFXVW.mjs} +4 -4
  20. package/dist/{chunk-7LP6KWJ4.mjs → chunk-FPAOVOZX.mjs} +3 -3
  21. package/dist/{chunk-MP2P2MGP.js → chunk-G4QFSE5B.js} +8 -5
  22. package/dist/{chunk-2RRVYK6E.mjs → chunk-GNFQ5PGW.mjs} +1 -1
  23. package/dist/{chunk-E2GASAYN.js → chunk-HOXPAVCL.js} +2 -2
  24. package/dist/{chunk-TBE7H5P7.js → chunk-ICPUM2HS.js} +5 -5
  25. package/dist/{chunk-36QIKTAL.mjs → chunk-IXHY3ZPO.mjs} +3 -3
  26. package/dist/{chunk-TCZC6XD6.mjs → chunk-IZHZKPHV.mjs} +12 -9
  27. package/dist/{chunk-SORZ4BJW.mjs → chunk-KP5JD22G.mjs} +4 -4
  28. package/dist/{chunk-A2Z3X5GK.mjs → chunk-LS27TGDZ.mjs} +2 -2
  29. package/dist/chunk-LUR7U35A.mjs +653 -0
  30. package/dist/{chunk-QDLQJ3QS.mjs → chunk-MFSIJSBW.mjs} +3 -3
  31. package/dist/{chunk-L6BH2OLB.mjs → chunk-MIVNJALE.mjs} +1 -1
  32. package/dist/{chunk-XRZPNGM5.mjs → chunk-N4QRXJLZ.mjs} +2 -2
  33. package/dist/{chunk-VGSUCQ2S.mjs → chunk-N7GSKHH2.mjs} +1 -1
  34. package/dist/{chunk-4CLX5NBT.js → chunk-NSCWEC2S.js} +2 -2
  35. package/dist/{chunk-YWHLDLKE.js → chunk-OKW5O5P4.js} +5 -5
  36. package/dist/{chunk-YT3ECNTF.js → chunk-OQPX75CG.js} +2 -2
  37. package/dist/{chunk-5NTNN2XK.mjs → chunk-OW6VGYDT.mjs} +1 -1
  38. package/dist/{chunk-TPWVZZWY.js → chunk-P4OVFIT6.js} +2 -2
  39. package/dist/{chunk-YMFIVYHZ.mjs → chunk-PGEZGCU2.mjs} +2 -2
  40. package/dist/{chunk-GEIXDGFR.mjs → chunk-PZL7IZ7I.mjs} +2 -2
  41. package/dist/{chunk-4FJCOFII.mjs → chunk-Q7WXH4GA.mjs} +3 -3
  42. package/dist/{chunk-LY5IGOQR.mjs → chunk-QXE7GTBY.mjs} +3 -3
  43. package/dist/{chunk-KWARMR7G.mjs → chunk-RMLZO26I.mjs} +4 -4
  44. package/dist/{chunk-USRO6ZCF.mjs → chunk-RPMGDH44.mjs} +2 -2
  45. package/dist/{chunk-G4S2HWXN.js → chunk-RUKOOSWL.js} +2 -2
  46. package/dist/{chunk-474QFQKX.mjs → chunk-SYTBJXTM.mjs} +1 -1
  47. package/dist/{chunk-NYP6AVTV.js → chunk-TET4GF3D.js} +2 -2
  48. package/dist/{chunk-IOUCRBHV.mjs → chunk-TPK3STUY.mjs} +4 -4
  49. package/dist/{chunk-WHITLY6G.mjs → chunk-TRD4W5ZK.mjs} +4 -4
  50. package/dist/{chunk-TMCMTZPP.mjs → chunk-UY3Q5IDT.mjs} +1 -1
  51. package/dist/{chunk-KDQGKQHN.mjs → chunk-V42FQ4FR.mjs} +3 -3
  52. package/dist/{chunk-FJ3HUDJN.mjs → chunk-WAXAZ5PV.mjs} +3 -3
  53. package/dist/{chunk-VFXWLOY7.mjs → chunk-WDFR6LVR.mjs} +2 -2
  54. package/dist/{chunk-D2OJX4DZ.mjs → chunk-XCBLUQPM.mjs} +3 -3
  55. package/dist/{chunk-QIF3QXOA.mjs → chunk-XYRHMXLC.mjs} +3 -3
  56. package/dist/{chunk-Z4WOCHYB.mjs → chunk-YHPRTWSY.mjs} +2 -2
  57. package/dist/{chunk-PKL7UOGQ.js → chunk-YW4UN25U.js} +4 -4
  58. package/dist/{chunk-NCV26VAW.js → chunk-Z4NKRWWJ.js} +15 -15
  59. package/dist/{chunk-3DMOUTDH.mjs → chunk-Z6GV7C5U.mjs} +1 -1
  60. package/dist/{chunk-TIOK7TNA.mjs → chunk-ZJ3QSWTQ.mjs} +4 -4
  61. package/dist/executors.js +14 -14
  62. package/dist/executors.mjs +28 -28
  63. package/dist/generators.js +10 -10
  64. package/dist/generators.mjs +21 -21
  65. package/dist/index.js +22 -22
  66. package/dist/index.mjs +51 -51
  67. package/dist/src/base/base-executor.js +3 -3
  68. package/dist/src/base/base-executor.mjs +6 -6
  69. package/dist/src/base/base-executor.untyped.mjs +1 -1
  70. package/dist/src/base/base-generator.js +3 -3
  71. package/dist/src/base/base-generator.mjs +6 -6
  72. package/dist/src/base/base-generator.untyped.mjs +1 -1
  73. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  74. package/dist/src/base/index.js +4 -4
  75. package/dist/src/base/index.mjs +10 -10
  76. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  77. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  78. package/dist/src/executors/cargo-build/executor.js +4 -4
  79. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  80. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  81. package/dist/src/executors/cargo-check/executor.js +4 -4
  82. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  83. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  84. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  85. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  86. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  87. package/dist/src/executors/cargo-doc/executor.js +4 -4
  88. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  89. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  90. package/dist/src/executors/cargo-format/executor.js +4 -4
  91. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  92. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  93. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  94. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  95. package/dist/src/executors/clean-package/executor.js +5 -5
  96. package/dist/src/executors/clean-package/executor.mjs +6 -6
  97. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  98. package/dist/src/executors/esbuild/executor.js +4 -4
  99. package/dist/src/executors/esbuild/executor.mjs +7 -7
  100. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  101. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  102. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  103. package/dist/src/executors/size-limit/executor.js +4 -4
  104. package/dist/src/executors/size-limit/executor.mjs +7 -7
  105. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  106. package/dist/src/executors/typia/executor.js +4 -4
  107. package/dist/src/executors/typia/executor.mjs +7 -7
  108. package/dist/src/executors/typia/untyped.mjs +1 -1
  109. package/dist/src/executors/unbuild/executor.js +4 -4
  110. package/dist/src/executors/unbuild/executor.mjs +7 -7
  111. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  112. package/dist/src/generators/browser-library/generator.js +4 -4
  113. package/dist/src/generators/browser-library/generator.mjs +9 -9
  114. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  115. package/dist/src/generators/config-schema/generator.js +4 -4
  116. package/dist/src/generators/config-schema/generator.mjs +7 -7
  117. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  118. package/dist/src/generators/init/init.mjs +2 -2
  119. package/dist/src/generators/init/untyped.mjs +1 -1
  120. package/dist/src/generators/neutral-library/generator.js +4 -4
  121. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  122. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  123. package/dist/src/generators/node-library/generator.js +4 -4
  124. package/dist/src/generators/node-library/generator.mjs +9 -9
  125. package/dist/src/generators/node-library/untyped.mjs +1 -1
  126. package/dist/src/generators/preset/generator.js +4 -4
  127. package/dist/src/generators/preset/generator.mjs +7 -7
  128. package/dist/src/generators/preset/untyped.mjs +1 -1
  129. package/dist/src/generators/release-version/generator.js +3 -3
  130. package/dist/src/generators/release-version/generator.mjs +6 -6
  131. package/dist/src/generators/release-version/untyped.mjs +1 -1
  132. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  133. package/dist/src/plugins/rust/index.mjs +4 -4
  134. package/dist/src/plugins/typescript/index.mjs +4 -4
  135. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  136. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  137. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  138. package/dist/src/types.mjs +1 -1
  139. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  140. package/dist/src/utils/cargo.mjs +2 -2
  141. package/dist/src/utils/create-cli-options.mjs +2 -2
  142. package/dist/src/utils/get-project-configurations.mjs +4 -4
  143. package/dist/src/utils/index.mjs +14 -14
  144. package/dist/src/utils/lock-file.mjs +2 -2
  145. package/dist/src/utils/package-helpers.mjs +4 -4
  146. package/dist/src/utils/plugin-helpers.mjs +3 -3
  147. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  148. package/dist/src/utils/project-tags.mjs +2 -2
  149. package/dist/src/utils/toml.mjs +2 -2
  150. package/dist/src/utils/typia-transform.mjs +2 -2
  151. package/dist/src/utils/versions.mjs +1 -1
  152. package/package.json +2 -2
  153. package/dist/chunk-JDFMHRPQ.mjs +0 -1533
  154. package/dist/chunk-OWBD5WVM.js +0 -1532
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.266.10](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.10) (2025-04-25)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **workspace-tools:** Remove unneeded pnpm publish update
10
+ ([9812caeab](https://github.com/storm-software/storm-ops/commit/9812caeab))
11
+
5
12
  ## [1.266.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.9) (2025-04-25)
6
13
 
7
14
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.266.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.266.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProjectTagConstants,
3
3
  getProjectTag
4
- } from "./chunk-VUIT3ZAI.mjs";
4
+ } from "./chunk-CNCYVRZ4.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-VGSUCQ2S.mjs";
7
+ } from "./chunk-N7GSKHH2.mjs";
8
8
 
9
9
  // src/utils/plugin-helpers.ts
10
10
  import { readJsonFile } from "@nx/devkit";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-GEIXDGFR.mjs";
4
+ } from "./chunk-PZL7IZ7I.mjs";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getConfig,
@@ -12,13 +12,13 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-TCZC6XD6.mjs";
15
+ } from "./chunk-IZHZKPHV.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
- } from "./chunk-VFXWLOY7.mjs";
18
+ } from "./chunk-WDFR6LVR.mjs";
19
19
  import {
20
20
  __name
21
- } from "./chunk-VGSUCQ2S.mjs";
21
+ } from "./chunk-N7GSKHH2.mjs";
22
22
 
23
23
  // src/base/base-executor.ts
24
24
  import { defu } from "defu";
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
16
+ var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -244,16 +244,16 @@ var _versionlegacy = require('nx/src/command-line/release/version-legacy');
244
244
  var _utils = require('nx/src/tasks-runner/utils');
245
245
  var _semver3 = require('semver');
246
246
  async function releaseVersionGeneratorFn(tree, options, config) {
247
- _chunkMP2P2MGPjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
247
+ _chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
248
248
 
249
249
  `, config);
250
- const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, "Storm Release Version generator");
250
+ const stopwatch = _chunkG4QFSE5Bjs.getStopwatch.call(void 0, "Storm Release Version generator");
251
251
  try {
252
252
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
253
- _chunkMP2P2MGPjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
253
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
254
254
  - workspaceRoot: ${workspaceRoot}`, config);
255
- config = await _chunkMP2P2MGPjs.getConfig.call(void 0, workspaceRoot);
256
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
255
+ config = await _chunkG4QFSE5Bjs.getConfig.call(void 0, workspaceRoot);
256
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
257
257
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter((key) => ![
258
258
  "projects",
259
259
  "releaseGroup",
@@ -309,9 +309,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
309
309
  }
310
310
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
311
311
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
312
- _chunkMP2P2MGPjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
312
+ _chunkG4QFSE5Bjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
313
313
  }, "log");
314
- _chunkMP2P2MGPjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
314
+ _chunkG4QFSE5Bjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
315
315
  let packageName;
316
316
  let currentVersionFromDisk;
317
317
  if (tree.exists(packageJsonPath)) {
@@ -585,7 +585,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
585
585
  }
586
586
  }
587
587
  await _devkit.formatFiles.call(void 0, tree);
588
- _chunkMP2P2MGPjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
588
+ _chunkG4QFSE5Bjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
589
589
  `, config);
590
590
  return {
591
591
  data: versionData,
@@ -619,8 +619,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
619
619
  }, "callback")
620
620
  };
621
621
  } catch (error) {
622
- _chunkMP2P2MGPjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
623
- _chunkMP2P2MGPjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
622
+ _chunkG4QFSE5Bjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
623
+ _chunkG4QFSE5Bjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
624
624
  - Details: ${error.message}
625
625
  - Stacktrace: ${error.stack}`, config);
626
626
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-VGSUCQ2S.mjs";
3
+ } from "./chunk-N7GSKHH2.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
15
+ var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.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 = _chunkMP2P2MGPjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkG4QFSE5Bjs.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
- _chunkMP2P2MGPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
38
+ _chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
39
  if (!executorOptions.skipReadingConfig) {
40
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
40
+ _chunkG4QFSE5Bjs.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 _chunkMP2P2MGPjs.getConfig.call(void 0, workspaceRoot);
46
+ config = await _chunkG4QFSE5Bjs.getConfig.call(void 0, workspaceRoot);
47
47
  }
48
48
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
49
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
49
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
50
50
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
51
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
52
52
  }
53
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
- ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, options)}
53
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
+ ${_chunkG4QFSE5Bjs.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 @@ ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, options)}
60
60
  projectName,
61
61
  config
62
62
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
63
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
- ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, tokenized)}
63
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
+ ${_chunkG4QFSE5Bjs.formatLogMessage.call(void 0, tokenized)}
65
65
  `, config);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
67
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkG4QFSE5Bjs.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]))) {
@@ -77,26 +77,26 @@ ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, tokenized)}
77
77
  }
78
78
  const result = await Promise.resolve(ret);
79
79
  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")) {
80
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
81
- ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, result)}`, config);
80
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
81
+ ${_chunkG4QFSE5Bjs.formatLogMessage.call(void 0, result)}`, config);
82
82
  console.error(result);
83
83
  throw new Error(`The ${name} executor failed to run`, {
84
84
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
85
85
  });
86
86
  }
87
87
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
88
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
89
89
  await Promise.resolve(executorOptions.hooks.postProcess(config));
90
- _chunkMP2P2MGPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
+ _chunkG4QFSE5Bjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
91
91
  }
92
- _chunkMP2P2MGPjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
+ _chunkG4QFSE5Bjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
93
93
  `, config);
94
94
  return {
95
95
  success: true
96
96
  };
97
97
  } catch (error) {
98
- _chunkMP2P2MGPjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
99
- _chunkMP2P2MGPjs.writeError.call(void 0, `An exception was thrown in the executor's process
98
+ _chunkG4QFSE5Bjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
99
+ _chunkG4QFSE5Bjs.writeError.call(void 0, `An exception was thrown in the executor's process
100
100
  - Details: ${error.message}
101
101
  - Stacktrace: ${error.stack}`, config);
102
102
  return {
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkNCV26VAWjs = require('./chunk-NCV26VAW.js');
3
+ var _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
9
+ var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
10
10
 
11
11
 
12
12
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkMP2P2MGPjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkMP2P2MGPjs.stormWorkspaceConfigSchema, {
21
+ _chunkG4QFSE5Bjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkG4QFSE5Bjs.stormWorkspaceConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkMP2P2MGPjs.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, jsonSchema, config);
27
27
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkMP2P2MGPjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkG4QFSE5Bjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunkMP2P2MGPjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkG4QFSE5Bjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunkNCV26VAWjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-VGSUCQ2S.mjs";
3
+ } from "./chunk-N7GSKHH2.mjs";
4
4
 
5
5
  // src/utils/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkNCV26VAWjs = require('./chunk-NCV26VAW.js');
10
+ var _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunkNCV26VAWjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkNCV26VAWjs = require('./chunk-NCV26VAW.js');
7
+ var _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
45
45
  return null;
46
46
  }
47
47
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
48
- var generator_default = _chunkNCV26VAWjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
48
+ var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
49
49
  hooks: {
50
50
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
51
51
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkJL5QGFBXjs = require('./chunk-JL5QGFBX.js');
7
+ var _chunk6CGAYKQLjs = require('./chunk-6CGAYKQL.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 = _chunkJL5QGFBXjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -3,7 +3,7 @@ import {
3
3
  parseCargoToml,
4
4
  parseCargoTomlWithTree,
5
5
  stringifyCargoToml
6
- } from "./chunk-TKGD3SNO.mjs";
6
+ } from "./chunk-7FHFHZRB.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-TCZC6XD6.mjs";
16
+ } from "./chunk-IZHZKPHV.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
- } from "./chunk-VFXWLOY7.mjs";
19
+ } from "./chunk-WDFR6LVR.mjs";
20
20
  import {
21
21
  __name
22
- } from "./chunk-VGSUCQ2S.mjs";
22
+ } from "./chunk-N7GSKHH2.mjs";
23
23
 
24
24
  // src/generators/release-version/generator.ts
25
25
  import { formatFiles, joinPathFragments, output, readJson, updateJson, writeJson } from "@nx/devkit";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-A2Z3X5GK.mjs";
3
+ } from "./chunk-LS27TGDZ.mjs";
4
4
  import {
5
5
  joinPaths
6
- } from "./chunk-K7B7YVQF.mjs";
6
+ } from "./chunk-5I7ULQZF.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-VGSUCQ2S.mjs";
9
+ } from "./chunk-N7GSKHH2.mjs";
10
10
 
11
11
  // src/executors/npm-publish/executor.ts
12
12
  import { execSync } from "node:child_process";