@storm-software/esbuild 0.45.9 → 0.45.11

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/assets.cjs +4 -4
  3. package/dist/assets.js +3 -3
  4. package/dist/build.cjs +11 -11
  5. package/dist/build.js +10 -10
  6. package/dist/{chunk-4UCSWAYL.cjs → chunk-4T66RHLZ.cjs} +28 -28
  7. package/dist/{chunk-24MAAJ23.cjs → chunk-CBRUGQFQ.cjs} +3 -3
  8. package/dist/{chunk-HBIJ4J5R.cjs → chunk-DMCSA7GD.cjs} +87 -87
  9. package/dist/{chunk-XX2GNHNI.js → chunk-DONA32WC.js} +1 -1
  10. package/dist/{chunk-VJOUBIZH.js → chunk-J23YJYET.js} +1 -1
  11. package/dist/{chunk-AJHP5LOA.js → chunk-KFVVARZW.js} +1 -1
  12. package/dist/{chunk-VS6CDXH5.js → chunk-LGDQLIWM.js} +7 -7
  13. package/dist/{chunk-JPZ25OGN.cjs → chunk-LXFI4QN3.cjs} +22 -22
  14. package/dist/{chunk-CNQNTV4A.cjs → chunk-NXN35NZ7.cjs} +10 -10
  15. package/dist/{chunk-Z2W5FM4B.js → chunk-OHC4AOQG.js} +2 -2
  16. package/dist/{chunk-4BLTG225.js → chunk-OVF7EMMD.js} +1 -1
  17. package/dist/{chunk-6LRS4DYX.cjs → chunk-P3LL3C3V.cjs} +6 -6
  18. package/dist/{chunk-ZMPH4C3L.cjs → chunk-PHUOQP5F.cjs} +5 -5
  19. package/dist/{chunk-NJO2B5FC.cjs → chunk-Q45WICGX.cjs} +3 -3
  20. package/dist/{chunk-G5UIJPDD.js → chunk-S4OFPSFS.js} +5 -5
  21. package/dist/{chunk-LVJIYUGI.js → chunk-VREJONM4.js} +2 -2
  22. package/dist/{chunk-EZI7IWCO.cjs → chunk-VYYRT4J4.cjs} +3 -3
  23. package/dist/{chunk-B6E7GJXU.js → chunk-WMU243HH.js} +3 -3
  24. package/dist/{chunk-G4SJWWJB.cjs → chunk-Y2WVY5RS.cjs} +3 -3
  25. package/dist/{chunk-BKOUQVED.js → chunk-YYB2TDMT.js} +1 -1
  26. package/dist/clean.cjs +3 -3
  27. package/dist/clean.js +2 -2
  28. package/dist/config.cjs +4 -4
  29. package/dist/config.js +3 -3
  30. package/dist/context.cjs +5 -5
  31. package/dist/context.js +4 -4
  32. package/dist/index.cjs +11 -11
  33. package/dist/index.js +10 -10
  34. package/dist/package-json.cjs +4 -4
  35. package/dist/package-json.js +3 -3
  36. package/dist/plugins/deps-check.cjs +3 -3
  37. package/dist/plugins/deps-check.js +2 -2
  38. package/dist/tsup.cjs +3 -3
  39. package/dist/tsup.js +2 -2
  40. package/dist/watch.cjs +3 -3
  41. package/dist/watch.js +1 -1
  42. package/package.json +4 -4
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.45.8-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.45.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/assets.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMPH4C3Lcjs = require('./chunk-ZMPH4C3L.cjs');
4
- require('./chunk-4UCSWAYL.cjs');
5
- require('./chunk-HBIJ4J5R.cjs');
3
+ var _chunkPHUOQP5Fcjs = require('./chunk-PHUOQP5F.cjs');
4
+ require('./chunk-4T66RHLZ.cjs');
5
+ require('./chunk-DMCSA7GD.cjs');
6
6
  require('./chunk-REAX6FSO.cjs');
7
7
  require('./chunk-4ICWACJM.cjs');
8
8
 
9
9
 
