@storm-software/unbuild 0.34.0 → 0.34.1

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.
@@ -1,12 +1,12 @@
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(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkI7SGCUR4cjs = require('./chunk-I7SGCUR4.cjs');
3
+ var _chunk3HGUCQU6cjs = require('./chunk-3HGUCQU6.cjs');
4
4
 
5
5
 
6
- var _chunkHBOCJ3VScjs = require('./chunk-HBOCJ3VS.cjs');
6
+ var _chunkDL7OBOWNcjs = require('./chunk-DL7OBOWN.cjs');
7
7
 
8
8
 
9
- var _chunkZYPPSI2Qcjs = require('./chunk-ZYPPSI2Q.cjs');
9
+ var _chunkNGL4NRBAcjs = require('./chunk-NGL4NRBA.cjs');
10
10
 
11
11
 
12
12
 
@@ -29,7 +29,7 @@ var _chunkZYPPSI2Qcjs = require('./chunk-ZYPPSI2Q.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkLFUHP3V6cjs = require('./chunk-LFUHP3V6.cjs');
32
+ var _chunk5FQVMM7Icjs = require('./chunk-5FQVMM7I.cjs');
33
33
 
34
34
 
35
35
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -82,8 +82,8 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
82
82
  output: "src/"
83
83
  });
84
84
  }
85
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkLFUHP3V6cjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
85
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk5FQVMM7Icjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
87
87
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
88
88
  projectDir: projectRoot,
89
89
  rootDir: config.workspaceRoot,
@@ -92,12 +92,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
92
92
  });
93
93
  await assetHandler.processAllAssetsOnce();
94
94
  if (includeSrc === true) {
95
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkLFUHP3V6cjs.joinPaths.call(void 0, outputPath, "src")}`, config);
95
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunk5FQVMM7Icjs.joinPaths.call(void 0, outputPath, "src")}`, config);
96
96
  const files = await _glob.glob.call(void 0, [
97
- _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
98
- _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
99
- _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
100
- _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
97
+ _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
98
+ _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
99
+ _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
100
+ _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
101
101
  ]);
102
102
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
103
103
 
@@ -119,7 +119,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
119
119
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
120
120
  const projectNode = project.node;
121
121
  if (projectNode.data.root) {
122
- const projectPackageJsonPath = _chunkLFUHP3V6cjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
122
+ const projectPackageJsonPath = _chunk5FQVMM7Icjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
123
123
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
124
124
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
125
125
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -130,7 +130,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
130
130
  }
131
131
  }
132
132
  if (localPackages.length > 0) {
133
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
133
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
134
134
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
135
135
  if (!ret[localPackage.name]) {
136
136
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -152,13 +152,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
152
152
  return ret;
153
153
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
154
154
  } else {
155
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
155
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
156
156
  }
157
157
  return packageJson;
158
158
  }, "addPackageDependencies");
159
159
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
160
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkLFUHP3V6cjs.findWorkspaceRoot.call(void 0, );
161
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkLFUHP3V6cjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
160
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk5FQVMM7Icjs.findWorkspaceRoot.call(void 0, );
161
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunk5FQVMM7Icjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
162
162
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
163
163
  packageJson.type ??= "module";
164
164
  packageJson.sideEffects ??= false;
@@ -167,7 +167,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
167
167
  if (distSrc.startsWith("/")) {
168
168
  distSrc = distSrc.substring(1);
169
169
  }
170
- packageJson.source ??= `${_chunkLFUHP3V6cjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
170
+ packageJson.source ??= `${_chunk5FQVMM7Icjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
171
171
  }
172
172
  packageJson.files ??= [
173
173
  "dist/**/*"
@@ -198,7 +198,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
198
198
  ];
199
199
  }
200
200
  packageJson.repository ??= workspacePackageJson.repository;
201
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkLFUHP3V6cjs.joinPaths.call(void 0, "packages", projectName);
201
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk5FQVMM7Icjs.joinPaths.call(void 0, "packages", projectName);
202
202
  return packageJson;
