@storm-software/workspace-tools 1.246.0 → 1.246.2

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 (117) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-7Q66XSCS.mjs → chunk-2AKLJNKO.mjs} +2 -2
  4. package/dist/{chunk-6QSFQS3X.js → chunk-34JK7ZOU.js} +2 -2
  5. package/dist/{chunk-CLBFXZQ5.mjs → chunk-3SPGOKCO.mjs} +1 -1
  6. package/dist/{chunk-HXU5ZXAJ.mjs → chunk-4F75KA7J.mjs} +1 -1
  7. package/dist/{chunk-UI3SQYV3.mjs → chunk-4YODDZMS.mjs} +1 -1
  8. package/dist/{chunk-KLHTXAIU.js → chunk-66FRJGIN.js} +20 -20
  9. package/dist/{chunk-U6TLQT5H.js → chunk-6V5GP3U4.js} +3 -3
  10. package/dist/{chunk-5XF4CY7D.mjs → chunk-7QVGAOPQ.mjs} +1 -1
  11. package/dist/{chunk-GJ6DN3BR.mjs → chunk-AQLXZBXJ.mjs} +3 -3
  12. package/dist/{chunk-5DAZ2WTI.js → chunk-AWPP7DRY.js} +2 -2
  13. package/dist/{chunk-IBHLVELV.js → chunk-AY5HELLN.js} +25 -25
  14. package/dist/{chunk-EUCOXCI2.mjs → chunk-BBRVJL4A.mjs} +4 -4
  15. package/dist/{chunk-6627ZZQF.mjs → chunk-BC3QVHAH.mjs} +4 -4
  16. package/dist/{chunk-ZOFW74B2.mjs → chunk-BLG6LLHW.mjs} +1 -1
  17. package/dist/{chunk-HONSACRT.js → chunk-BNYY2WQJ.js} +2 -2
  18. package/dist/{chunk-2HD75CLD.js → chunk-BYLPQCIB.js} +11 -11
  19. package/dist/{chunk-MMMTLP2W.js → chunk-CQAGLRNY.js} +5 -5
  20. package/dist/{chunk-2GRVQNW3.js → chunk-CUPARBOS.js} +3 -3
  21. package/dist/{chunk-RAVLTWJV.js → chunk-ECSCURQQ.js} +13 -13
  22. package/dist/{chunk-D2ECVPJF.js → chunk-EIL3PQQL.js} +2 -2
  23. package/dist/{chunk-XIOF32ZH.mjs → chunk-FBIVTCSJ.mjs} +1 -1
  24. package/dist/{chunk-RRWRVA7F.js → chunk-FDPZRNKZ.js} +15 -15
  25. package/dist/{chunk-RSILHGEU.js → chunk-G3AMYMML.js} +22 -22
  26. package/dist/{chunk-SNFZL5BN.mjs → chunk-GQ6ZBQ6I.mjs} +3 -3
  27. package/dist/{chunk-RFO5NMSB.js → chunk-H5XURNDS.js} +2 -2
  28. package/dist/{chunk-Q45DDLNL.mjs → chunk-HK26KBWU.mjs} +2 -2
  29. package/dist/{chunk-TGDWEUKX.mjs → chunk-I6BCQJPP.mjs} +1 -1
  30. package/dist/{chunk-IUV3RLT4.mjs → chunk-IPMZQTRA.mjs} +1 -1
  31. package/dist/{chunk-YWKUJJ34.js → chunk-ITL2GPJB.js} +2 -2
  32. package/dist/chunk-JTAXCQX6.js +135 -0
  33. package/dist/{chunk-RLGZCVPW.mjs → chunk-KPKHTJWT.mjs} +3 -3
  34. package/dist/{chunk-PKBHUBDV.mjs → chunk-KV7YB4MU.mjs} +1 -1
  35. package/dist/{chunk-PCPEJBLO.js → chunk-LZNWOO4B.js} +7 -7
  36. package/dist/{chunk-YSYBVJGR.js → chunk-N3WLDHSN.js} +2 -2
  37. package/dist/chunk-NCFX2MWO.mjs +135 -0
  38. package/dist/{chunk-LYUV4LMB.mjs → chunk-O3ZLX7S5.mjs} +2 -2
  39. package/dist/{chunk-IF2GIONQ.js → chunk-P4ALYDGC.js} +5 -5
  40. package/dist/{chunk-C3YSVZWO.js → chunk-Q2DU6KGV.js} +7 -7
  41. package/dist/{chunk-T2NTGJ6O.mjs → chunk-Q47LFUGL.mjs} +3 -3
  42. package/dist/{chunk-6N67WSX5.mjs → chunk-R7VJ7ZHV.mjs} +1 -1
  43. package/dist/{chunk-GYGIXXAL.js → chunk-RWDBQOGV.js} +5 -5
  44. package/dist/{chunk-C2REXPET.mjs → chunk-SLCOHXD3.mjs} +1 -1
  45. package/dist/{chunk-KWIXQ4UN.mjs → chunk-TBQLIKD4.mjs} +3 -3
  46. package/dist/{chunk-INEO4WKL.mjs → chunk-TJ6WVBYM.mjs} +3 -3
  47. package/dist/{chunk-6ZRK5I4N.js → chunk-U3TVR7B3.js} +7 -7
  48. package/dist/{chunk-UHNTJRTW.mjs → chunk-U4AQXXXF.mjs} +3 -3
  49. package/dist/{chunk-FZUZUTKX.js → chunk-U7TEDNQF.js} +41 -41
  50. package/dist/{chunk-K62HB3IT.mjs → chunk-WCIY3TEF.mjs} +1 -1
  51. package/dist/{chunk-YFERQMWX.js → chunk-WPYYDD5F.js} +2 -2
  52. package/dist/{chunk-7PLUDZNP.mjs → chunk-X7XA6QPV.mjs} +2 -2
  53. package/dist/{chunk-CFRPLVEU.mjs → chunk-XI4BWTXX.mjs} +2 -2
  54. package/dist/{chunk-GDE7VBWW.js → chunk-Z6E637KA.js} +62 -62
  55. package/dist/{chunk-M7ZE5SMZ.js → chunk-ZAE2P6GK.js} +7 -7
  56. package/dist/{chunk-SBCLCF4E.mjs → chunk-ZKWGOANM.mjs} +4 -4
  57. package/dist/{chunk-B6PUPX6O.js → chunk-ZQPK5G4U.js} +27 -27
  58. package/dist/{chunk-QSLN7UYG.js → chunk-ZVP6NBMF.js} +2 -2
  59. package/dist/executors.js +19 -19
  60. package/dist/executors.mjs +20 -20
  61. package/dist/generators.js +13 -13
  62. package/dist/generators.mjs +12 -12
  63. package/dist/index.js +29 -29
  64. package/dist/index.mjs +30 -30
  65. package/dist/src/base/base-executor.js +6 -6
  66. package/dist/src/base/base-executor.mjs +5 -5
  67. package/dist/src/base/base-generator.js +6 -6
  68. package/dist/src/base/base-generator.mjs +5 -5
  69. package/dist/src/base/index.js +8 -8
  70. package/dist/src/base/index.mjs +7 -7
  71. package/dist/src/executors/cargo-build/executor.js +7 -7
  72. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  73. package/dist/src/executors/cargo-check/executor.js +7 -7
  74. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  75. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  76. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  77. package/dist/src/executors/cargo-doc/executor.js +7 -7
  78. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  79. package/dist/src/executors/cargo-format/executor.js +7 -7
  80. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  81. package/dist/src/executors/clean-package/executor.js +9 -9
  82. package/dist/src/executors/clean-package/executor.mjs +5 -5
  83. package/dist/src/executors/esbuild/executor.js +8 -8
  84. package/dist/src/executors/esbuild/executor.mjs +7 -7
  85. package/dist/src/executors/npm-publish/executor.js +4 -4
  86. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  87. package/dist/src/executors/size-limit/executor.js +7 -7
  88. package/dist/src/executors/size-limit/executor.mjs +6 -6
  89. package/dist/src/executors/tsdown/executor.js +8 -8
  90. package/dist/src/executors/tsdown/executor.mjs +7 -7
  91. package/dist/src/executors/typia/executor.js +7 -7
  92. package/dist/src/executors/typia/executor.mjs +6 -6
  93. package/dist/src/executors/unbuild/executor.js +7 -7
  94. package/dist/src/executors/unbuild/executor.mjs +6 -6
  95. package/dist/src/generators/browser-library/generator.js +8 -8
  96. package/dist/src/generators/browser-library/generator.mjs +7 -7
  97. package/dist/src/generators/config-schema/generator.js +7 -7
  98. package/dist/src/generators/config-schema/generator.mjs +6 -6
  99. package/dist/src/generators/neutral-library/generator.js +8 -8
  100. package/dist/src/generators/neutral-library/generator.mjs +7 -7
  101. package/dist/src/generators/node-library/generator.js +8 -8
  102. package/dist/src/generators/node-library/generator.mjs +7 -7
  103. package/dist/src/generators/preset/generator.js +7 -7
  104. package/dist/src/generators/preset/generator.mjs +6 -6
  105. package/dist/src/generators/release-version/generator.js +5 -5
  106. package/dist/src/generators/release-version/generator.mjs +4 -4
  107. package/dist/src/utils/apply-workspace-tokens.js +4 -4
  108. package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
  109. package/dist/src/utils/get-project-configurations.js +4 -4
  110. package/dist/src/utils/get-project-configurations.mjs +3 -3
  111. package/dist/src/utils/index.js +6 -6
  112. package/dist/src/utils/index.mjs +5 -5
  113. package/dist/src/utils/pnpm-deps-update.js +3 -3
  114. package/dist/src/utils/pnpm-deps-update.mjs +2 -2
  115. package/package.json +1 -1
  116. package/dist/chunk-2AUNU6UA.mjs +0 -32
  117. package/dist/chunk-BUXJSVJG.js +0 -32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 1.246.2 (2025-01-29)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **config-tools:** Resolved issue with correct path helpers ([4102104a](https://github.com/storm-software/storm-ops/commit/4102104a))
6
+ - **config-tools:** Resolved issue with `joinPaths` for relative directories ([9a083175](https://github.com/storm-software/storm-ops/commit/9a083175))
7
+
8
+ ### Miscellaneous
9
+
10
+ - **monorepo:** Regenerate README markdown files ([2eb0a4f0](https://github.com/storm-software/storm-ops/commit/2eb0a4f0))
11
+ - **monorepo:** Regenerate README markdown files ([da76edd7](https://github.com/storm-software/storm-ops/commit/da76edd7))
12
+
13
+ ## 1.246.1 (2025-01-29)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **unbuild:** Adjust the output path to handle nested directories correctly ([4fa95fe0](https://github.com/storm-software/storm-ops/commit/4fa95fe0))
18
+
1
19
  ## 1.246.0 (2025-01-29)
2
20
 
3
21
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.245.7-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.246.1-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
  findWorkspaceRoot
3
- } from "./chunk-ZOFW74B2.mjs";
3
+ } from "./chunk-BLG6LLHW.mjs";
4
4
  import {
5
5
  correctPaths,
6
6
  joinPaths
7
- } from "./chunk-2AUNU6UA.mjs";
7
+ } from "./chunk-NCFX2MWO.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.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 _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
3
+ var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -32,7 +32,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
32
32
  }
33
33
  }
34
34
  if (result.includes("{workspaceRoot}")) {
35
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, ))));
35
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))));
36
36
  }
