@storm-software/workspace-tools 1.277.34 → 1.277.35

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 (133) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-UXALGSQC.js → chunk-334J5IXK.js} +2 -2
  4. package/dist/{chunk-3TYXXJKV.js → chunk-4DLKOUQA.js} +2 -2
  5. package/dist/{chunk-R7DNGWVO.js → chunk-5BOL6D4L.js} +2 -2
  6. package/dist/{chunk-S2N53PIP.js → chunk-5L75MUAB.js} +2 -2
  7. package/dist/{chunk-ZFA26D42.mjs → chunk-7BLTZYJ3.mjs} +1 -1
  8. package/dist/{chunk-J2Z4WP3E.js → chunk-A77PFJ72.js} +2 -2
  9. package/dist/{chunk-6WBXO6UH.js → chunk-BWPSZXXW.js} +2 -2
  10. package/dist/{chunk-KZIA4CGL.js → chunk-CBPC6BVR.js} +24 -24
  11. package/dist/{chunk-SW2AFRXA.mjs → chunk-D4QG6XOG.mjs} +1 -1
  12. package/dist/{chunk-EUWPFP5C.mjs → chunk-DYIS436F.mjs} +1 -1
  13. package/dist/{chunk-K262HGVZ.mjs → chunk-ENPVXQZG.mjs} +1 -1
  14. package/dist/{chunk-3ZBMLG4D.mjs → chunk-FHBOYSRN.mjs} +17 -13
  15. package/dist/{chunk-PGIUP33N.mjs → chunk-FI4YJWQR.mjs} +4 -4
  16. package/dist/{chunk-QPCOSMXY.mjs → chunk-G4AFFXLB.mjs} +2 -2
  17. package/dist/{chunk-XBRR6YS3.js → chunk-GWJER63Y.js} +2 -2
  18. package/dist/{chunk-4WHSR4FK.js → chunk-HNFKVXBV.js} +0 -1
  19. package/dist/{chunk-6UFOMB3R.mjs → chunk-HTECEOBH.mjs} +40 -41
  20. package/dist/{chunk-NFK6PGAC.mjs → chunk-I2JPIOP6.mjs} +1 -1
  21. package/dist/{chunk-6XYAQUU3.js → chunk-IEZIXYOC.js} +26 -26
  22. package/dist/{chunk-GH5ABWPU.mjs → chunk-IMF332I2.mjs} +1 -1
  23. package/dist/{chunk-ABUZEUF7.js → chunk-IQCBMNCA.js} +2 -2
  24. package/dist/{chunk-ZRTYYXDL.mjs → chunk-K42K44IQ.mjs} +3 -3
  25. package/dist/{chunk-E566KBB3.js → chunk-KE2XVUHC.js} +5 -5
  26. package/dist/{chunk-VLOTOQYE.mjs → chunk-KLAMLNPM.mjs} +1 -1
  27. package/dist/{chunk-X6PHOMFB.mjs → chunk-KYGWN2MB.mjs} +1 -1
  28. package/dist/{chunk-NQ525HTH.mjs → chunk-L4RTU5C6.mjs} +4 -4
  29. package/dist/{chunk-LSF4BHCI.mjs → chunk-M5Z57CUO.mjs} +0 -1
  30. package/dist/{chunk-AQOT2IAM.js → chunk-MOD3ND43.js} +34 -34
  31. package/dist/{chunk-V5564COA.mjs → chunk-MY3L5HV6.mjs} +4 -4
  32. package/dist/{chunk-EC7YQEHT.js → chunk-NPYZUWJH.js} +2 -2
  33. package/dist/{chunk-5VY5IBBQ.js → chunk-NSSJMQFD.js} +16 -12
  34. package/dist/{chunk-RVJSZ7SI.js → chunk-NYAM2TPQ.js} +4 -4
  35. package/dist/{chunk-VRPEYRWI.mjs → chunk-OKEHKFS6.mjs} +1 -1
  36. package/dist/{chunk-L4NCVOB5.mjs → chunk-OWKH2ZBQ.mjs} +1 -1
  37. package/dist/{chunk-OQUI7H7Z.js → chunk-P7VPITZA.js} +2 -2
  38. package/dist/{chunk-V53473BD.js → chunk-Q4VGUJQZ.js} +2 -2
  39. package/dist/{chunk-Q7MIY2SX.mjs → chunk-QGUKFIB7.mjs} +1 -1
  40. package/dist/{chunk-XPFT4BMH.mjs → chunk-QMELEYB5.mjs} +1 -1
  41. package/dist/{chunk-65P2PGPR.js → chunk-QSAXCKSA.js} +5 -5
  42. package/dist/{chunk-3OVLNULV.js → chunk-S62KQPMR.js} +2 -2
  43. package/dist/{chunk-7IPJE3E3.mjs → chunk-T3MDVD7M.mjs} +4 -4
  44. package/dist/{chunk-PPMPCT7K.mjs → chunk-T5J6PFWJ.mjs} +2 -2
  45. package/dist/{chunk-7YUXBCFS.js → chunk-TXFPVY55.js} +11 -11
  46. package/dist/{chunk-A5CKB6IJ.js → chunk-UZ63ALZQ.js} +2 -2
  47. package/dist/{chunk-HWCERW6A.mjs → chunk-V3O4MYED.mjs} +1 -1
  48. package/dist/{chunk-BDA4N25E.js → chunk-VK52Z2DT.js} +25 -25
  49. package/dist/{chunk-YDXXSCNG.mjs → chunk-VZTL36R3.mjs} +1 -1
  50. package/dist/{chunk-ZLVVUMYO.js → chunk-WJ47CTAU.js} +2 -2
  51. package/dist/{chunk-3CPOV3N6.mjs → chunk-WMOEEQFZ.mjs} +1 -1
  52. package/dist/{chunk-TJ3JPU6C.js → chunk-X5VVVLBK.js} +2 -2
  53. package/dist/{chunk-BP22TRDI.js → chunk-X5WLGOL5.js} +2 -2
  54. package/dist/{chunk-55FODDLQ.mjs → chunk-XSLQUWWH.mjs} +2 -2
  55. package/dist/{chunk-3VAHUUNQ.mjs → chunk-XYJH3GTI.mjs} +1 -1
  56. package/dist/{chunk-6RHHYXZE.mjs → chunk-Y6HJGXM6.mjs} +1 -1
  57. package/dist/{chunk-QEU3B4T6.js → chunk-YQHPAR7K.js} +21 -21
  58. package/dist/{chunk-JRQIA2WV.js → chunk-YWOZ2IOU.js} +2 -2
  59. package/dist/{chunk-PG7GBHUM.mjs → chunk-ZB76VIIN.mjs} +2 -2
  60. package/dist/{chunk-TZJGO4US.js → chunk-ZX3GIY5S.js} +40 -41
  61. package/dist/executors.js +19 -19
  62. package/dist/executors.mjs +23 -23
  63. package/dist/generators.js +14 -14
  64. package/dist/generators.mjs +16 -16
  65. package/dist/index.d.mts +1 -1
  66. package/dist/index.d.ts +1 -1
  67. package/dist/index.js +32 -30
  68. package/dist/index.mjs +40 -38
  69. package/dist/src/base/base-executor.js +6 -6
  70. package/dist/src/base/base-executor.mjs +5 -5
  71. package/dist/src/base/base-generator.js +6 -6
  72. package/dist/src/base/base-generator.mjs +5 -5
  73. package/dist/src/base/index.js +7 -7
  74. package/dist/src/base/index.mjs +6 -6
  75. package/dist/src/executors/cargo-build/executor.js +7 -7
  76. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  77. package/dist/src/executors/cargo-check/executor.js +7 -7
  78. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  79. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  80. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  81. package/dist/src/executors/cargo-doc/executor.js +7 -7
  82. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  83. package/dist/src/executors/cargo-format/executor.js +7 -7
  84. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  85. package/dist/src/executors/cargo-publish/executor.js +5 -5
  86. package/dist/src/executors/cargo-publish/executor.mjs +4 -4
  87. package/dist/src/executors/clean-package/executor.js +8 -8
  88. package/dist/src/executors/clean-package/executor.mjs +5 -5
  89. package/dist/src/executors/esbuild/executor.js +7 -7
  90. package/dist/src/executors/esbuild/executor.mjs +6 -6
  91. package/dist/src/executors/npm-publish/executor.js +6 -6
  92. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  93. package/dist/src/executors/size-limit/executor.js +7 -7
  94. package/dist/src/executors/size-limit/executor.mjs +6 -6
  95. package/dist/src/executors/typia/executor.js +7 -7
  96. package/dist/src/executors/typia/executor.mjs +6 -6
  97. package/dist/src/executors/unbuild/executor.js +7 -7
  98. package/dist/src/executors/unbuild/executor.mjs +6 -6
  99. package/dist/src/generators/browser-library/generator.js +7 -7
  100. package/dist/src/generators/browser-library/generator.mjs +6 -6
  101. package/dist/src/generators/config-schema/generator.js +7 -7
  102. package/dist/src/generators/config-schema/generator.mjs +6 -6
  103. package/dist/src/generators/neutral-library/generator.js +7 -7
  104. package/dist/src/generators/neutral-library/generator.mjs +6 -6
  105. package/dist/src/generators/node-library/generator.js +7 -7
  106. package/dist/src/generators/node-library/generator.mjs +6 -6
  107. package/dist/src/generators/preset/generator.js +7 -7
  108. package/dist/src/generators/preset/generator.mjs +6 -6
  109. package/dist/src/generators/release-version/generator.js +6 -6
  110. package/dist/src/generators/release-version/generator.mjs +5 -5
  111. package/dist/src/plugins/typescript/index.js +3 -3
  112. package/dist/src/plugins/typescript/index.mjs +2 -2
  113. package/dist/src/plugins/typescript/project-config.js +3 -3
  114. package/dist/src/plugins/typescript/project-config.mjs +2 -2
  115. package/dist/src/plugins/typescript/tsup.js +22 -19
  116. package/dist/src/plugins/typescript/tsup.mjs +21 -18
  117. package/dist/src/plugins/typescript/untyped-schema.js +18 -15
  118. package/dist/src/plugins/typescript/untyped-schema.mjs +18 -15
  119. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  120. package/dist/src/utils/apply-workspace-tokens.mjs +2 -2
  121. package/dist/src/utils/get-project-configurations.js +3 -3
  122. package/dist/src/utils/get-project-configurations.mjs +2 -2
  123. package/dist/src/utils/index.d.mts +1 -1
  124. package/dist/src/utils/index.d.ts +1 -1
  125. package/dist/src/utils/index.js +10 -8
  126. package/dist/src/utils/index.mjs +10 -8
  127. package/dist/src/utils/package-helpers.js +5 -5
  128. package/dist/src/utils/package-helpers.mjs +4 -4
  129. package/dist/src/utils/plugin-helpers.d.mts +7 -6
  130. package/dist/src/utils/plugin-helpers.d.ts +7 -6
  131. package/dist/src/utils/plugin-helpers.js +4 -2
  132. package/dist/src/utils/plugin-helpers.mjs +5 -3
  133. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.277.34](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.34) (2025-08-02)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **git-tools:** Resolve issue with missing external dependencies
