@storm-software/workspace-tools 1.240.2 → 1.240.4

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 (144) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist/chunk-2AUNU6UA.mjs +32 -0
  4. package/dist/{chunk-WPMFZECR.js → chunk-2GRVQNW3.js} +3 -3
  5. package/dist/{chunk-HCEVPME2.js → chunk-2HD75CLD.js} +11 -11
  6. package/dist/{chunk-QLOTS3MH.mjs → chunk-3SP4ZXOA.mjs} +2 -2
  7. package/dist/{chunk-M47JATRY.mjs → chunk-4BEERAL7.mjs} +4 -4
  8. package/dist/{chunk-XSRDTQ5C.mjs → chunk-5AQJQ72E.mjs} +4 -4
  9. package/dist/{chunk-ZPWY4RXH.js → chunk-5DAZ2WTI.js} +2 -2
  10. package/dist/{chunk-WGNNLNSH.mjs → chunk-5XF4CY7D.mjs} +1 -1
  11. package/dist/{chunk-6TSAUSG4.mjs → chunk-6N67WSX5.mjs} +1 -1
  12. package/dist/{chunk-XS73BPQS.js → chunk-6QSFQS3X.js} +2 -2
  13. package/dist/{chunk-BJAK7EVK.js → chunk-7GKIVRFH.js} +6 -6
  14. package/dist/{chunk-5FEFILUQ.mjs → chunk-7PLUDZNP.mjs} +2 -2
  15. package/dist/{chunk-NYX3ICKR.mjs → chunk-7Q66XSCS.mjs} +2 -2
  16. package/dist/{chunk-RN4QXP7F.js → chunk-B6PUPX6O.js} +27 -27
  17. package/dist/{chunk-XCSSYTCU.js → chunk-BUXJSVJG.js} +11 -5
  18. package/dist/{chunk-M4PPRKPX.mjs → chunk-CFRPLVEU.mjs} +2 -2
  19. package/dist/{chunk-FFBZYD6R.mjs → chunk-CLBFXZQ5.mjs} +1 -1
  20. package/dist/{chunk-PB6J3FU7.js → chunk-D2ECVPJF.js} +2 -2
  21. package/dist/{chunk-TYAPQ46X.js → chunk-EDVXB4EP.js} +28 -20
  22. package/dist/{chunk-Y7RQKDIF.js → chunk-EFPBJWHS.js} +5 -5
  23. package/dist/{chunk-Y5SXJ6IC.mjs → chunk-EUCOXCI2.mjs} +3 -3
  24. package/dist/{chunk-JKJK4ONU.mjs → chunk-GJ6DN3BR.mjs} +3 -3
  25. package/dist/{chunk-33S3ENYB.mjs → chunk-GMC262MH.mjs} +4 -4
  26. package/dist/{chunk-3LJCHADS.js → chunk-GYGIXXAL.js} +5 -5
  27. package/dist/{chunk-NWSV2EYZ.js → chunk-HONSACRT.js} +2 -2
  28. package/dist/{chunk-AJ7WQHX5.mjs → chunk-HXU5ZXAJ.mjs} +1 -1
  29. package/dist/{chunk-CRMDACYF.js → chunk-IBHLVELV.js} +25 -25
  30. package/dist/{chunk-MQAKNE4X.js → chunk-IF2GIONQ.js} +5 -5
  31. package/dist/{chunk-I5N7XQEK.mjs → chunk-IUV3RLT4.mjs} +1 -1
  32. package/dist/{chunk-6NSTM255.js → chunk-JARU6ZVH.js} +41 -41
  33. package/dist/{chunk-2VV3TV3C.js → chunk-JOJ3CZQC.js} +5 -5
  34. package/dist/{chunk-2BQA54CQ.mjs → chunk-K62HB3IT.mjs} +1 -1
  35. package/dist/{chunk-4AOGBZNI.js → chunk-K7QVZAWD.js} +2 -2
  36. package/dist/{chunk-EGBJI6CN.js → chunk-KLHTXAIU.js} +20 -20
  37. package/dist/{chunk-RRQ7WHLD.mjs → chunk-KWIXQ4UN.mjs} +3 -3
  38. package/dist/{chunk-6WRRTV43.js → chunk-L5FYEAAP.js} +62 -62
  39. package/dist/{chunk-762D6XMQ.mjs → chunk-LNDWWYO3.mjs} +2 -2
  40. package/dist/chunk-LUQIF4A3.mjs +73 -0
  41. package/dist/{chunk-MFWYLIWY.mjs → chunk-LYUV4LMB.mjs} +2 -2
  42. package/dist/{chunk-MZ6IF3DO.js → chunk-MMMTLP2W.js} +5 -5
  43. package/dist/{chunk-XID4OBY2.mjs → chunk-N7VQR5KC.mjs} +25 -17
  44. package/dist/{chunk-F7QTSVDJ.mjs → chunk-NJ2QOT34.mjs} +1 -1
  45. package/dist/{chunk-PY52QA2R.js → chunk-PK2SUBWI.js} +7 -7
  46. package/dist/{chunk-FOYWFRVO.mjs → chunk-Q45DDLNL.mjs} +2 -2
  47. package/dist/{chunk-YVJY3MXR.js → chunk-QSLN7UYG.js} +2 -2
  48. package/dist/{chunk-BWFTYFWM.js → chunk-RFO5NMSB.js} +2 -2
  49. package/dist/{chunk-4ZKSU75O.js → chunk-RRWRVA7F.js} +15 -15
  50. package/dist/{chunk-2JLHVV5S.js → chunk-RSILHGEU.js} +21 -21
  51. package/dist/{chunk-SBHOAJIT.js → chunk-RTFFYOEY.js} +5 -5
  52. package/dist/{chunk-JXMDPU4I.mjs → chunk-SNFZL5BN.mjs} +3 -3
  53. package/dist/{chunk-SC3ANGC5.mjs → chunk-T342MIBF.mjs} +3 -3
  54. package/dist/{chunk-7HUOKMPU.mjs → chunk-TGDWEUKX.mjs} +1 -1
  55. package/dist/{chunk-JE4JY3YS.mjs → chunk-U4K5KWKS.mjs} +2 -2
  56. package/dist/{chunk-5MKQX2FE.js → chunk-U6TLQT5H.js} +3 -3
  57. package/dist/chunk-UF6KFXG5.js +73 -0
  58. package/dist/{chunk-BFKQCOQJ.mjs → chunk-UI3SQYV3.mjs} +1 -1
  59. package/dist/{chunk-FBLF4KJF.js → chunk-XHH2IY66.js} +15 -15
  60. package/dist/{chunk-RXH7O5YP.mjs → chunk-XIOF32ZH.mjs} +1 -1
  61. package/dist/{chunk-APBDTIK2.js → chunk-YSYBVJGR.js} +2 -2
  62. package/dist/{chunk-SGSMEZWT.js → chunk-YWKUJJ34.js} +2 -2
  63. package/dist/{chunk-HO2DSAZ2.mjs → chunk-ZERO7WV2.mjs} +1 -1
  64. package/dist/{chunk-DMUTOQCB.mjs → chunk-ZOFW74B2.mjs} +1 -1
  65. package/dist/executors.js +19 -19
  66. package/dist/executors.mjs +18 -18
  67. package/dist/generators.js +15 -15
  68. package/dist/generators.mjs +16 -16
  69. package/dist/index.d.mts +2 -1
  70. package/dist/index.d.ts +2 -1
  71. package/dist/index.js +44 -34
  72. package/dist/index.mjs +53 -43
  73. package/dist/src/base/base-executor.js +6 -6
  74. package/dist/src/base/base-executor.mjs +5 -5
  75. package/dist/src/base/base-generator.js +6 -6
  76. package/dist/src/base/base-generator.mjs +5 -5
  77. package/dist/src/base/index.js +9 -9
  78. package/dist/src/base/index.mjs +8 -8
  79. package/dist/src/executors/cargo-build/executor.js +7 -7
  80. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  81. package/dist/src/executors/cargo-check/executor.js +7 -7
  82. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  83. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  84. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  85. package/dist/src/executors/cargo-doc/executor.js +7 -7
  86. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  87. package/dist/src/executors/cargo-format/executor.js +7 -7
  88. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  89. package/dist/src/executors/clean-package/executor.js +9 -9
  90. package/dist/src/executors/clean-package/executor.mjs +5 -5
  91. package/dist/src/executors/esbuild/executor.js +8 -8
  92. package/dist/src/executors/esbuild/executor.mjs +7 -7
  93. package/dist/src/executors/npm-publish/executor.js +4 -4
  94. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  95. package/dist/src/executors/size-limit/executor.js +7 -7
  96. package/dist/src/executors/size-limit/executor.mjs +6 -6
  97. package/dist/src/executors/tsdown/executor.js +8 -8
  98. package/dist/src/executors/tsdown/executor.mjs +7 -7
  99. package/dist/src/executors/typia/executor.js +7 -7
  100. package/dist/src/executors/typia/executor.mjs +6 -6
  101. package/dist/src/executors/unbuild/executor.js +7 -7
  102. package/dist/src/executors/unbuild/executor.mjs +6 -6
  103. package/dist/src/generators/browser-library/generator.js +9 -9
  104. package/dist/src/generators/browser-library/generator.mjs +8 -8
  105. package/dist/src/generators/config-schema/generator.js +7 -7
  106. package/dist/src/generators/config-schema/generator.mjs +6 -6
  107. package/dist/src/generators/neutral-library/generator.js +9 -9
  108. package/dist/src/generators/neutral-library/generator.mjs +8 -8
  109. package/dist/src/generators/node-library/generator.js +9 -9
  110. package/dist/src/generators/node-library/generator.mjs +8 -8
  111. package/dist/src/generators/preset/generator.js +7 -7
  112. package/dist/src/generators/preset/generator.mjs +6 -6
  113. package/dist/src/generators/release-version/generator.js +5 -5
  114. package/dist/src/generators/release-version/generator.mjs +4 -4
  115. package/dist/src/plugins/typescript/index.js +3 -2
  116. package/dist/src/plugins/typescript/index.mjs +2 -1
  117. package/dist/src/plugins/typescript/project-config.js +3 -2
  118. package/dist/src/plugins/typescript/project-config.mjs +2 -1
  119. package/dist/src/plugins/typescript/tsdown.js +9 -2
  120. package/dist/src/plugins/typescript/tsdown.mjs +9 -2
  121. package/dist/src/plugins/typescript/tsup.js +9 -2
  122. package/dist/src/plugins/typescript/tsup.mjs +9 -2
  123. package/dist/src/utils/apply-workspace-tokens.js +4 -4
  124. package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
  125. package/dist/src/utils/get-project-configurations.js +4 -4
  126. package/dist/src/utils/get-project-configurations.mjs +3 -3
  127. package/dist/src/utils/index.d.mts +2 -1
  128. package/dist/src/utils/index.d.ts +2 -1
  129. package/dist/src/utils/index.js +20 -10
  130. package/dist/src/utils/index.mjs +27 -17
  131. package/dist/src/utils/lock-file.d.mts +1 -1
  132. package/dist/src/utils/lock-file.d.ts +1 -1
  133. package/dist/src/utils/lock-file.js +2 -2
  134. package/dist/src/utils/lock-file.mjs +1 -1
  135. package/dist/src/utils/plugin-helpers.d.mts +9 -0
  136. package/dist/src/utils/plugin-helpers.d.ts +9 -0
  137. package/dist/src/utils/plugin-helpers.js +14 -0
  138. package/dist/src/utils/plugin-helpers.mjs +14 -0
  139. package/dist/src/utils/pnpm-deps-update.js +3 -3
  140. package/dist/src/utils/pnpm-deps-update.mjs +2 -2
  141. package/package.json +2 -7
  142. package/dist/chunk-PVTEDLBL.mjs +0 -26
  143. /package/dist/{chunk-JGP4YWZY.js → chunk-DO2X7OZO.js} +0 -0
  144. /package/dist/{chunk-6YZ3OUJB.mjs → chunk-XCVH63OO.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## 1.240.4 (2025-01-23)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **monorepo:** Resolve issue with invalid Nx Devkit imports ([356d591c](https://github.com/storm-software/storm-ops/commit/356d591c))
6
+
7
+ ## 1.240.3 (2025-01-23)
8
+
9
+ ### Miscellaneous
10
+
11
+ - **monorepo:** Regenerate README markdown files ([64e4e1f3](https://github.com/storm-software/storm-ops/commit/64e4e1f3))
12
+
13
+ ### 🧱 Updated Dependencies
14
+
15
+ - Updated prettier to 0.30.5
16
+ - Updated esbuild to 0.21.7
17
+ - Updated esbuild to 0.21.7
18
+ - Updated unbuild to 0.31.3
19
+ - Updated unbuild to 0.31.3
20
+ - Updated tsdown to 0.22.7
21
+ - Updated tsdown to 0.22.7
22
+
1
23
  ## 1.240.2 (2025-01-23)
2
24
 
3
25
  ### 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.240.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)
24
+ [![Version](https://img.shields.io/badge/version-1.240.3-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 -->
@@ -0,0 +1,32 @@
1
+ import {
2
+ __name
3
+ } from "./chunk-XUV4U54K.mjs";
4
+
5
+ // ../config-tools/src/utilities/correct-paths.ts
6
+ import { join } from "node:path";
7
+ var removeWindowsDriveLetter = /* @__PURE__ */ __name((osSpecificPath) => {
8
+ return osSpecificPath.replace(/^[A-Z]:/, "");
9
+ }, "removeWindowsDriveLetter");
10
+ var correctPaths = /* @__PURE__ */ __name((path) => {
11
+ if (!path) {
12
+ return "";
13
+ }
14
+ if (path.includes("\\")) {
15
+ if (!path.toUpperCase().startsWith("C:")) {
16
+ path = `C:${path}`;
17
+ }
18
+ return path.replaceAll("/", "\\");
19
+ }
20
+ return removeWindowsDriveLetter(path).split("\\").join("/");
21
+ }, "correctPaths");
22
+ var joinPaths = /* @__PURE__ */ __name((...paths) => {
23
+ if (!paths || paths.length === 0) {
24
+ return "";
25
+ }
26
+ return correctPaths(join(...paths));
27
+ }, "joinPaths");
28
+
29
+ export {
30
+ correctPaths,
31
+ joinPaths
32
+ };
@@ -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 _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
3
+ var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.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 = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
16
+ const pnpmWorkspacePath = _chunkBUXJSVJGjs.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 = _chunkXCSSYTCUjs.joinPaths.call(void 0, packageRoot, "package.json");
34
+ const packageJsonPath = _chunkBUXJSVJGjs.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);
@@ -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 _chunkEGBJI6CNjs = require('./chunk-EGBJI6CN.js');
3
+ var _chunkKLHTXAIUjs = require('./chunk-KLHTXAIU.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
9
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
10
10
 
11
11
 
12
- var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
12
+ var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.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
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkRN4QXP7Fjs.StormConfigSchema, {
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, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, jsonSchema, config);
27
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
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);
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
- _chunkRN4QXP7Fjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkB6PUPX6Ojs.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 = _chunkEGBJI6CNjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkKLHTXAIUjs.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,10 +1,10 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-XSRDTQ5C.mjs";
4
+ } from "./chunk-5AQJQ72E.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-JXMDPU4I.mjs";
7
+ } from "./chunk-SNFZL5BN.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-Y5SXJ6IC.mjs";
9
+ } from "./chunk-EUCOXCI2.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-JKJK4ONU.mjs";
12
+ } from "./chunk-GJ6DN3BR.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-NYX3ICKR.mjs";
22
+ } from "./chunk-7Q66XSCS.mjs";
23
23
  import {
24
24
  joinPaths
25
- } from "./chunk-PVTEDLBL.mjs";
25
+ } from "./chunk-2AUNU6UA.mjs";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-XUV4U54K.mjs";
@@ -1,13 +1,13 @@
1
+ import {
2
+ nxVersion
3
+ } from "./chunk-EK75QNMS.mjs";
1
4
  import {
2
5
  ProjectTagConstants,
3
6
  addProjectTag
4
7
  } from "./chunk-66TYTM73.mjs";
