@storm-software/unbuild 0.31.3 → 0.31.4

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 _chunkCUQLNBV5cjs = require('./chunk-CUQLNBV5.cjs');
3
+ var _chunkTXZ34CR4cjs = require('./chunk-TXZ34CR4.cjs');
4
4
 
5
5
 
6
- var _chunkO45RUFL3cjs = require('./chunk-O45RUFL3.cjs');
6
+ var _chunkAK65ISF4cjs = require('./chunk-AK65ISF4.cjs');
7
7
 
8
8
 
9
- var _chunk26OHEX55cjs = require('./chunk-26OHEX55.cjs');
9
+ var _chunk7JMYS6DVcjs = require('./chunk-7JMYS6DV.cjs');
10
10
 
11
11
 
12
12
 
@@ -29,7 +29,7 @@ var _chunk26OHEX55cjs = require('./chunk-26OHEX55.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkLXCK6Y4Ccjs = require('./chunk-LXCK6Y4C.cjs');
32
+ var _chunk36DXI2BPcjs = require('./chunk-36DXI2BP.cjs');
33
33
 
34
34
 
35
35
 
@@ -83,8 +83,8 @@ var copyAssets = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async (co
83
83
  output: "src/"
84
84
  });
85
85
  }
86
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkLXCK6Y4Ccjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
86
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk36DXI2BPcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
88
88
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
89
89
  projectDir: projectRoot,
90
90
  rootDir: config.workspaceRoot,
@@ -93,12 +93,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
93
  });
94
94
  await assetHandler.processAllAssetsOnce();
