@storm-software/workspace-tools 1.277.17 → 1.277.19

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 (91) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-HLBNH7SA.mjs → chunk-5ZESKANL.mjs} +1 -1
  4. package/dist/{chunk-2AGFMUUJ.js → chunk-625KHBUR.js} +2 -2
  5. package/dist/{chunk-SWBITKD4.js → chunk-B5JNWTUG.js} +2 -2
  6. package/dist/{chunk-ZHVQ2WZL.mjs → chunk-BZLV3DUU.mjs} +1 -1
  7. package/dist/{chunk-XBI7U5XT.js → chunk-DAZ45RAJ.js} +2 -2
  8. package/dist/{chunk-IHOUSCN6.js → chunk-DEGG3GC3.js} +2 -2
  9. package/dist/{chunk-6PGLF7R4.mjs → chunk-F2BM22QJ.mjs} +1 -1
  10. package/dist/{chunk-FMNVIINX.mjs → chunk-FD42BMRE.mjs} +1 -1
  11. package/dist/{chunk-2C2EGKAT.js → chunk-FVTAYG7C.js} +2 -2
  12. package/dist/{chunk-BCW36SJU.js → chunk-GPAH2XUM.js} +2 -2
  13. package/dist/{chunk-UPA3MUDB.mjs → chunk-HIKE6ACN.mjs} +1 -1
  14. package/dist/{chunk-CLS52NMH.js → chunk-I5PFQ32U.js} +2 -2
  15. package/dist/{chunk-CGTCYUIA.js → chunk-INDS3IGH.js} +2 -2
  16. package/dist/{chunk-IC4FYR5F.mjs → chunk-KOLNKKQ5.mjs} +21 -5
  17. package/dist/{chunk-N4LYIYAN.js → chunk-KWQYMPVY.js} +2 -2
  18. package/dist/{chunk-F6QSJFLB.js → chunk-LJOPJGFV.js} +2 -2
  19. package/dist/{chunk-MDW7CA4E.mjs → chunk-LLXQNI4V.mjs} +1 -1
  20. package/dist/{chunk-CF2C7VYS.js → chunk-LOWIHCCA.js} +2 -2
  21. package/dist/{chunk-XITRSZMQ.js → chunk-MLMJVWDN.js} +2 -2
  22. package/dist/{chunk-OF4UEJXH.mjs → chunk-NI6UCWBQ.mjs} +1 -1
  23. package/dist/{chunk-YJ4K7MUE.mjs → chunk-NQG6PZSU.mjs} +1 -1
  24. package/dist/{chunk-OTAR3N7L.js → chunk-OH7KAS54.js} +21 -5
  25. package/dist/{chunk-RSONIOSF.mjs → chunk-RY74FLHL.mjs} +1 -1
  26. package/dist/{chunk-VOVKD5R6.js → chunk-T7CP3UFW.js} +2 -2
  27. package/dist/{chunk-6YBMXMDQ.mjs → chunk-TI2SPALA.mjs} +1 -1
  28. package/dist/{chunk-LQLTWIHR.mjs → chunk-VZRVKVAO.mjs} +1 -1
  29. package/dist/{chunk-F2EU6PBT.js → chunk-WIFN7LM3.js} +2 -2
  30. package/dist/{chunk-3GOCGWOM.mjs → chunk-WVGU3B2X.mjs} +1 -1
  31. package/dist/{chunk-UIVPDMY2.mjs → chunk-WXTBIQEB.mjs} +1 -1
  32. package/dist/{chunk-XWTCQSBX.js → chunk-WZBBSDC4.js} +2 -2
  33. package/dist/{chunk-MUMTCFYZ.mjs → chunk-X3ST5ZXI.mjs} +1 -1
  34. package/dist/{chunk-WAHSPZW5.mjs → chunk-XBDORAQU.mjs} +1 -1
  35. package/dist/{chunk-EF52H7XC.js → chunk-YNB77CQX.js} +2 -2
  36. package/dist/{chunk-74JVJR6U.mjs → chunk-YXO7QCSQ.mjs} +1 -1
  37. package/dist/{chunk-3EEJOZ2Y.mjs → chunk-Z2XCY6HJ.mjs} +2 -2
  38. package/dist/{chunk-4WSVXYPW.js → chunk-ZBDSKCSB.js} +4 -4
  39. package/dist/executors.js +12 -12
  40. package/dist/executors.mjs +11 -11
  41. package/dist/{generator-Ch2l-Z4M.d.mts → generator-T6mKvAuP.d.mts} +1 -1
  42. package/dist/{generator-DsTgpREC.d.ts → generator-lTDdrLpW.d.ts} +1 -1
  43. package/dist/generators.d.mts +1 -1
  44. package/dist/generators.d.ts +1 -1
  45. package/dist/generators.js +9 -9
  46. package/dist/generators.mjs +8 -8
  47. package/dist/index.d.mts +1 -1
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.js +19 -19
  50. package/dist/index.mjs +18 -18
  51. package/dist/src/base/base-executor.js +3 -3
  52. package/dist/src/base/base-executor.mjs +2 -2
  53. package/dist/src/base/base-generator.js +3 -3
  54. package/dist/src/base/base-generator.mjs +2 -2
  55. package/dist/src/base/index.js +4 -4
  56. package/dist/src/base/index.mjs +3 -3
  57. package/dist/src/executors/cargo-build/executor.js +4 -4
  58. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-check/executor.js +4 -4
  60. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  61. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  62. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  63. package/dist/src/executors/cargo-doc/executor.js +4 -4
  64. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  65. package/dist/src/executors/cargo-format/executor.js +4 -4
  66. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  67. package/dist/src/executors/clean-package/executor.js +3 -3
  68. package/dist/src/executors/clean-package/executor.mjs +2 -2
  69. package/dist/src/executors/esbuild/executor.js +4 -4
  70. package/dist/src/executors/esbuild/executor.mjs +3 -3
  71. package/dist/src/executors/size-limit/executor.js +4 -4
  72. package/dist/src/executors/size-limit/executor.mjs +3 -3
  73. package/dist/src/executors/typia/executor.js +4 -4
  74. package/dist/src/executors/typia/executor.mjs +3 -3
  75. package/dist/src/executors/unbuild/executor.js +4 -4
  76. package/dist/src/executors/unbuild/executor.mjs +3 -3
  77. package/dist/src/generators/browser-library/generator.js +4 -4
  78. package/dist/src/generators/browser-library/generator.mjs +3 -3
  79. package/dist/src/generators/config-schema/generator.d.mts +1 -1
  80. package/dist/src/generators/config-schema/generator.d.ts +1 -1
  81. package/dist/src/generators/config-schema/generator.js +4 -4
  82. package/dist/src/generators/config-schema/generator.mjs +3 -3
  83. package/dist/src/generators/neutral-library/generator.js +4 -4
  84. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  85. package/dist/src/generators/node-library/generator.js +4 -4
  86. package/dist/src/generators/node-library/generator.mjs +3 -3
  87. package/dist/src/generators/preset/generator.js +4 -4
  88. package/dist/src/generators/preset/generator.mjs +3 -3
  89. package/dist/src/generators/release-version/generator.js +3 -3
  90. package/dist/src/generators/release-version/generator.mjs +2 -2
  91. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.277.18](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.18) (2025-07-10)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([98723860a](https://github.com/storm-software/storm-ops/commit/98723860a))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated prettier to 0.51.44
15
+ - Updated esbuild to 0.45.31
16
+ - Updated unbuild to 0.49.42
17
+
18
+ ## [1.277.17](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.17) (2025-07-09)
19
+
20
+ ### Miscellaneous
21
+
22
+ - **monorepo:** Update workspace package links
23
+ ([e14a6ded1](https://github.com/storm-software/storm-ops/commit/e14a6ded1))
24
+ - **monorepo:** Regenerate README markdown files
25
+ ([5c75c1280](https://github.com/storm-software/storm-ops/commit/5c75c1280))
26
+
27
+ ### Updated Dependencies
28
+
29
+ - Updated esbuild to 0.45.30
30
+ - Updated unbuild to 0.49.41
31
+
5
32
  ## [1.277.16](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.16) (2025-07-08)
6
33
 
7
34
  ### 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.15-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.17-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 -->
@@ -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-NI6UCWBQ.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -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 _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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);
@@ -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-KOLNKKQ5.mjs";
10
10
  import {
11
11
  getStopwatch,
12
12
  writeDebug,
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Clippy",
16
16
  cargoClippyExecutor,
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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -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-KOLNKKQ5.mjs";
8
8
  import {
9
9
  formatLogMessage,
10
10
  getStopwatch,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-F2BM22QJ.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -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-F2BM22QJ.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -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 _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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(
@@ -652,12 +652,28 @@ 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
- )
655
+ const configInput = defu2(
656
+ configEnv,
657
+ configFile,
658
+ defaultConfig
659
659
  );
660
- result.workspaceRoot ??= _workspaceRoot;
660
+ try {
661
+ result = applyDefaultConfig(
662
+ await stormWorkspaceConfigSchema.parseAsync(configInput)
663
+ );
664
+ result.workspaceRoot ??= _workspaceRoot;
665
+ } catch (error) {
666
+ throw new Error(
667
+ `Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
668
+
669
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
670
+ configInput
671
+ )}`,
672
+ {
673
+ cause: error
674
+ }
675
+ );
676
+ }
661
677
  } else {
662
678
  result = _static_cache.data;
663
679
  }
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
57
57
  "Configuration Schema Creator",
58
58
  configSchemaGeneratorFn,
59
59
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-F2BM22QJ.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -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-KOLNKKQ5.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -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-F2BM22QJ.mjs";
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
@@ -652,12 +652,28 @@ 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
- )
655
+ const configInput = _defu2.default.call(void 0,
656
+ configEnv,
657
+ configFile,
658
+ defaultConfig
659
659
  );
660
- result.workspaceRoot ??= _workspaceRoot;
660
+ try {
661
+ result = _chunk64SHSYARjs.applyDefaultConfig.call(void 0,
662
+ await _chunk64SHSYARjs.stormWorkspaceConfigSchema.parseAsync(configInput)
663
+ );
664
+ result.workspaceRoot ??= _workspaceRoot;
665
+ } catch (error) {
666
+ throw new Error(
667
+ `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
668
+
669
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk64SHSYARjs.formatLogMessage.call(void 0,
670
+ configInput
671
+ )}`,
672
+ {
673
+ cause: error
674
+ }
675
+ );
676
+ }
661
677
  } else {
662
678
  result = _static_cache.data;
663
679
  }
@@ -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-NI6UCWBQ.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-LPNTTZ7I.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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-OF4UEJXH.mjs";
3
+ } from "./chunk-NI6UCWBQ.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-F2BM22QJ.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-XKAAYYJP.mjs";
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -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-NI6UCWBQ.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-F2BM22QJ.mjs";
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -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-F2BM22QJ.mjs";
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
@@ -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-NI6UCWBQ.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.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 _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6PGLF7R4.mjs";
7
+ } from "./chunk-F2BM22QJ.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6PGLF7R4.mjs";
3
+ } from "./chunk-F2BM22QJ.mjs";
4
4
  import {
5
5
  getWorkspaceConfig
6
- } from "./chunk-IC4FYR5F.mjs";
6
+ } from "./chunk-KOLNKKQ5.mjs";
7
7
  import {
8
8
  formatLogMessage,
9
9
  getStopwatch,
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.js');
4
4
 
5
5
 
6
- var _chunkOTAR3N7Ljs = require('./chunk-OTAR3N7L.js');
6
+ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
816
816
  "Storm ESBuild build",
817
817
  esbuildExecutorFn,
818
818
  {