5
- import {
6
- nxVersion
7
- } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-PVTEDLBL.mjs";
10
+ } from "./chunk-2AUNU6UA.mjs";
11
11
  import {
12
12
  __name
13
13
  } 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 _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
3
+ var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.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, _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ));
11
+ return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunkU6TLQT5Hjs.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
 
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-JKJK4ONU.mjs";
7
+ } from "./chunk-GJ6DN3BR.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-DMUTOQCB.mjs";
3
+ } from "./chunk-ZOFW74B2.mjs";
4
4
  import {
5
5
  __name
6
6
  } 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 _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
3
+ var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.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]))), () => ( _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ))));
35
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, ))));
36
36
  }
37
37
  return result;
38
38
  }, "applyWorkspaceBaseTokens");
@@ -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 _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
3
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
4
4
 
5
5
 
6
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
6
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
7
7
 
8
8
 
9
- var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
9
+ var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
10
10
 
11
11
 
12
12
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -26,7 +26,7 @@ async function unbuildExecutorFn(options, context, config) {
26
26
  throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
27
27
  }
28
28
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
29
- fsCache: config.skipCache ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
29
+ fsCache: config.skipCache ? false : _chunkBUXJSVJGjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
30
30
  interopDefault: true
31
31
  });
32
32
  const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-RXH7O5YP.mjs";
