@storm-software/unbuild 0.49.23 → 0.49.25

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.49.21-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.49.23-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
@@ -125,10 +125,10 @@ var RegistryConfigSchema = z.object({
125
125
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
126
126
  MultiThemeColorConfigSchema
127
127
  ).describe("Colors used for various workspace elements");
128
- var ColorConfigMapSchema = z.union([
129
- z.object({ base: ColorConfigSchema }),
130
- z.record(z.string(), ColorConfigSchema)
131
- ]);
128
+ var ColorConfigMapSchema = z.record(
129
+ z.union([z.literal("base"), z.string()]),
130
+ ColorConfigSchema
131
+ );
132
132
  var ExtendsItemSchema = z.string().trim().describe(
133
133
  "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."
134
134
  );
package/bin/unbuild.js CHANGED
@@ -103,10 +103,10 @@ var RegistryConfigSchema = z.object({
103
103
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
104
104
  MultiThemeColorConfigSchema
105
105
  ).describe("Colors used for various workspace elements");
106
- var ColorConfigMapSchema = z.union([
107
- z.object({ base: ColorConfigSchema }),
108
- z.record(z.string(), ColorConfigSchema)
109
- ]);
106
+ var ColorConfigMapSchema = z.record(
107
+ z.union([z.literal("base"), z.string()]),
108
+ ColorConfigSchema
109
+ );
110
110
  var ExtendsItemSchema = z.string().trim().describe(
111
111
  "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."
112
112
  );
package/dist/build.cjs CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkMXO4DPC3cjs = require('./chunk-MXO4DPC3.cjs');
9
- require('./chunk-NUTDHZCY.cjs');
10
- require('./chunk-ZUY6OKYD.cjs');
11
- require('./chunk-2EHWQBM6.cjs');
12
- require('./chunk-55IJBY6E.cjs');
13
- require('./chunk-FJ4P7D4Z.cjs');
8
+ var _chunkGVO643VMcjs = require('./chunk-GVO643VM.cjs');
9
+ require('./chunk-RD4YD4ZN.cjs');
10
+ require('./chunk-CKBEQNI6.cjs');
11
+ require('./chunk-RD6YICEO.cjs');
12
+ require('./chunk-DZ7GSU4H.cjs');
13
+ require('./chunk-DERD32ZB.cjs');
14
14
  require('./chunk-OBGZSXTJ.cjs');
15
15
 
16
16
 
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkMXO4DPC3cjs.build; exports.cleanOutputPath = _chunkMXO4DPC3cjs.cleanOutputPath; exports.copyBuildAssets = _chunkMXO4DPC3cjs.copyBuildAssets; exports.executeUnbuild = _chunkMXO4DPC3cjs.executeUnbuild; exports.generatePackageJson = _chunkMXO4DPC3cjs.generatePackageJson; exports.resolveOptions = _chunkMXO4DPC3cjs.resolveOptions;
22
+ exports.build = _chunkGVO643VMcjs.build; exports.cleanOutputPath = _chunkGVO643VMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkGVO643VMcjs.copyBuildAssets; exports.executeUnbuild = _chunkGVO643VMcjs.executeUnbuild; exports.generatePackageJson = _chunkGVO643VMcjs.generatePackageJson; exports.resolveOptions = _chunkGVO643VMcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,12 +5,12 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-WP255ZFB.js";
9
- import "./chunk-ZYVSQC3E.js";
10
- import "./chunk-SCS5MDFW.js";
11
- import "./chunk-RKSSRYAB.js";
12
- import "./chunk-D6PWYWHA.js";
13
- import "./chunk-M77AMZJI.js";
8
+ } from "./chunk-FNYUUBNZ.js";
9
+ import "./chunk-G32STBCS.js";
10
+ import "./chunk-AAQFCT7L.js";
11
+ import "./chunk-J4UOX4OP.js";
12
+ import "./chunk-EDOO3FEZ.js";
13
+ import "./chunk-WM2DFJAS.js";
14
14
  import "./chunk-3RG5ZIWI.js";
15
15
  export {
16
16
  build,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-M77AMZJI.js";
3
+ } from "./chunk-WM2DFJAS.js";
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
3
+ var _chunkDERD32ZBcjs = require('./chunk-DERD32ZB.cjs');
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -17,7 +17,7 @@ var analyzePlugin = (options) => {
17
17
  renderChunk(source, chunk) {
18
18
  const sourceBytes = formatBytes(source.length);
19
19
  const fileName = chunk.fileName;
20
- _chunkFJ4P7D4Zcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
20
+ _chunkDERD32ZBcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
21
21
  }
22
22
  };
23
23
  };
@@ -303,10 +303,10 @@ var RegistryConfigSchema = z.object({
303
303
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
304
304
  MultiThemeColorConfigSchema
305
305
  ).describe("Colors used for various workspace elements");
306
- var ColorConfigMapSchema = z.union([
307
- z.object({ base: ColorConfigSchema }),
308
- z.record(z.string(), ColorConfigSchema)
309
- ]);
306
+ var ColorConfigMapSchema = z.record(
307
+ z.union([z.literal("base"), z.string()]),
308
+ ColorConfigSchema
309
+ );
310
310
  var ExtendsItemSchema = z.string().trim().describe(
311
311
  "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."
312
312
  );
@@ -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 _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
3
+ var _chunkDERD32ZBcjs = require('./chunk-DERD32ZB.cjs');
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
 
@@ -45,7 +45,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
45
45
  declaration: true,
46
46
  paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
47
47
  };