37
37
  return result;
38
38
  }, "applyWorkspaceBaseTokens");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-ZOFW74B2.mjs";
3
+ } from "./chunk-BLG6LLHW.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-GJ6DN3BR.mjs";
7
+ } from "./chunk-AQLXZBXJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-GJ6DN3BR.mjs";
7
+ } from "./chunk-AQLXZBXJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
4
+ var _chunk34JK7ZOUjs = require('./chunk-34JK7ZOU.js');
5
5
 
6
6
 
7
7
 
@@ -11,10 +11,10 @@ var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
14
+ var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
15
15
 
16
16
 
17
- var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
17
+ var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
18
18
 
19
19
 
20
20
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkB6PUPX6Ojs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
- const workspaceRoot = _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, );
33
+ const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkB6PUPX6Ojs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
- const tokenized = await _chunk6QSFQS3Xjs.applyWorkspaceTokens.call(void 0, options, {
46
+ const tokenized = await _chunk34JK7ZOUjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
- }, _chunk6QSFQS3Xjs.applyWorkspaceBaseTokens);
49
+ }, _chunk34JK7ZOUjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkB6PUPX6Ojs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkZQPK5G4Ujs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkB6PUPX6Ojs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkB6PUPX6Ojs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkZQPK5G4Ujs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkZQPK5G4Ujs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -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(); } }
2
2
 
