@storm-software/workspace-tools 1.277.16 → 1.277.18

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 (85) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-3EEJOZ2Y.mjs → chunk-2U4K6V4S.mjs} +2 -2
  4. package/dist/{chunk-2C2EGKAT.js → chunk-37O7Q4GB.js} +2 -2
  5. package/dist/{chunk-ZHVQ2WZL.mjs → chunk-57ESEBPQ.mjs} +1 -1
  6. package/dist/{chunk-N4LYIYAN.js → chunk-5PPUFUZY.js} +2 -2
  7. package/dist/{chunk-74JVJR6U.mjs → chunk-5RVV3UCN.mjs} +1 -1
  8. package/dist/{chunk-IC4FYR5F.mjs → chunk-6FNSH4S6.mjs} +18 -6
  9. package/dist/{chunk-OF4UEJXH.mjs → chunk-ABJV454E.mjs} +1 -1
  10. package/dist/{chunk-CGTCYUIA.js → chunk-ASBMIJKK.js} +2 -2
  11. package/dist/{chunk-VOVKD5R6.js → chunk-B2N7XO5R.js} +2 -2
  12. package/dist/{chunk-F2EU6PBT.js → chunk-B4NM4LMY.js} +2 -2
  13. package/dist/{chunk-F6QSJFLB.js → chunk-BAQ35HAO.js} +2 -2
  14. package/dist/{chunk-2AGFMUUJ.js → chunk-BC35AB24.js} +2 -2
  15. package/dist/{chunk-WAHSPZW5.mjs → chunk-BMAP2AF2.mjs} +1 -1
  16. package/dist/{chunk-MDW7CA4E.mjs → chunk-DHEESBVJ.mjs} +1 -1
  17. package/dist/{chunk-6YBMXMDQ.mjs → chunk-HANHFSP2.mjs} +1 -1
  18. package/dist/{chunk-YJ4K7MUE.mjs → chunk-HEYWM5Q2.mjs} +1 -1
  19. package/dist/{chunk-XWTCQSBX.js → chunk-ISP24ZHM.js} +2 -2
  20. package/dist/{chunk-3GOCGWOM.mjs → chunk-K42Q73P3.mjs} +1 -1
  21. package/dist/{chunk-UPA3MUDB.mjs → chunk-KG7ATZPN.mjs} +1 -1
  22. package/dist/{chunk-4WSVXYPW.js → chunk-LGHOB3Q6.js} +4 -4
  23. package/dist/{chunk-HLBNH7SA.mjs → chunk-MIAQLIH6.mjs} +1 -1
  24. package/dist/{chunk-LQLTWIHR.mjs → chunk-NIMS6SVG.mjs} +1 -1
  25. package/dist/{chunk-SWBITKD4.js → chunk-OUVRTZVC.js} +2 -2
  26. package/dist/{chunk-EF52H7XC.js → chunk-P3Q5VKHE.js} +2 -2
  27. package/dist/{chunk-6PGLF7R4.mjs → chunk-PFKAZNZP.mjs} +1 -1
  28. package/dist/{chunk-MUMTCFYZ.mjs → chunk-RTEDOBRD.mjs} +1 -1
  29. package/dist/{chunk-CF2C7VYS.js → chunk-SP4NFWPN.js} +2 -2
  30. package/dist/{chunk-BCW36SJU.js → chunk-UCHPJ6AF.js} +2 -2
  31. package/dist/{chunk-IHOUSCN6.js → chunk-UFHLMEML.js} +2 -2
  32. package/dist/{chunk-XITRSZMQ.js → chunk-ULYJITXE.js} +2 -2
  33. package/dist/{chunk-OTAR3N7L.js → chunk-WI2PL3RY.js} +18 -6
  34. package/dist/{chunk-UIVPDMY2.mjs → chunk-WSWM5Z6C.mjs} +1 -1
  35. package/dist/{chunk-FMNVIINX.mjs → chunk-XBQ5LKO5.mjs} +1 -1
  36. package/dist/{chunk-XBI7U5XT.js → chunk-YR6EFP73.js} +2 -2
  37. package/dist/{chunk-RSONIOSF.mjs → chunk-Z6Y3BAAO.mjs} +1 -1
  38. package/dist/{chunk-CLS52NMH.js → chunk-ZTSF4CAE.js} +2 -2
  39. package/dist/executors.js +14 -14
  40. package/dist/executors.mjs +13 -13
  41. package/dist/generators.js +9 -9
  42. package/dist/generators.mjs +8 -8
  43. package/dist/index.js +31 -31
  44. package/dist/index.mjs +33 -33
  45. package/dist/src/base/base-executor.js +3 -3
  46. package/dist/src/base/base-executor.mjs +2 -2
  47. package/dist/src/base/base-generator.js +3 -3
  48. package/dist/src/base/base-generator.mjs +2 -2
  49. package/dist/src/base/index.js +7 -7
  50. package/dist/src/base/index.mjs +6 -6
  51. package/dist/src/executors/cargo-build/executor.js +4 -4
  52. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  53. package/dist/src/executors/cargo-check/executor.js +4 -4
  54. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  55. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  56. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-doc/executor.js +4 -4
  58. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-format/executor.js +4 -4
  60. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  61. package/dist/src/executors/clean-package/executor.js +3 -3
  62. package/dist/src/executors/clean-package/executor.mjs +2 -2
  63. package/dist/src/executors/esbuild/executor.js +4 -4
  64. package/dist/src/executors/esbuild/executor.mjs +3 -3
  65. package/dist/src/executors/size-limit/executor.js +4 -4
  66. package/dist/src/executors/size-limit/executor.mjs +3 -3
  67. package/dist/src/executors/typia/executor.js +4 -4
  68. package/dist/src/executors/typia/executor.mjs +3 -3
  69. package/dist/src/executors/unbuild/executor.js +4 -4
  70. package/dist/src/executors/unbuild/executor.mjs +3 -3
  71. package/dist/src/generators/browser-library/generator.js +4 -4
  72. package/dist/src/generators/browser-library/generator.mjs +3 -3
  73. package/dist/src/generators/config-schema/generator.js +4 -4
  74. package/dist/src/generators/config-schema/generator.mjs +3 -3
  75. package/dist/src/generators/neutral-library/generator.js +4 -4
  76. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  77. package/dist/src/generators/node-library/generator.js +4 -4
  78. package/dist/src/generators/node-library/generator.mjs +3 -3
  79. package/dist/src/generators/preset/generator.js +4 -4
  80. package/dist/src/generators/preset/generator.mjs +3 -3
  81. package/dist/src/generators/release-version/generator.js +3 -3
  82. package/dist/src/generators/release-version/generator.mjs +2 -2
  83. package/dist/src/utils/index.js +6 -6
  84. package/dist/src/utils/index.mjs +10 -10
  85. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.277.17](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.17) (2025-07-09)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([e14a6ded1](https://github.com/storm-software/storm-ops/commit/e14a6ded1))
11
+ - **monorepo:** Regenerate README markdown files
12
+ ([5c75c1280](https://github.com/storm-software/storm-ops/commit/5c75c1280))
13
+
14
+ ### Updated Dependencies
15
+
16
+ - Updated esbuild to 0.45.30
17
+ - Updated unbuild to 0.49.41
18
+
19
+ ## [1.277.16](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.16) (2025-07-08)
20
+
21
+ ### Miscellaneous
22
+
23
+ - **monorepo:** Update workspace package links
24
+ ([aabde5749](https://github.com/storm-software/storm-ops/commit/aabde5749))
25
+ - **monorepo:** Update README markdown files
26
+ ([a201e9178](https://github.com/storm-software/storm-ops/commit/a201e9178))
27
+
28
+ ### Updated Dependencies
29
+
30
+ - Updated prettier to 0.51.43
31
+ - Updated esbuild to 0.45.29
32
+ - Updated unbuild to 0.49.40
33
+
5
34
  ## [1.277.15](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.15) (2025-07-08)
6
35
 
7
36
  ### 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.277.14-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.16-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,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-PFKAZNZP.mjs";
4
4
  import {
5
5
  getWorkspaceConfig
6
- } from "./chunk-IC4FYR5F.mjs";
6
+ } from "./chunk-6FNSH4S6.mjs";
7
7
  import {
8
8
  formatLogMessage,
9
9
  getStopwatch,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
3
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
4
4
 
5
5
 
6
6
  var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
27
27
  success: true
28
28
  };
29
29
  }
30
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
30
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-4FSINBV3.mjs";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-IC4FYR5F.mjs";
9
+ } from "./chunk-6FNSH4S6.mjs";
10
10
  import {
11
11
  getStopwatch,
12
12
  writeDebug,
@@ -7,7 +7,7 @@ var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkSWBITKD4js = require('./chunk-SWBITKD4.js');
10
+ var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.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 = _chunkSWBITKD4js.withRunGenerator.call(void 0,
62
+ var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-PFKAZNZP.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -652,12 +652,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
652
652
  }
653
653
  }
654
654
  const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
655
- result = applyDefaultConfig(
656
- await stormWorkspaceConfigSchema.parseAsync(
657
- defu2(configEnv, configFile, defaultConfig)
658
- )
659
- );
660
- result.workspaceRoot ??= _workspaceRoot;
655
+ const configInput = defu2(configEnv, configFile, defaultConfig);
656
+ try {
657
+ result = applyDefaultConfig(
658
+ await stormWorkspaceConfigSchema.parseAsync(configInput)
659
+ );
660
+ result.workspaceRoot ??= _workspaceRoot;
661
+ } catch (error) {
662
+ throw new Error(
663
+ `Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
664
+
665
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
666
+ configInput
667
+ )}`,
668
+ {
669
+ cause: error
670
+ }
671
+ );
672
+ }
661
673
  } else {
662
674
  result = _static_cache.data;
663
675
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-X6PHOMFB.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-IC4FYR5F.mjs";
7
+ } from "./chunk-6FNSH4S6.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -6,7 +6,7 @@
6
6
  var _chunkL3U7C6IXjs = require('./chunk-L3U7C6IX.js');
7
7
 
8
8
 
9
- var _chunkOTAR3N7Ljs = require('./chunk-OTAR3N7L.js');
9
+ var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
10
10
 
11
11
 
12
12
 
@@ -266,7 +266,7 @@ async function releaseVersionGeneratorFn(tree, options, config) {
266
266
  - workspaceRoot: ${workspaceRoot}`,
267
267
  config
268
268
  );
269
- config = await _chunkOTAR3N7Ljs.getConfig.call(void 0, workspaceRoot);
269
+ config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
270
270
  _chunk64SHSYARjs.writeTrace.call(void 0,
271
271
  `Generator schema options \u2699\uFE0F
272
272
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
7
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
5
5
 
6
6
 
7
- var _chunkSWBITKD4js = require('./chunk-SWBITKD4.js');
7
+ var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunkSWBITKD4js.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkSWBITKD4js = require('./chunk-SWBITKD4.js');
3
+ var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
4
4
 
5
5
 
6
6
 
@@ -53,7 +53,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
53
53
  success: true
54
54
  };
55
55
  }
56
- var generator_default = _chunkSWBITKD4js.withRunGenerator.call(void 0,
56
+ var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
57
57
  "Configuration Schema Creator",
58
58
  configSchemaGeneratorFn,
59
59
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
5
5
 
6
6
 
7
- var _chunkSWBITKD4js = require('./chunk-SWBITKD4.js');
7
+ var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
57
- var generator_default = _chunkSWBITKD4js.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-OF4UEJXH.mjs";
7
+ } from "./chunk-ABJV454E.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-PFKAZNZP.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-OF4UEJXH.mjs";
3
+ } from "./chunk-ABJV454E.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-PFKAZNZP.mjs";
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
@@ -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 _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
3
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
4
4
 
5
5
 
6
6
  var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
33
33
  success: true
34
34
  };
35
35
  }