48
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0, compilerOptions, config);
48
+ _chunkDERD32ZBcjs.writeTrace.call(void 0, compilerOptions, config);
49
49
  return compilerOptions;
50
50
  }
51
51
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeTrace
3
- } from "./chunk-M77AMZJI.js";
3
+ } from "./chunk-WM2DFJAS.js";
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
  import {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  cleanDirectories
3
- } from "./chunk-ZYVSQC3E.js";
3
+ } from "./chunk-G32STBCS.js";
4
4
  import {
5
5
  analyzePlugin
6
- } from "./chunk-SCS5MDFW.js";
6
+ } from "./chunk-AAQFCT7L.js";
7
7
  import {
8
8
  onErrorPlugin
9
- } from "./chunk-RKSSRYAB.js";
9
+ } from "./chunk-J4UOX4OP.js";
10
10
  import {
11
11
  loadConfig,
12
12
  tscPlugin
13
- } from "./chunk-D6PWYWHA.js";
13
+ } from "./chunk-EDOO3FEZ.js";
14
14
  import {
15
15
  COLOR_KEYS,
16
16
  LogLevel,
@@ -34,7 +34,7 @@ import {
34
34
  writeSuccess,
35
35
  writeTrace,
36
36
  writeWarning
37
- } from "./chunk-M77AMZJI.js";
37
+ } from "./chunk-WM2DFJAS.js";
38
38
 
39
39
  // src/build.ts
40
40
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-M77AMZJI.js";
4
+ } from "./chunk-WM2DFJAS.js";
5
5
 
6
6
  // src/clean.ts
7
7
  import { rm } from "node:fs/promises";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkNUTDHZCYcjs = require('./chunk-NUTDHZCY.cjs');
3
+ var _chunkRD4YD4ZNcjs = require('./chunk-RD4YD4ZN.cjs');
4
4
 
5
5
 
6
- var _chunkZUY6OKYDcjs = require('./chunk-ZUY6OKYD.cjs');
6
+ var _chunkCKBEQNI6cjs = require('./chunk-CKBEQNI6.cjs');
7
7
 
8
8
 
9
- var _chunk2EHWQBM6cjs = require('./chunk-2EHWQBM6.cjs');
9
+ var _chunkRD6YICEOcjs = require('./chunk-RD6YICEO.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunk55IJBY6Ecjs = require('./chunk-55IJBY6E.cjs');
13
+ var _chunkDZ7GSU4Hcjs = require('./chunk-DZ7GSU4H.cjs');
14
14
 
15
15
 
16
16
 
@@ -34,7 +34,7 @@ var _chunk55IJBY6Ecjs = require('./chunk-55IJBY6E.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
37
+ var _chunkDERD32ZBcjs = require('./chunk-DERD32ZB.cjs');
38
38
 
39
39
  // src/build.ts
40
40
 
@@ -88,9 +88,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
88
88
  output: "src/"
89
89
  });
90
90
  }