3
+ } from "./chunk-XIOF32ZH.mjs";
4
4
  import {
5
5
  joinPaths
6
- } from "./chunk-PVTEDLBL.mjs";
6
+ } from "./chunk-2AUNU6UA.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-DMUTOQCB.mjs";
3
+ } from "./chunk-ZOFW74B2.mjs";
4
4
  import {
5
5
  correctPaths,
6
6
  joinPaths
7
- } from "./chunk-PVTEDLBL.mjs";
7
+ } from "./chunk-2AUNU6UA.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,10 +1,10 @@
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 _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
3
+ var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
7
+ var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -244,9 +244,9 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
244
244
  let name = void 0;
245
245
  let namespace = void 0;
246
246
  let repository = void 0;
247
- const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, root);
247
+ const workspaceRoot = _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, root);
248
248
  if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
249
- const file = await _promises.readFile.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
249
+ const file = await _promises.readFile.call(void 0, _chunkBUXJSVJGjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
250
250
  if (file) {
251
251
  const packageJson = JSON.parse(file);
252
252
  if (packageJson.name) {
@@ -511,7 +511,7 @@ var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
511
511
  var _c12 = require('c12');
512
512
 
513
513
  var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
514
- const workspacePath = filePath || _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, filePath);
514
+ const workspacePath = filePath || _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, filePath);
515
515
  const configs = await Promise.all([
516
516
  _c12.loadConfig.call(void 0, {
517
517
  cwd: workspacePath,
@@ -520,7 +520,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
520
520
  envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
521
521
  jitiOptions: {
522
522
  debug: false,
523
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
523
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkBUXJSVJGjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
524
524
  },
525
525
  ...options
526
526
  }),
@@ -531,7 +531,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
531
531
  envName: _optionalChain([fileName, 'optionalAccess', _28 => _28.toUpperCase, 'call', _29 => _29()]),
532
532
  jitiOptions: {
533
533
  debug: false,
534
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
534
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkBUXJSVJGjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
535
535
  },
536
536
  configFile: fileName,
537
537
  ...options
@@ -540,7 +540,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
540
540
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
541
541
  }, "getConfigFileByName");
542
542
  var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
543
- const workspacePath = filePath ? filePath : _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, filePath);
543
+ const workspacePath = filePath ? filePath : _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, filePath);
544
544
  const result = await getConfigFileByName("storm", workspacePath);