203
203
  }, "addWorkspacePackageJsonFields");
204
204
 
@@ -206,7 +206,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
206
206
  var _c12 = require('c12');
207
207
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
208
208
  var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
209
- const workspacePath = filePath || _chunkLFUHP3V6cjs.findWorkspaceRoot.call(void 0, filePath);
209
+ const workspacePath = filePath || _chunk5FQVMM7Icjs.findWorkspaceRoot.call(void 0, filePath);
210
210
  const configs = await Promise.all([
211
211
  _c12.loadConfig.call(void 0, {
212
212
  cwd: workspacePath,
@@ -215,7 +215,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
215
215
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
216
216
  jitiOptions: {
217
217
  debug: false,
218
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLFUHP3V6cjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
218
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk5FQVMM7Icjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
219
219
  },
220
220
  ...options
221
221
  }),
@@ -226,7 +226,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
226
226
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
227
227
  jitiOptions: {
228
228
  debug: false,
229
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLFUHP3V6cjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
229
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk5FQVMM7Icjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
230
230
  },
231
231
  configFile: fileName,
232
232
  ...options
@@ -235,12 +235,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
235
235
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
236
236
  }, "getConfigFileByName");
237
237
  var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
238
- const workspacePath = filePath ? filePath : _chunkLFUHP3V6cjs.findWorkspaceRoot.call(void 0, filePath);
238
+ const workspacePath = filePath ? filePath : _chunk5FQVMM7Icjs.findWorkspaceRoot.call(void 0, filePath);
239
239
  const result = await getConfigFileByName("storm", workspacePath);
240
240
  let config = result.config;
241
241
  const configFile = result.configFile;
242
242
  if (config && configFile && Object.keys(config).length > 0) {
243
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
243
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
244
244
  logLevel: "all"
245
245
  });
246
246
  }
@@ -248,7 +248,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
248
248
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
249
249
  for (const result2 of results) {
250
250
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
251
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
251
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
252
252
  logLevel: "all"
253
253
  });
254
254
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
@@ -295,15 +295,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
295
295
  licensing: process.env[`${prefix}LICENSING`] || void 0,
296
296
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
297
297
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
298
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
299
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
298
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
299
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
300
300
  directories: {
301
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
302
- data: process.env[`${prefix}DATA_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
303
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
304
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
305
- log: process.env[`${prefix}LOG_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
306
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkLFUHP3V6cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
301
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
302
+ data: process.env[`${prefix}DATA_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
303
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
304
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
305
+ log: process.env[`${prefix}LOG_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
306
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunk5FQVMM7Icjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
307
307
  },
308
308
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
309
309
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -326,23 +326,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
326
326
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
327
327
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
328
328
  },
329
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkLFUHP3V6cjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
329
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunk5FQVMM7Icjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
330
330
  };
331
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkLFUHP3V6cjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
331
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk5FQVMM7Icjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
332
332
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
333
333
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
334
334
  return ret;
335
335
  }, {}) : getThemeColorConfigEnv(prefix);