10
+ ([d47adff14](https://github.com/storm-software/storm-ops/commit/d47adff14))
11
+
12
+ ### Miscellaneous
13
+
14
+ - **monorepo:** Regenerate README markdown files
15
+ ([b867380ec](https://github.com/storm-software/storm-ops/commit/b867380ec))
16
+
17
+ ### Updated Dependencies
18
+
19
+ - Updated prettier to 0.51.59
20
+ - Updated esbuild to 0.45.47
21
+ - Updated unbuild to 0.49.58
22
+
5
23
  ## [1.277.33](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.33) (2025-08-01)
6
24
 
7
25
  ### Bug Fixes
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.277.32-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.277.33-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 -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Workspace Tools](#storm-workspace-tools)
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
3
+ var _chunkX5WLGOL5js = require('./chunk-X5WLGOL5.js');
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunkBP22TRDIjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkX5WLGOL5js.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -1,6 +1,6 @@
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 _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
3
+ var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
4
4
 
5
5
  // src/utils/apply-workspace-tokens.ts
6
6
  var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
@@ -51,7 +51,7 @@ var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
51
51
  if (result.includes("{workspaceRoot}")) {
52
52
  result = result.replaceAll(
53
53
  "{workspaceRoot}",
54
- _nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, )))
54
+ _nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, )))
55
55
  );
