@storm-software/workspace-tools 1.234.1 → 1.235.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 (89) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-DOQEFB3U.js → chunk-5A2SMUAH.js} +5 -5
  4. package/dist/{chunk-7PETCK66.js → chunk-5ORRKBYL.js} +41 -41
  5. package/dist/{chunk-KZGWRL4P.mjs → chunk-6CGXYDNY.mjs} +1 -1
  6. package/dist/{chunk-FQCHDI2P.js → chunk-AAFUDPY3.js} +11 -11
  7. package/dist/{chunk-ZPQJ7P6C.mjs → chunk-AARL4ARR.mjs} +1 -1
  8. package/dist/{chunk-WWSP3KEN.mjs → chunk-BVOY5ZPI.mjs} +1 -1
  9. package/dist/{chunk-QQHYWAVX.mjs → chunk-CF5MRW36.mjs} +3 -3
  10. package/dist/{chunk-IIMNDUXX.js → chunk-CR3474CZ.js} +9 -9
  11. package/dist/{chunk-YFIHF222.js → chunk-DPZGOT3C.js} +2 -2
  12. package/dist/{chunk-MVCUW6FQ.js → chunk-DXI4NLLG.js} +31 -31
  13. package/dist/{chunk-VQMSXER7.js → chunk-EFW3QYJ6.js} +2 -2
  14. package/dist/{chunk-XOIDDNCA.mjs → chunk-EGVA5PP4.mjs} +1 -1
  15. package/dist/{chunk-CNX755OY.mjs → chunk-G4SRVNXB.mjs} +1 -1
  16. package/dist/{chunk-BANJXE74.js → chunk-HGS743HN.js} +2 -2
  17. package/dist/{chunk-2DNLATEG.mjs → chunk-IOCGVIIK.mjs} +1 -1
  18. package/dist/{chunk-VVHGKFCB.mjs → chunk-IYCUBLGZ.mjs} +2 -2
  19. package/dist/{chunk-UROGF3KF.mjs → chunk-JNBBP3XY.mjs} +1 -1
  20. package/dist/{chunk-UW6T77HF.js → chunk-K5Q4B5PP.js} +15 -15
  21. package/dist/{chunk-A3SB76KG.js → chunk-MD3SSS3I.js} +2 -2
  22. package/dist/{chunk-VWJEKC3P.mjs → chunk-NNCB4SEK.mjs} +3 -3
  23. package/dist/{chunk-4G35AYIJ.mjs → chunk-NSVH52UL.mjs} +1 -1
  24. package/dist/{chunk-AKLDSJTD.mjs → chunk-O5Z6RPC6.mjs} +1 -1
  25. package/dist/{chunk-THMXFMSK.mjs → chunk-OQA7D4YP.mjs} +1 -1
  26. package/dist/{chunk-3GQ6H7GF.mjs → chunk-OVHQ2TQ4.mjs} +3 -3
  27. package/dist/{chunk-2E2DXYRF.js → chunk-PQVWSBEG.js} +2 -2
  28. package/dist/{chunk-Y2LDGJCA.js → chunk-R7LPJA7B.js} +2 -2
  29. package/dist/{chunk-7TEC757Y.mjs → chunk-RENOUPVD.mjs} +1 -2
  30. package/dist/{chunk-PSMBZ5DR.mjs → chunk-RF5FJZO3.mjs} +1 -1
  31. package/dist/{chunk-ZJXBN32W.js → chunk-SCINGDII.js} +1 -2
  32. package/dist/{chunk-ENBOBX3C.js → chunk-SGU5DQPK.js} +2 -2
  33. package/dist/{chunk-PKR4QUWJ.mjs → chunk-SKHELRGB.mjs} +1 -1
  34. package/dist/{chunk-N4J73OER.mjs → chunk-TRN4HIGQ.mjs} +2 -2
  35. package/dist/{chunk-IVRCEWW4.mjs → chunk-UXAZCLME.mjs} +2 -2
  36. package/dist/{chunk-FE52EM76.js → chunk-VF3E6O7Z.js} +7 -7
  37. package/dist/{chunk-YO7MVS4A.js → chunk-WHFR5DFC.js} +17 -17
  38. package/dist/{chunk-XWYXKDH2.js → chunk-WJ7ZFLSN.js} +5 -5
  39. package/dist/{chunk-5Z7CCIIJ.js → chunk-XWTEAECW.js} +2 -2
  40. package/dist/{chunk-BARR5D5N.mjs → chunk-Y4VMFPV4.mjs} +1 -1
  41. package/dist/{chunk-2NYBFBUU.js → chunk-Y6LAHFQL.js} +2 -2
  42. package/dist/{chunk-OH2QVCID.js → chunk-ZW7MPYNT.js} +5 -5
  43. package/dist/executors.js +16 -16
  44. package/dist/executors.mjs +20 -20
  45. package/dist/generators.js +10 -10
  46. package/dist/generators.mjs +10 -10
  47. package/dist/index.js +24 -24
  48. package/dist/index.mjs +29 -29
  49. package/dist/src/base/base-executor.js +3 -3
  50. package/dist/src/base/base-executor.mjs +2 -2
  51. package/dist/src/base/base-generator.js +3 -3
  52. package/dist/src/base/base-generator.mjs +2 -2
  53. package/dist/src/base/index.js +4 -4
  54. package/dist/src/base/index.mjs +3 -3
  55. package/dist/src/executors/cargo-build/executor.js +4 -4
  56. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-check/executor.js +4 -4
  58. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  60. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  61. package/dist/src/executors/cargo-doc/executor.js +4 -4
  62. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  63. package/dist/src/executors/cargo-format/executor.js +4 -4
  64. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  65. package/dist/src/executors/clean-package/executor.js +5 -5
  66. package/dist/src/executors/clean-package/executor.mjs +2 -2
  67. package/dist/src/executors/esbuild/executor.js +5 -5
  68. package/dist/src/executors/esbuild/executor.mjs +4 -4
  69. package/dist/src/executors/size-limit/executor.js +4 -4
  70. package/dist/src/executors/size-limit/executor.mjs +3 -3
  71. package/dist/src/executors/tsdown/executor.js +5 -5
  72. package/dist/src/executors/tsdown/executor.mjs +4 -4
  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.js +4 -4
  80. package/dist/src/generators/config-schema/generator.mjs +3 -3
  81. package/dist/src/generators/neutral-library/generator.js +4 -4
  82. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  83. package/dist/src/generators/node-library/generator.js +4 -4
  84. package/dist/src/generators/node-library/generator.mjs +3 -3
  85. package/dist/src/generators/preset/generator.js +4 -4
  86. package/dist/src/generators/preset/generator.mjs +3 -3
  87. package/dist/src/generators/release-version/generator.js +3 -3
  88. package/dist/src/generators/release-version/generator.mjs +2 -2
  89. package/package.json +5 -5
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkFE52EM76js = require('./chunk-FE52EM76.js');
9
+ var _chunkVF3E6O7Zjs = require('./chunk-VF3E6O7Z.js');
10
10
 