336
- if (config.docs === _chunkLFUHP3V6cjs.STORM_DEFAULT_DOCS) {
337
- if (config.homepage === _chunkLFUHP3V6cjs.STORM_DEFAULT_HOMEPAGE) {
338
- config.docs = `${_chunkLFUHP3V6cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
336
+ if (config.docs === _chunk5FQVMM7Icjs.STORM_DEFAULT_DOCS) {
337
+ if (config.homepage === _chunk5FQVMM7Icjs.STORM_DEFAULT_HOMEPAGE) {
338
+ config.docs = `${_chunk5FQVMM7Icjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
339
339
  } else {
340
340
  config.docs = `${config.homepage}/docs`;
341
341
  }
342
342
  }
343
- if (config.licensing === _chunkLFUHP3V6cjs.STORM_DEFAULT_LICENSING) {
344
- if (config.homepage === _chunkLFUHP3V6cjs.STORM_DEFAULT_HOMEPAGE) {
345
- config.licensing = `${_chunkLFUHP3V6cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
343
+ if (config.licensing === _chunk5FQVMM7Icjs.STORM_DEFAULT_LICENSING) {
344
+ if (config.homepage === _chunk5FQVMM7Icjs.STORM_DEFAULT_HOMEPAGE) {
345
+ config.licensing = `${_chunk5FQVMM7Icjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
346
346
  } else {
347
347
  config.licensing = `${config.homepage}/docs`;
348
348
  }
@@ -480,31 +480,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
480
480
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
481
481
  }
482
482
  if (config.configFile) {
483
- process.env[`${prefix}CONFIG_FILE`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.configFile);
483
+ process.env[`${prefix}CONFIG_FILE`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.configFile);
484
484
  }
485
485
  if (config.workspaceRoot) {
486
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.workspaceRoot);
487
- process.env.NX_WORKSPACE_ROOT = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.workspaceRoot);
488
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.workspaceRoot);
486
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.workspaceRoot);
487
+ process.env.NX_WORKSPACE_ROOT = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.workspaceRoot);
488
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.workspaceRoot);
489
489
  }
490
490
  if (config.directories) {
491
491
  if (!config.skipCache && config.directories.cache) {
492
- process.env[`${prefix}CACHE_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.cache);
492
+ process.env[`${prefix}CACHE_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.cache);
493
493
  }
494
494
  if (config.directories.data) {
495
- process.env[`${prefix}DATA_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.data);
495
+ process.env[`${prefix}DATA_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.data);
496
496
  }
497
497
  if (config.directories.config) {
498
- process.env[`${prefix}CONFIG_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.config);
498
+ process.env[`${prefix}CONFIG_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.config);
499
499
  }
500
500
  if (config.directories.temp) {
501
- process.env[`${prefix}TEMP_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.temp);
501
+ process.env[`${prefix}TEMP_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.temp);
502
502
  }
503
503
  if (config.directories.log) {
504
- process.env[`${prefix}LOG_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.log);
504
+ process.env[`${prefix}LOG_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.log);
505
505
  }
506
506
  if (config.directories.build) {
507
- process.env[`${prefix}BUILD_DIR`] = _chunkLFUHP3V6cjs.correctPaths.call(void 0, config.directories.build);
507
+ process.env[`${prefix}BUILD_DIR`] = _chunk5FQVMM7Icjs.correctPaths.call(void 0, config.directories.build);
508
508
  }
509
509
  }
510
510
  if (config.skipCache !== void 0) {
@@ -558,8 +558,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
558
558
  if (config.logLevel) {
559
559
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
560
560
  process.env.LOG_LEVEL = String(config.logLevel);
561
- process.env.NX_VERBOSE_LOGGING = String(_chunkLFUHP3V6cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLFUHP3V6cjs.LogLevel.DEBUG ? true : false);
562
- process.env.RUST_BACKTRACE = _chunkLFUHP3V6cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLFUHP3V6cjs.LogLevel.DEBUG ? "full" : "none";
561
+ process.env.NX_VERBOSE_LOGGING = String(_chunk5FQVMM7Icjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5FQVMM7Icjs.LogLevel.DEBUG ? true : false);
562
+ process.env.RUST_BACKTRACE = _chunk5FQVMM7Icjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5FQVMM7Icjs.LogLevel.DEBUG ? "full" : "none";
563
563
  }
564
564
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
565
565
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
@@ -672,17 +672,17 @@ var createStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, as
672
672
  if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
673
673
  let _workspaceRoot = workspaceRoot;
674
674
  if (!_workspaceRoot) {
675
- _workspaceRoot = _chunkLFUHP3V6cjs.findWorkspaceRoot.call(void 0, );
675
+ _workspaceRoot = _chunk5FQVMM7Icjs.findWorkspaceRoot.call(void 0, );
676
676
  }
677
677
  const configEnv = getConfigEnv();
678
- const defaultConfig = await _chunkLFUHP3V6cjs.getDefaultConfig.call(void 0, _workspaceRoot);
678
+ const defaultConfig = await _chunk5FQVMM7Icjs.getDefaultConfig.call(void 0, _workspaceRoot);
679
679
  const configFile = await getConfigFile(_workspaceRoot);
680
680
  if (!configFile && !skipLogs) {
681
- _chunkLFUHP3V6cjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
681
+ _chunk5FQVMM7Icjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
682
682
  logLevel: "all"
683
683
  });