91
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
91
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
92
92
  `\u{1F4DD} Copying the following assets to the output directory:
93
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkFJ4P7D4Zcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
93
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkDERD32ZBcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
94
94
  config
95
95
  );
96
96
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -101,18 +101,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
101
101
  });
102
102
  await assetHandler.processAllAssetsOnce();
103
103
  if (includeSrc === true) {
104
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
105
- `\u{1F4DD} Adding banner and writing source files: ${_chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
104
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
105
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkDERD32ZBcjs.joinPaths.call(void 0,
106
106
  outputPath,
107
107
  "src"
108
108
  )}`,
109
109
  config
110
110
  );
111
111
  const files = await _glob.glob.call(void 0, [
112
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
113
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
114
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
115
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
112
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
113
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
114
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
115
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
116
116
  ]);
117
117
  await Promise.allSettled(
118
118
  files.map(
@@ -167,7 +167,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
167
167
  )) {
168
168
  const projectNode = project.node;
169
169
  if (projectNode.data.root) {
170
- const projectPackageJsonPath = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
170
+ const projectPackageJsonPath = _chunkDERD32ZBcjs.joinPaths.call(void 0,
171
171
  workspaceRoot,
172
172
  projectNode.data.root,
173
173
  "package.json"
@@ -185,11 +185,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
185
185
  }
186
186
  }
187
187
  if (localPackages.length > 0) {
188
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
188
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
189
189
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
190
190
  );
191
191
  const projectJsonFile = await _promises.readFile.call(void 0,
192
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, projectRoot, "project.json"),
192
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, projectRoot, "project.json"),
193
193
  "utf8"
194
194
  );
195
195
  const projectJson = JSON.parse(projectJsonFile);
@@ -202,7 +202,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
202
202
  }
203
203
  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) => {
204
204
  if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
205
- const depPackageJsonPath = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
205
+ const depPackageJsonPath = _chunkDERD32ZBcjs.joinPaths.call(void 0,
206
206
  workspaceRoot,
207
207
  projectConfigurations.projects[dep].root,
208
208
  "package.json"
@@ -233,14 +233,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
233
233
  return ret;
234
234
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
235
235
  } else {
236
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
236
+ _chunkDERD32ZBcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
237
237
  }
238
238
  return packageJson;
239
239
  };
240
240
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
241
- const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkFJ4P7D4Zcjs.findWorkspaceRoot.call(void 0, );
241
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkDERD32ZBcjs.findWorkspaceRoot.call(void 0, );
242
242
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
243
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
243
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
244
244
  "utf8"
245
245
  );
246
246
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -251,7 +251,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
251
251
  if (distSrc.startsWith("/")) {
252
252
  distSrc = distSrc.substring(1);
253
253
  }
254
- packageJson.source ??= `${_chunkFJ4P7D4Zcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
254
+ packageJson.source ??= `${_chunkDERD32ZBcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
255
255
  }
256
256
  packageJson.files ??= ["dist/**/*"];
257
257
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -276,7 +276,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
276
276
  packageJson.contributors = [packageJson.author];
277
277
  }
278
278
  packageJson.repository ??= workspacePackageJson.repository;
279
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, "packages", projectName);
279
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkDERD32ZBcjs.joinPaths.call(void 0, "packages", projectName);
280
280
  return packageJson;
281
281
  };
282
282
 
@@ -284,7 +284,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
284
284
  var _c12 = require('c12');
285
285
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
286
286
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
287
- const workspacePath = filePath || _chunkFJ4P7D4Zcjs.findWorkspaceRoot.call(void 0, filePath);
287
+ const workspacePath = filePath || _chunkDERD32ZBcjs.findWorkspaceRoot.call(void 0, filePath);
288
288
  const configs = await Promise.all([
289
289
  _c12.loadConfig.call(void 0, {
290
290
  cwd: workspacePath,
@@ -293,7 +293,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
293
293
  envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
294
294
  jitiOptions: {
295
295
  debug: false,
296
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
296
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkDERD32ZBcjs.joinPaths.call(void 0,
297
297
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
298
298
  "jiti"
299
299
  )
@@ -307,7 +307,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
307
307
  envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
308
308
  jitiOptions: {
309
309
  debug: false,
310
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
310
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkDERD32ZBcjs.joinPaths.call(void 0,
311
311
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
312
312
  "jiti"
313
313
  )
@@ -319,12 +319,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
319
319
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
320
320
  };
321
321
  var getConfigFile = async (filePath, additionalFileNames = []) => {
322
- const workspacePath = filePath ? filePath : _chunkFJ4P7D4Zcjs.findWorkspaceRoot.call(void 0, filePath);
322
+ const workspacePath = filePath ? filePath : _chunkDERD32ZBcjs.findWorkspaceRoot.call(void 0, filePath);
323
323
  const result = await getConfigFileByName("storm-workspace", workspacePath);
324
324
  let config = result.config;
325
325
  const configFile = result.configFile;
326
326
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
327
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
327
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
328
328
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
329
329
  {
330
330
  logLevel: "all"
@@ -340,7 +340,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
340
340
  for (const result2 of results) {
341
341
  if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
342
342
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
343
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
343
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
344
344
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
345
345
  {
346
346
  logLevel: "all"
@@ -419,15 +419,15 @@ var getConfigEnv = () => {
419
419
  support: process.env[`${prefix}SUPPORT`] || void 0,
420
420
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
421
421
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
422
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
423
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
422
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
423
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
424
424
  directories: {
425
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
426
- data: process.env[`${prefix}DATA_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
427
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
428
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
429
- log: process.env[`${prefix}LOG_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
430
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
425
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
426
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
427
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
428
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
429
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
430
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkDERD32ZBcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
431
431
  },
432
432
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
433
433
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -452,13 +452,13 @@ var getConfigEnv = () => {
452
452
  },
453
453
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
454
454
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
455
- ) ? _chunkFJ4P7D4Zcjs.getLogLevelLabel.call(void 0,
455
+ ) ? _chunkDERD32ZBcjs.getLogLevelLabel.call(void 0,
456
456
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
457
457
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
458
458
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
459
459
  };
460
460
  const themeNames = Object.keys(process.env).filter(
461
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkFJ4P7D4Zcjs.COLOR_KEYS.every(
461
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkDERD32ZBcjs.COLOR_KEYS.every(
462
462
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
463
463
  )
464
464
  );
@@ -469,16 +469,16 @@ var getConfigEnv = () => {
469
469
  },
470
470
  {}
471
471
  ) : getThemeColorConfigEnv(prefix);
472
- if (config.docs === _chunkFJ4P7D4Zcjs.STORM_DEFAULT_DOCS) {
473
- if (config.homepage === _chunkFJ4P7D4Zcjs.STORM_DEFAULT_HOMEPAGE) {
474
- config.docs = `${_chunkFJ4P7D4Zcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
472
+ if (config.docs === _chunkDERD32ZBcjs.STORM_DEFAULT_DOCS) {
473
+ if (config.homepage === _chunkDERD32ZBcjs.STORM_DEFAULT_HOMEPAGE) {
474
+ config.docs = `${_chunkDERD32ZBcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
475
475
  } else {
476
476
  config.docs = `${config.homepage}/docs`;
477
477
  }
478
478
  }
479
- if (config.licensing === _chunkFJ4P7D4Zcjs.STORM_DEFAULT_LICENSING) {
480
- if (config.homepage === _chunkFJ4P7D4Zcjs.STORM_DEFAULT_HOMEPAGE) {
481
- config.licensing = `${_chunkFJ4P7D4Zcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
479
+ if (config.licensing === _chunkDERD32ZBcjs.STORM_DEFAULT_LICENSING) {
480
+ if (config.homepage === _chunkDERD32ZBcjs.STORM_DEFAULT_HOMEPAGE) {
481
+ config.licensing = `${_chunkDERD32ZBcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
482
482
  } else {
483
483
  config.licensing = `${config.homepage}/docs`;
484
484
  }
@@ -679,40 +679,40 @@ var setConfigEnv = (config) => {
679
679
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
680
680
  }
681
681
  if (config.configFile) {
682
- process.env[`${prefix}CONFIG_FILE`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.configFile);
682
+ process.env[`${prefix}CONFIG_FILE`] = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.configFile);
683
683
  }
684
684
  if (config.workspaceRoot) {
685
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.workspaceRoot);
686
- process.env.NX_WORKSPACE_ROOT = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.workspaceRoot);
687
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.workspaceRoot);
685
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.workspaceRoot);
686
+ process.env.NX_WORKSPACE_ROOT = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.workspaceRoot);
687
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.workspaceRoot);
688
688
  }
689
689
  if (config.directories) {
690
690
  if (!config.skipCache && config.directories.cache) {
691
- process.env[`${prefix}CACHE_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0,
691
+ process.env[`${prefix}CACHE_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0,
692
692
  config.directories.cache
693
693
  );
694
694
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
695
695
  }
696
696
  if (config.directories.data) {
697
- process.env[`${prefix}DATA_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.directories.data);
697
+ process.env[`${prefix}DATA_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.directories.data);
698
698
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
699
699
  }
700
700
  if (config.directories.config) {
701
- process.env[`${prefix}CONFIG_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0,
701
+ process.env[`${prefix}CONFIG_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0,
702
702
  config.directories.config
703
703
  );
704
704
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
705
705
  }
706
706
  if (config.directories.temp) {
707
- process.env[`${prefix}TEMP_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.directories.temp);
707
+ process.env[`${prefix}TEMP_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.directories.temp);
708
708
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
709
709
  }
710
710
  if (config.directories.log) {
711
- process.env[`${prefix}LOG_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, config.directories.log);
711
+ process.env[`${prefix}LOG_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0, config.directories.log);
712
712
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
713
713
  }
714
714
  if (config.directories.build) {
715
- process.env[`${prefix}BUILD_DIR`] = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0,
715
+ process.env[`${prefix}BUILD_DIR`] = _chunkDERD32ZBcjs.correctPaths.call(void 0,
716
716
  config.directories.build
717
717
  );
718
718
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
@@ -779,9 +779,9 @@ var setConfigEnv = (config) => {
779
779
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
780
780
  process.env.LOG_LEVEL = String(config.logLevel);
781
781
  process.env.NX_VERBOSE_LOGGING = String(
782
- _chunkFJ4P7D4Zcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkFJ4P7D4Zcjs.LogLevel.DEBUG ? true : false
782
+ _chunkDERD32ZBcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkDERD32ZBcjs.LogLevel.DEBUG ? true : false
783
783
  );
784
- process.env.RUST_BACKTRACE = _chunkFJ4P7D4Zcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkFJ4P7D4Zcjs.LogLevel.DEBUG ? "full" : "none";
784
+ process.env.RUST_BACKTRACE = _chunkDERD32ZBcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkDERD32ZBcjs.LogLevel.DEBUG ? "full" : "none";
785
785
  }
786
786
  if (config.skipConfigLogging !== void 0) {
787
787
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -901,13 +901,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
901
901
  if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
902
902
  let _workspaceRoot = workspaceRoot;
903
903
  if (!_workspaceRoot) {
904
- _workspaceRoot = _chunkFJ4P7D4Zcjs.findWorkspaceRoot.call(void 0, );
904
+ _workspaceRoot = _chunkDERD32ZBcjs.findWorkspaceRoot.call(void 0, );
905
905
  }
906
906
  const configEnv = getConfigEnv();
907
907
  const configFile = await getConfigFile(_workspaceRoot);
908
908
  if (!configFile) {
909
909
  if (!skipLogs) {
910
- _chunkFJ4P7D4Zcjs.writeWarning.call(void 0,
910
+ _chunkDERD32ZBcjs.writeWarning.call(void 0,
911
911
  "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",
912
912
  { logLevel: "all" }
913
913
  );
@@ -916,9 +916,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
916
916
  return void 0;
917
917
  }
918
918
  }
919
- const defaultConfig = await _chunkFJ4P7D4Zcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
920
- result = _chunkFJ4P7D4Zcjs.applyDefaultConfig.call(void 0,
921
- await _chunkFJ4P7D4Zcjs.stormWorkspaceConfigSchema.parseAsync(
919
+ const defaultConfig = await _chunkDERD32ZBcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
920
+ result = _chunkDERD32ZBcjs.applyDefaultConfig.call(void 0,
921
+ await _chunkDERD32ZBcjs.stormWorkspaceConfigSchema.parseAsync(
922
922
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
923
923
  )
924
924
  );
@@ -960,9 +960,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
960
960
  );
961
961
  setConfigEnv(config);
962
962
  if (!skipLogs && !config.skipConfigLogging) {
963
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
963
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
964
964
  `\u2699\uFE0F Using Storm Workspace configuration:
965
- ${_chunkFJ4P7D4Zcjs.formatLogMessage.call(void 0, config)}`,
965
+ ${_chunkDERD32ZBcjs.formatLogMessage.call(void 0, config)}`,
966
966
  config
967
967
  );
968
968
  }
@@ -998,15 +998,15 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
998
998
 
999
999
  var _unbuild = require('unbuild');
1000
1000
  async function resolveOptions(options, config) {
1001
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1002
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, "Build options resolution");
1001
+ _chunkDERD32ZBcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1002
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, "Build options resolution");
1003
1003
  if (options.configPath) {
1004
- const configFile = await _chunk55IJBY6Ecjs.loadConfig.call(void 0, options.configPath);
1004
+ const configFile = await _chunkDZ7GSU4Hcjs.loadConfig.call(void 0, options.configPath);
1005
1005
  if (configFile) {
1006
1006
  options = _defu2.default.call(void 0, options, configFile);
1007
1007
  }
1008
1008
  }
1009
- const outputPath = options.outputPath || _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, "dist", options.projectRoot);
1009
+ const outputPath = options.outputPath || _chunkDERD32ZBcjs.joinPaths.call(void 0, "dist", options.projectRoot);
1010
1010
  let projectGraph;
1011
1011
  try {
1012
1012
  projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
@@ -1019,7 +1019,7 @@ async function resolveOptions(options, config) {
1019
1019
  "The build process failed because the project graph is not available. Please run the build command again."
1020
1020
  );
1021
1021
  }
1022
- const projectJsonPath = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
1022
+ const projectJsonPath = _chunkDERD32ZBcjs.joinPaths.call(void 0,
1023
1023
  config.workspaceRoot,
1024
1024
  options.projectRoot,
1025
1025
  "project.json"
@@ -1030,7 +1030,7 @@ async function resolveOptions(options, config) {
1030
1030
  const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
1031
1031
  const projectJson = JSON.parse(projectJsonContent);
1032
1032
  const projectName = projectJson.name;
1033
- const packageJsonPath = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
1033
+ const packageJsonPath = _chunkDERD32ZBcjs.joinPaths.call(void 0,
1034
1034
  config.workspaceRoot,
1035
1035
  options.projectRoot,
1036
1036
  "package.json"
@@ -1042,17 +1042,17 @@ async function resolveOptions(options, config) {
1042
1042
  const packageJson = JSON.parse(packageJsonContent);
1043
1043
  let tsconfig = options.tsconfig;
1044
1044
  if (!tsconfig) {
1045
- tsconfig = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
1045
+ tsconfig = _chunkDERD32ZBcjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
1046
1046
  }
1047
1047
  if (!tsconfig.startsWith(config.workspaceRoot)) {
1048
- tsconfig = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
1048
+ tsconfig = _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
1049
1049
  }
1050
1050
  if (!_fs.existsSync.call(void 0, tsconfig)) {
1051
1051
  throw new Error("Cannot find tsconfig.json configuration");
1052
1052
  }
1053
1053
  let sourceRoot = projectJson.sourceRoot;
1054
1054
  if (!sourceRoot) {
1055
- sourceRoot = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.projectRoot, "src");
1055
+ sourceRoot = _chunkDERD32ZBcjs.joinPaths.call(void 0, options.projectRoot, "src");
1056
1056
  }
1057
1057
  if (!_fs.existsSync.call(void 0, sourceRoot)) {
1058
1058
  throw new Error("Cannot find sourceRoot directory");
@@ -1101,9 +1101,9 @@ async function resolveOptions(options, config) {
1101
1101
  while (entryPath.startsWith("/")) {
1102
1102
  entryPath = entryPath.substring(1);
1103
1103
  }
1104
- const outDir = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
1104
+ const outDir = _chunkDERD32ZBcjs.joinPaths.call(void 0,
1105
1105
  _path.relative.call(void 0,
1106
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot),
1106
+ _chunkDERD32ZBcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot),
1107
1107
  config.workspaceRoot
1108
1108
  ),
1109
1109
  outputPath,
@@ -1182,7 +1182,7 @@ async function resolveOptions(options, config) {
1182
1182
  treeShaking: options.treeShaking !== false,
1183
1183
  platform: options.platform || "neutral",
1184
1184
  color: true,
1185
- logLevel: config.logLevel === _chunkFJ4P7D4Zcjs.LogLevelLabel.FATAL ? _chunkFJ4P7D4Zcjs.LogLevelLabel.ERROR : _chunkFJ4P7D4Zcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
1185
+ logLevel: config.logLevel === _chunkDERD32ZBcjs.LogLevelLabel.FATAL ? _chunkDERD32ZBcjs.LogLevelLabel.ERROR : _chunkDERD32ZBcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
1186
1186
  }
1187
1187
  }
1188
1188
  };
@@ -1203,7 +1203,7 @@ async function resolveOptions(options, config) {
1203
1203
  if (options.rollup) {
1204
1204
  let rollup = {};
1205
1205
  if (typeof options.rollup === "string") {
1206
- const rollupFile = await _chunk55IJBY6Ecjs.loadConfig.call(void 0, options.rollup);
1206
+ const rollupFile = await _chunkDZ7GSU4Hcjs.loadConfig.call(void 0, options.rollup);
1207
1207
  if (rollupFile) {
1208
1208
  rollup = rollupFile;
1209
1209
  }
@@ -1215,20 +1215,20 @@ async function resolveOptions(options, config) {
1215
1215
  resolvedOptions.hooks = {
1216
1216
  "rollup:options": async (ctx, opts) => {
1217
1217
  if (options.plugins && options.plugins.length > 0) {
1218
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
1218
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
1219
1219
  ` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
1220
1220
  config
1221
1221
  );
1222
1222
  opts.plugins = options.plugins;
1223
1223
  } else {
1224
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
1224
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
1225
1225
  ` \u{1F9E9} No plugins found in provided build options, using default plugins`,
1226
1226
  config
1227
1227
  );
1228
1228
  opts.plugins = await Promise.all([
1229
- _chunkZUY6OKYDcjs.analyzePlugin.call(void 0, resolvedOptions),
1230
- _chunk55IJBY6Ecjs.tscPlugin.call(void 0, resolvedOptions),
1231
- _chunk2EHWQBM6cjs.onErrorPlugin.call(void 0, resolvedOptions)
1229
+ _chunkCKBEQNI6cjs.analyzePlugin.call(void 0, resolvedOptions),
1230
+ _chunkDZ7GSU4Hcjs.tscPlugin.call(void 0, resolvedOptions),
1231
+ _chunkRD6YICEOcjs.onErrorPlugin.call(void 0, resolvedOptions)
1232
1232
  ]);
1233
1233
  }
1234
1234
  },
@@ -1282,15 +1282,15 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
1282
1282
  };
1283
1283
  };
1284
1284
  async function generatePackageJson(options) {
1285
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1286
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1287
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, "Write package.json file");
1288
- const packageJsonPath = _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1285
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkDERD32ZBcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1286
+ _chunkDERD32ZBcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1287
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, "Write package.json file");
1288
+ const packageJsonPath = _chunkDERD32ZBcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1289
1289
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1290
1290
  throw new Error("Cannot find package.json configuration");
1291
1291
  }
1292
1292
  const packageJsonContent = await _promises.readFile.call(void 0,
1293
- _chunkFJ4P7D4Zcjs.joinPaths.call(void 0,
1293
+ _chunkDERD32ZBcjs.joinPaths.call(void 0,
1294
1294
  options.config.workspaceRoot,
1295
1295
  options.projectRoot,
1296
1296
  "package.json"
@@ -1326,7 +1326,7 @@ async function generatePackageJson(options) {
1326
1326
  while (entryPath.startsWith("/")) {
1327
1327
  entryPath = entryPath.substring(1);
1328
1328
  }
1329
- entryPath = `./${_chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
1329
+ entryPath = `./${_chunkDERD32ZBcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
1330
1330
  if (!ret.includes(entryPath)) {
1331
1331
  ret.push(entryPath);
1332
1332
  }
@@ -1376,28 +1376,28 @@ async function generatePackageJson(options) {
1376
1376
  options.sourceRoot,
1377
1377
  options.projectRoot
1378
1378
  );
1379
- await _devkit.writeJsonFile.call(void 0, _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1379
+ await _devkit.writeJsonFile.call(void 0, _chunkDERD32ZBcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1380
1380
  stopwatch();
1381
1381
  }
1382
1382
  return options;
1383
1383
  }
1384
1384
  async function executeUnbuild(options) {
1385
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
1385
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
1386
1386
  ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
1387
1387
  options.config
1388
1388
  );
1389
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0,
1389
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0,
1390
1390
  `${options.name} (${options.projectRoot}) build`
1391
1391
  );
1392
1392
  try {
1393
1393
  const config = {
1394
1394
  ...options,
1395
1395
  config: null,
1396
- rootDir: _chunkFJ4P7D4Zcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1396
+ rootDir: _chunkDERD32ZBcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
1397
1397
  };
1398
- _chunkFJ4P7D4Zcjs.writeTrace.call(void 0,
1398
+ _chunkDERD32ZBcjs.writeTrace.call(void 0,
1399
1399
  `Running with unbuild configuration:
1400
- ${_chunkFJ4P7D4Zcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
1400
+ ${_chunkDERD32ZBcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
1401
1401
  `,
1402
1402
  options.config
1403
1403
  );
@@ -1408,11 +1408,11 @@ ${_chunkFJ4P7D4Zcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
1408
1408
  return options;
1409
1409
  }
1410
1410
  async function copyBuildAssets(options) {
1411
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
1411
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
1412
1412
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
1413
1413
  options.config
1414
1414
  );
1415
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1415
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1416
1416
  await copyAssets(
1417
1417
  options.config,
1418
1418
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1427,12 +1427,12 @@ async function copyBuildAssets(options) {
1427
1427
  }
1428
1428
  async function cleanOutputPath(options) {
1429
1429
  if (options.clean !== false && options.outDir) {
1430
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0,
1430
+ _chunkDERD32ZBcjs.writeDebug.call(void 0,
1431
1431
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
1432
1432
  options.config
1433
1433
  );
1434
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, `${options.name} output clean`);
1435
- await _chunkNUTDHZCYcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1434
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, `${options.name} output clean`);
1435
+ await _chunkRD4YD4ZNcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
1436
1436
  stopwatch();
1437
1437
  }
1438
1438
  return options;
@@ -1447,10 +1447,10 @@ async function build(options) {
1447
1447
  throw new Error("Cannot find workspace root");
1448
1448
  }
1449
1449
  const config = await getConfig(workspaceRoot.dir);
1450
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1451
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, "Unbuild pipeline");
1450
+ _chunkDERD32ZBcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
1451
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, "Unbuild pipeline");
1452
1452
  try {
1453
- options.projectRoot = _chunkFJ4P7D4Zcjs.correctPaths.call(void 0, projectRoot);
1453
+ options.projectRoot = _chunkDERD32ZBcjs.correctPaths.call(void 0, projectRoot);
1454
1454
  const resolvedOptions = await resolveOptions(options, config);
1455
1455
  await cleanOutputPath(resolvedOptions);
1456
1456
  if (options.buildOnly !== true) {
@@ -1460,12 +1460,12 @@ async function build(options) {
1460
1460
  if (options.buildOnly !== true) {
1461
1461
  await copyBuildAssets(resolvedOptions);
1462
1462
  }
1463
- _chunkFJ4P7D4Zcjs.writeSuccess.call(void 0,
1463
+ _chunkDERD32ZBcjs.writeSuccess.call(void 0,
1464
1464
  ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
1465
1465
  config
1466
1466
  );
1467
1467
  } catch (error) {
1468
- _chunkFJ4P7D4Zcjs.writeFatal.call(void 0,
1468
+ _chunkDERD32ZBcjs.writeFatal.call(void 0,
1469
1469
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
1470
1470
  config
1471
1471
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-M77AMZJI.js";
3
+ } from "./chunk-WM2DFJAS.js";
4
4
 
5
5
  // src/plugins/on-error.ts
6
6
  var onErrorPlugin = (options) => ({
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
4
+ var _chunkDERD32ZBcjs = require('./chunk-DERD32ZB.cjs');
5
5
 
6
6
  // src/clean.ts
7
7
  var _promises = require('fs/promises');
8
8
  async function clean(name = "Unbuild", directory, config) {
9
- _chunkFJ4P7D4Zcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
10
- const stopwatch = _chunkFJ4P7D4Zcjs.getStopwatch.call(void 0, `${name} output clean`);
9
+ _chunkDERD32ZBcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
10
+ const stopwatch = _chunkDERD32ZBcjs.getStopwatch.call(void 0, `${name} output clean`);
11
11
  await cleanDirectories(name, directory, config);
12
12
  stopwatch();
13
13
  }
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
3
+ var _chunkDERD32ZBcjs = require('./chunk-DERD32ZB.cjs');
4
4
 
5
5
  // src/plugins/on-error.ts
6
6
  var onErrorPlugin = (options) => ({
7
7
  name: "storm:on-error",
8
8
  buildEnd(error) {
9
9
  if (error) {
10
- _chunkFJ4P7D4Zcjs.writeError.call(void 0,
10
+ _chunkDERD32ZBcjs.writeError.call(void 0,
11
11
  `The following errors occurred during the build:
12
12
  ${error ? error.message : "Unknown build error"}
13
13
 
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
18
18
  }
19
19
  },
20
20
  renderError(error) {
21
- _chunkFJ4P7D4Zcjs.writeError.call(void 0,
21
+ _chunkDERD32ZBcjs.writeError.call(void 0,
22
22
  `The following errors occurred during the build:
23
23
  ${error ? error.message : "Unknown build error"}
24
24
 
@@ -303,10 +303,10 @@ var RegistryConfigSchema = z.object({
303
303
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
304
304
  MultiThemeColorConfigSchema
305
305
  ).describe("Colors used for various workspace elements");
306
- var ColorConfigMapSchema = z.union([
307
- z.object({ base: ColorConfigSchema }),
308
- z.record(z.string(), ColorConfigSchema)
309
- ]);
306
+ var ColorConfigMapSchema = z.record(
307
+ z.union([z.literal("base"), z.string()]),
308
+ ColorConfigSchema
309
+ );
310
310
  var ExtendsItemSchema = z.string().trim().describe(
311
311
  "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."
312
312
  );
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 _chunkNUTDHZCYcjs = require('./chunk-NUTDHZCY.cjs');
5
- require('./chunk-FJ4P7D4Z.cjs');
4
+ var _chunkRD4YD4ZNcjs = require('./chunk-RD4YD4ZN.cjs');
5
+ require('./chunk-DERD32ZB.cjs');
6
6
  require('./chunk-OBGZSXTJ.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunkNUTDHZCYcjs.clean; exports.cleanDirectories = _chunkNUTDHZCYcjs.cleanDirectories;
10
+ exports.clean = _chunkRD4YD4ZNcjs.clean; exports.cleanDirectories = _chunkRD4YD4ZNcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-ZYVSQC3E.js";
5
- import "./chunk-M77AMZJI.js";
4
+ } from "./chunk-G32STBCS.js";
5
+ import "./chunk-WM2DFJAS.js";
6
6
  import "./chunk-3RG5ZIWI.js";
7
7
  export {
8
8
  clean,
package/dist/index.cjs CHANGED
@@ -5,19 +5,19 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkMXO4DPC3cjs = require('./chunk-MXO4DPC3.cjs');
8
+ var _chunkGVO643VMcjs = require('./chunk-GVO643VM.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkNUTDHZCYcjs = require('./chunk-NUTDHZCY.cjs');
12
+ var _chunkRD4YD4ZNcjs = require('./chunk-RD4YD4ZN.cjs');
13
13
  require('./chunk-SFZRYJZ2.cjs');
14
- require('./chunk-ZUY6OKYD.cjs');
15
- require('./chunk-2EHWQBM6.cjs');
14
+ require('./chunk-CKBEQNI6.cjs');
15
+ require('./chunk-RD6YICEO.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunk55IJBY6Ecjs = require('./chunk-55IJBY6E.cjs');
20
- require('./chunk-FJ4P7D4Z.cjs');
19
+ var _chunkDZ7GSU4Hcjs = require('./chunk-DZ7GSU4H.cjs');
20
+ require('./chunk-DERD32ZB.cjs');
21
21
  require('./chunk-OBGZSXTJ.cjs');
22
22
 
23
23
 
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.build = _chunkMXO4DPC3cjs.build; exports.clean = _chunkNUTDHZCYcjs.clean; exports.cleanDirectories = _chunkNUTDHZCYcjs.cleanDirectories; exports.cleanOutputPath = _chunkMXO4DPC3cjs.cleanOutputPath; exports.copyBuildAssets = _chunkMXO4DPC3cjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk55IJBY6Ecjs.createTsCompilerOptions; exports.executeUnbuild = _chunkMXO4DPC3cjs.executeUnbuild; exports.generatePackageJson = _chunkMXO4DPC3cjs.generatePackageJson; exports.loadConfig = _chunk55IJBY6Ecjs.loadConfig; exports.resolveOptions = _chunkMXO4DPC3cjs.resolveOptions;
33
+ exports.build = _chunkGVO643VMcjs.build; exports.clean = _chunkRD4YD4ZNcjs.clean; exports.cleanDirectories = _chunkRD4YD4ZNcjs.cleanDirectories; exports.cleanOutputPath = _chunkGVO643VMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkGVO643VMcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkDZ7GSU4Hcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkGVO643VMcjs.executeUnbuild; exports.generatePackageJson = _chunkGVO643VMcjs.generatePackageJson; exports.loadConfig = _chunkDZ7GSU4Hcjs.loadConfig; exports.resolveOptions = _chunkGVO643VMcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,19 +5,19 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-WP255ZFB.js";
8
+ } from "./chunk-FNYUUBNZ.js";
9
9
  import {
10
10
  clean,
11
11
  cleanDirectories
12
- } from "./chunk-ZYVSQC3E.js";
12
+ } from "./chunk-G32STBCS.js";
13
13
  import "./chunk-GGNOJ77I.js";
14
- import "./chunk-SCS5MDFW.js";
15
- import "./chunk-RKSSRYAB.js";
14
+ import "./chunk-AAQFCT7L.js";
15
+ import "./chunk-J4UOX4OP.js";
16
16
  import {
17
17
  createTsCompilerOptions,
18
18
  loadConfig
19
- } from "./chunk-D6PWYWHA.js";
20
- import "./chunk-M77AMZJI.js";
19
+ } from "./chunk-EDOO3FEZ.js";
20
+ import "./chunk-WM2DFJAS.js";
21
21
  import "./chunk-3RG5ZIWI.js";
22
22
  export {
23
23
  build,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZUY6OKYDcjs = require('../chunk-ZUY6OKYD.cjs');
4
- require('../chunk-FJ4P7D4Z.cjs');
3
+ var _chunkCKBEQNI6cjs = require('../chunk-CKBEQNI6.cjs');
4
+ require('../chunk-DERD32ZB.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.analyzePlugin = _chunkZUY6OKYDcjs.analyzePlugin;
8
+ exports.analyzePlugin = _chunkCKBEQNI6cjs.analyzePlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  analyzePlugin
3
- } from "../chunk-SCS5MDFW.js";
4
- import "../chunk-M77AMZJI.js";
3
+ } from "../chunk-AAQFCT7L.js";
4
+ import "../chunk-WM2DFJAS.js";
5
5
  import "../chunk-3RG5ZIWI.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 _chunk2EHWQBM6cjs = require('../chunk-2EHWQBM6.cjs');
4
- require('../chunk-FJ4P7D4Z.cjs');
3
+ var _chunkRD6YICEOcjs = require('../chunk-RD6YICEO.cjs');
4
+ require('../chunk-DERD32ZB.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.onErrorPlugin = _chunk2EHWQBM6cjs.onErrorPlugin;
8
+ exports.onErrorPlugin = _chunkRD6YICEOcjs.onErrorPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  onErrorPlugin
3
- } from "../chunk-RKSSRYAB.js";
4
- import "../chunk-M77AMZJI.js";
3
+ } from "../chunk-J4UOX4OP.js";
4
+ import "../chunk-WM2DFJAS.js";
5
5
  import "../chunk-3RG5ZIWI.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 _chunk55IJBY6Ecjs = require('../chunk-55IJBY6E.cjs');
4
- require('../chunk-FJ4P7D4Z.cjs');
3
+ var _chunkDZ7GSU4Hcjs = require('../chunk-DZ7GSU4H.cjs');
4
+ require('../chunk-DERD32ZB.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.tscPlugin = _chunk55IJBY6Ecjs.tscPlugin;
8
+ exports.tscPlugin = _chunkDZ7GSU4Hcjs.tscPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tscPlugin
3
- } from "../chunk-D6PWYWHA.js";
4
- import "../chunk-M77AMZJI.js";
3
+ } from "../chunk-EDOO3FEZ.js";
4
+ import "../chunk-WM2DFJAS.js";
5
5
  import "../chunk-3RG5ZIWI.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.49.23",
3
+ "version": "0.49.25",
4
4
  "type": "module",
5
5
  "description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -147,9 +147,9 @@
147
147
  "typescript": { "optional": false }
148
148
  },
149
149
  "dependencies": {
150
- "@storm-software/build-tools": "^0.151.10",
151
- "@storm-software/config": "^1.124.2",
152
- "@storm-software/config-tools": "^1.174.3",
150
+ "@storm-software/build-tools": "^0.151.11",
151
+ "@storm-software/config": "^1.124.4",
152
+ "@storm-software/config-tools": "^1.175.0",
153
153
  "commander": "^12.1.0",
154
154
  "defu": "6.1.4",
155
155
  "esbuild": "^0.25.0",
@@ -170,5 +170,6 @@
170
170
  "typescript": "^5.8.3"
171
171
  },
172
172
  "publishConfig": { "access": "public" },
173
- "sideEffects": false
173
+ "sideEffects": false,
174
+ "gitHead": "e9a128c5dc2c122d72a5611cf5cec6e227a03931"
174
175
  }