11
11
 
12
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
12
+ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
22
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkSCINGDIIjs.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 _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkSCINGDIIjs.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 ??= _chunkFE52EM76js.DEFAULT_TARGET;
94
+ options.target ??= _chunkVF3E6O7Zjs.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 = _chunkFE52EM76js.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunkVF3E6O7Zjs.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 _chunkFE52EM76js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunkVF3E6O7Zjs.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 || _chunkZJXBN32Wjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkSCINGDIIjs.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 _chunkFE52EM76js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunkFE52EM76js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunkVF3E6O7Zjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunkVF3E6O7Zjs.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["."] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunkVF3E6O7Zjs.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}`] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunkFE52EM76js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkSCINGDIIjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunkZJXBN32Wjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkSCINGDIIjs.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 = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkWHFR5DFCjs.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 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  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-PKR4QUWJ.mjs";
7
+ } from "./chunk-SKHELRGB.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
7
+ } from "./chunk-NSVH52UL.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -3,7 +3,7 @@ import {
3
3
  loadStormConfig,
4
4
  writeDebug,
5
5
  writeTrace
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  findWorkspaceRoot
9
9
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-PKR4QUWJ.mjs";
3
+ } from "./chunk-SKHELRGB.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-7TEC757Y.mjs";
9
+ } from "./chunk-RENOUPVD.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-DMUTOQCB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
7
+ } from "./chunk-NSVH52UL.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 _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
14
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.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 = _chunkZJXBN32Wjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkSCINGDIIjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkZJXBN32Wjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkZJXBN32Wjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkSCINGDIIjs.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
  };
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
7
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-4G35AYIJ.mjs";
3
+ } from "./chunk-NSVH52UL.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-PVTEDLBL.mjs";
@@ -23,7 +23,7 @@ async function unbuildExecutorFn(options, context, config) {
23
23
  fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
24
24
  interopDefault: true
25
25
  });
26
- const stormUnbuild = await jiti.import("@storm-software/unbuild");
26
+ const stormUnbuild = await jiti.import("@storm-software/unbuild/build.js");
27
27
  await stormUnbuild.build(defu({
28
28
  ...options,
29
29
  projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
@@ -14,7 +14,7 @@ import {
14
14
  writeInfo,
15
15
  writeSuccess,
16
16
  writeTrace
17
- } from "./chunk-7TEC757Y.mjs";
17
+ } from "./chunk-RENOUPVD.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
20
  } from "./chunk-DMUTOQCB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
7
+ } from "./chunk-NSVH52UL.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-PKR4QUWJ.mjs";
10
+ } from "./chunk-SKHELRGB.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
@@ -8,10 +8,10 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-2DNLATEG.mjs";
11
+ } from "./chunk-IOCGVIIK.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-4G35AYIJ.mjs";
14
+ } from "./chunk-NSVH52UL.mjs";
15
15
  import {
16
16
  getStopwatch,
17
17
  isVerbose,
@@ -23,7 +23,7 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-7TEC757Y.mjs";
26
+ } from "./chunk-RENOUPVD.mjs";
27
27
  import {
28
28
  joinPaths
29
29
  } from "./chunk-PVTEDLBL.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
7
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -42,7 +42,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
42
42
  return null;
43
43
  }
44
44
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
45
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
45
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
46
46
  hooks: {
47
47
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
48
48
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -395,8 +395,7 @@ var isVerbose = /* @__PURE__ */ __name((label = LogLevelLabel.SILENT) => {
395
395
  }, "isVerbose");
396
396
 
397
397
  // ../config-tools/src/logger/console.ts
398
- var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}) => {
399
- const _chalk = getChalk();
398
+ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
400
399
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
401
400
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
402
401
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-PKR4QUWJ.mjs";
7
+ } from "./chunk-SKHELRGB.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -395,8 +395,7 @@ var isVerbose = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label = Lo
395
395
  }, "isVerbose");
396
396
 
397
397
  // ../config-tools/src/logger/console.ts
398
- var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}) => {
399
- const _chalk = getChalk();
398
+ var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
400
399
  const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
401
400
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
402
401
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.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 = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-7TEC757Y.mjs";
14
+ } from "./chunk-RENOUPVD.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-4G35AYIJ.mjs";
3
+ } from "./chunk-NSVH52UL.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-4G35AYIJ.mjs";
3
+ } from "./chunk-NSVH52UL.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
6
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.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 _chunkZJXBN32Wjs.loadStormConfig.call(void 0, );
41
+ const config = await _chunkSCINGDIIjs.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: _chunkZJXBN32Wjs.isVerbose.call(void 0, config.logLevel)
106
+ isVerbose: _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
112
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
150
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
172
+ _chunkSCINGDIIjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
173
173
  }
174
174
  return packageJson;
175
175
  }, "addPackageDependencies");
@@ -265,7 +265,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
265
265
  results.push(...files.reduce((ret, filePath) => {
266
266
  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), ""));
267
267
  if (result) {
268
- _chunkZJXBN32Wjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
268
+ _chunkSCINGDIIjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
269
269
  if (!results.includes(result)) {
270
270
  results.push(result);
271
271
  }