545
545
  let config = result.config;
546
546
  const configFile = result.configFile;
@@ -597,15 +597,15 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
597
597
  licensing: process.env[`${prefix}LICENSING`] || void 0,
598
598
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
599
599
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
600
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
601
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
600
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
601
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
602
602
  directories: {
603
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
604
- data: process.env[`${prefix}DATA_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
605
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
606
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
607
- log: process.env[`${prefix}LOG_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
608
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkXCSSYTCUjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
603
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
604
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
605
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
606
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
607
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
608
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkBUXJSVJGjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
609
609
  },
610
610
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
611
611
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -782,31 +782,31 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
782
782
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
783
783
  }
784
784
  if (config.configFile) {
785
- process.env[`${prefix}CONFIG_FILE`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.configFile);
785
+ process.env[`${prefix}CONFIG_FILE`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.configFile);
786
786
  }
787
787
  if (config.workspaceRoot) {
788
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.workspaceRoot);
789
- process.env.NX_WORKSPACE_ROOT = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.workspaceRoot);
790
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.workspaceRoot);
788
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.workspaceRoot);
789
+ process.env.NX_WORKSPACE_ROOT = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.workspaceRoot);
790
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.workspaceRoot);
791
791
  }
792
792
  if (config.directories) {
793
793
  if (!config.skipCache && config.directories.cache) {
794
- process.env[`${prefix}CACHE_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.cache);
794
+ process.env[`${prefix}CACHE_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.cache);
795
795
  }
796
796
  if (config.directories.data) {
797
- process.env[`${prefix}DATA_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.data);
797
+ process.env[`${prefix}DATA_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.data);
798
798
  }
799
799
  if (config.directories.config) {
800
- process.env[`${prefix}CONFIG_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.config);
800
+ process.env[`${prefix}CONFIG_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.config);
801
801
  }
802
802
  if (config.directories.temp) {
803
- process.env[`${prefix}TEMP_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.temp);
803
+ process.env[`${prefix}TEMP_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.temp);
804
804
  }
805
805
  if (config.directories.log) {
806
- process.env[`${prefix}LOG_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.log);
806
+ process.env[`${prefix}LOG_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.log);
807
807
  }
808
808
  if (config.directories.build) {
809
- process.env[`${prefix}BUILD_DIR`] = _chunkXCSSYTCUjs.correctPaths.call(void 0, config.directories.build);
809
+ process.env[`${prefix}BUILD_DIR`] = _chunkBUXJSVJGjs.correctPaths.call(void 0, config.directories.build);
810
810
  }
811
811
  }