36
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
36
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-OF4UEJXH.mjs";
10
+ } from "./chunk-ABJV454E.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-U7JFVMCK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-PFKAZNZP.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
3
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
4
4
 
5
5
 
6
- var _chunkOTAR3N7Ljs = require('./chunk-OTAR3N7L.js');
6
+ var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
7
7
 
8
8
 
9
9
 
@@ -390,7 +390,7 @@ async function resolveContext(userOptions) {
390
390
  if (!workspaceRoot) {
391
391
  throw new Error("Cannot find Nx workspace root");
392
392
  }
393
- const workspaceConfig = await _chunkOTAR3N7Ljs.getWorkspaceConfig.call(void 0, true, {
393
+ const workspaceConfig = await _chunkWI2PL3RYjs.getWorkspaceConfig.call(void 0, true, {
394
394
  workspaceRoot: workspaceRoot.dir
395
395
  });
396
396
  _chunk64SHSYARjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
@@ -812,7 +812,7 @@ async function esbuildExecutorFn(options, context, config) {
812
812
  success: true
813
813
  };
814
814
  }
815
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
815
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
816
816
  "Storm ESBuild build",
817
817
  esbuildExecutorFn,
818
818
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-OF4UEJXH.mjs";
7
+ } from "./chunk-ABJV454E.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-PFKAZNZP.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
5
5
 
6
6
 
7
- var _chunkOTAR3N7Ljs = require('./chunk-OTAR3N7L.js');
7
+ var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
8
8
 
9
9
 
10
10
 
@@ -36,7 +36,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunkOTAR3N7Ljs.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
42
  _chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -4,7 +4,7 @@
4
4
  var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
5
5
 
6
6
 
7
- var _chunkOTAR3N7Ljs = require('./chunk-OTAR3N7L.js');
7
+ var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
8
8
 
9
9
 
10
10
 
@@ -47,7 +47,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkOTAR3N7Ljs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
53
  _chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-X6PHOMFB.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-IC4FYR5F.mjs";
7
+ } from "./chunk-6FNSH4S6.mjs";
8
8
  import {
9
9
  formatLogMessage,
10
10
  getStopwatch,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-PFKAZNZP.mjs";
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
@@ -4,7 +4,7 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
7
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.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 = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
17
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
18
18
  "Cargo - Doc",
19
19
  cargoDocExecutor,
20
20
  {
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
7
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -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 _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
3
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
4
4
 
5
5
 
6
6
  var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
7
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.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 = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -652,12 +652,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
652
652
  }
653
653
  }