3
- var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
3
+ var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -61,9 +61,9 @@ var rootFiles = [
61
61
  ];
62
62
  function findWorkspaceRootSafe(pathInsideMonorepo) {
63
63
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
64
- return _chunkBUXJSVJGjs.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
64
+ return _chunkJTAXCQX6js.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
65
65
  }
66
- return _chunkBUXJSVJGjs.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
66
+ return _chunkJTAXCQX6js.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
67
67
  }
68
68
  _chunk3GQAWCBQjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
69
69
  function findWorkspaceRoot(pathInsideMonorepo) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-GJ6DN3BR.mjs";
7
+ } from "./chunk-AQLXZBXJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-K62HB3IT.mjs";
4
+ } from "./chunk-WCIY3TEF.mjs";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getConfig,
@@ -12,10 +12,10 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-7Q66XSCS.mjs";
15
+ } from "./chunk-2AKLJNKO.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
- } from "./chunk-ZOFW74B2.mjs";
18
+ } from "./chunk-BLG6LLHW.mjs";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-XUV4U54K.mjs";
@@ -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 _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
3
+ var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.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, _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, ));
11
+ return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunk6V5GP3U4js.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
  "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
3
 
4
- var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
4
+ var _chunk34JK7ZOUjs = require('./chunk-34JK7ZOU.js');
5
5
 