684
684
  }
685
- result = await _chunkLFUHP3V6cjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
685
+ result = await _chunk5FQVMM7Icjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
686
686
  result.workspaceRoot ??= _workspaceRoot;
687
687
  } else {
688
688
  result = _static_cache.data;
@@ -717,8 +717,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, asyn
717
717
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
718
718
  setConfigEnv(config);
719
719
  if (!skipLogs) {
720
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
721
- ${_chunkLFUHP3V6cjs.formatLogMessage.call(void 0, config)}`, config);
720
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
721
+ ${_chunk5FQVMM7Icjs.formatLogMessage.call(void 0, config)}`, config);
722
722
  }
723
723
  return config;
724
724
  }, "loadStormConfig");
@@ -747,24 +747,24 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
747
747
  var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
748
748
  var _unbuild = require('unbuild');
749
749
  async function resolveOptions(options, config) {
750
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
751
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, "Build options resolution");
750
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
751
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, "Build options resolution");
752
752
  if (options.configPath) {
753
- const configFile = await _chunkZYPPSI2Qcjs.loadConfig.call(void 0, options.configPath);
753
+ const configFile = await _chunkNGL4NRBAcjs.loadConfig.call(void 0, options.configPath);
754
754
  if (configFile) {
755
755
  options = _defu2.default.call(void 0, options, configFile);
756
756
  }
757
757
  }
758
- const outputPath = options.outputPath || _chunkLFUHP3V6cjs.joinPaths.call(void 0, "dist", options.projectRoot);
758
+ const outputPath = options.outputPath || _chunk5FQVMM7Icjs.joinPaths.call(void 0, "dist", options.projectRoot);
759
759
  const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
760
- const projectJsonPath = _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
760
+ const projectJsonPath = _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
761
761
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
762
762
  throw new Error("Cannot find project.json configuration");
763
763
  }
764
764
  const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
765
765
  const projectJson = JSON.parse(projectJsonContent);
766
766
  const projectName = projectJson.name;
767
- const packageJsonPath = _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
767
+ const packageJsonPath = _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
768
768
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
769
769
  throw new Error("Cannot find package.json configuration");
770
770
  }
@@ -772,14 +772,14 @@ async function resolveOptions(options, config) {
772
772
  const packageJson = JSON.parse(packageJsonContent);
773
773
  let tsconfig = options.tsconfig;
774
774
  if (!tsconfig) {
775
- tsconfig = _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
775
+ tsconfig = _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
776
776
  }
777
777
  if (!_fs.existsSync.call(void 0, tsconfig)) {
778
778
  throw new Error("Cannot find tsconfig.json configuration");
779
779
  }
780
780
  let sourceRoot = projectJson.sourceRoot;
781
781
  if (!sourceRoot) {
782
- sourceRoot = _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.projectRoot, "src");
782
+ sourceRoot = _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.projectRoot, "src");
783
783
  }