56
56
  }
57
57
  return result;
@@ -7,7 +7,7 @@ var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkQEU3B4T6js = require('./chunk-QEU3B4T6.js');
10
+ var _chunkYQHPAR7Kjs = require('./chunk-YQHPAR7K.js');
11
11
 
12
12
 
13
13
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
59
59
  await _devkit.formatFiles.call(void 0, tree);
60
60
  return null;
61
61
  }
62
- var generator_default = _chunkQEU3B4T6js.withRunGenerator.call(void 0,
62
+ var generator_default = _chunkYQHPAR7Kjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
7
+ var _chunkIEZIXYOCjs = require('./chunk-IEZIXYOC.js');
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkIEZIXYOCjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-PGIUP33N.mjs";
7
+ } from "./chunk-FI4YJWQR.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-5EK4H7VB.mjs";
@@ -1,6 +1,6 @@
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 _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
3
+ var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -37,7 +37,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
37
37
  if (result.includes("{workspaceRoot}")) {
38
38
  result = result.replaceAll(
39
39
  "{workspaceRoot}",
40
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, )))
40
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, )))
41
41
  );
42
42
  }
43
43
  return result;
@@ -4,7 +4,7 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
7
+ var _chunkIEZIXYOCjs = require('./chunk-IEZIXYOC.js');
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
14
14
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
15
15
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
- var executor_default = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
17
+ var executor_default = _chunkIEZIXYOCjs.withRunExecutor.call(void 0,
18
18
  "Cargo - Doc",
19
19
  cargoDocExecutor,
20
20
  {
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkUXALGSQCjs = require('./chunk-UXALGSQC.js');
6
+ var _chunk334J5IXKjs = require('./chunk-334J5IXK.js');
7
7
 
8
8
 
9
- var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
9
+ var _chunkVK52Z2DTjs = require('./chunk-VK52Z2DT.js');
10
10
 
11
11
 
12
12
 
@@ -15,10 +15,10 @@ var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
18
+ var _chunkX5WLGOL5js = require('./chunk-X5WLGOL5.js');
19
19
 
20
20
 
21
- var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
21
+ var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
22
22
 
23
23
  // src/generators/release-version/generator.ts
24
24
 
@@ -255,19 +255,19 @@ var _versionlegacy = require('nx/src/command-line/release/version-legacy');
255
255
  var _utils = require('nx/src/tasks-runner/utils');
256
256
  var _semver3 = require('semver');
257
257
  async function releaseVersionGeneratorFn(tree, options, config) {
258
- _chunkBP22TRDIjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
258
+ _chunkX5WLGOL5js.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
259
259
 
260
260
  `, config);
261
- const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, "Storm Release Version generator");
261
+ const stopwatch = _chunkX5WLGOL5js.getStopwatch.call(void 0, "Storm Release Version generator");
262
262
  try {
263
- const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
264
- _chunkBP22TRDIjs.writeDebug.call(void 0,
263
+ const workspaceRoot = _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, );
264
+ _chunkX5WLGOL5js.writeDebug.call(void 0,
265
265
  `Loading the Storm Config from environment variables and storm.config.js file...
266
266
  - workspaceRoot: ${workspaceRoot}`,
267
267
  config
268
268
  );
269
- config = await _chunkBDA4N25Ejs.getConfig.call(void 0, workspaceRoot);
270
- _chunkBP22TRDIjs.writeTrace.call(void 0,
269
+ config = await _chunkVK52Z2DTjs.getConfig.call(void 0, workspaceRoot);
270
+ _chunkX5WLGOL5js.writeTrace.call(void 0,
271
271
  `Generator schema options \u2699\uFE0F
272
272
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
273
273
  (key) => ![
@@ -302,7 +302,7 @@ Valid values are: ${_versionlegacy.validReleaseVersionPrefixes.map((s) => `"${s}
302
302
  const projects = options.projects;
303
303
  const createResolvePackageRoot = (customPackageRoot) => (projectNode) => {
304
304
  if (_optionalChain([projectNode, 'optionalAccess', _3 => _3.data, 'optionalAccess', _4 => _4.root]) === _optionalChain([config, 'optionalAccess', _5 => _5.workspaceRoot]) || _optionalChain([projectNode, 'optionalAccess', _6 => _6.data, 'optionalAccess', _7 => _7.root]) === ".") {
305
- return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, )));
305
+ return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, )));
306
306
  }
307
307
  if (!customPackageRoot) {
308
308
  return projectNode.data.root;
@@ -344,13 +344,13 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
344
344
  );
345
345
  }
346
346
  const workspaceRelativePackagePath = _path.relative.call(void 0,
347
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
347
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, ))),
348
348
  tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
349
349
  );
350
350
  const log = (msg) => {
351
- _chunkBP22TRDIjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
351
+ _chunkX5WLGOL5js.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
352
352
  };
353
- _chunkBP22TRDIjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
353
+ _chunkX5WLGOL5js.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
354
354
  let packageName;
355
355
  let currentVersionFromDisk;
356
356
  if (tree.exists(packageJsonPath)) {
@@ -361,7 +361,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
361
361
  packageName = projectPackageJson.name;
362
362
  currentVersionFromDisk = projectPackageJson.version;
363
363
  } else if (tree.exists(cargoTomlPath)) {
364
- const cargoToml = _chunkUXALGSQCjs.parseCargoToml.call(void 0,
364
+ const cargoToml = _chunk334J5IXKjs.parseCargoToml.call(void 0,
365
365
  _optionalChain([tree, 'access', _10 => _10.read, 'call', _11 => _11(cargoTomlPath), 'optionalAccess', _12 => _12.toString, 'call', _13 => _13("utf-8")])
366
366
  );
367
367
  log(
@@ -636,12 +636,12 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
636
636
  version: newVersion
637
637
  });
638
638
  } else if (tree.exists(cargoTomlPath)) {
639
- const cargoToml = _chunkUXALGSQCjs.parseCargoToml.call(void 0,
639
+ const cargoToml = _chunk334J5IXKjs.parseCargoToml.call(void 0,
640
640
  _optionalChain([tree, 'access', _23 => _23.read, 'call', _24 => _24(cargoTomlPath), 'optionalAccess', _25 => _25.toString, 'call', _26 => _26("utf-8")])
641
641
  );
642
642
  cargoToml.package ??= {};
643
643
  cargoToml.package.version = newVersion;
644
- tree.write(cargoTomlPath, _chunkUXALGSQCjs.stringifyCargoToml.call(void 0, cargoToml));
644
+ tree.write(cargoTomlPath, _chunk334J5IXKjs.stringifyCargoToml.call(void 0, cargoToml));
645
645
  }
646
646
  log(
647
647
  `\u270D\uFE0F New version ${newVersion} written to ${workspaceRelativePackagePath}`
@@ -689,7 +689,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
689
689
  return json;
690
690
  });
691
691
  } else if (tree.exists(dependentCargoTomlPath)) {
692
- const dependentPkg = _chunkUXALGSQCjs.parseCargoTomlWithTree.call(void 0,
692
+ const dependentPkg = _chunk334J5IXKjs.parseCargoTomlWithTree.call(void 0,
693
693
  tree,
694
694
  dependentPackageRoot,
695
695
  dependentProject.source
@@ -731,18 +731,18 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
731
731
  dependentPackageRoot,
732
732
  "Cargo.toml"
733
733
  );
734
- _chunkUXALGSQCjs.modifyCargoTable.call(void 0,
734
+ _chunk334J5IXKjs.modifyCargoTable.call(void 0,
735
735
  dependentPkg,
736
736
  dependentProject.dependencyCollection,
737
737
  dependentProject.target,
738
738
  updatedDependencyData
739
739
  );
740
- tree.write(cargoTomlToUpdate, _chunkUXALGSQCjs.stringifyCargoToml.call(void 0, dependentPkg));
740
+ tree.write(cargoTomlToUpdate, _chunk334J5IXKjs.stringifyCargoToml.call(void 0, dependentPkg));
741
741
  }
742
742
  }
743
743
  }
744
744
  await _devkit.formatFiles.call(void 0, tree);
745
- _chunkBP22TRDIjs.writeSuccess.call(void 0,
745
+ _chunkX5WLGOL5js.writeSuccess.call(void 0,
746
746
  `Completed running the Storm Release Version generator!
747
747
  `,
748
748
  config
@@ -781,11 +781,11 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
781
781
  }
782
782
  };
783
783
  } catch (error) {
784
- _chunkBP22TRDIjs.writeFatal.call(void 0,
784
+ _chunkX5WLGOL5js.writeFatal.call(void 0,
785
785
  "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate",
786
786
  config
787
787
  );
788
- _chunkBP22TRDIjs.writeError.call(void 0,
788
+ _chunkX5WLGOL5js.writeError.call(void 0,
789
789
  `An exception was thrown in the Storm Release Version generator's process
790
790
  - Details: ${error.message}
791
791
  - Stacktrace: ${error.stack}`,
@@ -884,7 +884,7 @@ function resolveLocalPackageCargoDependencies(tree, projectGraph, filteredProjec
884
884
  `The project "${dep.target}" does not have a packageRoot available.`
885
885
  );
886
886
  }
887
- const cargoToml = _chunkUXALGSQCjs.parseCargoTomlWithTree.call(void 0,
887
+ const cargoToml = _chunk334J5IXKjs.parseCargoTomlWithTree.call(void 0,
888
888
  tree,
889
889
  resolvePackageRoot(projectNode),
890
890
  projectNode.name
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-LSF4BHCI.mjs";
3
+ } from "./chunk-M5Z57CUO.mjs";
4
4
  import {
5
5
  joinPaths
6
6
  } from "./chunk-U7JFVMCK.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-SW2AFRXA.mjs";
3
+ } from "./chunk-D4QG6XOG.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-PGIUP33N.mjs";
10
+ } from "./chunk-FI4YJWQR.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-U7JFVMCK.mjs";
@@ -4,11 +4,13 @@ import {
4
4
  } from "./chunk-F66XEAID.mjs";
5
5
 
6
6
  // src/utils/plugin-helpers.ts
7
- import { readJsonFile } from "@nx/devkit";
7
+ import {
8
+ readJsonFile
9
+ } from "@nx/devkit";
8
10
  import defu from "defu";
9
11
  import { existsSync } from "node:fs";
10
12
  import { dirname, join } from "node:path";
11
- var getProjectPlatform = (project, ignoreTags = false) => {
13
+ function getProjectPlatform(project, ignoreTags = false) {
12
14
  const tsconfigJson = readJsonFile(join(project.root, "tsconfig.json"));
13
15
  if (!tsconfigJson) {
14
16
  throw new Error(`No tsconfig.json found in project root: ${project.root}`);
@@ -23,9 +25,7 @@ var getProjectPlatform = (project, ignoreTags = false) => {
23
25
  }
24
26
  if (platformTag !== ProjectTagConstants.Platform.NEUTRAL) {
25
27
  const types = Array.isArray(tsconfigJson.compilerOptions?.types) ? tsconfigJson.compilerOptions.types : [];
26
- if (platformTag === ProjectTagConstants.Platform.WORKER || types.some(
27
- (type) => type.toLowerCase() === "@cloudflare/workers-types"
28
- ) || packageJson.devDependencies?.["@cloudflare/workers-types"] || packageJson.devDependencies?.["wrangler"]) {
28
+ if (platformTag === ProjectTagConstants.Platform.WORKER || types.some((type) => type.toLowerCase() === "@cloudflare/workers-types") || packageJson.devDependencies?.["@cloudflare/workers-types"] || packageJson.devDependencies?.["wrangler"]) {
29
29
  return "worker";
30
30
  }
31
31
  if (platformTag === ProjectTagConstants.Platform.NODE || types?.some((type) => type.toLowerCase() === "node") || packageJson.devDependencies?.["@types/node"]) {
@@ -40,11 +40,11 @@ var getProjectPlatform = (project, ignoreTags = false) => {
40
40
  }
41
41
  }
42
42
  return "neutral";
43
- };
44
- var getProjectConfigFromProjectJsonPath = (projectJsonPath, packageJson) => {
43
+ }
44
+ function getProjectConfigFromProjectJsonPath(projectJsonPath, packageJson) {
45
45
  return getProjectConfigFromProjectRoot(dirname(projectJsonPath), packageJson);
46
- };
47
- var getProjectConfigFromProjectRoot = (projectRoot, packageJson) => {
46
+ }
47
+ function getProjectConfigFromProjectRoot(projectRoot, packageJson) {
48
48
  const { nx, name } = packageJson;
49
49
  const projectJson = readJsonFile(join(projectRoot, "project.json"));
50
50
  return defu(nx ?? {}, projectJson, {
@@ -53,8 +53,8 @@ var getProjectConfigFromProjectRoot = (projectRoot, packageJson) => {
53
53
  name,
54
54
  root: projectRoot
55
55
  });
56
- };
57
- var getProjectRoot = (configPath, workspaceRoot) => {
56
+ }
57
+ function getProjectRoot(configPath, workspaceRoot) {
58
58
  try {
59
59
  const root = dirname(configPath);
60
60
  const projectRoot = join(workspaceRoot, root);
@@ -66,11 +66,15 @@ var getProjectRoot = (configPath, workspaceRoot) => {
66
66
  console.error(error_);
67
67
  return null;
68
68
  }
69
- };
69
+ }
70
+ function getRoot(projectRoot, context) {
71
+ return projectRoot.replaceAll("\\", "/").replace(context.workspaceRoot.replaceAll("\\", "/"), "").replace(/^\//g, "").replace(/\/$/g, "");
72
+ }
70
73
 
71
74
  export {
72
75
  getProjectPlatform,
73
76
  getProjectConfigFromProjectJsonPath,
74
77
  getProjectConfigFromProjectRoot,
75
- getProjectRoot
78
+ getProjectRoot,
79
+ getRoot
76
80
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-X6PHOMFB.mjs";
4
+ } from "./chunk-KYGWN2MB.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-PG7GBHUM.mjs";
7
+ } from "./chunk-ZB76VIIN.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -13,10 +13,10 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-SW2AFRXA.mjs";
16
+ } from "./chunk-D4QG6XOG.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
- } from "./chunk-LSF4BHCI.mjs";
19
+ } from "./chunk-M5Z57CUO.mjs";
20
20
 
21
21
  // src/base/base-generator.ts
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-V5564COA.mjs";
3
+ } from "./chunk-MY3L5HV6.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-SW2AFRXA.mjs";
6
+ } from "./chunk-D4QG6XOG.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-U7JFVMCK.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUXALGSQCjs = require('./chunk-UXALGSQC.js');
3
+ var _chunk334J5IXKjs = require('./chunk-334J5IXK.js');
4
4
 
5
5
 
6
6
 
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
31
31
  ) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
32
32
  return {
33
33
  type: "Cargo.toml",
34
- content: _chunkUXALGSQCjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
34
+ content: _chunk334J5IXKjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
35
35
  };
36
36
  } else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
37
37
  project,
@@ -28,7 +28,6 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
28
28
 
29
29
  // ../config-tools/src/utilities/find-workspace-root.ts
30
30
  var rootFiles = [
31
- "storm-workspace.json",
32
31
  "storm-workspace.json",
33
32
  "storm-workspace.yaml",
34
33
  "storm-workspace.yml",