654
654
  const defaultConfig = await _chunk64SHSYARjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
655
- result = _chunk64SHSYARjs.applyDefaultConfig.call(void 0,
656
- await _chunk64SHSYARjs.stormWorkspaceConfigSchema.parseAsync(
657
- _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
658
- )
659
- );
660
- result.workspaceRoot ??= _workspaceRoot;
655
+ const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
656
+ try {
657
+ result = _chunk64SHSYARjs.applyDefaultConfig.call(void 0,
658
+ await _chunk64SHSYARjs.stormWorkspaceConfigSchema.parseAsync(configInput)
659
+ );
660
+ result.workspaceRoot ??= _workspaceRoot;
661
+ } catch (error) {
662
+ throw new Error(
663
+ `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
664
+
665
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk64SHSYARjs.formatLogMessage.call(void 0,
666
+ configInput
667
+ )}`,
668
+ {
669
+ cause: error
670
+ }
671
+ );
672
+ }
661
673
  } else {
662
674
  result = _static_cache.data;
663
675
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-PFKAZNZP.mjs";
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-PFKAZNZP.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkEF52H7XCjs = require('./chunk-EF52H7XC.js');
7
+ var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkEF52H7XCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Clippy",
16
16
  cargoClippyExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-OF4UEJXH.mjs";
7
+ } from "./chunk-ABJV454E.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-LPNTTZ7I.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkSWBITKD4js = require('./chunk-SWBITKD4.js');
7
+ var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
8
8
 
9
9
  // src/generators/preset/generator.ts
10
10
 
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
239
239
  );
240
240
  return null;
241
241
  }
242
- var generator_default = _chunkSWBITKD4js.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );