@storm-software/workspace-tools 1.232.0 → 1.233.0

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 (99) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-DIPIPI7H.js → chunk-2AQPTJLC.js} +2 -2
  4. package/dist/{chunk-WKSXKBPT.js → chunk-4EO5ZWLS.js} +31 -31
  5. package/dist/{chunk-KS44WFBU.mjs → chunk-5FCVQVIS.mjs} +1 -1
  6. package/dist/{chunk-PS2NPPRM.mjs → chunk-5FEFILUQ.mjs} +1 -1
  7. package/dist/{chunk-BCM66MXI.mjs → chunk-5KPWW65X.mjs} +1 -1
  8. package/dist/{chunk-CXLDWFA3.js → chunk-5Q3LI7CF.js} +15 -15
  9. package/dist/{chunk-63CXRJMW.mjs → chunk-A4DWQQ6J.mjs} +1 -1
  10. package/dist/{chunk-22DNWOG2.js → chunk-AX4OFOSN.js} +7 -7
  11. package/dist/{chunk-72H4B5NB.js → chunk-CDOWHRVE.js} +17 -17
  12. package/dist/{chunk-KNXGOGL5.mjs → chunk-DM2FMT3G.mjs} +2 -2
  13. package/dist/{chunk-MPOEEZVK.mjs → chunk-DNUDJEZX.mjs} +2 -2
  14. package/dist/{chunk-AP62YOGH.js → chunk-EECNVIFZ.js} +5 -5
  15. package/dist/{chunk-FAD3MJIO.mjs → chunk-FDI6QWNH.mjs} +1 -1
  16. package/dist/{chunk-IR6D2ZXA.js → chunk-FHRBHQ5D.js} +2 -2
  17. package/dist/{chunk-IAW5BNS4.mjs → chunk-FZ3N3UJ5.mjs} +3 -3
  18. package/dist/{chunk-IX2EZD3F.js → chunk-GRBZKMJI.js} +2 -2
  19. package/dist/{chunk-J4POXWGW.mjs → chunk-GVBCN2FA.mjs} +1 -1
  20. package/dist/{chunk-YCJU7YTL.js → chunk-HIBDVUQ5.js} +2 -2
  21. package/dist/{chunk-LD5QCANE.js → chunk-JHP7QOI4.js} +51 -32
  22. package/dist/{chunk-CZJZJQ6D.js → chunk-L2KYX6WC.js} +2 -2
  23. package/dist/{chunk-AXC2MN2T.js → chunk-LEHZZU32.js} +2 -2
  24. package/dist/{chunk-LPWSHG6O.js → chunk-MA2QNKZ7.js} +2 -2
  25. package/dist/{chunk-45GU4HW2.js → chunk-MZ6IF3DO.js} +2 -2
  26. package/dist/{chunk-46HPJEJW.mjs → chunk-NHSJQ3KY.mjs} +1 -1
  27. package/dist/{chunk-GFOMWTSR.mjs → chunk-OCXXIUSC.mjs} +1 -1
  28. package/dist/{chunk-PE2DD2SV.mjs → chunk-OE5KYONM.mjs} +1 -1
  29. package/dist/{chunk-H3UJL3I6.mjs → chunk-OFSUFHFM.mjs} +2 -2
  30. package/dist/{chunk-EI3PUSCC.js → chunk-OJV4NKCZ.js} +9 -9
  31. package/dist/{chunk-PHWTI5FA.js → chunk-QA6M5DEJ.js} +2 -2
  32. package/dist/{chunk-357OS575.mjs → chunk-QCAF5WDF.mjs} +2 -2
  33. package/dist/{chunk-4CWRH5ZE.mjs → chunk-QTW54PBD.mjs} +1 -1
  34. package/dist/{chunk-DLQLZTCZ.mjs → chunk-RXH7O5YP.mjs} +19 -1
  35. package/dist/{chunk-A5H74FJO.mjs → chunk-SQHYP2JD.mjs} +1 -1
  36. package/dist/{chunk-TIKTN6ZZ.mjs → chunk-SZJOJ773.mjs} +1 -1
  37. package/dist/{chunk-MBCXSLG7.js → chunk-T2CG5RNT.js} +2 -2
  38. package/dist/{chunk-XKR7HI4E.mjs → chunk-T5XCHBCB.mjs} +3 -3
  39. package/dist/{chunk-MYOY5MK7.mjs → chunk-TSTK2BD6.mjs} +25 -6
  40. package/dist/{chunk-UHT3YMUI.mjs → chunk-UA7PFIEF.mjs} +1 -1
  41. package/dist/{chunk-K7MNWUOY.js → chunk-UPMKBKEN.js} +2 -2
  42. package/dist/{chunk-X5FFOC7V.js → chunk-VOPIMPWA.js} +11 -11
  43. package/dist/{chunk-SON5KDOS.mjs → chunk-WKYE64AL.mjs} +1 -1
  44. package/dist/{chunk-INAG73GE.js → chunk-WPMFZECR.js} +19 -1
  45. package/dist/{chunk-RQVECOZC.js → chunk-ZMA37UYA.js} +41 -41
  46. package/dist/{chunk-3O66TDXL.js → chunk-ZYC7FHCD.js} +5 -5
  47. package/dist/executors.js +16 -16
  48. package/dist/executors.mjs +15 -15
  49. package/dist/generators.js +10 -10
  50. package/dist/generators.mjs +11 -11
  51. package/dist/index.js +24 -24
  52. package/dist/index.mjs +25 -25
  53. package/dist/src/base/base-executor.js +3 -3
  54. package/dist/src/base/base-executor.mjs +2 -2
  55. package/dist/src/base/base-generator.js +3 -3
  56. package/dist/src/base/base-generator.mjs +2 -2
  57. package/dist/src/base/index.js +4 -4
  58. package/dist/src/base/index.mjs +3 -3
  59. package/dist/src/executors/cargo-build/executor.js +4 -4
  60. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  61. package/dist/src/executors/cargo-check/executor.js +4 -4
  62. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  63. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  64. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  65. package/dist/src/executors/cargo-doc/executor.js +4 -4
  66. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  67. package/dist/src/executors/cargo-format/executor.js +4 -4
  68. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  69. package/dist/src/executors/clean-package/executor.js +5 -5
  70. package/dist/src/executors/clean-package/executor.mjs +2 -2
  71. package/dist/src/executors/esbuild/executor.js +5 -5
  72. package/dist/src/executors/esbuild/executor.mjs +4 -4
  73. package/dist/src/executors/npm-publish/executor.js +3 -3
  74. package/dist/src/executors/npm-publish/executor.mjs +2 -2
  75. package/dist/src/executors/size-limit/executor.js +4 -4
  76. package/dist/src/executors/size-limit/executor.mjs +3 -3
  77. package/dist/src/executors/tsdown/executor.js +5 -5
  78. package/dist/src/executors/tsdown/executor.mjs +4 -4
  79. package/dist/src/executors/typia/executor.js +4 -4
  80. package/dist/src/executors/typia/executor.mjs +3 -3
  81. package/dist/src/executors/unbuild/executor.js +5 -5
  82. package/dist/src/executors/unbuild/executor.mjs +4 -4
  83. package/dist/src/generators/browser-library/generator.js +4 -4
  84. package/dist/src/generators/browser-library/generator.mjs +3 -3
  85. package/dist/src/generators/config-schema/generator.js +4 -4
  86. package/dist/src/generators/config-schema/generator.mjs +3 -3
  87. package/dist/src/generators/neutral-library/generator.js +4 -4
  88. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  89. package/dist/src/generators/node-library/generator.js +4 -4
  90. package/dist/src/generators/node-library/generator.mjs +3 -3
  91. package/dist/src/generators/preset/generator.js +4 -4
  92. package/dist/src/generators/preset/generator.mjs +3 -3
  93. package/dist/src/generators/release-version/generator.js +3 -3
  94. package/dist/src/generators/release-version/generator.mjs +2 -2
  95. package/dist/src/utils/index.js +2 -2
  96. package/dist/src/utils/index.mjs +1 -1
  97. package/dist/src/utils/pnpm-deps-update.js +2 -2
  98. package/dist/src/utils/pnpm-deps-update.mjs +1 -1
  99. package/package.json +227 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ ## 1.233.0 (2025-01-20)