10
- exports.copyBuildAssets = _chunkZMPH4C3Lcjs.copyBuildAssets;
10
+ exports.copyBuildAssets = _chunkPHUOQP5Fcjs.copyBuildAssets;
package/dist/assets.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  copyBuildAssets
3
- } from "./chunk-Z2W5FM4B.js";
4
- import "./chunk-AJHP5LOA.js";
5
- import "./chunk-G5UIJPDD.js";
3
+ } from "./chunk-OHC4AOQG.js";
4
+ import "./chunk-KFVVARZW.js";
5
+ import "./chunk-S4OFPSFS.js";
6
6
  import "./chunk-A7I6K5HC.js";
7
7
  import "./chunk-GL7N7ANS.js";
8
8
  export {
package/dist/build.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJPZ25OGNcjs = require('./chunk-JPZ25OGN.cjs');
4
- require('./chunk-24MAAJ23.cjs');
5
- require('./chunk-ZMPH4C3L.cjs');
6
- require('./chunk-EZI7IWCO.cjs');
7
- require('./chunk-CNQNTV4A.cjs');
8
- require('./chunk-NJO2B5FC.cjs');
9
- require('./chunk-6LRS4DYX.cjs');
10
- require('./chunk-4UCSWAYL.cjs');
11
- require('./chunk-G4SJWWJB.cjs');
12
- require('./chunk-HBIJ4J5R.cjs');
3
+ var _chunkLXFI4QN3cjs = require('./chunk-LXFI4QN3.cjs');
4
+ require('./chunk-CBRUGQFQ.cjs');
5
+ require('./chunk-PHUOQP5F.cjs');
6
+ require('./chunk-VYYRT4J4.cjs');
7
+ require('./chunk-NXN35NZ7.cjs');
8
+ require('./chunk-Q45WICGX.cjs');
9
+ require('./chunk-P3LL3C3V.cjs');
10
+ require('./chunk-4T66RHLZ.cjs');
11
+ require('./chunk-Y2WVY5RS.cjs');
12
+ require('./chunk-DMCSA7GD.cjs');
13
13
  require('./chunk-REAX6FSO.cjs');
14
14
  require('./chunk-4ICWACJM.cjs');
15
15
 
16
16
 
17
- exports.build = _chunkJPZ25OGNcjs.build;
17
+ exports.build = _chunkLXFI4QN3cjs.build;
package/dist/build.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-VS6CDXH5.js";
4
- import "./chunk-VJOUBIZH.js";
5
- import "./chunk-Z2W5FM4B.js";
6
- import "./chunk-BKOUQVED.js";
7
- import "./chunk-B6E7GJXU.js";
8
- import "./chunk-XX2GNHNI.js";
9
- import "./chunk-LVJIYUGI.js";
10
- import "./chunk-AJHP5LOA.js";
11
- import "./chunk-4BLTG225.js";
12
- import "./chunk-G5UIJPDD.js";
3
+ } from "./chunk-LGDQLIWM.js";
4
+ import "./chunk-J23YJYET.js";
5
+ import "./chunk-OHC4AOQG.js";
6
+ import "./chunk-YYB2TDMT.js";
7
+ import "./chunk-WMU243HH.js";
8
+ import "./chunk-DONA32WC.js";
9
+ import "./chunk-VREJONM4.js";
10
+ import "./chunk-KFVVARZW.js";
11
+ import "./chunk-OVF7EMMD.js";
12
+ import "./chunk-S4OFPSFS.js";
13
13
  import "./chunk-A7I6K5HC.js";
14
14
  import "./chunk-GL7N7ANS.js";
15
15
  export {
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkHBIJ4J5Rcjs = require('./chunk-HBIJ4J5R.cjs');
17
+ var _chunkDMCSA7GDcjs = require('./chunk-DMCSA7GD.cjs');
18
18
 
19
19
 
20
20
 
@@ -65,7 +65,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
65
65
  output: "src/"
66
66
  });
67
67
  }
