@storm-software/tsdown 0.36.31 → 0.36.33

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.
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.36.29-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.36.31-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/build.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkD4M5FAMYcjs = require('./chunk-D4M5FAMY.cjs');
5
- require('./chunk-M3J7ETJV.cjs');
4
+ var _chunkM3B4C6YYcjs = require('./chunk-M3B4C6YY.cjs');
5
+ require('./chunk-NO6SO7IV.cjs');
6
6
  require('./chunk-65E5RX7I.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.build = _chunkD4M5FAMYcjs.build; exports.cleanOutputPath = _chunkD4M5FAMYcjs.cleanOutputPath;
10
+ exports.build = _chunkM3B4C6YYcjs.build; exports.cleanOutputPath = _chunkM3B4C6YYcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-YQ2IL6GT.js";
5
- import "./chunk-33JYA3V2.js";
4
+ } from "./chunk-A47KGEAM.js";
5
+ import "./chunk-OGKF6ZMK.js";
6
6
  import "./chunk-2YE3GBQH.js";
7
7
  export {
8
8
  build,
@@ -21,7 +21,7 @@ import {
21
21
  writeSuccess,
22
22
  writeTrace,
23
23
  writeWarning
24
- } from "./chunk-33JYA3V2.js";
24
+ } from "./chunk-OGKF6ZMK.js";
25
25
  import {
26
26
  DEFAULT_BUILD_OPTIONS
27
27
  } from "./chunk-2YE3GBQH.js";
@@ -21,7 +21,7 @@
21
21
 
22
22
 
23
23
 
24
- var _chunkM3J7ETJVcjs = require('./chunk-M3J7ETJV.cjs');
24
+ var _chunkNO6SO7IVcjs = require('./chunk-NO6SO7IV.cjs');
25
25
 
26
26
 
27
27
  var _chunk65E5RX7Icjs = require('./chunk-65E5RX7I.cjs');
@@ -81,9 +81,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
81
81
  output: "src/"
82
82
  });
83
83
  }