2
+
3
+ ### Features
4
+
5
+ - **unbuild:** Added `jiti` to resolve the build module ([8f613f91](https://github.com/storm-software/storm-ops/commit/8f613f91))
6
+
7
+ ### Bug Fixes
8
+
9
+ - **untyped:** Resovle bundling issue with externals ([ff044ddf](https://github.com/storm-software/storm-ops/commit/ff044ddf))
10
+
11
+ ### 🧱 Updated Dependencies
12
+
13
+ - Updated prettier to 0.27.9
14
+ - Updated unbuild to 0.23.0
15
+ - Updated unbuild to 0.23.0
16
+
17
+ ## 1.232.1 (2025-01-20)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **unbuild:** Update package to bundle the `unbuild` package for distribution ([d304c28d](https://github.com/storm-software/storm-ops/commit/d304c28d))
22
+
23
+ ### 🧱 Updated Dependencies
24
+
25
+ - Updated esbuild to 0.19.1
26
+ - Updated unbuild to 0.22.1
27
+ - Updated unbuild to 0.22.1
28
+ - Updated tsdown to 0.20.1
29
+
1
30
  ## 1.232.0 (2025-01-20)
2
31
 
3
32
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.231.0-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.232.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -4,7 +4,7 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkCXLDWFA3js = require('./chunk-CXLDWFA3.js');
7
+ var _chunk5Q3LI7CFjs = require('./chunk-5Q3LI7CF.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -70,7 +70,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
70
70
  return null;
71
71
  }
72
72
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
73
- var generator_default = _chunkCXLDWFA3js.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
73
+ var generator_default = _chunk5Q3LI7CFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
74
74
  hooks: {
75
75
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
76
76
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk22DNWOG2js = require('./chunk-22DNWOG2.js');
9
+ var _chunkAX4OFOSNjs = require('./chunk-AX4OFOSN.js');
10
10
 
11
11
 
12
- var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
12
+ var _chunkCDOWHRVEjs = require('./chunk-CDOWHRVE.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
22
+ var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
23
23
 
24
24
 
25
25
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,9 +73,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkGRBZKMJIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
@@ -91,19 +91,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunk22DNWOG2js.DEFAULT_TARGET;
94
+ options.target ??= _chunkAX4OFOSNjs.DEFAULT_TARGET;
95
95
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunk22DNWOG2js.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunkAX4OFOSNjs.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
104
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunk22DNWOG2js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunkAX4OFOSNjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
109
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -114,7 +114,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
114
114
  projectGraph,
115
115
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunkIX2EZD3Fjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkGRBZKMJIjs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -149,8 +149,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
151
  if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, "Write package.json file");
154
154
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
@@ -159,11 +159,11 @@ async function generatePackageJson(options) {
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunk22DNWOG2js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunk22DNWOG2js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunkAX4OFOSNjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunkAX4OFOSNjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunk22DNWOG2js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunkAX4OFOSNjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunk22DNWOG2js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunkAX4OFOSNjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -200,8 +200,8 @@ async function generatePackageJson(options) {
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunk22DNWOG2js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunkAX4OFOSNjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunkIX2EZD3Fjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkGRBZKMJIjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunkIX2EZD3Fjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkGRBZKMJIjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunkIX2EZD3Fjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkGRBZKMJIjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunkIX2EZD3Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkGRBZKMJIjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunkIX2EZD3Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkGRBZKMJIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkCDOWHRVEjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-J4POXWGW.mjs";
7
+ } from "./chunk-GVBCN2FA.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-DLQLZTCZ.mjs";
3
+ } from "./chunk-RXH7O5YP.mjs";
4
4
  import {
5
5
  joinPaths
6
6
  } from "./chunk-PVTEDLBL.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-J4POXWGW.mjs";
7
+ } from "./chunk-GVBCN2FA.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -11,7 +11,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
14
+ var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
15
15
 
16
16
 
17
17
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkGRBZKMJIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkGRBZKMJIjs.loadStormConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunk5CPYNJT2js.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkIX2EZD3Fjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkGRBZKMJIjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkIX2EZD3Fjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkIX2EZD3Fjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkGRBZKMJIjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkGRBZKMJIjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-KNXGOGL5.mjs";
14
+ } from "./chunk-DM2FMT3G.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-DMUTOQCB.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
6
+ var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
7
7
 
8
8
 
9
9
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -38,7 +38,7 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
38
38
  var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
39
39
  let rootDir = workspaceRoot;
40
40
  if (!rootDir) {
41
- const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, );
41
+ const config = await _chunkGRBZKMJIjs.loadStormConfig.call(void 0, );
42
42
  rootDir = config.workspaceRoot;
43
43
  }
44
44
  const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
@@ -103,13 +103,13 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
103
103
  projectsConfigurations,
104
104
  nxJsonConfiguration: nxJson,
105
105
  cwd: config.workspaceRoot,
106
- isVerbose: _chunkIX2EZD3Fjs.isVerbose.call(void 0, config.logLevel)
106
+ isVerbose: _chunkGRBZKMJIjs.isVerbose.call(void 0, config.logLevel)
107
107
  });