68
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0,
68
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0,
69
69
  `\u{1F4DD} Copying the following assets to the output directory:
70
70
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkREAX6FSOcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
71
71
  config
@@ -78,7 +78,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
78
78
  });
79
79
  await assetHandler.processAllAssetsOnce();
80
80
  if (includeSrc === true) {
81
- _chunkHBIJ4J5Rcjs.writeDebug.call(void 0,
81
+ _chunkDMCSA7GDcjs.writeDebug.call(void 0,
82
82
  `\u{1F4DD} Adding banner and writing source files: ${_chunkREAX6FSOcjs.joinPaths.call(void 0,
83
83
  outputPath,
84
84
  "src"
@@ -163,7 +163,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
163
163
  }
164
164
  }
165
165
  if (localPackages.length > 0) {
166
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0,
166
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0,
167
167
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
168
168
  );
169
169
  const projectJsonFile = await _promises.readFile.call(void 0,
@@ -211,12 +211,12 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
211
211
  return ret;
212
212
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
213
213
  } else {
214
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
214
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
215
215
  }
216
216
  return packageJson;
217
217
  };
218
218
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
219
- const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkHBIJ4J5Rcjs.findWorkspaceRoot.call(void 0, );
219
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkDMCSA7GDcjs.findWorkspaceRoot.call(void 0, );
220
220
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
221
221
  _chunkREAX6FSOcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
222
222
  "utf8"
@@ -270,7 +270,7 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
270
270
  var _c12 = require('c12');
271
271
 
272
272
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
273
- const workspacePath = filePath || _chunkHBIJ4J5Rcjs.findWorkspaceRoot.call(void 0, filePath);
273
+ const workspacePath = filePath || _chunkDMCSA7GDcjs.findWorkspaceRoot.call(void 0, filePath);
274
274
  const configs = await Promise.all([
275
275
  _c12.loadConfig.call(void 0, {
276
276
  cwd: workspacePath,
@@ -305,12 +305,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
305
305
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
306
306
  };
307
307
  var getConfigFile = async (filePath, additionalFileNames = []) => {
308
- const workspacePath = filePath ? filePath : _chunkHBIJ4J5Rcjs.findWorkspaceRoot.call(void 0, filePath);
308
+ const workspacePath = filePath ? filePath : _chunkDMCSA7GDcjs.findWorkspaceRoot.call(void 0, filePath);
309
309
  const result = await getConfigFileByName("storm-workspace", workspacePath);
310
310
  let config = result.config;
311
311
  const configFile = result.configFile;
312
312
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
313
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0,
313
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0,
314
314
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
315
315
  {
316
316
  logLevel: "all"
@@ -326,7 +326,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
326
326
  for (const result2 of results) {
327
327
  if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
328
328
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
329
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0,
329
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0,
330
330
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
331
331
  {
332
332
  logLevel: "all"
@@ -436,13 +436,13 @@ var getConfigEnv = () => {
436
436
  },
437
437
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
438
438
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
439
- ) ? _chunkHBIJ4J5Rcjs.getLogLevelLabel.call(void 0,
439
+ ) ? _chunkDMCSA7GDcjs.getLogLevelLabel.call(void 0,
440
440
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
441
441
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
442
442
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
443
443
  };
444
444
  const themeNames = Object.keys(process.env).filter(
445
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkHBIJ4J5Rcjs.COLOR_KEYS.every(
445
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkDMCSA7GDcjs.COLOR_KEYS.every(
446
446
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
447
447
  )
448
448
  );
@@ -453,16 +453,16 @@ var getConfigEnv = () => {
453
453
  },
454
454
  {}
455
455
  ) : getThemeColorConfigEnv(prefix);
456
- if (config.docs === _chunkHBIJ4J5Rcjs.STORM_DEFAULT_DOCS) {
457
- if (config.homepage === _chunkHBIJ4J5Rcjs.STORM_DEFAULT_HOMEPAGE) {
458
- config.docs = `${_chunkHBIJ4J5Rcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
456
+ if (config.docs === _chunkDMCSA7GDcjs.STORM_DEFAULT_DOCS) {
457
+ if (config.homepage === _chunkDMCSA7GDcjs.STORM_DEFAULT_HOMEPAGE) {
458
+ config.docs = `${_chunkDMCSA7GDcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
459
459
  } else {
460
460
  config.docs = `${config.homepage}/docs`;
461
461
  }
462
462
  }
463
- if (config.licensing === _chunkHBIJ4J5Rcjs.STORM_DEFAULT_LICENSING) {
464
- if (config.homepage === _chunkHBIJ4J5Rcjs.STORM_DEFAULT_HOMEPAGE) {
465
- config.licensing = `${_chunkHBIJ4J5Rcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
463
+ if (config.licensing === _chunkDMCSA7GDcjs.STORM_DEFAULT_LICENSING) {
464
+ if (config.homepage === _chunkDMCSA7GDcjs.STORM_DEFAULT_HOMEPAGE) {
465
+ config.licensing = `${_chunkDMCSA7GDcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
466
466
  } else {
467
467
  config.licensing = `${config.homepage}/docs`;
468
468
  }
@@ -764,9 +764,9 @@ var setConfigEnv = (config) => {
764
764
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
765
765
  process.env.LOG_LEVEL = String(config.logLevel);
766
766
  process.env.NX_VERBOSE_LOGGING = String(
767
- _chunkHBIJ4J5Rcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkHBIJ4J5Rcjs.LogLevel.DEBUG ? true : false
767
+ _chunkDMCSA7GDcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkDMCSA7GDcjs.LogLevel.DEBUG ? true : false
768
768
  );
769
- process.env.RUST_BACKTRACE = _chunkHBIJ4J5Rcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkHBIJ4J5Rcjs.LogLevel.DEBUG ? "full" : "none";
769
+ process.env.RUST_BACKTRACE = _chunkDMCSA7GDcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkDMCSA7GDcjs.LogLevel.DEBUG ? "full" : "none";
770
770
  }
771
771
  if (config.skipConfigLogging !== void 0) {
772
772
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -886,13 +886,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
886
886
  if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
887
887
  let _workspaceRoot = workspaceRoot;
888
888
  if (!_workspaceRoot) {
889
- _workspaceRoot = _chunkHBIJ4J5Rcjs.findWorkspaceRoot.call(void 0, );
889
+ _workspaceRoot = _chunkDMCSA7GDcjs.findWorkspaceRoot.call(void 0, );
890
890
  }
891
891
  const configEnv = getConfigEnv();
892
892
  const configFile = await getConfigFile(_workspaceRoot);
893
893
  if (!configFile) {
894
894
  if (!skipLogs) {
895
- _chunkHBIJ4J5Rcjs.writeWarning.call(void 0,
895
+ _chunkDMCSA7GDcjs.writeWarning.call(void 0,
896
896
  "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",
897
897
  { logLevel: "all" }
898
898
  );
@@ -901,9 +901,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
901
901
  return void 0;
902
902
  }
903
903
  }
904
- const defaultConfig = await _chunkHBIJ4J5Rcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
905
- result = _chunkHBIJ4J5Rcjs.applyDefaultConfig.call(void 0,
906
- await _chunkHBIJ4J5Rcjs.stormWorkspaceConfigSchema.parseAsync(
904
+ const defaultConfig = await _chunkDMCSA7GDcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
905
+ result = _chunkDMCSA7GDcjs.applyDefaultConfig.call(void 0,
906
+ await _chunkDMCSA7GDcjs.stormWorkspaceConfigSchema.parseAsync(
907
907
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
908
908
  )
909
909
  );
@@ -945,9 +945,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
945
945
  );
946
946
  setConfigEnv(config);
947
947
  if (!skipLogs && !config.skipConfigLogging) {
948
- _chunkHBIJ4J5Rcjs.writeTrace.call(void 0,
948
+ _chunkDMCSA7GDcjs.writeTrace.call(void 0,
949
949
  `\u2699\uFE0F Using Storm Workspace configuration:
950
- ${_chunkHBIJ4J5Rcjs.formatLogMessage.call(void 0, config)}`,
950
+ ${_chunkDMCSA7GDcjs.formatLogMessage.call(void 0, config)}`,
951
951
  config
952
952
  );
953
953
  }
@@ -961,7 +961,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
961
961
  var getWorkspaceConfig = (skipLogs = true, options = {}) => {
962
962
  let workspaceRoot = options.workspaceRoot;
963
963
  if (!workspaceRoot) {
964
- workspaceRoot = _chunkHBIJ4J5Rcjs.findWorkspaceRoot.call(void 0, options.cwd);
964
+ workspaceRoot = _chunkDMCSA7GDcjs.findWorkspaceRoot.call(void 0, options.cwd);
965
965
  }
966
966
  return getConfig(workspaceRoot, skipLogs);
967
967
  };
@@ -1,7 +1,7 @@
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(); } }
2
2
 
3
3
 
4
- var _chunkHBIJ4J5Rcjs = require('./chunk-HBIJ4J5R.cjs');
4
+ var _chunkDMCSA7GDcjs = require('./chunk-DMCSA7GD.cjs');
5
5
 
6
6
 
7
7
 
@@ -75,10 +75,10 @@ var depsCheckPlugin = (bundle) => ({
75
75
  const filteredMissingDeps = missingDependencies.filter((dep) => {
76
76
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
77
77
  });
78
- _chunkHBIJ4J5Rcjs.writeWarning.call(void 0,
78
+ _chunkDMCSA7GDcjs.writeWarning.call(void 0,
79
79
  `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
80
80
  );
81
- _chunkHBIJ4J5Rcjs.writeError.call(void 0,
81
+ _chunkDMCSA7GDcjs.writeError.call(void 0,
82
82
  `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
83
83
  );
84
84
  if (filteredMissingDeps.length > 0) {
@@ -1,4 +1,4 @@
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; }
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(); } } 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
3
 
4
4
  var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
@@ -68,22 +68,22 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
68
68
 
69
69
  // ../config/src/schema.ts
70
70
  _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
71
- var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
72
- var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
73
- var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
74
- var BrandColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
75
- var AlternateColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
76
- var AccentColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
77
- var LinkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
78
- var HelpColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
79
- var SuccessColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
80
- var InfoColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
81
- var WarningColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
82
- var DangerColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
83
- var FatalColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
84
- var PositiveColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
85
- var NegativeColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
86
- var DarkThemeColorConfigSchema = _zod2.default.object({
71
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
72
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
73
+ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
74
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
75
+ var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
76
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
77
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
78
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
79
+ var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
80
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
81
+ var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
82
+ var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
83
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
84
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
85
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
86
+ var DarkThemeColorConfigSchema = z.object({
87
87
  foreground: LightColorSchema,
88
88
  background: DarkColorSchema,
89
89
  brand: BrandColorSchema,
@@ -99,7 +99,7 @@ var DarkThemeColorConfigSchema = _zod2.default.object({
99
99
  positive: PositiveColorSchema,
100
100
  negative: NegativeColorSchema
101
101
  });
102
- var LightThemeColorConfigSchema = _zod2.default.object({
102
+ var LightThemeColorConfigSchema = z.object({
103
103
  foreground: DarkColorSchema,
104
104
  background: LightColorSchema,
105
105
  brand: BrandColorSchema,
@@ -115,11 +115,11 @@ var LightThemeColorConfigSchema = _zod2.default.object({
115
115
  positive: PositiveColorSchema,
116
116
  negative: NegativeColorSchema
117
117
  });
118
- var MultiThemeColorConfigSchema = _zod2.default.object({
118
+ var MultiThemeColorConfigSchema = z.object({
119
119
  dark: DarkThemeColorConfigSchema,
120
120
  light: LightThemeColorConfigSchema
121
121
  });
122
- var SingleThemeColorConfigSchema = _zod2.default.object({
122
+ var SingleThemeColorConfigSchema = z.object({
123
123
  dark: DarkColorSchema,
124
124
  light: LightColorSchema,
125
125
  brand: BrandColorSchema,
@@ -135,8 +135,8 @@ var SingleThemeColorConfigSchema = _zod2.default.object({
135
135
  positive: PositiveColorSchema,
136
136
  negative: NegativeColorSchema
137
137
  });
138
- var RegistryUrlConfigSchema = _zod2.default.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
139
- var RegistryConfigSchema = _zod2.default.object({
138
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
139
+ var RegistryConfigSchema = z.object({
140
140
  github: RegistryUrlConfigSchema,
141
141
  npm: RegistryUrlConfigSchema,
142
142
  cargo: RegistryUrlConfigSchema,
@@ -146,122 +146,122 @@ var RegistryConfigSchema = _zod2.default.object({
146
146
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
147
147
  MultiThemeColorConfigSchema
148
148
  ).describe("Colors used for various workspace elements");
149
- var ColorConfigMapSchema = _zod2.default.union([
150
- _zod2.default.object({ base: ColorConfigSchema }),
151
- _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
149
+ var ColorConfigMapSchema = z.union([
150
+ z.object({ base: ColorConfigSchema }),
151
+ z.record(z.string(), ColorConfigSchema)
152
152
  ]);
153
- var ExtendsItemSchema = _zod2.default.string().trim().describe(
153
+ var ExtendsItemSchema = z.string().trim().describe(
154
154
  "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."
155
155
  );
156
156
  var ExtendsSchema = ExtendsItemSchema.or(
157
- _zod2.default.array(ExtendsItemSchema)
157
+ z.array(ExtendsItemSchema)
158
158
  ).describe(
159
159
  "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."
160
160
  );
161
- var WorkspaceBotConfigSchema = _zod2.default.object({
162
- name: _zod2.default.string().trim().default("stormie-bot").describe(
161
+ var WorkspaceBotConfigSchema = z.object({
162
+ name: z.string().trim().default("stormie-bot").describe(
163
163
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
164
164
  ),
165
- email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
165
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
166
166
  }).describe(
167
167
  "The workspace's bot user's config used to automated various operations tasks"
168
168
  );
169
- var WorkspaceReleaseConfigSchema = _zod2.default.object({
170
- banner: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
169
+ var WorkspaceReleaseConfigSchema = z.object({
170
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
171
171
  "A URL to a banner image used to display the workspace's release"
172
172
  ),
173
- header: _zod2.default.string().trim().optional().describe(
173
+ header: z.string().trim().optional().describe(
174
174
  "A header message appended to the start of the workspace's release notes"
175
175
  ),
176
- footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
176
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
177
177
  "A footer message appended to the end of the workspace's release notes"
178
178
  )
179
179
  }).describe("The workspace's release config used during the release process");
180
- var WorkspaceAccountConfigSchema = _zod2.default.object({
181
- twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
182
- discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
183
- telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
184
- slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
185
- medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
186
- github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
180
+ var WorkspaceAccountConfigSchema = z.object({
181
+ twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
182
+ discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
183
+ telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
184
+ slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
185
+ medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
186
+ github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
187
187
  }).describe(
188
188
  "The workspace's account config used to store various social media links"
189
189
  );
190
- var WorkspaceDirectoryConfigSchema = _zod2.default.object({
191
- cache: _zod2.default.string().trim().optional().describe(
190
+ var WorkspaceDirectoryConfigSchema = z.object({
191
+ cache: z.string().trim().optional().describe(
192
192
  "The directory used to store the environment's cached file data"
193
193
  ),
194
- data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
195
- config: _zod2.default.string().trim().optional().describe(
194
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
195
+ config: z.string().trim().optional().describe(
196
196
  "The directory used to store the environment's configuration files"
197
197
  ),
198
- temp: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
199
- log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
200
- build: _zod2.default.string().trim().default("dist").describe(
198
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
199
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
200
+ build: z.string().trim().default("dist").describe(
201
201
  "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
202
202
  )
203
203
  }).describe(
204
204
  "Various directories used by the workspace to store data, cache, and configuration files"
205
205
  );
206
- var errorConfigSchema = _zod2.default.object({
207
- codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
208
- url: _zod2.default.string().trim().url().optional().describe(
206
+ var errorConfigSchema = z.object({
207
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
208
+ url: z.string().trim().url().optional().describe(
209
209
  "A URL to a page that looks up the workspace's error messages given a specific error code"
210
210
  )
211
211
  }).describe("The workspace's error config used during the error process");
212
- var organizationConfigSchema = _zod2.default.object({
213
- name: _zod2.default.string().trim().describe("The name of the organization"),
214
- description: _zod2.default.string().trim().optional().describe("A description of the organization"),
215
- logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
216
- icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
217
- url: _zod2.default.string().trim().url().optional().describe(
212
+ var organizationConfigSchema = z.object({
213
+ name: z.string().trim().describe("The name of the organization"),
214
+ description: z.string().trim().optional().describe("A description of the organization"),
215
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
216
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
217
+ url: z.string().trim().url().optional().describe(
218
218
  "A URL to a page that provides more information about the organization"
219
219
  )
220
220
  }).describe("The workspace's organization details");
221
- var stormWorkspaceConfigSchema = _zod2.default.object({
222
- $schema: _zod2.default.string().trim().default(
223
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
224
- ).optional().nullish().describe(
225
- "The URL to the JSON schema file that describes the Storm configuration file"
221
+ var stormWorkspaceConfigSchema = z.object({
222
+ $schema: z.string().trim().default(
223
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
224
+ ).describe(
225
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
226
226
  ),
227
227
  extends: ExtendsSchema.optional(),
228
- name: _zod2.default.string().trim().toLowerCase().optional().describe(
228
+ name: z.string().trim().toLowerCase().optional().describe(
229
229
  "The name of the service/package/scope using this configuration"
230
230
  ),
231
- namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
232
- organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
231
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
232
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
233
233
  "The organization of the workspace. This can be a string or an object containing the organization's details"
234
234
  ),
235
- repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
236
- license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
237
- homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
238
- docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
239
- portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
240
- licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
241
- contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
242
- support: _zod2.default.string().trim().url().optional().describe(
235
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
236
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
237
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
238
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
239
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
240
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
241
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
242
+ support: z.string().trim().url().optional().describe(
243
243
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
244
244
  ),
245
- branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
246
- preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
247
- owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
245
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
246
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
247
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
248
248
  bot: WorkspaceBotConfigSchema,
249
249
  release: WorkspaceReleaseConfigSchema,
250
250
  account: WorkspaceAccountConfigSchema,
251
251
  error: errorConfigSchema,
252
- mode: _zod2.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
253
- workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
254
- externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe(
252
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
253
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
254
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
255
255
  "The build will use these package patterns to determine if they should be external to the bundle"
256
256
  ),
257
- skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
257
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
258
258
  directories: WorkspaceDirectoryConfigSchema,
259
- packageManager: _zod2.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
259
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
260
260
  "The JavaScript/TypeScript package manager used by the repository"
261
261
  ),
262
- timezone: _zod2.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
263
- locale: _zod2.default.string().trim().default("en-US").describe("The default locale of the workspace"),
264
- logLevel: _zod2.default.enum([
262
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
263
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
264
+ logLevel: z.enum([
265
265
  "silent",
266
266
  "fatal",
267
267
  "error",
@@ -274,17 +274,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
274
274
  ]).default("info").describe(
275
275
  "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
276
276
  ),
277
- skipConfigLogging: _zod2.default.boolean().optional().describe(
277
+ skipConfigLogging: z.boolean().optional().describe(
278
278
  "Should the logging of the current Storm Workspace configuration be skipped?"
279
279
  ),
280
280
  registry: RegistryConfigSchema,
281
- configFile: _zod2.default.string().trim().nullable().default(null).describe(
281
+ configFile: z.string().trim().nullable().default(null).describe(
282
282
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
283
283
  ),
284
284
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
285
285
  "Storm theme config values used for styling various package elements"
286
286
  ),
287
- extensions: _zod2.default.record(_zod2.default.any()).optional().default({}).describe("Configuration of each used extension")
287
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
288
288
  }).describe(
289
289
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
290
290
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_COMPILED_BANNER
3
- } from "./chunk-AJHP5LOA.js";
3
+ } from "./chunk-KFVVARZW.js";
4
4
  import {
5
5
  init_esm_shims
6
6
  } from "./chunk-GL7N7ANS.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeWarning
4
- } from "./chunk-G5UIJPDD.js";
4
+ } from "./chunk-S4OFPSFS.js";
5
5
  import {
6
6
  __require,
7
7
  init_esm_shims