784
784
  if (!_fs.existsSync.call(void 0, sourceRoot)) {
785
785
  throw new Error("Cannot find sourceRoot directory");
@@ -811,7 +811,7 @@ async function resolveOptions(options, config) {
811
811
  while (entryPath.startsWith("/")) {
812
812
  entryPath = entryPath.substring(1);
813
813
  }
814
- const outDir = _chunkLFUHP3V6cjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkLFUHP3V6cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
814
+ const outDir = _chunk5FQVMM7Icjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunk5FQVMM7Icjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
815
815
  ret.push({
816
816
  name: `${name}-esm`,
817
817
  builder: "mkdist",
@@ -884,7 +884,7 @@ async function resolveOptions(options, config) {
884
884
  splitting: options.splitting !== false,
885
885
  treeShaking: options.treeShaking !== false,
886
886
  color: true,
887
- logLevel: config.logLevel === _chunkLFUHP3V6cjs.LogLevelLabel.FATAL ? _chunkLFUHP3V6cjs.LogLevelLabel.ERROR : _chunkLFUHP3V6cjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
887
+ logLevel: config.logLevel === _chunk5FQVMM7Icjs.LogLevelLabel.FATAL ? _chunk5FQVMM7Icjs.LogLevelLabel.ERROR : _chunk5FQVMM7Icjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
888
888
  }
889
889
  }
890
890
  };
@@ -901,7 +901,7 @@ async function resolveOptions(options, config) {
901
901
  if (options.rollup) {
902
902
  let rollup = {};
903
903
  if (typeof options.rollup === "string") {
904
- const rollupFile = await _chunkZYPPSI2Qcjs.loadConfig.call(void 0, options.rollup);
904
+ const rollupFile = await _chunkNGL4NRBAcjs.loadConfig.call(void 0, options.rollup);
905
905
  if (rollupFile) {
906
906
  rollup = rollupFile;
907
907
  }
@@ -912,7 +912,7 @@ async function resolveOptions(options, config) {
912
912
  }
913
913
  resolvedOptions.hooks = {
914
914
  "rollup:options": /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (ctx, opts) => {
915
- opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await _chunkHBOCJ3VScjs.getDefaultBuildPlugins.call(void 0, options, resolvedOptions)));
915
+ opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await _chunkDL7OBOWNcjs.getDefaultBuildPlugins.call(void 0, options, resolvedOptions)));
916
916
  }, "rollup:options")
917
917
  };
918
918
  stopwatch();
@@ -950,14 +950,14 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
950
950
  };
951
951
  }, "addPackageJsonExport");
952
952
  async function generatePackageJson(options) {
953
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
954
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
955
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, "Write package.json file");
956
- const packageJsonPath = _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.projectRoot, "project.json");
953
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
954
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
955
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, "Write package.json file");
956
+ const packageJsonPath = _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.projectRoot, "project.json");
957
957
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
958
958
  throw new Error("Cannot find package.json configuration");
959
959
  }