6
6
 
7
7
 
@@ -12,10 +12,10 @@ var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
15
+ var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
16
16
 
17
17
 
18
- var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
18
+ var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
19
19
 
20
20
 
21
21
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -23,52 +23,52 @@ 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 = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
30
30
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
31
31
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
32
32
  }
33
- const workspaceRoot = _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, );
33
+ const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
34
34
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunkB6PUPX6Ojs.writeInfo.call(void 0, `
38
+ _chunkZQPK5G4Ujs.writeInfo.call(void 0, `
39
39
  \u26A1 Running the ${name} executor for ${projectName}
40
40
  `, config);
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunkB6PUPX6Ojs.getConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
51
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
- ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, options)}
55
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
+ ${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, options)}
57
57
  `, config);
58
- const tokenized = await _chunk6QSFQS3Xjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
58
+ const tokenized = await _chunk34JK7ZOUjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
59
59
  workspaceRoot,
60
60
  projectRoot,
61
61
  sourceRoot,
62
62
  projectName,
63
63
  config
64
- }, config, context.projectsConfigurations.projects[context.projectName]), _chunk6QSFQS3Xjs.applyWorkspaceProjectTokens);
65
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
- ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, tokenized)}
64
+ }, config, context.projectsConfigurations.projects[context.projectName]), _chunk34JK7ZOUjs.applyWorkspaceProjectTokens);
65
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
+ ${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, tokenized)}
67
67
  `, config);
68
68
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
69
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the preProcess hook...", config);
69
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the preProcess hook...", config);
70
70
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
71
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the preProcess hook", config);
71
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the preProcess hook", config);
72
72
  }
73
73
  const ret = executorFn(tokenized, context, config);
74
74
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -78,26 +78,26 @@ ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, tokenized)}
78
78
  }
79
79
  const result = await Promise.resolve(ret);
80
80
  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")) {
81
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
- ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, result)}`, config);
81
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
+ ${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, result)}`, config);
83
83
  console.error(result);
84
84
  throw new Error(`The ${name} executor failed to run`, {
85
85
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
86
86
  });
87
87
  }
88
88
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
89
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the postProcess hook...", config);
89
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the postProcess hook...", config);
90
90
  await Promise.resolve(executorOptions.hooks.postProcess(config));
91
- _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the postProcess hook", config);
91
+ _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the postProcess hook", config);
92
92
  }
93
- _chunkB6PUPX6Ojs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
93
+ _chunkZQPK5G4Ujs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
94
94
  `, config);
95
95
  return {
96
96
  success: true
97
97
  };