108
108
  if (!result.success) {
109
109
  throw new Error("The Build process failed trying to copy assets");
110
110
  }
111
111
  if (includeSrc === true) {
112
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
112
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
113
113
  const files = await _glob.glob.call(void 0, [
114
114
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
115
115
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -147,7 +147,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
147
147
  }
148
148
  }
149
149
  if (localPackages.length > 0) {
150
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
150
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
151
151
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
152
152
  if (!ret[localPackage.name]) {
153
153
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -169,7 +169,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
169
169
  return ret;
170
170
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
171
171
  } else {
172
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
172
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
173
173
  }
174
174
  return packageJson;
175
175
  }, "addPackageDependencies");
@@ -293,7 +293,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
293
293
  results.push(...files.reduce((ret, filePath) => {
294
294
  const result = _chunkXCSSYTCUjs.correctPaths.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, projectRoot), ""));
295
295
  if (result) {
296
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
296
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
297
297
  if (!results.includes(result)) {
298
298
  results.push(result);
299
299
  }
@@ -14,7 +14,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
17
+ var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
18
18
 
19
19
 
20
20
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -24,11 +24,11 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
24
24
 
25
25
  // src/base/base-executor.ts
26
26
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
27
- const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, name);
27
+ const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, name);
28
28
  let options = _options;