960
- let packageJsonContent = await _promises.readFile.call(void 0, _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
960
+ let packageJsonContent = await _promises.readFile.call(void 0, _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
961
961
  if (!packageJsonContent) {
962
962
  throw new Error("Cannot find package.json configuration file");
963
963
  }
@@ -974,7 +974,7 @@ async function generatePackageJson(options) {
974
974
  while (entryPath.startsWith("/")) {
975
975
  entryPath = entryPath.substring(1);
976
976
  }
977
- entryPath = `./${_chunkLFUHP3V6cjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
977
+ entryPath = `./${_chunk5FQVMM7Icjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
978
978
  if (!ret.includes(entryPath)) {
979
979
  ret.push(entryPath);
980
980
  }
@@ -1005,23 +1005,23 @@ async function generatePackageJson(options) {
1005
1005
  }, packageJson.exports);
1006
1006
  packageJson.exports["./package.json"] ??= "./package.json";
1007
1007
  packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, options.sourceRoot, options.projectRoot);
1008
- await _devkit.writeJsonFile.call(void 0, _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1008
+ await _devkit.writeJsonFile.call(void 0, _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1009
1009
  stopwatch();
1010
1010
  }
1011
1011
  return options;
1012
1012
  }
1013
1013
  _chunkBGYQAVKQcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
1014
1014
  async function executeUnbuild(options) {
1015
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
1016
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
1015
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
1016
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
1017
1017
  try {
1018
1018
  const config = {
1019
1019
  ...options,
1020
1020
  config: null,
1021
- rootDir: _chunkLFUHP3V6cjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1021
+ rootDir: _chunk5FQVMM7Icjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1022
1022
  };
1023
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, `Running with unbuild configuration:
1024
- ${_chunkLFUHP3V6cjs.formatLogMessage.call(void 0, config)}
1023
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, `Running with unbuild configuration:
1024
+ ${_chunk5FQVMM7Icjs.formatLogMessage.call(void 0, config)}
1025
1025
  `, options.config);
1026
1026
  await _unbuild.build.call(void 0, options.projectRoot, false, config);
1027
1027
  } finally {
@@ -1031,8 +1031,8 @@ ${_chunkLFUHP3V6cjs.formatLogMessage.call(void 0, config)}
1031
1031
  }
1032
1032
  _chunkBGYQAVKQcjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
1033
1033
  async function copyBuildAssets(options) {
1034
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
1035
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1034
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
1035
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1036
1036
  await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.sourceRoot, options.generatePackageJson, options.includeSrc);
1037
1037
  stopwatch();
1038
1038
  return options;
@@ -1040,9 +1040,9 @@ async function copyBuildAssets(options) {
1040
1040
  _chunkBGYQAVKQcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1041
1041
  async function cleanOutputPath(options) {
1042
1042
  if (options.clean !== false && options.outDir) {
1043
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
1044
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, `${options.name} output clean`);
1045
- await _chunkI7SGCUR4cjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1043
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
1044
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, `${options.name} output clean`);
1045
+ await _chunk3HGUCQU6cjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1046
1046
  stopwatch();
1047
1047
  }
1048
1048
  return options;
@@ -1058,18 +1058,18 @@ async function build(options) {
1058
1058
  throw new Error("Cannot find workspace root");
1059
1059
  }
1060
1060
  const config = await getConfig(workspaceRoot.dir);
1061
- _chunkLFUHP3V6cjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1062
- const stopwatch = _chunkLFUHP3V6cjs.getStopwatch.call(void 0, "Unbuild pipeline");
1061
+ _chunk5FQVMM7Icjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1062
+ const stopwatch = _chunk5FQVMM7Icjs.getStopwatch.call(void 0, "Unbuild pipeline");
1063
1063
  try {
1064
- options.projectRoot = _chunkLFUHP3V6cjs.correctPaths.call(void 0, projectRoot);
1064
+ options.projectRoot = _chunk5FQVMM7Icjs.correctPaths.call(void 0, projectRoot);
1065
1065
  const resolvedOptions = await resolveOptions(options, config);
1066
1066
  await cleanOutputPath(resolvedOptions);
1067
1067
  await generatePackageJson(resolvedOptions);
1068
1068
  await executeUnbuild(resolvedOptions);
1069
1069
  await copyBuildAssets(resolvedOptions);
1070
- _chunkLFUHP3V6cjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1070
+ _chunk5FQVMM7Icjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1071
1071
  } catch (error) {
1072
- _chunkLFUHP3V6cjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1072
+ _chunk5FQVMM7Icjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1073
1073
  throw error;
1074
1074
  } finally {
1075
1075
  stopwatch();
@@ -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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkLFUHP3V6cjs = require('./chunk-LFUHP3V6.cjs');
3
+ var _chunk5FQVMM7Icjs = require('./chunk-5FQVMM7I.cjs');
4
4
 
5
5
 
6
6
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -32,7 +32,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
32
32
  declaration: true,
33
33
  paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
34
34
  };
35
- _chunkLFUHP3V6cjs.writeTrace.call(void 0, compilerOptions, config);
35
+ _chunk5FQVMM7Icjs.writeTrace.call(void 0, compilerOptions, config);
36
36
  return compilerOptions;
37
37
  }
38
38
  _chunkBGYQAVKQcjs.__name.call(void 0, createTsCompilerOptions, "createTsCompilerOptions");