812
812
  if (config.skipCache !== void 0) {
@@ -974,7 +974,7 @@ var createStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asy
974
974
  if (!_optionalChain([_static_cache, 'optionalAccess', _54 => _54.data]) || !_optionalChain([_static_cache, 'optionalAccess', _55 => _55.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
975
975
  let _workspaceRoot = workspaceRoot;
976
976
  if (!_workspaceRoot) {
977
- _workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
977
+ _workspaceRoot = _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, );
978
978
  }
979
979
  const configEnv = getConfigEnv();
980
980
  const defaultConfig = await getDefaultConfig(_workspaceRoot);
@@ -3,21 +3,27 @@
3
3
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- var _devkit = require('@nx/devkit');
6
+ var _path = require('path');
7
+ var removeWindowsDriveLetter = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (osSpecificPath) => {
8
+ return osSpecificPath.replace(/^[A-Z]:/, "");
9
+ }, "removeWindowsDriveLetter");
7
10
  var correctPaths = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (path) => {
8
11
  if (!path) {
9
12
  return "";
10
13
  }
11
- if (!path.toUpperCase().startsWith("C:") && path.includes("\\")) {
12
- path = `C:${path}`;
14
+ if (path.includes("\\")) {
15
+ if (!path.toUpperCase().startsWith("C:")) {
16
+ path = `C:${path}`;
17
+ }
18
+ return path.replaceAll("/", "\\");
13
19
  }
14
- return path.replaceAll("\\", "/");
20
+ return removeWindowsDriveLetter(path).split("\\").join("/");
15
21
  }, "correctPaths");
16
22
  var joinPaths = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (...paths) => {
17
23
  if (!paths || paths.length === 0) {
18
24
  return "";
19
25
  }
20
- return correctPaths(_devkit.joinPathFragments.call(void 0, ...paths.map((path) => correctPaths(path))));
26
+ return correctPaths(_path.join.call(void 0, ...paths));
21
27
  }, "joinPaths");
22
28
 
23
29
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-JKJK4ONU.mjs";
3
+ } from "./chunk-GJ6DN3BR.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-NYX3ICKR.mjs";
6
+ } from "./chunk-7Q66XSCS.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-DMUTOQCB.mjs";
3
+ } from "./chunk-ZOFW74B2.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkEGBJI6CNjs = require('./chunk-EGBJI6CN.js');
7
+ var _chunkKLHTXAIUjs = require('./chunk-KLHTXAIU.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkEGBJI6CNjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkKLHTXAIUjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -1,5 +1,8 @@
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 _chunkUF6KFXG5js = require('./chunk-UF6KFXG5.js');
4
+
5
+
3
6
 
4
7
 
5
8
 
@@ -271,34 +274,39 @@ var createNodes = [
271
274
  _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TYPESCRIPT, {
272
275
  overwrite: true
273
276
  });
274
- const types = _optionalChain([(Array.isArray(_optionalChain([tsconfig, 'access', _10 => _10.compilerOptions, 'optionalAccess', _11 => _11.types])) ? tsconfig.compilerOptions.types : []), 'optionalAccess', _12 => _12.map, 'call', _13 => _13((t) => t.toLowerCase())]);
275
- if (types.some((t) => t === "@cloudflare/workers-types") || _optionalChain([packageJson, 'access', _14 => _14.devDependencies, 'optionalAccess', _15 => _15["@cloudflare/workers-types"]]) || _optionalChain([packageJson, 'access', _16 => _16.devDependencies, 'optionalAccess', _17 => _17["wrangler"]])) {
276
- _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER, {
277
- overwrite: true
278
- });
279
- } else if (types.some((t) => t === "node") || _optionalChain([packageJson, 'access', _18 => _18.devDependencies, 'optionalAccess', _19 => _19["@types/node"]])) {
280
- _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE, {
281
- overwrite: false
282
- });
283
- } else if (types.some((t) => t === "dom")) {
284
- _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER, {
285
- overwrite: true
286
- });
287
- } else {
288
- _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
289
- overwrite: false
290
- });
277
+ const platform = _chunkUF6KFXG5js.getProjectPlatform.call(void 0, project);
278
+ switch (platform) {
279
+ case "worker":
280
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER, {
281
+ overwrite: true
282
+ });
283
+ break;
284
+ case "node":
285
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE, {
286
+ overwrite: true
287
+ });
288
+ break;
289
+ case "browser":
290
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER, {
291
+ overwrite: true
292
+ });
293
+ break;
294
+ default:
295
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
296
+ overwrite: true
297
+ });
298
+ break;
291
299
  }
292
300
  _chunk7YRW5HNXjs.setDefaultProjectTags.call(void 0, project, name);
293
- return _optionalChain([project, 'optionalAccess', _20 => _20.name]) ? {
301
+ return _optionalChain([project, 'optionalAccess', _10 => _10.name]) ? {
294
302
  projects: {
295
303
  [project.name]: {
296
304
  ...project,
297
305
  targets,
298
306
  release: {
299
- ..._optionalChain([project, 'optionalAccess', _21 => _21.release]),
307
+ ..._optionalChain([project, 'optionalAccess', _11 => _11.release]),
300
308
  version: {
301
- ..._optionalChain([project, 'optionalAccess', _22 => _22.release, 'optionalAccess', _23 => _23.version]),
309
+ ..._optionalChain([project, 'optionalAccess', _12 => _12.release, 'optionalAccess', _13 => _13.version]),
302
310
  generator: "@storm-software/workspace-tools:release-version"
303
311
  }
304
312
  }