98
98
  } catch (error) {
99
- _chunkB6PUPX6Ojs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
- _chunkB6PUPX6Ojs.writeError.call(void 0, `An exception was thrown in the executor's process
99
+ _chunkZQPK5G4Ujs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
+ _chunkZQPK5G4Ujs.writeError.call(void 0, `An exception was thrown in the executor's process
101
101
  - Details: ${error.message}
102
102
  - Stacktrace: ${error.stack}`, config);
103
103
  return {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-7Q66XSCS.mjs";
4
+ } from "./chunk-2AKLJNKO.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
- } from "./chunk-ZOFW74B2.mjs";
7
+ } from "./chunk-BLG6LLHW.mjs";
8
8
  import {
9
9
  correctPaths,
10
10
  joinPaths
11
- } from "./chunk-2AUNU6UA.mjs";
11
+ } from "./chunk-NCFX2MWO.mjs";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-XUV4U54K.mjs";
@@ -95,7 +95,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
95
95
  if (existsSync(projectPackageJsonPath)) {
96
96
  const projectPackageJsonContent = await readFile2(projectPackageJsonPath, "utf8");
97
97
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
98
- if (projectPackageJson.private !== false) {
98
+ if (projectPackageJson.private !== true) {
99
99
  localPackages.push(projectPackageJson);
100
100
  }
101
101
  }
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-EUCOXCI2.mjs";
9
+ } from "./chunk-BBRVJL4A.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-GJ6DN3BR.mjs";
12
+ } from "./chunk-AQLXZBXJ.mjs";
13
13
  import {
14
14
  getConfig,
15
15
  getStopwatch,
@@ -19,10 +19,10 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-7Q66XSCS.mjs";
22
+ } from "./chunk-2AKLJNKO.mjs";
23
23
  import {
24
24
  joinPaths
25
- } from "./chunk-2AUNU6UA.mjs";
25
+ } from "./chunk-NCFX2MWO.mjs";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  correctPaths
3
- } from "./chunk-2AUNU6UA.mjs";
3
+ } from "./chunk-NCFX2MWO.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
7
+ var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,15 +1,15 @@
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 _chunkKLHTXAIUjs = require('./chunk-KLHTXAIU.js');
3
+ var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
9
+ var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
10
10
 
11
11
 
12
- var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
12
+ var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
13
13
 
14
14
 
15
15
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.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
- _chunkB6PUPX6Ojs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkB6PUPX6Ojs.StormConfigSchema, {
21
+ _chunkZQPK5G4Ujs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkZQPK5G4Ujs.StormConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, jsonSchema, config);
27
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkB6PUPX6Ojs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
26
+ _chunkZQPK5G4Ujs.writeTrace.call(void 0, jsonSchema, config);
27
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
+ _chunkZQPK5G4Ujs.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
- _chunkB6PUPX6Ojs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkZQPK5G4Ujs.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 = _chunkKLHTXAIUjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunk66FRJGINjs.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,9 +1,9 @@
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 _chunk2GRVQNW3js = require('./chunk-2GRVQNW3.js');
3
+ var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
4
4
 
5
5
 
6
- var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
6
+ var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -21,8 +21,8 @@ async function npmPublishExecutorFn(options, context) {
21
21
  if (!projectConfig) {
22
22
  throw new Error(`Could not find project configuration for \`${context.projectName}\``);
23
23
  }
24
- const packageRoot = _chunkBUXJSVJGjs.joinPaths.call(void 0, context.root, options.packageRoot || _chunkBUXJSVJGjs.joinPaths.call(void 0, "dist", projectConfig.root));
25
- const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, packageRoot, "package.json");
24
+ const packageRoot = _chunkJTAXCQX6js.joinPaths.call(void 0, context.root, options.packageRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectConfig.root));
25
+ const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, packageRoot, "package.json");
26
26
  const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
27
27
  if (!packageJsonFile) {
28
28
  throw new Error(`Could not find \`package.json\` at ${packageJsonPath}`);
@@ -37,7 +37,7 @@ async function npmPublishExecutorFn(options, context) {
37
37
  success: true
38
38
  };
39
39
  }
40
- await _chunk2GRVQNW3js.pnpmCatalogUpdate.call(void 0, packageRoot, context.root);
40
+ await _chunkCUPARBOSjs.pnpmCatalogUpdate.call(void 0, packageRoot, context.root);
41
41
  const npmPublishCommandSegments = [
42
42
  `npm publish --json`
43
43
  ];
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
3
+ var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,7 +13,7 @@ var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequ
13
13
  var pnpmCatalog;
14
14
  async function pnpmCatalogUpdate(packageRoot, workspaceRoot = process.cwd()) {
15
15
  if (!pnpmCatalog) {
16
- const pnpmWorkspacePath = _chunkBUXJSVJGjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
16
+ const pnpmWorkspacePath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
17
17
  if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
18
18
  console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${pnpmWorkspacePath}). Skipping pnpm catalog read for now.`);
19
19
  return;
@@ -31,7 +31,7 @@ File contents: ${pnpmWorkspaceYaml ? JSON.stringify(pnpmWorkspaceYaml) : "EMPTY
31
31
  if (!pnpmCatalog) {
32
32
  console.warn(`No pnpm catalog found. Attempting to read from workspace root's \`pnpm-workspace.yaml\` file.`);
33
33
  }
34
- const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, packageRoot, "package.json");
34
+ const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, packageRoot, "package.json");
35
35
  const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
36
36
  if (!packageJsonFile) {
37
37
  throw new Error("No package.json file found in package root: " + packageRoot);