84
- _chunkM3J7ETJVcjs.writeTrace.call(void 0,
84
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0,
85
85
  `\u{1F4DD} Copying the following assets to the output directory:
86
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkM3J7ETJVcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
86
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkNO6SO7IVcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
87
87
  config
88
88
  );
89
89
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -94,18 +94,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
94
94
  });
95
95
  await assetHandler.processAllAssetsOnce();
96
96
  if (includeSrc === true) {
97
- _chunkM3J7ETJVcjs.writeDebug.call(void 0,
98
- `\u{1F4DD} Adding banner and writing source files: ${_chunkM3J7ETJVcjs.joinPaths.call(void 0,
97
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0,
98
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkNO6SO7IVcjs.joinPaths.call(void 0,
99
99
  outputPath,
100
100
  "src"
101
101
  )}`,
102
102
  config
103
103
  );
104
104
  const files = await _glob.glob.call(void 0, [
105
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
106
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
107
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
108
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
105
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
106
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
107
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
108
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
109
109
  ]);
110
110
  await Promise.allSettled(
111
111
  files.map(
@@ -160,7 +160,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
160
160
  )) {
161
161
  const projectNode = project.node;
162
162
  if (projectNode.data.root) {
163
- const projectPackageJsonPath = _chunkM3J7ETJVcjs.joinPaths.call(void 0,
163
+ const projectPackageJsonPath = _chunkNO6SO7IVcjs.joinPaths.call(void 0,
164
164
  workspaceRoot,
165
165
  projectNode.data.root,
166
166
  "package.json"
@@ -178,11 +178,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
178
178
  }
179
179
  }
180
180
  if (localPackages.length > 0) {
181
- _chunkM3J7ETJVcjs.writeTrace.call(void 0,
181
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0,
182
182
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
183
183
  );
184
184
  const projectJsonFile = await _promises.readFile.call(void 0,
185
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, projectRoot, "project.json"),
185
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, projectRoot, "project.json"),
186
186
  "utf8"
187
187
  );
188
188
  const projectJson = JSON.parse(projectJsonFile);
@@ -195,7 +195,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
195
195
  }
196
196
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[projectName2], 'access', _11 => _11.implicitDependencies, 'optionalAccess', _12 => _12.reduce, 'call', _13 => _13((ret, dep) => {
197
197
  if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
198
- const depPackageJsonPath = _chunkM3J7ETJVcjs.joinPaths.call(void 0,
198
+ const depPackageJsonPath = _chunkNO6SO7IVcjs.joinPaths.call(void 0,
199
199
  workspaceRoot,
200
200
  projectConfigurations.projects[dep].root,
201
201
  "package.json"
@@ -226,14 +226,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
226
226
  return ret;
227
227
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
228
228
  } else {
229
- _chunkM3J7ETJVcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
229
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
230
230
  }
231
231
  return packageJson;
232
232
  };
233
233
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
234
- const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkM3J7ETJVcjs.findWorkspaceRoot.call(void 0, );
234
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkNO6SO7IVcjs.findWorkspaceRoot.call(void 0, );
235
235
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
236
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
236
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
237
237
  "utf8"
238
238
  );
239
239
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -244,7 +244,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
244
244
  if (distSrc.startsWith("/")) {
245
245
  distSrc = distSrc.substring(1);
246
246
  }
247
- packageJson.source ??= `${_chunkM3J7ETJVcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
247
+ packageJson.source ??= `${_chunkNO6SO7IVcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
248
248
  }
249
249
  packageJson.files ??= ["dist/**/*"];
250
250
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -269,7 +269,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
269
269
  packageJson.contributors = [packageJson.author];
270
270
  }
271
271
  packageJson.repository ??= workspacePackageJson.repository;
272
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkM3J7ETJVcjs.joinPaths.call(void 0, "packages", projectName);
272
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkNO6SO7IVcjs.joinPaths.call(void 0, "packages", projectName);
273
273
  return packageJson;
274
274
  };
275
275
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -297,7 +297,7 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
297
297
  var _c12 = require('c12');
298
298
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
299
299
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
300
- const workspacePath = filePath || _chunkM3J7ETJVcjs.findWorkspaceRoot.call(void 0, filePath);
300
+ const workspacePath = filePath || _chunkNO6SO7IVcjs.findWorkspaceRoot.call(void 0, filePath);
301
301
  const configs = await Promise.all([
302
302
  _c12.loadConfig.call(void 0, {
303
303
  cwd: workspacePath,
@@ -306,7 +306,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
306
306
  envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
307
307
  jitiOptions: {
308
308
  debug: false,
309
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkM3J7ETJVcjs.joinPaths.call(void 0,
309
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkNO6SO7IVcjs.joinPaths.call(void 0,
310
310
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
311
311
  "jiti"
312
312
  )
@@ -320,7 +320,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
320
320
  envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
321
321
  jitiOptions: {
322
322
  debug: false,
323
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkM3J7ETJVcjs.joinPaths.call(void 0,
323
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkNO6SO7IVcjs.joinPaths.call(void 0,
324
324
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
325
325
  "jiti"
326
326
  )
@@ -332,12 +332,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
332
332
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
333
333
  };
334
334
  var getConfigFile = async (filePath, additionalFileNames = []) => {
335
- const workspacePath = filePath ? filePath : _chunkM3J7ETJVcjs.findWorkspaceRoot.call(void 0, filePath);
335
+ const workspacePath = filePath ? filePath : _chunkNO6SO7IVcjs.findWorkspaceRoot.call(void 0, filePath);
336
336
  const result = await getConfigFileByName("storm-workspace", workspacePath);
337
337
  let config = result.config;
338
338
  const configFile = result.configFile;
339
339
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
340
- _chunkM3J7ETJVcjs.writeTrace.call(void 0,
340
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0,
341
341
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
342
342
  {
343
343
  logLevel: "all"
@@ -353,7 +353,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
353
353
  for (const result2 of results) {
354
354
  if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
355
355
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
356
- _chunkM3J7ETJVcjs.writeTrace.call(void 0,
356
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0,
357
357
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
358
358
  {
359
359
  logLevel: "all"
@@ -432,15 +432,15 @@ var getConfigEnv = () => {
432
432
  support: process.env[`${prefix}SUPPORT`] || void 0,
433
433
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
434
434
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
435
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
436
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
435
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
436
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
437
437
  directories: {
438
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
439
- data: process.env[`${prefix}DATA_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
440
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
441
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
442
- log: process.env[`${prefix}LOG_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
443
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkM3J7ETJVcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
438
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
439
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
440
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
441
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
442
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
443
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkNO6SO7IVcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
444
444
  },
445
445
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
446
446
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -465,13 +465,13 @@ var getConfigEnv = () => {
465
465
  },
466
466
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
467
467
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
468
- ) ? _chunkM3J7ETJVcjs.getLogLevelLabel.call(void 0,
468
+ ) ? _chunkNO6SO7IVcjs.getLogLevelLabel.call(void 0,
469
469
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
470
470
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
471
471
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
472
472
  };
473
473
  const themeNames = Object.keys(process.env).filter(
474
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkM3J7ETJVcjs.COLOR_KEYS.every(
474
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkNO6SO7IVcjs.COLOR_KEYS.every(
475
475
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
476
476
  )
477
477
  );
@@ -482,16 +482,16 @@ var getConfigEnv = () => {
482
482
  },
483
483
  {}
484
484
  ) : getThemeColorConfigEnv(prefix);
485
- if (config.docs === _chunkM3J7ETJVcjs.STORM_DEFAULT_DOCS) {
486
- if (config.homepage === _chunkM3J7ETJVcjs.STORM_DEFAULT_HOMEPAGE) {
487
- config.docs = `${_chunkM3J7ETJVcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
485
+ if (config.docs === _chunkNO6SO7IVcjs.STORM_DEFAULT_DOCS) {
486
+ if (config.homepage === _chunkNO6SO7IVcjs.STORM_DEFAULT_HOMEPAGE) {
487
+ config.docs = `${_chunkNO6SO7IVcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
488
488
  } else {
489
489
  config.docs = `${config.homepage}/docs`;
490
490
  }
491
491
  }
492
- if (config.licensing === _chunkM3J7ETJVcjs.STORM_DEFAULT_LICENSING) {
493
- if (config.homepage === _chunkM3J7ETJVcjs.STORM_DEFAULT_HOMEPAGE) {
494
- config.licensing = `${_chunkM3J7ETJVcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
492
+ if (config.licensing === _chunkNO6SO7IVcjs.STORM_DEFAULT_LICENSING) {
493
+ if (config.homepage === _chunkNO6SO7IVcjs.STORM_DEFAULT_HOMEPAGE) {
494
+ config.licensing = `${_chunkNO6SO7IVcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
495
495
  } else {
496
496
  config.licensing = `${config.homepage}/docs`;
497
497
  }
@@ -692,40 +692,40 @@ var setConfigEnv = (config) => {
692
692
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
693
693
  }
694
694
  if (config.configFile) {
695
- process.env[`${prefix}CONFIG_FILE`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.configFile);
695
+ process.env[`${prefix}CONFIG_FILE`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.configFile);
696
696
  }
697
697
  if (config.workspaceRoot) {
698
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.workspaceRoot);
699
- process.env.NX_WORKSPACE_ROOT = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.workspaceRoot);
700
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.workspaceRoot);
698
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.workspaceRoot);
699
+ process.env.NX_WORKSPACE_ROOT = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.workspaceRoot);
700
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.workspaceRoot);
701
701
  }
702
702
  if (config.directories) {
703
703
  if (!config.skipCache && config.directories.cache) {
704
- process.env[`${prefix}CACHE_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0,
704
+ process.env[`${prefix}CACHE_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0,
705
705
  config.directories.cache
706
706
  );
707
707
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
708
708
  }
709
709
  if (config.directories.data) {
710
- process.env[`${prefix}DATA_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.directories.data);
710
+ process.env[`${prefix}DATA_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.directories.data);
711
711
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
712
712
  }
713
713
  if (config.directories.config) {
714
- process.env[`${prefix}CONFIG_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0,
714
+ process.env[`${prefix}CONFIG_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0,
715
715
  config.directories.config
716
716
  );
717
717
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
718
718
  }
719
719
  if (config.directories.temp) {
720
- process.env[`${prefix}TEMP_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.directories.temp);
720
+ process.env[`${prefix}TEMP_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.directories.temp);
721
721
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
722
722
  }
723
723
  if (config.directories.log) {
724
- process.env[`${prefix}LOG_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0, config.directories.log);
724
+ process.env[`${prefix}LOG_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0, config.directories.log);
725
725
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
726
726
  }
727
727
  if (config.directories.build) {
728
- process.env[`${prefix}BUILD_DIR`] = _chunkM3J7ETJVcjs.correctPaths.call(void 0,
728
+ process.env[`${prefix}BUILD_DIR`] = _chunkNO6SO7IVcjs.correctPaths.call(void 0,
729
729
  config.directories.build
730
730
  );
731
731
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
@@ -792,9 +792,9 @@ var setConfigEnv = (config) => {
792
792
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
793
793
  process.env.LOG_LEVEL = String(config.logLevel);
794
794
  process.env.NX_VERBOSE_LOGGING = String(
795
- _chunkM3J7ETJVcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkM3J7ETJVcjs.LogLevel.DEBUG ? true : false
795
+ _chunkNO6SO7IVcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkNO6SO7IVcjs.LogLevel.DEBUG ? true : false
796
796
  );
797
- process.env.RUST_BACKTRACE = _chunkM3J7ETJVcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkM3J7ETJVcjs.LogLevel.DEBUG ? "full" : "none";
797
+ process.env.RUST_BACKTRACE = _chunkNO6SO7IVcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkNO6SO7IVcjs.LogLevel.DEBUG ? "full" : "none";
798
798
  }
799
799
  if (config.skipConfigLogging !== void 0) {
800
800
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -914,13 +914,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
914
914
  if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
915
915
  let _workspaceRoot = workspaceRoot;
916
916
  if (!_workspaceRoot) {
917
- _workspaceRoot = _chunkM3J7ETJVcjs.findWorkspaceRoot.call(void 0, );
917
+ _workspaceRoot = _chunkNO6SO7IVcjs.findWorkspaceRoot.call(void 0, );
918
918
  }
919
919
  const configEnv = getConfigEnv();
920
920
  const configFile = await getConfigFile(_workspaceRoot);
921
921
  if (!configFile) {
922
922
  if (!skipLogs) {
923
- _chunkM3J7ETJVcjs.writeWarning.call(void 0,
923
+ _chunkNO6SO7IVcjs.writeWarning.call(void 0,
924
924
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
925
925
  { logLevel: "all" }
926
926
  );
@@ -929,9 +929,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
929
929
  return void 0;
930
930
  }
931
931
  }
932
- const defaultConfig = await _chunkM3J7ETJVcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
933
- result = _chunkM3J7ETJVcjs.applyDefaultConfig.call(void 0,
934
- await _chunkM3J7ETJVcjs.stormWorkspaceConfigSchema.parseAsync(
932
+ const defaultConfig = await _chunkNO6SO7IVcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
933
+ result = _chunkNO6SO7IVcjs.applyDefaultConfig.call(void 0,
934
+ await _chunkNO6SO7IVcjs.stormWorkspaceConfigSchema.parseAsync(
935
935
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
936
936
  )
937
937
  );
@@ -973,9 +973,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
973
973
  );
974
974
  setConfigEnv(config);
975
975
  if (!skipLogs && !config.skipConfigLogging) {
976
- _chunkM3J7ETJVcjs.writeTrace.call(void 0,
976
+ _chunkNO6SO7IVcjs.writeTrace.call(void 0,
977
977
  `\u2699\uFE0F Using Storm Workspace configuration:
978
- ${_chunkM3J7ETJVcjs.formatLogMessage.call(void 0, config)}`,
978
+ ${_chunkNO6SO7IVcjs.formatLogMessage.call(void 0, config)}`,
979
979
  config
980
980
  );
981
981
  }
@@ -990,7 +990,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
990
990
  // ../build-tools/src/utilities/get-entry-points.ts
991
991
 
992
992
  var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
993
- const workspaceRoot = config.workspaceRoot || _chunkM3J7ETJVcjs.findWorkspaceRoot.call(void 0, );
993
+ const workspaceRoot = config.workspaceRoot || _chunkNO6SO7IVcjs.findWorkspaceRoot.call(void 0, );
994
994
  const entryPoints = [];
995
995
  if (entry) {
996
996
  if (typeof entry === "string") {
@@ -1003,7 +1003,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
1003
1003
  }
1004
1004
  if (emitOnAll) {
1005
1005
  entryPoints.push(
1006
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
1006
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
1007
1007
  );
1008
1008
  }
1009
1009
  const results = await Promise.all(
@@ -1016,12 +1016,12 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
1016
1016
  });
1017
1017
  paths.push(
1018
1018
  ...files.reduce((ret, filePath) => {
1019
- const result = _chunkM3J7ETJVcjs.correctPaths.call(void 0,
1020
- _chunkM3J7ETJVcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkM3J7ETJVcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkM3J7ETJVcjs.correctPaths.call(void 0, projectRoot), "")
1019
+ const result = _chunkNO6SO7IVcjs.correctPaths.call(void 0,
1020
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkNO6SO7IVcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkNO6SO7IVcjs.correctPaths.call(void 0, projectRoot), "")
1021
1021
  );
1022
1022
  if (result) {
1023
- _chunkM3J7ETJVcjs.writeDebug.call(void 0,
1024
- `Trying to add entry point ${result} at "${_chunkM3J7ETJVcjs.joinPaths.call(void 0,
1023
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0,
1024
+ `Trying to add entry point ${result} at "${_chunkNO6SO7IVcjs.joinPaths.call(void 0,
1025
1025
  filePath.path,
1026
1026
  filePath.name
1027
1027
  )}"`,
@@ -1035,7 +1035,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
1035
1035
  }, [])
1036
1036
  );
1037
1037
  } else {
1038
- _chunkM3J7ETJVcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
1038
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
1039
1039
  if (!paths.includes(entryPoint)) {
1040
1040
  paths.push(entryPoint);
1041
1041
  }
@@ -1090,12 +1090,12 @@ var resolveOptions = async (userOptions) => {
1090
1090
  throw new Error("Cannot find Nx workspace root");
1091
1091
  }
1092
1092
  const config = await getConfig(workspaceRoot.dir);
1093
- _chunkM3J7ETJVcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1094
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, "Build options resolution");
1093
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1094
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, "Build options resolution");
1095
1095
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1096
1096
  exitOnError: true
1097
1097
  });
1098
- const projectJsonPath = _chunkM3J7ETJVcjs.joinPaths.call(void 0,
1098
+ const projectJsonPath = _chunkNO6SO7IVcjs.joinPaths.call(void 0,
1099
1099
  workspaceRoot.dir,
1100
1100
  projectRoot,
1101
1101
  "project.json"
@@ -1115,7 +1115,7 @@ var resolveOptions = async (userOptions) => {
1115
1115
  const options = _defu2.default.call(void 0, userOptions, _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS);
1116
1116
  options.name ??= `${projectName}-${options.format}`;
1117
1117
  options.target ??= DEFAULT_TARGET;
1118
- const packageJsonPath = _chunkM3J7ETJVcjs.joinPaths.call(void 0,
1118
+ const packageJsonPath = _chunkNO6SO7IVcjs.joinPaths.call(void 0,
1119
1119
  workspaceRoot.dir,
1120
1120
  options.projectRoot,
1121
1121
  "package.json"
@@ -1128,7 +1128,7 @@ var resolveOptions = async (userOptions) => {
1128
1128
  ...options,
1129
1129
  config,
1130
1130
  ...userOptions,
1131
- tsconfig: _chunkM3J7ETJVcjs.joinPaths.call(void 0,
1131
+ tsconfig: _chunkNO6SO7IVcjs.joinPaths.call(void 0,
1132
1132
  projectRoot,
1133
1133
  userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"
1134
1134
  ),
@@ -1140,15 +1140,15 @@ var resolveOptions = async (userOptions) => {
1140
1140
  userOptions.entry || ["./src/index.ts"],
1141
1141
  userOptions.emitOnAll
1142
1142
  ),
1143
- outdir: userOptions.outputPath || _chunkM3J7ETJVcjs.joinPaths.call(void 0, "dist", projectRoot),
1143
+ outdir: userOptions.outputPath || _chunkNO6SO7IVcjs.joinPaths.call(void 0, "dist", projectRoot),
1144
1144
  plugins: [],
1145
1145
  name: userOptions.name || projectName,
1146
1146
  projectConfigurations,
1147
1147
  projectName,
1148
1148
  projectGraph,
1149
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkM3J7ETJVcjs.joinPaths.call(void 0, projectRoot, "src"),
1149
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkNO6SO7IVcjs.joinPaths.call(void 0, projectRoot, "src"),
1150
1150
  minify: userOptions.minify || !userOptions.debug,
1151
- verbose: userOptions.verbose || _chunkM3J7ETJVcjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1151
+ verbose: userOptions.verbose || _chunkNO6SO7IVcjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1152
1152
  includeSrc: userOptions.includeSrc === true,
1153
1153
  metafile: userOptions.metafile !== false,
1154
1154
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1180,15 +1180,15 @@ var resolveOptions = async (userOptions) => {
1180
1180
  return result;
1181
1181
  };
1182
1182
  async function generatePackageJson(options) {
1183
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkM3J7ETJVcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1184
- _chunkM3J7ETJVcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1185
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, "Write package.json file");
1186
- const packageJsonPath = _chunkM3J7ETJVcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1183
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkNO6SO7IVcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1184
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1185
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, "Write package.json file");
1186
+ const packageJsonPath = _chunkNO6SO7IVcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1187
1187
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1188
1188
  throw new Error("Cannot find package.json configuration");
1189
1189
  }
1190
1190
  const packageJsonFile = await _promises2.default.readFile(
1191
- _chunkM3J7ETJVcjs.joinPaths.call(void 0,
1191
+ _chunkNO6SO7IVcjs.joinPaths.call(void 0,
1192
1192
  options.config.workspaceRoot,
1193
1193
  options.projectRoot,
1194
1194
  "package.json"
@@ -1250,14 +1250,14 @@ async function generatePackageJson(options) {
1250
1250
  },
1251
1251
  packageJson.exports
1252
1252
  );
1253
- await _devkit.writeJsonFile.call(void 0, _chunkM3J7ETJVcjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1253
+ await _devkit.writeJsonFile.call(void 0, _chunkNO6SO7IVcjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1254
1254
  stopwatch();
1255
1255
  }
1256
1256
  return options;
1257
1257
  }
1258
1258
  async function executeTSDown(options) {
1259
- _chunkM3J7ETJVcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1260
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, `${options.name} build`);
1259
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1260
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, `${options.name} build`);
1261
1261
  await _tsdown.build.call(void 0, {
1262
1262
  ...options,
1263
1263
  entry: options.entryPoints,
@@ -1268,11 +1268,11 @@ async function executeTSDown(options) {
1268
1268
  return options;
1269
1269
  }
1270
1270
  async function copyBuildAssets(options) {
1271
- _chunkM3J7ETJVcjs.writeDebug.call(void 0,
1271
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0,
1272
1272
  ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`,
1273
1273
  options.config
1274
1274
  );
1275
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1275
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1276
1276
  await copyAssets(
1277
1277
  options.config,
1278
1278
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1286,26 +1286,26 @@ async function copyBuildAssets(options) {
1286
1286
  return options;
1287
1287
  }
1288
1288
  async function reportResults(options) {
1289
- _chunkM3J7ETJVcjs.writeSuccess.call(void 0,
1289
+ _chunkNO6SO7IVcjs.writeSuccess.call(void 0,
1290
1290
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1291
1291
  options.config
1292
1292
  );
1293
1293
  }
1294
1294
  async function cleanOutputPath(options) {
1295
1295
  if (options.clean !== false && options.outdir) {
1296
- _chunkM3J7ETJVcjs.writeDebug.call(void 0,
1296
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0,
1297
1297
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`,
1298
1298
  options.config
1299
1299
  );
1300
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, `${options.name} output clean`);
1301
- await _chunkM3J7ETJVcjs.cleanDirectories.call(void 0, options.name, options.outdir, options.config);
1300
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, `${options.name} output clean`);
1301
+ await _chunkNO6SO7IVcjs.cleanDirectories.call(void 0, options.name, options.outdir, options.config);
1302
1302
  stopwatch();
1303
1303
  }
1304
1304
  return options;
1305
1305
  }
1306
1306
  async function build(options) {
1307
- _chunkM3J7ETJVcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1308
- const stopwatch = _chunkM3J7ETJVcjs.getStopwatch.call(void 0, "TSDown pipeline");
1307
+ _chunkNO6SO7IVcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1308
+ const stopwatch = _chunkNO6SO7IVcjs.getStopwatch.call(void 0, "TSDown pipeline");
1309
1309
  try {
1310
1310
  const opts = Array.isArray(options) ? options : [options];
1311
1311
  if (opts.length === 0) {
@@ -1325,13 +1325,13 @@ async function build(options) {
1325
1325
  })
1326
1326
  );
1327
1327
  } else {
1328
- _chunkM3J7ETJVcjs.writeWarning.call(void 0,
1328
+ _chunkNO6SO7IVcjs.writeWarning.call(void 0,
1329
1329
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1330
1330
  );
1331
1331
  }
1332
- _chunkM3J7ETJVcjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1332
+ _chunkNO6SO7IVcjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1333
1333
  } catch (error) {
1334
- _chunkM3J7ETJVcjs.writeFatal.call(void 0,
1334
+ _chunkNO6SO7IVcjs.writeFatal.call(void 0,
1335
1335
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1336
1336
  );
1337
1337
  throw error;
@@ -792,7 +792,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
792
792
  return (message) => {
793
793
  console.debug(
794
794
  `
795
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
795
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
796
796
  `
797
797
  );
798
798
  };
@@ -801,7 +801,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
801
801
  return (message) => {
802
802
  console.debug(
803
803
  `
804
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
804
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
805
805
  `
806
806
  );
807
807
  };
@@ -809,7 +809,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
809
809
  return (message) => {
810
810
  console.log(
811
811
  `
812
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
812
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
813
813
  `
814
814
  );
815
815
  };
@@ -792,7 +792,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
792
792
  return (message) => {
793
793
  console.debug(
794
794
  `
795
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
795
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
796
796
  `
797
797
  );
798
798
  };
@@ -801,7 +801,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
801
801
  return (message) => {
802
802
  console.debug(
803
803
  `
804
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
804
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
805
805
  `
806
806
  );
807
807
  };
@@ -809,7 +809,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
809
809
  return (message) => {
810
810
  console.log(
811
811
  `
812
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
812
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
813
813
  `
814
814
  );
815
815
  };
package/dist/clean.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkM3J7ETJVcjs = require('./chunk-M3J7ETJV.cjs');
4
+ var _chunkNO6SO7IVcjs = require('./chunk-NO6SO7IV.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.clean = _chunkM3J7ETJVcjs.clean; exports.cleanDirectories = _chunkM3J7ETJVcjs.cleanDirectories;
8
+ exports.clean = _chunkNO6SO7IVcjs.clean; exports.cleanDirectories = _chunkNO6SO7IVcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-33JYA3V2.js";
4
+ } from "./chunk-OGKF6ZMK.js";
5
5
  export {
6
6
  clean,
7
7
  cleanDirectories
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkD4M5FAMYcjs = require('./chunk-D4M5FAMY.cjs');
4
+ var _chunkM3B4C6YYcjs = require('./chunk-M3B4C6YY.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkM3J7ETJVcjs = require('./chunk-M3J7ETJV.cjs');
8
+ var _chunkNO6SO7IVcjs = require('./chunk-NO6SO7IV.cjs');
9
9
 
10
10
 
11
11
  var _chunk65E5RX7Icjs = require('./chunk-65E5RX7I.cjs');
@@ -16,4 +16,4 @@ require('./chunk-ZBPRDZS4.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkD4M5FAMYcjs.build; exports.clean = _chunkM3J7ETJVcjs.clean; exports.cleanDirectories = _chunkM3J7ETJVcjs.cleanDirectories; exports.cleanOutputPath = _chunkD4M5FAMYcjs.cleanOutputPath;
19
+ exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkM3B4C6YYcjs.build; exports.clean = _chunkNO6SO7IVcjs.clean; exports.cleanDirectories = _chunkNO6SO7IVcjs.cleanDirectories; exports.cleanOutputPath = _chunkM3B4C6YYcjs.cleanOutputPath;
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-YQ2IL6GT.js";
4
+ } from "./chunk-A47KGEAM.js";
5
5
  import {
6
6
  clean,
7
7
  cleanDirectories
8
- } from "./chunk-33JYA3V2.js";
8
+ } from "./chunk-OGKF6ZMK.js";
9
9
  import {
10
10
  DEFAULT_BUILD_OPTIONS
11
11
  } from "./chunk-2YE3GBQH.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsdown",
3
- "version": "0.36.31",
3
+ "version": "0.36.33",
4
4
  "type": "module",
5
5
  "description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -149,9 +149,9 @@
149
149
  "tsdown": { "optional": false }
150
150
  },
151
151
  "dependencies": {
152
- "@storm-software/build-tools": "^0.151.14",
153
- "@storm-software/config": "^1.124.7",
154
- "@storm-software/config-tools": "^1.175.6",
152
+ "@storm-software/build-tools": "^0.151.15",
153
+ "@storm-software/config": "^1.124.8",
154
+ "@storm-software/config-tools": "^1.175.8",
155
155
  "chokidar": "^4.0.3",
156
156
  "commander": "^12.1.0",
157
157
  "es-toolkit": "^1.39.5",
@@ -174,5 +174,5 @@
174
174
  },
175
175
  "publishConfig": { "access": "public" },
176
176
  "sideEffects": false,
177
- "gitHead": "121302d2d6b8fdec625ea4ce00d0026800a6bdf8"
177
+ "gitHead": "58a47acf410d136ff060f32ba5730b95f9bd1c4b"
178
178
  }