95
95
  if (includeSrc === true) {
96
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkLXCK6Y4Ccjs.joinPaths.call(void 0, outputPath, "src")}`, config);
96
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunk36DXI2BPcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
97
97
  const files = await _glob.glob.call(void 0, [
98
- _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
- _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
100
- _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
101
- _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
98
+ _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
+ _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
100
+ _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
101
+ _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
102
102
  ]);
103
103
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
104
104
 
@@ -120,7 +120,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void
120
120
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
121
121
  const projectNode = project.node;
122
122
  if (projectNode.data.root) {
123
- const projectPackageJsonPath = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
123
+ const projectPackageJsonPath = _chunk36DXI2BPcjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
124
124
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
125
125
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
126
126
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -131,7 +131,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void
131
131
  }
132
132
  }
133
133
  if (localPackages.length > 0) {
134
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
134
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
135
135
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
136
136
  if (!ret[localPackage.name]) {
137
137
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -153,13 +153,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void
153
153
  return ret;
154
154
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
155
155
  } else {
156
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
156
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
157
157
  }
158
158
  return packageJson;
159
159
  }, "addPackageDependencies");
160
160
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
161
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkLXCK6Y4Ccjs.findWorkspaceRoot.call(void 0, );
162
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
161
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk36DXI2BPcjs.findWorkspaceRoot.call(void 0, );
162
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunk36DXI2BPcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
163
163
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
164
164
  packageJson.type ??= "module";
165
165
  packageJson.sideEffects ??= false;
@@ -168,7 +168,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.cal
168
168
  if (distSrc.startsWith("/")) {
169
169
  distSrc = distSrc.substring(1);
170
170
  }
171
- packageJson.source ??= `${_chunkLXCK6Y4Ccjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
171
+ packageJson.source ??= `${_chunk36DXI2BPcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
172
172
  }
173
173
  packageJson.files ??= [
174
174
  "dist/**/*"
@@ -199,7 +199,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.cal
199
199
  ];
200
200
  }
201
201
  packageJson.repository ??= workspacePackageJson.repository;
202
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, "packages", projectName);
202
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk36DXI2BPcjs.joinPaths.call(void 0, "packages", projectName);
203
203
  return packageJson;
204
204
  }, "addWorkspacePackageJsonFields");
205
205
 
@@ -207,7 +207,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.cal
207
207
  var _c12 = require('c12');
208
208
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
209
209
  var getConfigFileByName = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
210
- const workspacePath = filePath || _chunkLXCK6Y4Ccjs.findWorkspaceRoot.call(void 0, filePath);
210
+ const workspacePath = filePath || _chunk36DXI2BPcjs.findWorkspaceRoot.call(void 0, filePath);
211
211
  const configs = await Promise.all([
212
212
  _c12.loadConfig.call(void 0, {
213
213
  cwd: workspacePath,
@@ -216,7 +216,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0,
216
216
  envName: _optionalChain([fileName, 'optionalAccess', _2 => _2.toUpperCase, 'call', _3 => _3()]),
217
217
  jitiOptions: {
218
218
  debug: false,
219
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
219
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk36DXI2BPcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
220
220
  },
221
221
  ...options
222
222
  }),
@@ -227,7 +227,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0,
227
227
  envName: _optionalChain([fileName, 'optionalAccess', _4 => _4.toUpperCase, 'call', _5 => _5()]),
228
228
  jitiOptions: {
229
229
  debug: false,
230
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
230
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk36DXI2BPcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
231
231
  },
232
232
  configFile: fileName,
233
233
  ...options
@@ -236,12 +236,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0,
236
236
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
237
237
  }, "getConfigFileByName");
238
238
  var getConfigFile = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
239
- const workspacePath = filePath ? filePath : _chunkLXCK6Y4Ccjs.findWorkspaceRoot.call(void 0, filePath);
239
+ const workspacePath = filePath ? filePath : _chunk36DXI2BPcjs.findWorkspaceRoot.call(void 0, filePath);
240
240
  const result = await getConfigFileByName("storm", workspacePath);
241
241
  let config = result.config;
242
242
  const configFile = result.configFile;
243
243
  if (config && configFile && Object.keys(config).length > 0) {
244
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
244
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
245
245
  logLevel: "all"
246
246
  });
247
247
  }
@@ -249,7 +249,7 @@ var getConfigFile = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async
249
249
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
250
250
  for (const result2 of results) {
251
251
  if (_optionalChain([result2, 'optionalAccess', _6 => _6.config]) && _optionalChain([result2, 'optionalAccess', _7 => _7.configFile]) && Object.keys(result2.config).length > 0) {
252
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
252
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
253
253
  logLevel: "all"
254
254
  });
255
255
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
@@ -296,15 +296,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, () => {
296
296
  licensing: process.env[`${prefix}LICENSING`] || void 0,
297
297
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
298
298
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
299
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
300
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
299
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
300
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
301
301
  directories: {
302
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
303
- data: process.env[`${prefix}DATA_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
304
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
305
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
306
- log: process.env[`${prefix}LOG_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
307
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
302
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
303
+ data: process.env[`${prefix}DATA_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
304
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
305
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
306
+ log: process.env[`${prefix}LOG_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
307
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunk36DXI2BPcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
308
308
  },
309
309
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
310
310
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -327,23 +327,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, () => {
327
327
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
328
328
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
329
329
  },
330
- 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`])) ? _chunkLXCK6Y4Ccjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
330
+ 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`])) ? _chunk36DXI2BPcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
331
331
  };
332
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkLXCK6Y4Ccjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
332
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk36DXI2BPcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
333
333
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
334
334
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
335
335
  return ret;
336
336
  }, {}) : getThemeColorConfigEnv(prefix);
337
- if (config.docs === _chunkLXCK6Y4Ccjs.STORM_DEFAULT_DOCS) {
338
- if (config.homepage === _chunkLXCK6Y4Ccjs.STORM_DEFAULT_HOMEPAGE) {
339
- config.docs = `${_chunkLXCK6Y4Ccjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
337
+ if (config.docs === _chunk36DXI2BPcjs.STORM_DEFAULT_DOCS) {
338
+ if (config.homepage === _chunk36DXI2BPcjs.STORM_DEFAULT_HOMEPAGE) {
339
+ config.docs = `${_chunk36DXI2BPcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
340
340
  } else {
341
341
  config.docs = `${config.homepage}/docs`;
342
342
  }
343
343
  }
344
- if (config.licensing === _chunkLXCK6Y4Ccjs.STORM_DEFAULT_LICENSING) {
345
- if (config.homepage === _chunkLXCK6Y4Ccjs.STORM_DEFAULT_HOMEPAGE) {
346
- config.licensing = `${_chunkLXCK6Y4Ccjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
344
+ if (config.licensing === _chunk36DXI2BPcjs.STORM_DEFAULT_LICENSING) {
345
+ if (config.homepage === _chunk36DXI2BPcjs.STORM_DEFAULT_HOMEPAGE) {
346
+ config.licensing = `${_chunk36DXI2BPcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
347
347
  } else {
348
348
  config.licensing = `${config.homepage}/docs`;
349
349
  }
@@ -481,31 +481,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, (config
481
481
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
482
482
  }
483
483
  if (config.configFile) {
484
- process.env[`${prefix}CONFIG_FILE`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.configFile);
484
+ process.env[`${prefix}CONFIG_FILE`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.configFile);
485
485
  }
486
486
  if (config.workspaceRoot) {
487
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.workspaceRoot);
488
- process.env.NX_WORKSPACE_ROOT = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.workspaceRoot);
489
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.workspaceRoot);
487
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.workspaceRoot);
488
+ process.env.NX_WORKSPACE_ROOT = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.workspaceRoot);
489
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.workspaceRoot);
490
490
  }
491
491
  if (config.directories) {
492
492
  if (!config.skipCache && config.directories.cache) {
493
- process.env[`${prefix}CACHE_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.cache);
493
+ process.env[`${prefix}CACHE_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.cache);
494
494
  }
495
495
  if (config.directories.data) {
496
- process.env[`${prefix}DATA_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.data);
496
+ process.env[`${prefix}DATA_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.data);
497
497
  }
498
498
  if (config.directories.config) {
499
- process.env[`${prefix}CONFIG_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.config);
499
+ process.env[`${prefix}CONFIG_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.config);
500
500
  }
501
501
  if (config.directories.temp) {
502
- process.env[`${prefix}TEMP_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.temp);
502
+ process.env[`${prefix}TEMP_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.temp);
503
503
  }
504
504
  if (config.directories.log) {
505
- process.env[`${prefix}LOG_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.log);
505
+ process.env[`${prefix}LOG_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.log);
506
506
  }
507
507
  if (config.directories.build) {
508
- process.env[`${prefix}BUILD_DIR`] = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, config.directories.build);
508
+ process.env[`${prefix}BUILD_DIR`] = _chunk36DXI2BPcjs.correctPaths.call(void 0, config.directories.build);
509
509
  }
510
510
  }
511
511
  if (config.skipCache !== void 0) {
@@ -559,8 +559,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, (config
559
559
  if (config.logLevel) {
560
560
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
561
561
  process.env.LOG_LEVEL = String(config.logLevel);
562
- process.env.NX_VERBOSE_LOGGING = String(_chunkLXCK6Y4Ccjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLXCK6Y4Ccjs.LogLevel.DEBUG ? true : false);
563
- process.env.RUST_BACKTRACE = _chunkLXCK6Y4Ccjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLXCK6Y4Ccjs.LogLevel.DEBUG ? "full" : "none";
562
+ process.env.NX_VERBOSE_LOGGING = String(_chunk36DXI2BPcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk36DXI2BPcjs.LogLevel.DEBUG ? true : false);
563
+ process.env.RUST_BACKTRACE = _chunk36DXI2BPcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk36DXI2BPcjs.LogLevel.DEBUG ? "full" : "none";
564
564
  }
565
565
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
566
566
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
@@ -673,17 +673,17 @@ var createStormConfig = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, as
673
673
  if (!_optionalChain([_static_cache, 'optionalAccess', _30 => _30.data]) || !_optionalChain([_static_cache, 'optionalAccess', _31 => _31.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
674
674
  let _workspaceRoot = workspaceRoot;
675
675
  if (!_workspaceRoot) {
676
- _workspaceRoot = _chunkLXCK6Y4Ccjs.findWorkspaceRoot.call(void 0, );
676
+ _workspaceRoot = _chunk36DXI2BPcjs.findWorkspaceRoot.call(void 0, );
677
677
  }
678
678
  const configEnv = getConfigEnv();
679
- const defaultConfig = await _chunkLXCK6Y4Ccjs.getDefaultConfig.call(void 0, _workspaceRoot);
679
+ const defaultConfig = await _chunk36DXI2BPcjs.getDefaultConfig.call(void 0, _workspaceRoot);
680
680
  const configFile = await getConfigFile(_workspaceRoot);
681
681
  if (!configFile && !skipLogs) {
682
- _chunkLXCK6Y4Ccjs.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
+ _chunk36DXI2BPcjs.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", {
683
683
  logLevel: "all"
684
684
  });
685
685
  }
686
- result = await _chunkLXCK6Y4Ccjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
686
+ result = await _chunk36DXI2BPcjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
687
687
  result.workspaceRoot ??= _workspaceRoot;
688
688
  } else {
689
689
  result = _static_cache.data;
@@ -718,8 +718,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, asyn
718
718
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
719
719
  setConfigEnv(config);
720
720
  if (!skipLogs) {
721
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
722
- ${_chunkLXCK6Y4Ccjs.formatLogMessage.call(void 0, config)}`, config);
721
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
722
+ ${_chunk36DXI2BPcjs.formatLogMessage.call(void 0, config)}`, config);
723
723
  }
724
724
  return config;
725
725
  }, "loadStormConfig");
@@ -2180,24 +2180,24 @@ _chunkYDYGZTJKcjs.__name.call(void 0, _build, "_build");
2180
2180
 
2181
2181
  // src/build.ts
2182
2182
  async function resolveOptions(options, config) {
2183
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
2184
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, "Build options resolution");
2183
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
2184
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, "Build options resolution");
2185
2185
  if (options.configPath) {
2186
- const configFile = await _chunk26OHEX55cjs.loadConfig.call(void 0, options.configPath);
2186
+ const configFile = await _chunk7JMYS6DVcjs.loadConfig.call(void 0, options.configPath);
2187
2187
  if (configFile) {
2188
2188
  options = _defu2.default.call(void 0, options, configFile);
2189
2189
  }
2190
2190
  }
2191
- const outputPath = options.outputPath || _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, "dist", options.projectRoot);
2191
+ const outputPath = options.outputPath || _chunk36DXI2BPcjs.joinPaths.call(void 0, "dist", options.projectRoot);
2192
2192
  const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
2193
- const projectJsonPath = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
2193
+ const projectJsonPath = _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
2194
2194
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
2195
2195
  throw new Error("Cannot find project.json configuration");
2196
2196
  }
2197
2197
  const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
2198
2198
  const projectJson = JSON.parse(projectJsonContent);
2199
2199
  const projectName = projectJson.name;
2200
- const packageJsonPath = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
2200
+ const packageJsonPath = _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
2201
2201
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
2202
2202
  throw new Error("Cannot find package.json configuration");
2203
2203
  }
@@ -2205,14 +2205,14 @@ async function resolveOptions(options, config) {
2205
2205
  const packageJson = JSON.parse(packageJsonContent);
2206
2206
  let tsconfig = options.tsconfig;
2207
2207
  if (!tsconfig) {
2208
- tsconfig = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
2208
+ tsconfig = _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
2209
2209
  }
2210
2210
  if (!_fs.existsSync.call(void 0, tsconfig)) {
2211
2211
  throw new Error("Cannot find tsconfig.json configuration");
2212
2212
  }
2213
2213
  let sourceRoot = projectJson.sourceRoot;
2214
2214
  if (!sourceRoot) {
2215
- sourceRoot = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.projectRoot, "src");
2215
+ sourceRoot = _chunk36DXI2BPcjs.joinPaths.call(void 0, options.projectRoot, "src");
2216
2216
  }
2217
2217
  if (!_fs.existsSync.call(void 0, sourceRoot)) {
2218
2218
  throw new Error("Cannot find sourceRoot directory");
@@ -2244,7 +2244,7 @@ async function resolveOptions(options, config) {
2244
2244
  while (entryPath.startsWith("/")) {
2245
2245
  entryPath = entryPath.substring(1);
2246
2246
  }
2247
- const outDir = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
2247
+ const outDir = _chunk36DXI2BPcjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunk36DXI2BPcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
2248
2248
  ret.push({
2249
2249
  name: `${name}-esm`,
2250
2250
  builder: "mkdist",
@@ -2317,7 +2317,7 @@ async function resolveOptions(options, config) {
2317
2317
  splitting: options.splitting !== false,
2318
2318
  treeShaking: options.treeShaking !== false,
2319
2319
  color: true,
2320
- logLevel: config.logLevel === _chunkLXCK6Y4Ccjs.LogLevelLabel.FATAL ? _chunkLXCK6Y4Ccjs.LogLevelLabel.ERROR : _chunkLXCK6Y4Ccjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
2320
+ logLevel: config.logLevel === _chunk36DXI2BPcjs.LogLevelLabel.FATAL ? _chunk36DXI2BPcjs.LogLevelLabel.ERROR : _chunk36DXI2BPcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
2321
2321
  }
2322
2322
  }
2323
2323
  };
@@ -2334,7 +2334,7 @@ async function resolveOptions(options, config) {
2334
2334
  if (options.rollup) {
2335
2335
  let rollup2 = {};
2336
2336
  if (typeof options.rollup === "string") {
2337
- const rollupFile = await _chunk26OHEX55cjs.loadConfig.call(void 0, options.rollup);
2337
+ const rollupFile = await _chunk7JMYS6DVcjs.loadConfig.call(void 0, options.rollup);
2338
2338
  if (rollupFile) {
2339
2339
  rollup2 = rollupFile;
2340
2340
  }
@@ -2345,7 +2345,7 @@ async function resolveOptions(options, config) {
2345
2345
  }
2346
2346
  resolvedOptions.hooks = {
2347
2347
  "rollup:options": /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, async (ctx, opts) => {
2348
- opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await _chunkO45RUFL3cjs.getDefaultBuildPlugins.call(void 0, options, resolvedOptions)));
2348
+ opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await _chunkAK65ISF4cjs.getDefaultBuildPlugins.call(void 0, options, resolvedOptions)));
2349
2349
  }, "rollup:options")
2350
2350
  };
2351
2351
  stopwatch();
@@ -2383,14 +2383,14 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0,
2383
2383
  };
2384
2384
  }, "addPackageJsonExport");
2385
2385
  async function generatePackageJson(options) {
2386
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
2387
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
2388
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, "Write package.json file");
2389
- const packageJsonPath = _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.projectRoot, "project.json");
2386
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk36DXI2BPcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
2387
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
2388
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, "Write package.json file");
2389
+ const packageJsonPath = _chunk36DXI2BPcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
2390
2390
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
2391
2391
  throw new Error("Cannot find package.json configuration");
2392
2392
  }
2393
- let packageJsonContent = await _promises.readFile.call(void 0, _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
2393
+ let packageJsonContent = await _promises.readFile.call(void 0, _chunk36DXI2BPcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
2394
2394
  if (!packageJsonContent) {
2395
2395
  throw new Error("Cannot find package.json configuration file");
2396
2396
  }
@@ -2407,7 +2407,7 @@ async function generatePackageJson(options) {
2407
2407
  while (entryPath.startsWith("/")) {
2408
2408
  entryPath = entryPath.substring(1);
2409
2409
  }
2410
- entryPath = `./${_chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
2410
+ entryPath = `./${_chunk36DXI2BPcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
2411
2411
  if (!ret.includes(entryPath)) {
2412
2412
  ret.push(entryPath);
2413
2413
  }
@@ -2438,23 +2438,23 @@ async function generatePackageJson(options) {
2438
2438
  }, packageJson.exports);
2439
2439
  packageJson.exports["./package.json"] ??= "./package.json";
2440
2440
  packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, options.sourceRoot, options.projectRoot);
2441
- await _devkit.writeJsonFile.call(void 0, _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
2441
+ await _devkit.writeJsonFile.call(void 0, _chunk36DXI2BPcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
2442
2442
  stopwatch();
2443
2443
  }
2444
2444
  return options;
2445
2445
  }
2446
2446
  _chunkYDYGZTJKcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
2447
2447
  async function executeUnbuild(options) {
2448
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
2449
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
2448
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
2449
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
2450
2450
  try {
2451
2451
  const config = {
2452
2452
  ...options,
2453
2453
  config: null,
2454
- rootDir: _chunkLXCK6Y4Ccjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
2454
+ rootDir: _chunk36DXI2BPcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
2455
2455
  };
2456
- _chunkLXCK6Y4Ccjs.writeTrace.call(void 0, `Running with unbuild configuration:
2457
- ${_chunkLXCK6Y4Ccjs.formatLogMessage.call(void 0, config)}
2456
+ _chunk36DXI2BPcjs.writeTrace.call(void 0, `Running with unbuild configuration:
2457
+ ${_chunk36DXI2BPcjs.formatLogMessage.call(void 0, config)}
2458
2458
  `, options.config);
2459
2459
  await build(options.projectRoot, false, config);
2460
2460
  } finally {
@@ -2464,8 +2464,8 @@ ${_chunkLXCK6Y4Ccjs.formatLogMessage.call(void 0, config)}
2464
2464
  }
2465
2465
  _chunkYDYGZTJKcjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
2466
2466
  async function copyBuildAssets(options) {
2467
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
2468
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, `${options.name} asset copy`);
2467
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
2468
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
2469
2469
  await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.sourceRoot, options.generatePackageJson, options.includeSrc);
2470
2470
  stopwatch();
2471
2471
  return options;
@@ -2473,9 +2473,9 @@ async function copyBuildAssets(options) {
2473
2473
  _chunkYDYGZTJKcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
2474
2474
  async function cleanOutputPath(options) {
2475
2475
  if (options.clean !== false && options.outDir) {
2476
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
2477
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, `${options.name} output clean`);
2478
- await _chunkCUQLNBV5cjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
2476
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
2477
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, `${options.name} output clean`);
2478
+ await _chunkTXZ34CR4cjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
2479
2479
  stopwatch();
2480
2480
  }
2481
2481
  return options;
@@ -2491,18 +2491,18 @@ async function build2(options) {
2491
2491
  throw new Error("Cannot find workspace root");
2492
2492
  }
2493
2493
  const config = await getConfig(workspaceRoot.dir);
2494
- _chunkLXCK6Y4Ccjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
2495
- const stopwatch = _chunkLXCK6Y4Ccjs.getStopwatch.call(void 0, "Unbuild pipeline");
2494
+ _chunk36DXI2BPcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
2495
+ const stopwatch = _chunk36DXI2BPcjs.getStopwatch.call(void 0, "Unbuild pipeline");
2496
2496
  try {
2497
- options.projectRoot = _chunkLXCK6Y4Ccjs.correctPaths.call(void 0, projectRoot);
2497
+ options.projectRoot = _chunk36DXI2BPcjs.correctPaths.call(void 0, projectRoot);
2498
2498
  const resolvedOptions = await resolveOptions(options, config);
2499
2499
  await cleanOutputPath(resolvedOptions);
2500
2500
  await generatePackageJson(resolvedOptions);
2501
2501
  await executeUnbuild(resolvedOptions);
2502
2502
  await copyBuildAssets(resolvedOptions);
2503
- _chunkLXCK6Y4Ccjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
2503
+ _chunk36DXI2BPcjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
2504
2504
  } catch (error) {
2505
- _chunkLXCK6Y4Ccjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
2505
+ _chunk36DXI2BPcjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
2506
2506
  throw error;
2507
2507
  } finally {
2508
2508
  stopwatch();
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLXCK6Y4Ccjs = require('./chunk-LXCK6Y4C.cjs');
3
+ var _chunk36DXI2BPcjs = require('./chunk-36DXI2BP.cjs');
4
4
 
5
5
 
6
6
  var _chunkYDYGZTJKcjs = require('./chunk-YDYGZTJK.cjs');
@@ -25,7 +25,7 @@ var analyzePlugin = /* @__PURE__ */ _chunkYDYGZTJKcjs.__name.call(void 0, (optio
25
25
  renderChunk(source, chunk) {
26
26
  const sourceBytes = formatBytes(source.length);
27
27
  const fileName = chunk.fileName;
28
- _chunkLXCK6Y4Ccjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, resolvedOptions.config);
28
+ _chunk36DXI2BPcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, resolvedOptions.config);
29
29
  }
30
30
  };
31
31
  }, "analyzePlugin");
package/dist/clean.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkCUQLNBV5cjs = require('./chunk-CUQLNBV5.cjs');
5
- require('./chunk-LXCK6Y4C.cjs');
4
+ var _chunkTXZ34CR4cjs = require('./chunk-TXZ34CR4.cjs');
5
+ require('./chunk-36DXI2BP.cjs');
6
6
  require('./chunk-YDYGZTJK.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunkCUQLNBV5cjs.clean; exports.cleanDirectories = _chunkCUQLNBV5cjs.cleanDirectories;
10
+ exports.clean = _chunkTXZ34CR4cjs.clean; exports.cleanDirectories = _chunkTXZ34CR4cjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-XGZOR6PZ.js";
5
- import "./chunk-VWXW3RW5.js";
4
+ } from "./chunk-ERYQ4O3N.js";
5
+ import "./chunk-J4VTEQNQ.js";
6
6
  import "./chunk-3GQAWCBQ.js";
7
7
  export {
8
8
  clean,
package/dist/config.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkO45RUFL3cjs = require('./chunk-O45RUFL3.cjs');
4
- require('./chunk-26OHEX55.cjs');
3
+ var _chunkAK65ISF4cjs = require('./chunk-AK65ISF4.cjs');
4
+ require('./chunk-7JMYS6DV.cjs');
5
5
  require('./chunk-SHHAZOHN.cjs');
6
- require('./chunk-KDTFDJN3.cjs');
7
- require('./chunk-GVX7LSWK.cjs');
8
- require('./chunk-LXCK6Y4C.cjs');
6
+ require('./chunk-ZPOKDFLY.cjs');
7
+ require('./chunk-FSQI7UVH.cjs');
8
+ require('./chunk-36DXI2BP.cjs');
9
9
  require('./chunk-YDYGZTJK.cjs');
10
10
 
11
11
 
12
- exports.getDefaultBuildPlugins = _chunkO45RUFL3cjs.getDefaultBuildPlugins;
12
+ exports.getDefaultBuildPlugins = _chunkAK65ISF4cjs.getDefaultBuildPlugins;
package/dist/config.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getDefaultBuildPlugins
3
- } from "./chunk-OAOLAATA.js";
4
- import "./chunk-NYVG7QMW.js";
3
+ } from "./chunk-SRY6IWKG.js";
4
+ import "./chunk-I3ATI525.js";
5
5
  import "./chunk-ESRR2FD2.js";
6
- import "./chunk-3Q2ZB7CN.js";
7
- import "./chunk-G2BQ6VSR.js";
8
- import "./chunk-VWXW3RW5.js";
6
+ import "./chunk-JN2D2LK7.js";
7
+ import "./chunk-6N2XN6DP.js";
8
+ import "./chunk-J4VTEQNQ.js";
9
9
  import "./chunk-3GQAWCBQ.js";
10
10
  export {
11
11
  getDefaultBuildPlugins
package/dist/index.cjs CHANGED
@@ -5,23 +5,23 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkN2XPKSKOcjs = require('./chunk-N2XPKSKO.cjs');
8
+ var _chunkXXT4GSHPcjs = require('./chunk-XXT4GSHP.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkCUQLNBV5cjs = require('./chunk-CUQLNBV5.cjs');
12
+ var _chunkTXZ34CR4cjs = require('./chunk-TXZ34CR4.cjs');
13
13
 
14
14
 
15
- var _chunkO45RUFL3cjs = require('./chunk-O45RUFL3.cjs');
15
+ var _chunkAK65ISF4cjs = require('./chunk-AK65ISF4.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunk26OHEX55cjs = require('./chunk-26OHEX55.cjs');
19
+ var _chunk7JMYS6DVcjs = require('./chunk-7JMYS6DV.cjs');
20
20
  require('./chunk-SHHAZOHN.cjs');
21
21
  require('./chunk-ORA4UQMU.cjs');
22
- require('./chunk-KDTFDJN3.cjs');
23
- require('./chunk-GVX7LSWK.cjs');
24
- require('./chunk-LXCK6Y4C.cjs');
22
+ require('./chunk-ZPOKDFLY.cjs');
23
+ require('./chunk-FSQI7UVH.cjs');
24
+ require('./chunk-36DXI2BP.cjs');
25
25
  require('./chunk-YDYGZTJK.cjs');
26
26
 
27
27
 
@@ -35,4 +35,4 @@ require('./chunk-YDYGZTJK.cjs');
35
35
 
36
36
 
37
37
 
38
- exports.build = _chunkN2XPKSKOcjs.build; exports.clean = _chunkCUQLNBV5cjs.clean; exports.cleanDirectories = _chunkCUQLNBV5cjs.cleanDirectories; exports.cleanOutputPath = _chunkN2XPKSKOcjs.cleanOutputPath; exports.copyBuildAssets = _chunkN2XPKSKOcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk26OHEX55cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkN2XPKSKOcjs.executeUnbuild; exports.generatePackageJson = _chunkN2XPKSKOcjs.generatePackageJson; exports.getDefaultBuildPlugins = _chunkO45RUFL3cjs.getDefaultBuildPlugins; exports.loadConfig = _chunk26OHEX55cjs.loadConfig; exports.resolveOptions = _chunkN2XPKSKOcjs.resolveOptions;
38
+ exports.build = _chunkXXT4GSHPcjs.build; exports.clean = _chunkTXZ34CR4cjs.clean; exports.cleanDirectories = _chunkTXZ34CR4cjs.cleanDirectories; exports.cleanOutputPath = _chunkXXT4GSHPcjs.cleanOutputPath; exports.copyBuildAssets = _chunkXXT4GSHPcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk7JMYS6DVcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkXXT4GSHPcjs.executeUnbuild; exports.generatePackageJson = _chunkXXT4GSHPcjs.generatePackageJson; exports.getDefaultBuildPlugins = _chunkAK65ISF4cjs.getDefaultBuildPlugins; exports.loadConfig = _chunk7JMYS6DVcjs.loadConfig; exports.resolveOptions = _chunkXXT4GSHPcjs.resolveOptions;