29
29
  let config = {};
30
30
  try {
31
- _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
31
+ _chunkGRBZKMJIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
32
32
  `, config);
33
33
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
34
34
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
@@ -39,20 +39,20 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
39
39
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
40
40
  config.workspaceRoot = workspaceRoot;
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkGRBZKMJIjs.loadStormConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
51
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
55
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
56
  ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`).join("\n")}`, config);
57
57
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
58
58
  config,
@@ -64,9 +64,9 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
64
64
  ...executorOptions
65
65
  }, _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.preProcess])) {
67
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _19 => _19.next]))) {
@@ -76,26 +76,26 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _20 => _20.error, 'optionalAccess', _21 => _21.message]) && typeof _optionalChain([result, 'optionalAccess', _22 => _22.error, 'optionalAccess', _23 => _23.message]) === "string" && _optionalChain([result, 'optionalAccess', _24 => _24.error, 'optionalAccess', _25 => _25.name]) && typeof _optionalChain([result, 'optionalAccess', _26 => _26.error, 'optionalAccess', _27 => _27.name]) === "string")) {
79
- _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunkIX2EZD3Fjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkGRBZKMJIjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkGRBZKMJIjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _28 => _28.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _29 => _29.hooks, 'optionalAccess', _30 => _30.postProcess])) {
87
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunkIX2EZD3Fjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkGRBZKMJIjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunkIX2EZD3Fjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunkIX2EZD3Fjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkGRBZKMJIjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkGRBZKMJIjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -509,7 +509,7 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
509
509
  envName: fileName?.toUpperCase(),
510
510
  jitiOptions: {
511
511
  debug: false,
512
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
512
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
513
513
  },
514
514
  ...options
515
515
  });
@@ -521,7 +521,7 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
521
521
  envName: fileName?.toUpperCase(),
522
522
  jitiOptions: {
523
523
  debug: false,
524
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
524
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
525
525
  },
526
526
  configFile: fileName,
527
527
  ...options
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-J4POXWGW.mjs";
3
+ } from "./chunk-GVBCN2FA.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-KNXGOGL5.mjs";
6
+ } from "./chunk-DM2FMT3G.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
3
+ var _chunkCDOWHRVEjs = require('./chunk-CDOWHRVE.js');
4
4
 
5
5
 
6
- var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
6
+ var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkGRBZKMJIjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkGRBZKMJIjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkCDOWHRVEjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-63CXRJMW.mjs";
7
+ } from "./chunk-A4DWQQ6J.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
7
+ var _chunkCDOWHRVEjs = require('./chunk-CDOWHRVE.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkCDOWHRVEjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {