@storm-software/unbuild 0.37.12 → 0.37.14

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.37.11-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.37.13-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/bin/unbuild.cjs CHANGED
@@ -117,7 +117,7 @@ var ColorConfigMapSchema = import_zod.default.union([
117
117
  var ExtendsItemSchema = import_zod.default.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
118
118
  var ExtendsSchema = ExtendsItemSchema.or(import_zod.default.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
119
119
  var WorkspaceBotConfigSchema = import_zod.default.object({
120
- name: import_zod.default.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
120
+ name: import_zod.default.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
121
121
  email: import_zod.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
122
122
  }).describe("The workspace's bot user's config used to automated various operations tasks");
123
123
  var WorkspaceDirectoryConfigSchema = import_zod.default.object({
@@ -640,7 +640,7 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
640
640
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
641
641
  return (message) => {
642
642
  console.error(`
643
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
643
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
644
644
  `);
645
645
  };
646
646
  }
@@ -1882,7 +1882,7 @@ async function generatePackageJson(options) {
1882
1882
  if (!(0, import_node_fs6.existsSync)(packageJsonPath)) {
1883
1883
  throw new Error("Cannot find package.json configuration");
1884
1884
  }
1885
- let packageJsonContent = await (0, import_promises6.readFile)(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1885
+ const packageJsonContent = await (0, import_promises6.readFile)(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1886
1886
  if (!packageJsonContent) {
1887
1887
  throw new Error("Cannot find package.json configuration file");
1888
1888
  }
@@ -1994,7 +1994,7 @@ async function build(options) {
1994
1994
  await copyBuildAssets(resolvedOptions);
1995
1995
  writeSuccess(` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1996
1996
  } catch (error) {
1997
- writeFatal(" \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1997
+ writeFatal("Fatal errors that the build process could not recover from have occured. The build process has been terminated.", config);
1998
1998
  throw error;
1999
1999
  } finally {
2000
2000
  stopwatch();
package/bin/unbuild.js CHANGED
@@ -96,7 +96,7 @@ var ColorConfigMapSchema = z.union([
96
96
  var ExtendsItemSchema = z.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
97
97
  var ExtendsSchema = ExtendsItemSchema.or(z.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
98
98
  var WorkspaceBotConfigSchema = z.object({
99
- name: z.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
99
+ name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
100
100
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
101
101
  }).describe("The workspace's bot user's config used to automated various operations tasks");
102
102
  var WorkspaceDirectoryConfigSchema = z.object({
@@ -619,7 +619,7 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
619
619
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
620
620
  return (message) => {
621
621
  console.error(`
622
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
622
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
623
623
  `);
624
624
  };
625
625
  }
@@ -1861,7 +1861,7 @@ async function generatePackageJson(options) {
1861
1861
  if (!existsSync5(packageJsonPath)) {
1862
1862
  throw new Error("Cannot find package.json configuration");
1863
1863
  }
1864
- let packageJsonContent = await readFile5(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1864
+ const packageJsonContent = await readFile5(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1865
1865
  if (!packageJsonContent) {
1866
1866
  throw new Error("Cannot find package.json configuration file");
1867
1867
  }
@@ -1973,7 +1973,7 @@ async function build(options) {
1973
1973
  await copyBuildAssets(resolvedOptions);
1974
1974
  writeSuccess(` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1975
1975
  } catch (error) {
1976
- writeFatal(" \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1976
+ writeFatal("Fatal errors that the build process could not recover from have occured. The build process has been terminated.", config);
1977
1977
  throw error;
1978
1978
  } finally {
1979
1979
  stopwatch();
package/dist/build.cjs CHANGED
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkRE2E37VBcjs = require('./chunk-RE2E37VB.cjs');
8
+ var _chunk2J4W3I3Fcjs = require('./chunk-2J4W3I3F.cjs');
9
9
  require('./chunk-OD3ULBE3.cjs');
10
- require('./chunk-5SJH5QVD.cjs');
11
- require('./chunk-4W6R6RL6.cjs');
12
- require('./chunk-UPGEZBOM.cjs');
13
- require('./chunk-NSE3JRLE.cjs');
14
- require('./chunk-SAUSZNX5.cjs');
10
+ require('./chunk-72UMCYVT.cjs');
11
+ require('./chunk-XFGV6VMY.cjs');
12
+ require('./chunk-QCZV56KW.cjs');
13
+ require('./chunk-SZEXG5I5.cjs');
14
+ require('./chunk-RGZ72JHN.cjs');
15
15
  require('./chunk-BGYQAVKQ.cjs');
16
16
 
17
17
 
@@ -20,4 +20,4 @@ require('./chunk-BGYQAVKQ.cjs');
20
20
 
21
21
 
22
22
 
23
- exports.build = _chunkRE2E37VBcjs.build; exports.cleanOutputPath = _chunkRE2E37VBcjs.cleanOutputPath; exports.copyBuildAssets = _chunkRE2E37VBcjs.copyBuildAssets; exports.executeUnbuild = _chunkRE2E37VBcjs.executeUnbuild; exports.generatePackageJson = _chunkRE2E37VBcjs.generatePackageJson; exports.resolveOptions = _chunkRE2E37VBcjs.resolveOptions;
23
+ exports.build = _chunk2J4W3I3Fcjs.build; exports.cleanOutputPath = _chunk2J4W3I3Fcjs.cleanOutputPath; exports.copyBuildAssets = _chunk2J4W3I3Fcjs.copyBuildAssets; exports.executeUnbuild = _chunk2J4W3I3Fcjs.executeUnbuild; exports.generatePackageJson = _chunk2J4W3I3Fcjs.generatePackageJson; exports.resolveOptions = _chunk2J4W3I3Fcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,13 +5,13 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-TLAKGUAR.js";
8
+ } from "./chunk-A6EYKSQX.js";
9
9
  import "./chunk-RBYYB7X2.js";
10
- import "./chunk-46QE7TKB.js";
11
- import "./chunk-L2E6Z4J5.js";
12
- import "./chunk-T43ZHS2E.js";
13
- import "./chunk-TNU6RLO7.js";
14
- import "./chunk-K6HLG2MF.js";
10
+ import "./chunk-Y2RJXSMQ.js";
11
+ import "./chunk-W5OXMTPE.js";
12
+ import "./chunk-WCG32SVT.js";
13
+ import "./chunk-UNH7U3EZ.js";
14
+ import "./chunk-MCSJC6ZH.js";
15
15
  import "./chunk-3GQAWCBQ.js";
16
16
  export {
17
17
  build,
@@ -3,17 +3,17 @@
3
3
  var _chunkOD3ULBE3cjs = require('./chunk-OD3ULBE3.cjs');
4
4
 
5
5
 
6
- var _chunk5SJH5QVDcjs = require('./chunk-5SJH5QVD.cjs');
6
+ var _chunk72UMCYVTcjs = require('./chunk-72UMCYVT.cjs');
7
7
 
8
8
 
9
- var _chunk4W6R6RL6cjs = require('./chunk-4W6R6RL6.cjs');
9
+ var _chunkXFGV6VMYcjs = require('./chunk-XFGV6VMY.cjs');
10
10
 
11
11
 
12
- var _chunkUPGEZBOMcjs = require('./chunk-UPGEZBOM.cjs');
12
+ var _chunkQCZV56KWcjs = require('./chunk-QCZV56KW.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkNSE3JRLEcjs = require('./chunk-NSE3JRLE.cjs');
16
+ var _chunkSZEXG5I5cjs = require('./chunk-SZEXG5I5.cjs');
17
17
 
18
18
 
19
19
 
@@ -36,7 +36,7 @@ var _chunkNSE3JRLEcjs = require('./chunk-NSE3JRLE.cjs');
36
36
 
37
37
 
38
38
 
39
- var _chunkSAUSZNX5cjs = require('./chunk-SAUSZNX5.cjs');
39
+ var _chunkRGZ72JHNcjs = require('./chunk-RGZ72JHN.cjs');
40
40
 
41
41
 
42
42
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -89,8 +89,8 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
89
89
  output: "src/"
90
90
  });
91
91
  }
92
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
93
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkSAUSZNX5cjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
92
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
93
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkRGZ72JHNcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
94
94
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
95
95
  projectDir: projectRoot,
96
96
  rootDir: config.workspaceRoot,
@@ -99,12 +99,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
99
99
  });
100
100
  await assetHandler.processAllAssetsOnce();
101
101
  if (includeSrc === true) {
102
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkSAUSZNX5cjs.joinPaths.call(void 0, outputPath, "src")}`, config);
102
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkRGZ72JHNcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
103
103
  const files = await _glob.glob.call(void 0, [
104
- _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
105
- _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
106
- _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
107
- _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
104
+ _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
105
+ _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
106
+ _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
107
+ _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
108
108
  ]);
109
109
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
110
110
 
@@ -127,7 +127,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
127
127
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
128
128
  const projectNode = project.node;
129
129
  if (projectNode.data.root) {
130
- const projectPackageJsonPath = _chunkSAUSZNX5cjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
130
+ const projectPackageJsonPath = _chunkRGZ72JHNcjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
131
131
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
132
132
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
133
133
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -138,8 +138,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
138
138
  }
139
139
  }
140
140
  if (localPackages.length > 0) {
141
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
142
- const projectJsonFile = await _promises.readFile.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
141
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
142
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
143
143
  const projectJson = JSON.parse(projectJsonFile);
144
144
  const projectName2 = projectJson.name;
145
145
  const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
@@ -148,7 +148,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
148
148
  }
149
149
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _3 => _3.projects, 'optionalAccess', _4 => _4[projectName2], 'access', _5 => _5.implicitDependencies, 'optionalAccess', _6 => _6.reduce, 'call', _7 => _7((ret, dep) => {
150
150
  if (_optionalChain([projectConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[dep]])) {
151
- const depPackageJsonPath = _chunkSAUSZNX5cjs.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
151
+ const depPackageJsonPath = _chunkRGZ72JHNcjs.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
152
152
  if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
153
153
  const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
154
154
  const depPackageJson = JSON.parse(depPackageJsonContent);
@@ -172,13 +172,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
172
172
  return ret;
173
173
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
174
174
  } else {
175
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
175
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
176
176
  }
177
177
  return packageJson;
178
178
  }, "addPackageDependencies");
179
179
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
180
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkSAUSZNX5cjs.findWorkspaceRoot.call(void 0, );
181
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
180
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkRGZ72JHNcjs.findWorkspaceRoot.call(void 0, );
181
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
182
182
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
183
183
  packageJson.type ??= "module";
184
184
  packageJson.sideEffects ??= false;
@@ -187,7 +187,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
187
187
  if (distSrc.startsWith("/")) {
188
188
  distSrc = distSrc.substring(1);
189
189
  }
190
- packageJson.source ??= `${_chunkSAUSZNX5cjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
190
+ packageJson.source ??= `${_chunkRGZ72JHNcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
191
191
  }
192
192
  packageJson.files ??= [
193
193
  "dist/**/*"
@@ -218,7 +218,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
218
218
  ];
219
219
  }
220
220
  packageJson.repository ??= workspacePackageJson.repository;
221
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkSAUSZNX5cjs.joinPaths.call(void 0, "packages", projectName);
221
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkRGZ72JHNcjs.joinPaths.call(void 0, "packages", projectName);
222
222
  return packageJson;
223
223
  }, "addWorkspacePackageJsonFields");
224
224
 
@@ -226,7 +226,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
226
226
  var _c12 = require('c12');
227
227
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
228
228
  var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
229
- const workspacePath = filePath || _chunkSAUSZNX5cjs.findWorkspaceRoot.call(void 0, filePath);
229
+ const workspacePath = filePath || _chunkRGZ72JHNcjs.findWorkspaceRoot.call(void 0, filePath);
230
230
  const configs = await Promise.all([
231
231
  _c12.loadConfig.call(void 0, {
232
232
  cwd: workspacePath,
@@ -235,7 +235,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
235
235
  envName: _optionalChain([fileName, 'optionalAccess', _14 => _14.toUpperCase, 'call', _15 => _15()]),
236
236
  jitiOptions: {
237
237
  debug: false,
238
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkSAUSZNX5cjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
238
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRGZ72JHNcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
239
239
  },
240
240
  ...options
241
241
  }),
@@ -246,7 +246,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
246
246
  envName: _optionalChain([fileName, 'optionalAccess', _16 => _16.toUpperCase, 'call', _17 => _17()]),
247
247
  jitiOptions: {
248
248
  debug: false,
249
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkSAUSZNX5cjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
249
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRGZ72JHNcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
250
250
  },
251
251
  configFile: fileName,
252
252
  ...options
@@ -255,12 +255,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
255
255
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
256
256
  }, "getConfigFileByName");
257
257
  var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
258
- const workspacePath = filePath ? filePath : _chunkSAUSZNX5cjs.findWorkspaceRoot.call(void 0, filePath);
258
+ const workspacePath = filePath ? filePath : _chunkRGZ72JHNcjs.findWorkspaceRoot.call(void 0, filePath);
259
259
  const result = await getConfigFileByName("storm-workspace", workspacePath);
260
260
  let config = result.config;
261
261
  const configFile = result.configFile;
262
262
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
263
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
263
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
264
264
  logLevel: "all"
265
265
  });
266
266
  }
@@ -269,7 +269,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
269
269
  for (const result2 of results) {
270
270
  if (_optionalChain([result2, 'optionalAccess', _18 => _18.config]) && _optionalChain([result2, 'optionalAccess', _19 => _19.configFile]) && Object.keys(result2.config).length > 0) {
271
271
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
272
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
272
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
273
273
  logLevel: "all"
274
274
  });
275
275
  }
@@ -317,15 +317,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
317
317
  licensing: process.env[`${prefix}LICENSING`] || void 0,
318
318
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
319
319
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
320
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
321
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
320
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
321
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
322
322
  directories: {
323
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
324
- data: process.env[`${prefix}DATA_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
325
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
326
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
327
- log: process.env[`${prefix}LOG_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
328
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkSAUSZNX5cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
323
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
324
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
325
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
326
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
327
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
328
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkRGZ72JHNcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
329
329
  },
330
330
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
331
331
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -348,24 +348,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
348
348
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
349
349
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
350
350
  },
351
- 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`])) ? _chunkSAUSZNX5cjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
351
+ 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`])) ? _chunkRGZ72JHNcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
352
352
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
353
353
  };
354
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkSAUSZNX5cjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
354
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkRGZ72JHNcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
355
355
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
356
356
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
357
357
  return ret;
358
358
  }, {}) : getThemeColorConfigEnv(prefix);
359
- if (config.docs === _chunkSAUSZNX5cjs.STORM_DEFAULT_DOCS) {
360
- if (config.homepage === _chunkSAUSZNX5cjs.STORM_DEFAULT_HOMEPAGE) {
361
- config.docs = `${_chunkSAUSZNX5cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
359
+ if (config.docs === _chunkRGZ72JHNcjs.STORM_DEFAULT_DOCS) {
360
+ if (config.homepage === _chunkRGZ72JHNcjs.STORM_DEFAULT_HOMEPAGE) {
361
+ config.docs = `${_chunkRGZ72JHNcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
362
362
  } else {
363
363
  config.docs = `${config.homepage}/docs`;
364
364
  }
365
365
  }
366
- if (config.licensing === _chunkSAUSZNX5cjs.STORM_DEFAULT_LICENSING) {
367
- if (config.homepage === _chunkSAUSZNX5cjs.STORM_DEFAULT_HOMEPAGE) {
368
- config.licensing = `${_chunkSAUSZNX5cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
366
+ if (config.licensing === _chunkRGZ72JHNcjs.STORM_DEFAULT_LICENSING) {
367
+ if (config.homepage === _chunkRGZ72JHNcjs.STORM_DEFAULT_HOMEPAGE) {
368
+ config.licensing = `${_chunkRGZ72JHNcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
369
369
  } else {
370
370
  config.licensing = `${config.homepage}/docs`;
371
371
  }
@@ -503,31 +503,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
503
503
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
504
504
  }
505
505
  if (config.configFile) {
506
- process.env[`${prefix}CONFIG_FILE`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.configFile);
506
+ process.env[`${prefix}CONFIG_FILE`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.configFile);
507
507
  }
508
508
  if (config.workspaceRoot) {
509
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.workspaceRoot);
510
- process.env.NX_WORKSPACE_ROOT = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.workspaceRoot);
511
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.workspaceRoot);
509
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.workspaceRoot);
510
+ process.env.NX_WORKSPACE_ROOT = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.workspaceRoot);
511
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.workspaceRoot);
512
512
  }
513
513
  if (config.directories) {
514
514
  if (!config.skipCache && config.directories.cache) {
515
- process.env[`${prefix}CACHE_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.cache);
515
+ process.env[`${prefix}CACHE_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.cache);
516
516
  }
517
517
  if (config.directories.data) {
518
- process.env[`${prefix}DATA_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.data);
518
+ process.env[`${prefix}DATA_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.data);
519
519
  }
520
520
  if (config.directories.config) {
521
- process.env[`${prefix}CONFIG_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.config);
521
+ process.env[`${prefix}CONFIG_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.config);
522
522
  }
523
523
  if (config.directories.temp) {
524
- process.env[`${prefix}TEMP_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.temp);
524
+ process.env[`${prefix}TEMP_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.temp);
525
525
  }
526
526
  if (config.directories.log) {
527
- process.env[`${prefix}LOG_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.log);
527
+ process.env[`${prefix}LOG_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.log);
528
528
  }
529
529
  if (config.directories.build) {
530
- process.env[`${prefix}BUILD_DIR`] = _chunkSAUSZNX5cjs.correctPaths.call(void 0, config.directories.build);
530
+ process.env[`${prefix}BUILD_DIR`] = _chunkRGZ72JHNcjs.correctPaths.call(void 0, config.directories.build);
531
531
  }
532
532
  }
533
533
  if (config.skipCache !== void 0) {
@@ -581,8 +581,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
581
581
  if (config.logLevel) {
582
582
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
583
583
  process.env.LOG_LEVEL = String(config.logLevel);
584
- process.env.NX_VERBOSE_LOGGING = String(_chunkSAUSZNX5cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkSAUSZNX5cjs.LogLevel.DEBUG ? true : false);
585
- process.env.RUST_BACKTRACE = _chunkSAUSZNX5cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkSAUSZNX5cjs.LogLevel.DEBUG ? "full" : "none";
584
+ process.env.NX_VERBOSE_LOGGING = String(_chunkRGZ72JHNcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRGZ72JHNcjs.LogLevel.DEBUG ? true : false);
585
+ process.env.RUST_BACKTRACE = _chunkRGZ72JHNcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRGZ72JHNcjs.LogLevel.DEBUG ? "full" : "none";
586
586
  }
587
587
  if (config.skipConfigLogging !== void 0) {
588
588
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
@@ -698,17 +698,17 @@ var createStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, as
698
698
  if (!_optionalChain([_static_cache, 'optionalAccess', _42 => _42.data]) || !_optionalChain([_static_cache, 'optionalAccess', _43 => _43.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
699
699
  let _workspaceRoot = workspaceRoot;
700
700
  if (!_workspaceRoot) {
701
- _workspaceRoot = _chunkSAUSZNX5cjs.findWorkspaceRoot.call(void 0, );
701
+ _workspaceRoot = _chunkRGZ72JHNcjs.findWorkspaceRoot.call(void 0, );
702
702
  }
703
703
  const configEnv = getConfigEnv();
704
- const defaultConfig = await _chunkSAUSZNX5cjs.getDefaultConfig.call(void 0, _workspaceRoot);
704
+ const defaultConfig = await _chunkRGZ72JHNcjs.getDefaultConfig.call(void 0, _workspaceRoot);
705
705
  const configFile = await getConfigFile(_workspaceRoot);
706
706
  if (!configFile && !skipLogs) {
707
- _chunkSAUSZNX5cjs.writeWarning.call(void 0, "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", {
707
+ _chunkRGZ72JHNcjs.writeWarning.call(void 0, "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", {
708
708
  logLevel: "all"
709
709
  });
710
710
  }
711
- result = await _chunkSAUSZNX5cjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
711
+ result = await _chunkRGZ72JHNcjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
712
712
  result.workspaceRoot ??= _workspaceRoot;
713
713
  } else {
714
714
  result = _static_cache.data;
@@ -743,8 +743,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, asyn
743
743
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
744
744
  setConfigEnv(config);
745
745
  if (!skipLogs && !config.skipConfigLogging) {
746
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
747
- ${_chunkSAUSZNX5cjs.formatLogMessage.call(void 0, config)}`, config);
746
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
747
+ ${_chunkRGZ72JHNcjs.formatLogMessage.call(void 0, config)}`, config);
748
748
  }
749
749
  return config;
750
750
  }, "loadStormConfig");
@@ -773,24 +773,24 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
773
773
  var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
774
774
  var _unbuild = require('unbuild');
775
775
  async function resolveOptions(options, config) {
776
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
777
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, "Build options resolution");
776
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
777
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, "Build options resolution");
778
778
  if (options.configPath) {
779
- const configFile = await _chunkNSE3JRLEcjs.loadConfig.call(void 0, options.configPath);
779
+ const configFile = await _chunkSZEXG5I5cjs.loadConfig.call(void 0, options.configPath);
780
780
  if (configFile) {
781
781
  options = _defu2.default.call(void 0, options, configFile);
782
782
  }
783
783
  }
784
- const outputPath = options.outputPath || _chunkSAUSZNX5cjs.joinPaths.call(void 0, "dist", options.projectRoot);
784
+ const outputPath = options.outputPath || _chunkRGZ72JHNcjs.joinPaths.call(void 0, "dist", options.projectRoot);
785
785
  const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
786
- const projectJsonPath = _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
786
+ const projectJsonPath = _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
787
787
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
788
788
  throw new Error("Cannot find project.json configuration");
789
789
  }
790
790
  const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
791
791
  const projectJson = JSON.parse(projectJsonContent);
792
792
  const projectName = projectJson.name;
793
- const packageJsonPath = _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
793
+ const packageJsonPath = _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
794
794
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
795
795
  throw new Error("Cannot find package.json configuration");
796
796
  }
@@ -798,14 +798,14 @@ async function resolveOptions(options, config) {
798
798
  const packageJson = JSON.parse(packageJsonContent);
799
799
  let tsconfig = options.tsconfig;
800
800
  if (!tsconfig) {
801
- tsconfig = _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
801
+ tsconfig = _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "tsconfig.json");
802
802
  }
803
803
  if (!_fs.existsSync.call(void 0, tsconfig)) {
804
804
  throw new Error("Cannot find tsconfig.json configuration");
805
805
  }
806
806
  let sourceRoot = projectJson.sourceRoot;
807
807
  if (!sourceRoot) {
808
- sourceRoot = _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.projectRoot, "src");
808
+ sourceRoot = _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.projectRoot, "src");
809
809
  }
810
810
  if (!_fs.existsSync.call(void 0, sourceRoot)) {
811
811
  throw new Error("Cannot find sourceRoot directory");
@@ -841,7 +841,7 @@ async function resolveOptions(options, config) {
841
841
  while (entryPath.startsWith("/")) {
842
842
  entryPath = entryPath.substring(1);
843
843
  }
844
- const outDir = _chunkSAUSZNX5cjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
844
+ const outDir = _chunkRGZ72JHNcjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
845
845
  ret.push({
846
846
  name: `${name}-esm`,
847
847
  builder: "mkdist",
@@ -915,7 +915,7 @@ async function resolveOptions(options, config) {
915
915
  treeShaking: options.treeShaking !== false,
916
916
  platform: _nullishCoalesce(options.platform, () => ( "neutral")),
917
917
  color: true,
918
- logLevel: config.logLevel === _chunkSAUSZNX5cjs.LogLevelLabel.FATAL ? _chunkSAUSZNX5cjs.LogLevelLabel.ERROR : _chunkSAUSZNX5cjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
918
+ logLevel: config.logLevel === _chunkRGZ72JHNcjs.LogLevelLabel.FATAL ? _chunkRGZ72JHNcjs.LogLevelLabel.ERROR : _chunkRGZ72JHNcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
919
919
  }
920
920
  }
921
921
  };
@@ -932,7 +932,7 @@ async function resolveOptions(options, config) {
932
932
  if (options.rollup) {
933
933
  let rollup = {};
934
934
  if (typeof options.rollup === "string") {
935
- const rollupFile = await _chunkNSE3JRLEcjs.loadConfig.call(void 0, options.rollup);
935
+ const rollupFile = await _chunkSZEXG5I5cjs.loadConfig.call(void 0, options.rollup);
936
936
  if (rollupFile) {
937
937
  rollup = rollupFile;
938
938
  }
@@ -944,15 +944,15 @@ async function resolveOptions(options, config) {
944
944
  resolvedOptions.hooks = {
945
945
  "rollup:options": /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (ctx, opts) => {
946
946
  if (options.plugins && options.plugins.length > 0) {
947
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`, config);
947
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`, config);
948
948
  opts.plugins = options.plugins;
949
949
  } else {
950
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F9E9} No plugins found in provided build options, using default plugins`, config);
950
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F9E9} No plugins found in provided build options, using default plugins`, config);
951
951
  opts.plugins = await Promise.all([
952
- _chunk4W6R6RL6cjs.analyzePlugin.call(void 0, resolvedOptions),
952
+ _chunkXFGV6VMYcjs.analyzePlugin.call(void 0, resolvedOptions),
953
953
  _chunkOD3ULBE3cjs.typeDefinitionsPlugin.call(void 0, resolvedOptions),
954
- _chunkNSE3JRLEcjs.tscPlugin.call(void 0, resolvedOptions),
955
- _chunkUPGEZBOMcjs.onErrorPlugin.call(void 0, resolvedOptions)
954
+ _chunkSZEXG5I5cjs.tscPlugin.call(void 0, resolvedOptions),
955
+ _chunkQCZV56KWcjs.onErrorPlugin.call(void 0, resolvedOptions)
956
956
  ]);
957
957
  }
958
958
  }, "rollup:options"),
@@ -1005,14 +1005,14 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
1005
1005
  };
1006
1006
  }, "addPackageJsonExport");
1007
1007
  async function generatePackageJson(options) {
1008
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1009
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1010
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, "Write package.json file");
1011
- const packageJsonPath = _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1008
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1009
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1010
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, "Write package.json file");
1011
+ const packageJsonPath = _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1012
1012
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1013
1013
  throw new Error("Cannot find package.json configuration");
1014
1014
  }
1015
- let packageJsonContent = await _promises.readFile.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1015
+ const packageJsonContent = await _promises.readFile.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1016
1016
  if (!packageJsonContent) {
1017
1017
  throw new Error("Cannot find package.json configuration file");
1018
1018
  }
@@ -1029,7 +1029,7 @@ async function generatePackageJson(options) {
1029
1029
  while (entryPath.startsWith("/")) {
1030
1030
  entryPath = entryPath.substring(1);
1031
1031
  }
1032
- entryPath = `./${_chunkSAUSZNX5cjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
1032
+ entryPath = `./${_chunkRGZ72JHNcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
1033
1033
  if (!ret.includes(entryPath)) {
1034
1034
  ret.push(entryPath);
1035
1035
  }
@@ -1060,23 +1060,23 @@ async function generatePackageJson(options) {
1060
1060
  }, packageJson.exports);
1061
1061
  packageJson.exports["./package.json"] ??= "./package.json";
1062
1062
  packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, options.sourceRoot, options.projectRoot);
1063
- await _devkit.writeJsonFile.call(void 0, _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1063
+ await _devkit.writeJsonFile.call(void 0, _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1064
1064
  stopwatch();
1065
1065
  }
1066
1066
  return options;
1067
1067
  }
1068
1068
  _chunkBGYQAVKQcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
1069
1069
  async function executeUnbuild(options) {
1070
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
1071
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
1070
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
1071
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
1072
1072
  try {
1073
1073
  const config = {
1074
1074
  ...options,
1075
1075
  config: null,
1076
- rootDir: _chunkSAUSZNX5cjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1076
+ rootDir: _chunkRGZ72JHNcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1077
1077
  };
1078
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, `Running with unbuild configuration:
1079
- ${_chunkSAUSZNX5cjs.formatLogMessage.call(void 0, config)}
1078
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, `Running with unbuild configuration:
1079
+ ${_chunkRGZ72JHNcjs.formatLogMessage.call(void 0, config)}
1080
1080
  `, options.config);
1081
1081
  await _unbuild.build.call(void 0, options.projectRoot, false, config);
1082
1082
  } finally {
@@ -1086,8 +1086,8 @@ ${_chunkSAUSZNX5cjs.formatLogMessage.call(void 0, config)}
1086
1086
  }
1087
1087
  _chunkBGYQAVKQcjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
1088
1088
  async function copyBuildAssets(options) {
1089
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
1090
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1089
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
1090
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1091
1091
  await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.sourceRoot, options.generatePackageJson, options.includeSrc);
1092
1092
  stopwatch();
1093
1093
  return options;
@@ -1095,9 +1095,9 @@ async function copyBuildAssets(options) {
1095
1095
  _chunkBGYQAVKQcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1096
1096
  async function cleanOutputPath(options) {
1097
1097
  if (options.clean !== false && options.outDir) {
1098
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
1099
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, `${options.name} output clean`);
1100
- await _chunk5SJH5QVDcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1098
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
1099
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, `${options.name} output clean`);
1100
+ await _chunk72UMCYVTcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1101
1101
  stopwatch();
1102
1102
  }
1103
1103
  return options;
@@ -1113,18 +1113,18 @@ async function build(options) {
1113
1113
  throw new Error("Cannot find workspace root");
1114
1114
  }
1115
1115
  const config = await getConfig(workspaceRoot.dir);
1116
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1117
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, "Unbuild pipeline");
1116
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1117
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, "Unbuild pipeline");
1118
1118
  try {
1119
- options.projectRoot = _chunkSAUSZNX5cjs.correctPaths.call(void 0, projectRoot);
1119
+ options.projectRoot = _chunkRGZ72JHNcjs.correctPaths.call(void 0, projectRoot);
1120
1120
  const resolvedOptions = await resolveOptions(options, config);
1121
1121
  await cleanOutputPath(resolvedOptions);
1122
1122
  await generatePackageJson(resolvedOptions);
1123
1123
  await executeUnbuild(resolvedOptions);
1124
1124
  await copyBuildAssets(resolvedOptions);
1125
- _chunkSAUSZNX5cjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1125
+ _chunkRGZ72JHNcjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1126
1126
  } catch (error) {
1127
- _chunkSAUSZNX5cjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1127
+ _chunkRGZ72JHNcjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.", config);
1128
1128
  throw error;
1129
1129
  } finally {
1130
1130
  stopwatch();
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkSAUSZNX5cjs = require('./chunk-SAUSZNX5.cjs');
4
+ var _chunkRGZ72JHNcjs = require('./chunk-RGZ72JHN.cjs');
5
5
 
6
6
 
7
7
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -9,8 +9,8 @@ var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
9
9
  // src/clean.ts
10
10
  var _promises = require('fs/promises');
11
11
  async function clean(name = "Unbuild", directory, config) {
12
- _chunkSAUSZNX5cjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
- const stopwatch = _chunkSAUSZNX5cjs.getStopwatch.call(void 0, `${name} output clean`);
12
+ _chunkRGZ72JHNcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
+ const stopwatch = _chunkRGZ72JHNcjs.getStopwatch.call(void 0, `${name} output clean`);
14
14
  await cleanDirectories(name, directory, config);
15
15
  stopwatch();
16
16
  }
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-RBYYB7X2.js";
4
4
  import {
5
5
  cleanDirectories
6
- } from "./chunk-46QE7TKB.js";
6
+ } from "./chunk-Y2RJXSMQ.js";
7
7
  import {
8
8
  analyzePlugin
9
- } from "./chunk-L2E6Z4J5.js";
9
+ } from "./chunk-W5OXMTPE.js";
10
10
  import {
11
11
  onErrorPlugin
12
- } from "./chunk-T43ZHS2E.js";
12
+ } from "./chunk-WCG32SVT.js";
13
13
  import {
14
14
  loadConfig,
15
15
  tscPlugin
16
- } from "./chunk-TNU6RLO7.js";
16
+ } from "./chunk-UNH7U3EZ.js";
17
17
  import {
18
18
  COLOR_KEYS,
19
19
  LogLevel,
@@ -36,7 +36,7 @@ import {
36
36
  writeSuccess,
37
37
  writeTrace,
38
38
  writeWarning
39
- } from "./chunk-K6HLG2MF.js";
39
+ } from "./chunk-MCSJC6ZH.js";
40
40
  import {
41
41
  __name
42
42
  } from "./chunk-3GQAWCBQ.js";
@@ -1012,7 +1012,7 @@ async function generatePackageJson(options) {
1012
1012
  if (!existsSync3(packageJsonPath)) {
1013
1013
  throw new Error("Cannot find package.json configuration");
1014
1014
  }
1015
- let packageJsonContent = await readFile4(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1015
+ const packageJsonContent = await readFile4(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1016
1016
  if (!packageJsonContent) {
1017
1017
  throw new Error("Cannot find package.json configuration file");
1018
1018
  }
@@ -1124,7 +1124,7 @@ async function build(options) {
1124
1124
  await copyBuildAssets(resolvedOptions);
1125
1125
  writeSuccess(` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
1126
1126
  } catch (error) {
1127
- writeFatal(" \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.", config);
1127
+ writeFatal("Fatal errors that the build process could not recover from have occured. The build process has been terminated.", config);
1128
1128
  throw error;
1129
1129
  } finally {
1130
1130
  stopwatch();
@@ -300,7 +300,7 @@ var ColorConfigMapSchema = z.union([
300
300
  var ExtendsItemSchema = z.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
301
301
  var ExtendsSchema = ExtendsItemSchema.or(z.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
302
302
  var WorkspaceBotConfigSchema = z.object({
303
- name: z.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
303
+ name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
304
304
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
305
305
  }).describe("The workspace's bot user's config used to automated various operations tasks");
306
306
  var WorkspaceDirectoryConfigSchema = z.object({
@@ -610,7 +610,7 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
610
610
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
611
611
  return (message) => {
612
612
  console.error(`
613
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
613
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
614
614
  `);
615
615
  };
616
616
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSAUSZNX5cjs = require('./chunk-SAUSZNX5.cjs');
3
+ var _chunkRGZ72JHNcjs = require('./chunk-RGZ72JHN.cjs');
4
4
 
5
5
 
6
6
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -10,7 +10,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
10
10
  name: "storm:on-error",
11
11
  buildEnd(error) {
12
12
  if (error) {
13
- _chunkSAUSZNX5cjs.writeError.call(void 0, `The following errors occurred during the build:
13
+ _chunkRGZ72JHNcjs.writeError.call(void 0, `The following errors occurred during the build:
14
14
  ${error ? error.message : "Unknown build error"}
15
15
 
16
16
  `, options.config);
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
18
18
  }
19
19
  },
20
20
  renderError(error) {
21
- _chunkSAUSZNX5cjs.writeError.call(void 0, `The following errors occurred during the build:
21
+ _chunkRGZ72JHNcjs.writeError.call(void 0, `The following errors occurred during the build:
22
22
  ${error ? error.message : "Unknown build error"}
23
23
 
24
24
  `, options.config);
@@ -300,7 +300,7 @@ var ColorConfigMapSchema = _zod2.default.union([
300
300
  var ExtendsItemSchema = _zod2.default.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
301
301
  var ExtendsSchema = ExtendsItemSchema.or(_zod2.default.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
302
302
  var WorkspaceBotConfigSchema = _zod2.default.object({
303
- name: _zod2.default.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
303
+ name: _zod2.default.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
304
304
  email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
305
305
  }).describe("The workspace's bot user's config used to automated various operations tasks");
306
306
  var WorkspaceDirectoryConfigSchema = _zod2.default.object({
@@ -610,7 +610,7 @@ var getLogFn = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (logLevel =
610
610
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
611
611
  return (message) => {
612
612
  console.error(`
613
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
613
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
614
614
  `);
615
615
  };
616
616
  }
@@ -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 _chunkSAUSZNX5cjs = require('./chunk-SAUSZNX5.cjs');
3
+ var _chunkRGZ72JHNcjs = require('./chunk-RGZ72JHN.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
- _chunkSAUSZNX5cjs.writeTrace.call(void 0, compilerOptions, config);
35
+ _chunkRGZ72JHNcjs.writeTrace.call(void 0, compilerOptions, config);
36
36
  return compilerOptions;
37
37
  }
38
38
  _chunkBGYQAVKQcjs.__name.call(void 0, createTsCompilerOptions, "createTsCompilerOptions");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeTrace
3
- } from "./chunk-K6HLG2MF.js";
3
+ } from "./chunk-MCSJC6ZH.js";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-3GQAWCBQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-K6HLG2MF.js";
3
+ } from "./chunk-MCSJC6ZH.js";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-3GQAWCBQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-K6HLG2MF.js";
3
+ } from "./chunk-MCSJC6ZH.js";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-3GQAWCBQ.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSAUSZNX5cjs = require('./chunk-SAUSZNX5.cjs');
3
+ var _chunkRGZ72JHNcjs = require('./chunk-RGZ72JHN.cjs');
4
4
 
5
5
 
6
6
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -25,7 +25,7 @@ var analyzePlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
25
25
  renderChunk(source, chunk) {
26
26
  const sourceBytes = formatBytes(source.length);
27
27
  const fileName = chunk.fileName;
28
- _chunkSAUSZNX5cjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
28
+ _chunkRGZ72JHNcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
29
29
  }
30
30
  };
31
31
  }, "analyzePlugin");
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-K6HLG2MF.js";
4
+ } from "./chunk-MCSJC6ZH.js";
5
5
  import {
6
6
  __name
7
7
  } from "./chunk-3GQAWCBQ.js";
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 _chunk5SJH5QVDcjs = require('./chunk-5SJH5QVD.cjs');
5
- require('./chunk-SAUSZNX5.cjs');
4
+ var _chunk72UMCYVTcjs = require('./chunk-72UMCYVT.cjs');
5
+ require('./chunk-RGZ72JHN.cjs');
6
6
  require('./chunk-BGYQAVKQ.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunk5SJH5QVDcjs.clean; exports.cleanDirectories = _chunk5SJH5QVDcjs.cleanDirectories;
10
+ exports.clean = _chunk72UMCYVTcjs.clean; exports.cleanDirectories = _chunk72UMCYVTcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-46QE7TKB.js";
5
- import "./chunk-K6HLG2MF.js";
4
+ } from "./chunk-Y2RJXSMQ.js";
5
+ import "./chunk-MCSJC6ZH.js";
6
6
  import "./chunk-3GQAWCBQ.js";
7
7
  export {
8
8
  clean,
package/dist/index.cjs CHANGED
@@ -5,20 +5,20 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkRE2E37VBcjs = require('./chunk-RE2E37VB.cjs');
8
+ var _chunk2J4W3I3Fcjs = require('./chunk-2J4W3I3F.cjs');
9
9
  require('./chunk-OD3ULBE3.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunk5SJH5QVDcjs = require('./chunk-5SJH5QVD.cjs');
13
+ var _chunk72UMCYVTcjs = require('./chunk-72UMCYVT.cjs');
14
14
  require('./chunk-ORA4UQMU.cjs');
15
- require('./chunk-4W6R6RL6.cjs');
16
- require('./chunk-UPGEZBOM.cjs');
15
+ require('./chunk-XFGV6VMY.cjs');
16
+ require('./chunk-QCZV56KW.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkNSE3JRLEcjs = require('./chunk-NSE3JRLE.cjs');
21
- require('./chunk-SAUSZNX5.cjs');
20
+ var _chunkSZEXG5I5cjs = require('./chunk-SZEXG5I5.cjs');
21
+ require('./chunk-RGZ72JHN.cjs');
22
22
  require('./chunk-BGYQAVKQ.cjs');
23
23
 
24
24
 
@@ -31,4 +31,4 @@ require('./chunk-BGYQAVKQ.cjs');
31
31
 
32
32
 
33
33
 
34
- exports.build = _chunkRE2E37VBcjs.build; exports.clean = _chunk5SJH5QVDcjs.clean; exports.cleanDirectories = _chunk5SJH5QVDcjs.cleanDirectories; exports.cleanOutputPath = _chunkRE2E37VBcjs.cleanOutputPath; exports.copyBuildAssets = _chunkRE2E37VBcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkNSE3JRLEcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkRE2E37VBcjs.executeUnbuild; exports.generatePackageJson = _chunkRE2E37VBcjs.generatePackageJson; exports.loadConfig = _chunkNSE3JRLEcjs.loadConfig; exports.resolveOptions = _chunkRE2E37VBcjs.resolveOptions;
34
+ exports.build = _chunk2J4W3I3Fcjs.build; exports.clean = _chunk72UMCYVTcjs.clean; exports.cleanDirectories = _chunk72UMCYVTcjs.cleanDirectories; exports.cleanOutputPath = _chunk2J4W3I3Fcjs.cleanOutputPath; exports.copyBuildAssets = _chunk2J4W3I3Fcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkSZEXG5I5cjs.createTsCompilerOptions; exports.executeUnbuild = _chunk2J4W3I3Fcjs.executeUnbuild; exports.generatePackageJson = _chunk2J4W3I3Fcjs.generatePackageJson; exports.loadConfig = _chunkSZEXG5I5cjs.loadConfig; exports.resolveOptions = _chunk2J4W3I3Fcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,20 +5,20 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-TLAKGUAR.js";
8
+ } from "./chunk-A6EYKSQX.js";
9
9
  import "./chunk-RBYYB7X2.js";
10
10
  import {
11
11
  clean,
12
12
  cleanDirectories
13
- } from "./chunk-46QE7TKB.js";
13
+ } from "./chunk-Y2RJXSMQ.js";
14
14
  import "./chunk-OULCUN6I.js";
15
- import "./chunk-L2E6Z4J5.js";
16
- import "./chunk-T43ZHS2E.js";
15
+ import "./chunk-W5OXMTPE.js";
16
+ import "./chunk-WCG32SVT.js";
17
17
  import {
18
18
  createTsCompilerOptions,
19
19
  loadConfig
20
- } from "./chunk-TNU6RLO7.js";
21
- import "./chunk-K6HLG2MF.js";
20
+ } from "./chunk-UNH7U3EZ.js";
21
+ import "./chunk-MCSJC6ZH.js";
22
22
  import "./chunk-3GQAWCBQ.js";
23
23
  export {
24
24
  build,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4W6R6RL6cjs = require('../chunk-4W6R6RL6.cjs');
4
- require('../chunk-SAUSZNX5.cjs');
3
+ var _chunkXFGV6VMYcjs = require('../chunk-XFGV6VMY.cjs');
4
+ require('../chunk-RGZ72JHN.cjs');
5
5
  require('../chunk-BGYQAVKQ.cjs');
6
6
 
7
7
 
8
- exports.analyzePlugin = _chunk4W6R6RL6cjs.analyzePlugin;
8
+ exports.analyzePlugin = _chunkXFGV6VMYcjs.analyzePlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  analyzePlugin
3
- } from "../chunk-L2E6Z4J5.js";
4
- import "../chunk-K6HLG2MF.js";
3
+ } from "../chunk-W5OXMTPE.js";
4
+ import "../chunk-MCSJC6ZH.js";
5
5
  import "../chunk-3GQAWCBQ.js";
6
6
  export {
7
7
  analyzePlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUPGEZBOMcjs = require('../chunk-UPGEZBOM.cjs');
4
- require('../chunk-SAUSZNX5.cjs');
3
+ var _chunkQCZV56KWcjs = require('../chunk-QCZV56KW.cjs');
4
+ require('../chunk-RGZ72JHN.cjs');
5
5
  require('../chunk-BGYQAVKQ.cjs');
6
6
 
7
7
 
8
- exports.onErrorPlugin = _chunkUPGEZBOMcjs.onErrorPlugin;
8
+ exports.onErrorPlugin = _chunkQCZV56KWcjs.onErrorPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  onErrorPlugin
3
- } from "../chunk-T43ZHS2E.js";
4
- import "../chunk-K6HLG2MF.js";
3
+ } from "../chunk-WCG32SVT.js";
4
+ import "../chunk-MCSJC6ZH.js";
5
5
  import "../chunk-3GQAWCBQ.js";
6
6
  export {
7
7
  onErrorPlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNSE3JRLEcjs = require('../chunk-NSE3JRLE.cjs');
4
- require('../chunk-SAUSZNX5.cjs');
3
+ var _chunkSZEXG5I5cjs = require('../chunk-SZEXG5I5.cjs');
4
+ require('../chunk-RGZ72JHN.cjs');
5
5
  require('../chunk-BGYQAVKQ.cjs');
6
6
 
7
7
 
8
- exports.tscPlugin = _chunkNSE3JRLEcjs.tscPlugin;
8
+ exports.tscPlugin = _chunkSZEXG5I5cjs.tscPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tscPlugin
3
- } from "../chunk-TNU6RLO7.js";
4
- import "../chunk-K6HLG2MF.js";
3
+ } from "../chunk-UNH7U3EZ.js";
4
+ import "../chunk-MCSJC6ZH.js";
5
5
  import "../chunk-3GQAWCBQ.js";
6
6
  export {
7
7
  tscPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/unbuild",
3
- "version": "0.37.12",
3
+ "version": "0.37.14",
4
4
  "type": "module",
5
5
  "description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -162,7 +162,7 @@
162
162
  "@swc/core": "1.7.26",
163
163
  "commander": "^12.1.0",
164
164
  "defu": "6.1.4",
165
- "esbuild": "^0.24.0",
165
+ "esbuild": "^0.25.0",
166
166
  "glob": "^11.0.1",
167
167
  "jiti": "^2.4.2",
168
168
  "mkdist": "^2.2.0",