@storm-software/esbuild 0.31.30 → 0.31.32

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.31.26-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.31.31-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/build.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4I65QR6Dcjs = require('./chunk-4I65QR6D.cjs');
5
- require('./chunk-XF4W7Y5G.cjs');
6
- require('./chunk-MECU4TGM.cjs');
4
+ var _chunkP3WA6JHHcjs = require('./chunk-P3WA6JHH.cjs');
5
+ require('./chunk-TPPC2KGE.cjs');
6
+ require('./chunk-X3ZTLBTA.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
8
8
  require('./chunk-WRBUO7H6.cjs');
9
- require('./chunk-QICNNYHX.cjs');
9
+ require('./chunk-UM3465YR.cjs');
10
10
  require('./chunk-SSEYS7LI.cjs');
11
- require('./chunk-6D27C2MD.cjs');
12
- require('./chunk-S2QQQQC4.cjs');
13
- require('./chunk-UFNNCUFM.cjs');
11
+ require('./chunk-JLPAYWVX.cjs');
12
+ require('./chunk-OYFVAL4X.cjs');
13
+ require('./chunk-QVWQRHQZ.cjs');
14
14
  require('./chunk-XITTOHOG.cjs');
15
15
  require('./chunk-CGFDQ5AJ.cjs');
16
16
  require('./chunk-EZGTDCYM.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunk4I65QR6Dcjs.build; exports.cleanOutputPath = _chunk4I65QR6Dcjs.cleanOutputPath;
21
+ exports.build = _chunkP3WA6JHHcjs.build; exports.cleanOutputPath = _chunkP3WA6JHHcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-O2DGD74J.js";
5
- import "./chunk-DJBLQVO3.js";
6
- import "./chunk-F55MDH52.js";
4
+ } from "./chunk-Y2IWVWKY.js";
5
+ import "./chunk-VA5LCHQG.js";
6
+ import "./chunk-MJLJTLYN.js";
7
7
  import "./chunk-T5272PC2.js";
8
8
  import "./chunk-LYDEMC26.js";
9
- import "./chunk-LTXLRCFK.js";
9
+ import "./chunk-NECSRTH6.js";
10
10
  import "./chunk-Q3LOGZKI.js";
11
- import "./chunk-4F2UUEOG.js";
12
- import "./chunk-YSMZ4KXD.js";
13
- import "./chunk-OS6IORPL.js";
11
+ import "./chunk-U6XRGLIE.js";
12
+ import "./chunk-VLJIDKWJ.js";
13
+ import "./chunk-CMVUI2JL.js";
14
14
  import "./chunk-YMTDVMD6.js";
15
15
  import "./chunk-YNQ45EAM.js";
16
16
  import "./chunk-GWG4HOQ6.js";
@@ -216,6 +216,10 @@ var WorkspaceDirectoryConfigSchema = z.object({
216
216
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
217
217
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
218
218
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
219
+ var errorConfigSchema = z.object({
220
+ codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
221
+ url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
222
+ }).describe("The workspace's error config used during the error process");
219
223
  var stormWorkspaceConfigSchema = z.object({
220
224
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
221
225
  extends: ExtendsSchema.optional(),
@@ -234,6 +238,7 @@ var stormWorkspaceConfigSchema = z.object({
234
238
  bot: WorkspaceBotConfigSchema,
235
239
  release: WorkspaceReleaseConfigSchema,
236
240
  account: WorkspaceAccountConfigSchema,
241
+ error: errorConfigSchema,
237
242
  mode: z.enum([
238
243
  "development",
239
244
  "staging",
@@ -444,7 +449,10 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
444
449
  license,
445
450
  homepage,
446
451
  docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
447
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`
452
+ licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
453
+ error: {
454
+ url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
455
+ }
448
456
  };
449
457
  }, "getDefaultConfig");
450
458
 
@@ -1,6 +1,6 @@
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 _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
3
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
4
4
 
5
5
 
6
6
  var _chunkXITTOHOGcjs = require('./chunk-XITTOHOG.cjs');
@@ -85,7 +85,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
85
85
  localBuild: true
86
86
  });
87
87
  if (extractorResult.succeeded === false) {
88
- _chunkUFNNCUFMcjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
88
+ _chunkQVWQRHQZcjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
89
89
  throw new Error("API Extractor completed with errors");
90
90
  }
91
91
  }
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-LYDEMC26.js";
7
7
  import {
8
8
  onErrorPlugin
9
- } from "./chunk-LTXLRCFK.js";
9
+ } from "./chunk-NECSRTH6.js";
10
10
  import {
11
11
  resolvePathsPlugin
12
12
  } from "./chunk-Q3LOGZKI.js";
13
13
  import {
14
14
  tscPlugin
15
- } from "./chunk-4F2UUEOG.js";
15
+ } from "./chunk-U6XRGLIE.js";
16
16
  import {
17
17
  COLOR_KEYS,
18
18
  LogLevel,
@@ -28,7 +28,7 @@ import {
28
28
  writeDebug,
29
29
  writeTrace,
30
30
  writeWarning
31
- } from "./chunk-OS6IORPL.js";
31
+ } from "./chunk-CMVUI2JL.js";
32
32
  import {
33
33
  correctPaths,
34
34
  joinPaths
@@ -322,6 +322,10 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
322
322
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
323
323
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
324
324
  },
325
+ error: {
326
+ codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
327
+ url: process.env[`${prefix}ERROR_URL`] || void 0
328
+ },
325
329
  account: {
326
330
  twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
327
331
  discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
@@ -495,6 +499,10 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
495
499
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
496
500
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
497
501
  }
502
+ if (config.error) {
503
+ process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
504
+ process.env[`${prefix}ERROR_URL`] = config.error.url;
505
+ }
498
506
  if (config.release) {
499
507
  process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
500
508
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
@@ -625,7 +633,7 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
625
633
  process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
626
634
  }
627
635
  if (config.registry.container) {
628
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.cyclone);
636
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
629
637
  }
630
638
  }
631
639
  if (config.logLevel) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-OS6IORPL.js";
3
+ } from "./chunk-CMVUI2JL.js";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-3GQAWCBQ.js";
@@ -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 _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
4
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
5
5
 
6
6
 
7
7
 
@@ -86,8 +86,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (bun
86
86
  const filteredMissingDeps = missingDependencies.filter((dep) => {
87
87
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
88
88
  });
89
- _chunkUFNNCUFMcjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
90
- _chunkUFNNCUFMcjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
89
+ _chunkQVWQRHQZcjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
90
+ _chunkQVWQRHQZcjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
91
91
  if (filteredMissingDeps.length > 0) {
92
92
  throw new Error(`Missing dependencies detected - please install them:
93
93
  ${JSON.stringify(filteredMissingDeps)}
@@ -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(); } } 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 _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
3
+ var _chunkTPPC2KGEcjs = require('./chunk-TPPC2KGE.cjs');
4
4
 
5
5
 
6
6
 
@@ -12,10 +12,10 @@ var _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
15
+ var _chunkX3ZTLBTAcjs = require('./chunk-X3ZTLBTA.cjs');
16
16
 
17
17
 
18
- var _chunkS2QQQQC4cjs = require('./chunk-S2QQQQC4.cjs');
18
+ var _chunkOYFVAL4Xcjs = require('./chunk-OYFVAL4X.cjs');
19
19
 
20
20
 
21
21
 
@@ -26,7 +26,7 @@ var _chunkS2QQQQC4cjs = require('./chunk-S2QQQQC4.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
29
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
30
30
 
31
31
 
32
32
 
@@ -278,9 +278,9 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
278
278
  if (!workspaceRoot) {
279
279
  throw new Error("Cannot find Nx workspace root");
280
280
  }
281
- const config = await _chunkMECU4TGMcjs.getConfig.call(void 0, workspaceRoot.dir);
282
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
283
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, "Build options resolution");
281
+ const config = await _chunkX3ZTLBTAcjs.getConfig.call(void 0, workspaceRoot.dir);
282
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
283
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, "Build options resolution");
284
284
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
285
285
  exitOnError: true
286
286
  });
@@ -295,14 +295,14 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
295
295
  if (!_optionalChain([projectConfigurations, 'optionalAccess', _14 => _14.projects, 'optionalAccess', _15 => _15[projectName]])) {
296
296
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
297
297
  }
298
- const options = _defu2.default.call(void 0, userOptions, _chunkMECU4TGMcjs.DEFAULT_BUILD_OPTIONS);
298
+ const options = _defu2.default.call(void 0, userOptions, _chunkX3ZTLBTAcjs.DEFAULT_BUILD_OPTIONS);
299
299
  options.name ??= `${projectName}-${options.format}`;
300
- options.target ??= _chunkMECU4TGMcjs.DEFAULT_TARGET;
300
+ options.target ??= _chunkX3ZTLBTAcjs.DEFAULT_TARGET;
301
301
  const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
302
302
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
303
303
  throw new Error("Cannot find package.json configuration");
304
304
  }
305
- const env = _chunkMECU4TGMcjs.getEnv.call(void 0, "esbuild", options);
305
+ const env = _chunkX3ZTLBTAcjs.getEnv.call(void 0, "esbuild", options);
306
306
  const result = {
307
307
  ...options,
308
308
  config,
@@ -317,7 +317,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
317
317
  ...userOptions,
318
318
  tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
319
319
  format: options.format || "cjs",
320
- entryPoints: await _chunkMECU4TGMcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
320
+ entryPoints: await _chunkX3ZTLBTAcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
321
321
  outdir: userOptions.outputPath || _chunkXITTOHOGcjs.joinPaths.call(void 0, "dist", projectRoot),
322
322
  distDir: userOptions.distDir || "dist",
323
323
  plugins: [],
@@ -327,7 +327,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
327
327
  projectGraph,
328
328
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, "src"),
329
329
  minify: userOptions.minify || !userOptions.debug,
330
- verbose: userOptions.verbose || _chunkUFNNCUFMcjs.isVerbose.call(void 0, ) || userOptions.debug === true,
330
+ verbose: userOptions.verbose || _chunkQVWQRHQZcjs.isVerbose.call(void 0, ) || userOptions.debug === true,
331
331
  includeSrc: userOptions.includeSrc === true,
332
332
  metafile: userOptions.metafile !== false,
333
333
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -339,8 +339,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
339
339
  watch: userOptions.watch === true,
340
340
  footer: userOptions.footer,
341
341
  banner: {
342
- js: options.banner || _chunkMECU4TGMcjs.DEFAULT_COMPILED_BANNER,
343
- css: options.banner || _chunkMECU4TGMcjs.DEFAULT_COMPILED_BANNER
342
+ js: options.banner || _chunkX3ZTLBTAcjs.DEFAULT_COMPILED_BANNER,
343
+ css: options.banner || _chunkX3ZTLBTAcjs.DEFAULT_COMPILED_BANNER
344
344
  },
345
345
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
346
346
  treeShaking: options.format === "esm",
@@ -366,7 +366,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
366
366
  options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkXITTOHOGcjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
367
367
  ].filter(Boolean)
368
368
  };
369
- result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkMECU4TGMcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
369
+ result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkX3ZTLBTAcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
370
370
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
371
371
  result.inject = options.inject.reduce((ret, inj) => {
372
372
  if (inj && typeof inj === "string" && ret.includes(inj)) {
@@ -382,8 +382,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
382
382
  }, "resolveOptions");
383
383
  async function generatePackageJson(context2) {
384
384
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
385
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
386
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, "Write package.json file");
385
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
386
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, "Write package.json file");
387
387
  const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
388
388
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
389
389
  throw new Error("Cannot find package.json configuration");
@@ -393,8 +393,8 @@ async function generatePackageJson(context2) {
393
393
  if (!packageJson) {
394
394
  throw new Error("Cannot find package.json configuration file");
395
395
  }
396
- packageJson = await _chunkMECU4TGMcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
397
- packageJson = await _chunkMECU4TGMcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
396
+ packageJson = await _chunkX3ZTLBTAcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
397
+ packageJson = await _chunkX3ZTLBTAcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
398
398
  packageJson.exports ??= {};
399
399
  packageJson.exports["./package.json"] ??= "./package.json";
400
400
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
@@ -456,8 +456,8 @@ async function generateContext(getOptions) {
456
456
  }
457
457
  _chunkBGYQAVKQcjs.__name.call(void 0, generateContext, "generateContext");
458
458
  async function executeEsBuild(context2) {
459
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
460
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, `${context2.options.name} build`);
459
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
460
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, `${context2.options.name} build`);
461
461
  if (process.env.STORM_WATCH) {
462
462
  const ctx = await esbuild.context(context2.options);
463
463
  watch(ctx, context2.options);
@@ -490,8 +490,8 @@ async function executeEsBuild(context2) {
490
490
  delete options.config;
491
491
  delete options.injectShims;
492
492
  delete options.external;
493
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
494
- ${_chunkUFNNCUFMcjs.formatLogMessage.call(void 0, {
493
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
494
+ ${_chunkQVWQRHQZcjs.formatLogMessage.call(void 0, {
495
495
  ...options,
496
496
  define: "<Hidden>"
497
497
  })}`, context2.options.config);
@@ -507,9 +507,9 @@ ${_chunkUFNNCUFMcjs.formatLogMessage.call(void 0, {
507
507
  _chunkBGYQAVKQcjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
508
508
  async function copyBuildAssets(context2) {
509
509
  if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
510
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
511
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
512
- await _chunkMECU4TGMcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
510
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
511
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
512
+ await _chunkX3ZTLBTAcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
513
513
  stopwatch();
514
514
  }
515
515
  return context2;
@@ -518,9 +518,9 @@ _chunkBGYQAVKQcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
518
518
  async function reportResults(context2) {
519
519
  if (_optionalChain([context2, 'access', _19 => _19.result, 'optionalAccess', _20 => _20.errors, 'access', _21 => _21.length]) === 0) {
520
520
  if (context2.result.warnings.length > 0) {
521
- _chunkUFNNCUFMcjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
521
+ _chunkQVWQRHQZcjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
522
522
  }
523
- _chunkUFNNCUFMcjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
523
+ _chunkQVWQRHQZcjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
524
524
  }
525
525
  }
526
526
  _chunkBGYQAVKQcjs.__name.call(void 0, reportResults, "reportResults");
@@ -546,7 +546,7 @@ async function dependencyCheck(options) {
546
546
  write: false,
547
547
  outdir: "out",
548
548
  plugins: [
549
- _chunkS2QQQQC4cjs.depsCheckPlugin.call(void 0, options.bundle)
549
+ _chunkOYFVAL4Xcjs.depsCheckPlugin.call(void 0, options.bundle)
550
550
  ]
551
551
  });
552
552
  await buildPromise.catch(() => {
@@ -556,17 +556,17 @@ async function dependencyCheck(options) {
556
556
  _chunkBGYQAVKQcjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
557
557
  async function cleanOutputPath(context2) {
558
558
  if (context2.options.clean !== false && context2.options.outdir) {
559
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
560
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
561
- await _chunkXF4W7Y5Gcjs.cleanDirectories.call(void 0, context2.options.name, context2.options.outdir, context2.options.config);
559
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
560
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
561
+ await _chunkTPPC2KGEcjs.cleanDirectories.call(void 0, context2.options.name, context2.options.outdir, context2.options.config);
562
562
  stopwatch();
563
563
  }
564
564
  return context2;
565
565
  }
566
566
  _chunkBGYQAVKQcjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
567
567
  async function build2(options) {
568
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
569
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, "ESBuild pipeline");
568
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
569
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, "ESBuild pipeline");
570
570
  try {
571
571
  const opts = Array.isArray(options) ? options : [
572
572
  options
@@ -576,9 +576,9 @@ async function build2(options) {
576
576
  }
577
577
  void transduce.async(opts, dependencyCheck);
578
578
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
579
- _chunkUFNNCUFMcjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
579
+ _chunkQVWQRHQZcjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
580
580
  } catch (error) {
581
- _chunkUFNNCUFMcjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
581
+ _chunkQVWQRHQZcjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
582
582
  throw error;
583
583
  } finally {
584
584
  stopwatch();
@@ -606,9 +606,9 @@ var watch = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (context2, opt
606
606
  return context2.rebuild();
607
607
  });
608
608
  if (rebuildResult instanceof Error) {
609
- _chunkUFNNCUFMcjs.writeError.call(void 0, rebuildResult.message);
609
+ _chunkQVWQRHQZcjs.writeError.call(void 0, rebuildResult.message);
610
610
  }
611
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
611
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
612
612
  }, 10);
613
613
  changeWatcher.on("change", fastRebuild);
614
614
  return void 0;
@@ -216,6 +216,10 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
216
216
  log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
217
217
  build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
218
218
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
219
+ var errorConfigSchema = _zod2.default.object({
220
+ codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
221
+ url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
222
+ }).describe("The workspace's error config used during the error process");
219
223
  var stormWorkspaceConfigSchema = _zod2.default.object({
220
224
  $schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
221
225
  extends: ExtendsSchema.optional(),
@@ -234,6 +238,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
234
238
  bot: WorkspaceBotConfigSchema,
235
239
  release: WorkspaceReleaseConfigSchema,
236
240
  account: WorkspaceAccountConfigSchema,
241
+ error: errorConfigSchema,
237
242
  mode: _zod2.default.enum([
238
243
  "development",
239
244
  "staging",
@@ -444,7 +449,10 @@ var getDefaultConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, asy
444
449
  license,
445
450
  homepage,
446
451
  docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
447
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`
452
+ licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
453
+ error: {
454
+ url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
455
+ }
448
456
  };
449
457
  }, "getDefaultConfig");
450
458
 
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
4
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
5
5
 
6
6
 
7
7
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -9,8 +9,8 @@ var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
9
9
  // src/clean.ts
10
10
  var _promises = require('fs/promises');
11
11
  async function clean(name = "ESBuild", directory, config) {
12
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
- const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, `${name} output clean`);
12
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
+ const stopwatch = _chunkQVWQRHQZcjs.getStopwatch.call(void 0, `${name} output clean`);
14
14
  await cleanDirectories(name, directory, config);
15
15
  stopwatch();
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-OS6IORPL.js";
3
+ } from "./chunk-CMVUI2JL.js";
4
4
  import {
5
5
  joinPaths
6
6
  } from "./chunk-YMTDVMD6.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
3
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
4
4
 
5
5
 
6
6
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -11,7 +11,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
11
11
  setup(build) {
12
12
  build.onEnd((result) => {
13
13
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
14
- _chunkUFNNCUFMcjs.writeError.call(void 0, `The following errors occurred during the build:
14
+ _chunkQVWQRHQZcjs.writeError.call(void 0, `The following errors occurred during the build:
15
15
  ${result.errors.map((error) => error.text).join("\n")}
16
16
 
17
17
  `, resolvedOptions.config);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-OS6IORPL.js";
4
+ } from "./chunk-CMVUI2JL.js";
5
5
  import {
6
6
  __name
7
7
  } from "./chunk-3GQAWCBQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeWarning
4
- } from "./chunk-OS6IORPL.js";
4
+ } from "./chunk-CMVUI2JL.js";
5
5
  import {
6
6
  __name,
7
7
  __require
@@ -6,13 +6,13 @@ var _chunkS6M44SSZcjs = require('./chunk-S6M44SSZ.cjs');
6
6
  var _chunkWRBUO7H6cjs = require('./chunk-WRBUO7H6.cjs');
7
7
 
8
8
 
9
- var _chunkQICNNYHXcjs = require('./chunk-QICNNYHX.cjs');
9
+ var _chunkUM3465YRcjs = require('./chunk-UM3465YR.cjs');
10
10
 
11
11
 
12
12
  var _chunkSSEYS7LIcjs = require('./chunk-SSEYS7LI.cjs');
13
13
 
14
14
 
15
- var _chunk6D27C2MDcjs = require('./chunk-6D27C2MD.cjs');
15
+ var _chunkJLPAYWVXcjs = require('./chunk-JLPAYWVX.cjs');
16
16
 
17
17
 
18
18
 
@@ -28,7 +28,7 @@ var _chunk6D27C2MDcjs = require('./chunk-6D27C2MD.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
31
+ var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
32
32
 
33
33
 
34
34
 
@@ -97,7 +97,7 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
97
97
  output: "src/"
98
98
  });
99
99
  }
100
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
100
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
101
101
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
102
102
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
103
103
  projectDir: projectRoot,
@@ -107,7 +107,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
107
107
  });
108
108
  await assetHandler.processAllAssetsOnce();
109
109
  if (includeSrc === true) {
110
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
110
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
111
111
  const files = await _glob.glob.call(void 0, [
112
112
  _chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
113
113
  _chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -146,7 +146,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
146
146
  }
147
147
  }
148
148
  if (localPackages.length > 0) {
149
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
149
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
150
150
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
151
151
  const projectJson = JSON.parse(projectJsonFile);
152
152
  const projectName2 = projectJson.name;
@@ -180,12 +180,12 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
180
180
  return ret;
181
181
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
182
182
  } else {
183
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
183
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
184
184
  }
185
185
  return packageJson;
186
186
  }, "addPackageDependencies");
187
187
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
188
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkUFNNCUFMcjs.findWorkspaceRoot.call(void 0, );
188
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
189
189
  const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
190
190
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
191
191
  packageJson.type ??= "module";
@@ -234,7 +234,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
234
234
  var _c12 = require('c12');
235
235
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
236
236
  var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
237
- const workspacePath = filePath || _chunkUFNNCUFMcjs.findWorkspaceRoot.call(void 0, filePath);
237
+ const workspacePath = filePath || _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, filePath);
238
238
  const configs = await Promise.all([
239
239
  _c12.loadConfig.call(void 0, {
240
240
  cwd: workspacePath,
@@ -263,12 +263,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
263
263
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
264
264
  }, "getConfigFileByName");
265
265
  var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
266
- const workspacePath = filePath ? filePath : _chunkUFNNCUFMcjs.findWorkspaceRoot.call(void 0, filePath);
266
+ const workspacePath = filePath ? filePath : _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, filePath);
267
267
  const result = await getConfigFileByName("storm-workspace", workspacePath);
268
268
  let config = result.config;
269
269
  const configFile = result.configFile;
270
270
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
271
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
271
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
272
272
  logLevel: "all"
273
273
  });
274
274
  }
@@ -277,7 +277,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
277
277
  for (const result2 of results) {
278
278
  if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
279
279
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
280
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
280
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
281
281
  logLevel: "all"
282
282
  });
283
283
  }
@@ -322,6 +322,10 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
322
322
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
323
323
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
324
324
  },
325
+ error: {
326
+ codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
327
+ url: process.env[`${prefix}ERROR_URL`] || void 0
328
+ },
325
329
  account: {
326
330
  twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
327
331
  discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
@@ -370,24 +374,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
370
374
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
371
375
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
372
376
  },
373
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkUFNNCUFMcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
377
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkQVWQRHQZcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
374
378
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
375
379
  };
376
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkUFNNCUFMcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
380
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkQVWQRHQZcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
377
381
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
378
382
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
379
383
  return ret;
380
384
  }, {}) : getThemeColorConfigEnv(prefix);
381
- if (config.docs === _chunkUFNNCUFMcjs.STORM_DEFAULT_DOCS) {
382
- if (config.homepage === _chunkUFNNCUFMcjs.STORM_DEFAULT_HOMEPAGE) {
383
- config.docs = `${_chunkUFNNCUFMcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
385
+ if (config.docs === _chunkQVWQRHQZcjs.STORM_DEFAULT_DOCS) {
386
+ if (config.homepage === _chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE) {
387
+ config.docs = `${_chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
384
388
  } else {
385
389
  config.docs = `${config.homepage}/docs`;
386
390
  }
387
391
  }
388
- if (config.licensing === _chunkUFNNCUFMcjs.STORM_DEFAULT_LICENSING) {
389
- if (config.homepage === _chunkUFNNCUFMcjs.STORM_DEFAULT_HOMEPAGE) {
390
- config.licensing = `${_chunkUFNNCUFMcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
392
+ if (config.licensing === _chunkQVWQRHQZcjs.STORM_DEFAULT_LICENSING) {
393
+ if (config.homepage === _chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE) {
394
+ config.licensing = `${_chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
391
395
  } else {
392
396
  config.licensing = `${config.homepage}/docs`;
393
397
  }
@@ -495,6 +499,10 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
495
499
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
496
500
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
497
501
  }
502
+ if (config.error) {
503
+ process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
504
+ process.env[`${prefix}ERROR_URL`] = config.error.url;
505
+ }
498
506
  if (config.release) {
499
507
  process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
500
508
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
@@ -625,14 +633,14 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
625
633
  process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
626
634
  }
627
635
  if (config.registry.container) {
628
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.cyclone);
636
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
629
637
  }
630
638
  }
631
639
  if (config.logLevel) {
632
640
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
633
641
  process.env.LOG_LEVEL = String(config.logLevel);
634
- process.env.NX_VERBOSE_LOGGING = String(_chunkUFNNCUFMcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkUFNNCUFMcjs.LogLevel.DEBUG ? true : false);
635
- process.env.RUST_BACKTRACE = _chunkUFNNCUFMcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkUFNNCUFMcjs.LogLevel.DEBUG ? "full" : "none";
642
+ process.env.NX_VERBOSE_LOGGING = String(_chunkQVWQRHQZcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQVWQRHQZcjs.LogLevel.DEBUG ? true : false);
643
+ process.env.RUST_BACKTRACE = _chunkQVWQRHQZcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQVWQRHQZcjs.LogLevel.DEBUG ? "full" : "none";
636
644
  }
637
645
  if (config.skipConfigLogging !== void 0) {
638
646
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
@@ -750,17 +758,17 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(v
750
758
  if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
751
759
  let _workspaceRoot = workspaceRoot;
752
760
  if (!_workspaceRoot) {
753
- _workspaceRoot = _chunkUFNNCUFMcjs.findWorkspaceRoot.call(void 0, );
761
+ _workspaceRoot = _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
754
762
  }
755
763
  const configEnv = getConfigEnv();
756
- const defaultConfig = await _chunkUFNNCUFMcjs.getDefaultConfig.call(void 0, _workspaceRoot);
764
+ const defaultConfig = await _chunkQVWQRHQZcjs.getDefaultConfig.call(void 0, _workspaceRoot);
757
765
  const configFile = await getConfigFile(_workspaceRoot);
758
766
  if (!configFile && !skipLogs) {
759
- _chunkUFNNCUFMcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
767
+ _chunkQVWQRHQZcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
760
768
  logLevel: "all"
761
769
  });
762
770
  }
763
- result = await _chunkUFNNCUFMcjs.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
771
+ result = await _chunkQVWQRHQZcjs.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
764
772
  result.workspaceRoot ??= _workspaceRoot;
765
773
  } else {
766
774
  result = _static_cache.data;
@@ -795,8 +803,8 @@ var loadStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(voi
795
803
  const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
796
804
  setConfigEnv(config);
797
805
  if (!skipLogs && !config.skipConfigLogging) {
798
- _chunkUFNNCUFMcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
799
- ${_chunkUFNNCUFMcjs.formatLogMessage.call(void 0, config)}`, config);
806
+ _chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
807
+ ${_chunkQVWQRHQZcjs.formatLogMessage.call(void 0, config)}`, config);
800
808
  }
801
809
  return config;
802
810
  }, "loadStormWorkspaceConfig");
@@ -809,7 +817,7 @@ var getConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (workspace
809
817
  // ../build-tools/src/utilities/get-entry-points.ts
810
818
 
811
819
  var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
812
- const workspaceRoot = config.workspaceRoot || _chunkUFNNCUFMcjs.findWorkspaceRoot.call(void 0, );
820
+ const workspaceRoot = config.workspaceRoot || _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
813
821
  const entryPoints = [];
814
822
  if (entry) {
815
823
  if (typeof entry === "string") {
@@ -835,7 +843,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
835
843
  paths.push(...files.reduce((ret, filePath) => {
836
844
  const result = _chunkXITTOHOGcjs.correctPaths.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, projectRoot), ""));
837
845
  if (result) {
838
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
846
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
839
847
  if (!paths.includes(result)) {
840
848
  paths.push(result);
841
849
  }
@@ -843,7 +851,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
843
851
  return ret;
844
852
  }, []));
845
853
  } else {
846
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
854
+ _chunkQVWQRHQZcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
847
855
  if (!paths.includes(entryPoint)) {
848
856
  paths.push(entryPoint);
849
857
  }
@@ -888,8 +896,8 @@ var getDefaultBuildPlugins = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
888
896
  _chunkEZGTDCYMcjs.fixImportsPlugin.call(void 0, options, resolvedOptions),
889
897
  _chunkS6M44SSZcjs.nativeNodeModulesPlugin.call(void 0, options, resolvedOptions),
890
898
  _chunkCGFDQ5AJcjs.esmSplitCodeToCjsPlugin.call(void 0, options, resolvedOptions),
891
- _chunk6D27C2MDcjs.tscPlugin.call(void 0, options, resolvedOptions),
892
- _chunkQICNNYHXcjs.onErrorPlugin.call(void 0, options, resolvedOptions)
899
+ _chunkJLPAYWVXcjs.tscPlugin.call(void 0, options, resolvedOptions),
900
+ _chunkUM3465YRcjs.onErrorPlugin.call(void 0, options, resolvedOptions)
893
901
  ], "getDefaultBuildPlugins");
894
902
  var DEFAULT_BUILD_OPTIONS = {
895
903
  platform: "node",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cleanDirectories
3
- } from "./chunk-DJBLQVO3.js";
3
+ } from "./chunk-VA5LCHQG.js";
4
4
  import {
5
5
  DEFAULT_BUILD_OPTIONS,
6
6
  DEFAULT_COMPILED_BANNER,
@@ -12,10 +12,10 @@ import {
12
12
  getDefaultBuildPlugins,
13
13
  getEntryPoints,
14
14
  getEnv
15
- } from "./chunk-F55MDH52.js";
15
+ } from "./chunk-MJLJTLYN.js";
16
16
  import {
17
17
  depsCheckPlugin
18
- } from "./chunk-YSMZ4KXD.js";
18
+ } from "./chunk-VLJIDKWJ.js";
19
19
  import {
20
20
  formatLogMessage,
21
21
  getStopwatch,
@@ -26,7 +26,7 @@ import {
26
26
  writeSuccess,
27
27
  writeTrace,
28
28
  writeWarning
29
- } from "./chunk-OS6IORPL.js";
29
+ } from "./chunk-CMVUI2JL.js";
30
30
  import {
31
31
  correctPaths,
32
32
  joinPaths
package/dist/clean.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
5
- require('./chunk-UFNNCUFM.cjs');
4
+ var _chunkTPPC2KGEcjs = require('./chunk-TPPC2KGE.cjs');
5
+ require('./chunk-QVWQRHQZ.cjs');
6
6
  require('./chunk-XITTOHOG.cjs');
7
7
  require('./chunk-BGYQAVKQ.cjs');
8
8
 
9
9
 
10
10
 
11
- exports.clean = _chunkXF4W7Y5Gcjs.clean; exports.cleanDirectories = _chunkXF4W7Y5Gcjs.cleanDirectories;
11
+ exports.clean = _chunkTPPC2KGEcjs.clean; exports.cleanDirectories = _chunkTPPC2KGEcjs.cleanDirectories;
package/dist/clean.d.cts CHANGED
@@ -63,6 +63,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
63
63
  medium?: string | undefined;
64
64
  github?: string | undefined;
65
65
  }>;
66
+ error: z.ZodObject<{
67
+ codesFile: z.ZodDefault<z.ZodString>;
68
+ url: z.ZodOptional<z.ZodString>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ codesFile: string;
71
+ url?: string | undefined;
72
+ }, {
73
+ codesFile?: string | undefined;
74
+ url?: string | undefined;
75
+ }>;
66
76
  mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
67
77
  workspaceRoot: z.ZodDefault<z.ZodString>;
68
78
  externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -831,7 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
831
841
  }>]>>]>]>;
832
842
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
833
843
  }, "strip", z.ZodTypeAny, {
834
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
844
+ logLevel: "debug" | "error" | "silent" | "fatal" | "warn" | "success" | "info" | "trace" | "all";
835
845
  mode: "development" | "staging" | "production";
836
846
  organization: string;
837
847
  license: string;
@@ -858,6 +868,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
858
868
  medium: string;
859
869
  github: string;
860
870
  };
871
+ error: {
872
+ codesFile: string;
873
+ url?: string | undefined;
874
+ };
861
875
  workspaceRoot: string;
862
876
  externalPackagePatterns: string[];
863
877
  skipCache: boolean;
@@ -1053,6 +1067,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1053
1067
  medium?: string | undefined;
1054
1068
  github?: string | undefined;
1055
1069
  };
1070
+ error: {
1071
+ codesFile?: string | undefined;
1072
+ url?: string | undefined;
1073
+ };
1056
1074
  directories: {
1057
1075
  config?: string | undefined;
1058
1076
  cache?: string | undefined;
@@ -1208,7 +1226,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1208
1226
  background?: string | undefined;
1209
1227
  };
1210
1228
  }>;
1211
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1229
+ logLevel?: "debug" | "error" | "silent" | "fatal" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1212
1230
  name?: string | undefined;
1213
1231
  mode?: "development" | "staging" | "production" | undefined;
1214
1232
  $schema?: string | null | undefined;
package/dist/clean.d.ts CHANGED
@@ -63,6 +63,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
63
63
  medium?: string | undefined;
64
64
  github?: string | undefined;
65
65
  }>;
66
+ error: z.ZodObject<{
67
+ codesFile: z.ZodDefault<z.ZodString>;
68
+ url: z.ZodOptional<z.ZodString>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ codesFile: string;
71
+ url?: string | undefined;
72
+ }, {
73
+ codesFile?: string | undefined;
74
+ url?: string | undefined;
75
+ }>;
66
76
  mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
67
77
  workspaceRoot: z.ZodDefault<z.ZodString>;
68
78
  externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -831,7 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
831
841
  }>]>>]>]>;
832
842
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
833
843
  }, "strip", z.ZodTypeAny, {
834
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
844
+ logLevel: "debug" | "error" | "silent" | "fatal" | "warn" | "success" | "info" | "trace" | "all";
835
845
  mode: "development" | "staging" | "production";
836
846
  organization: string;
837
847
  license: string;
@@ -858,6 +868,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
858
868
  medium: string;
859
869
  github: string;
860
870
  };
871
+ error: {
872
+ codesFile: string;
873
+ url?: string | undefined;
874
+ };
861
875
  workspaceRoot: string;
862
876
  externalPackagePatterns: string[];
863
877
  skipCache: boolean;
@@ -1053,6 +1067,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1053
1067
  medium?: string | undefined;
1054
1068
  github?: string | undefined;
1055
1069
  };
1070
+ error: {
1071
+ codesFile?: string | undefined;
1072
+ url?: string | undefined;
1073
+ };
1056
1074
  directories: {
1057
1075
  config?: string | undefined;
1058
1076
  cache?: string | undefined;
@@ -1208,7 +1226,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1208
1226
  background?: string | undefined;
1209
1227
  };
1210
1228
  }>;
1211
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1229
+ logLevel?: "debug" | "error" | "silent" | "fatal" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1212
1230
  name?: string | undefined;
1213
1231
  mode?: "development" | "staging" | "production" | undefined;
1214
1232
  $schema?: string | null | undefined;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-DJBLQVO3.js";
5
- import "./chunk-OS6IORPL.js";
4
+ } from "./chunk-VA5LCHQG.js";
5
+ import "./chunk-CMVUI2JL.js";
6
6
  import "./chunk-YMTDVMD6.js";
7
7
  import "./chunk-3GQAWCBQ.js";
8
8
  export {
package/dist/config.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
4
+ var _chunkX3ZTLBTAcjs = require('./chunk-X3ZTLBTA.cjs');
5
5
  require('./chunk-S6M44SSZ.cjs');
6
6
  require('./chunk-WRBUO7H6.cjs');
7
- require('./chunk-QICNNYHX.cjs');
7
+ require('./chunk-UM3465YR.cjs');
8
8
  require('./chunk-SSEYS7LI.cjs');
9
- require('./chunk-6D27C2MD.cjs');
10
- require('./chunk-UFNNCUFM.cjs');
9
+ require('./chunk-JLPAYWVX.cjs');
10
+ require('./chunk-QVWQRHQZ.cjs');
11
11
  require('./chunk-XITTOHOG.cjs');
12
12
  require('./chunk-CGFDQ5AJ.cjs');
13
13
  require('./chunk-EZGTDCYM.cjs');
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.DEFAULT_BUILD_OPTIONS = _chunkMECU4TGMcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkMECU4TGMcjs.getDefaultBuildPlugins;
18
+ exports.DEFAULT_BUILD_OPTIONS = _chunkX3ZTLBTAcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkX3ZTLBTAcjs.getDefaultBuildPlugins;
package/dist/config.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS,
3
3
  getDefaultBuildPlugins
4
- } from "./chunk-F55MDH52.js";
4
+ } from "./chunk-MJLJTLYN.js";
5
5
  import "./chunk-T5272PC2.js";
6
6
  import "./chunk-LYDEMC26.js";
7
- import "./chunk-LTXLRCFK.js";
7
+ import "./chunk-NECSRTH6.js";
8
8
  import "./chunk-Q3LOGZKI.js";
9
- import "./chunk-4F2UUEOG.js";
10
- import "./chunk-OS6IORPL.js";
9
+ import "./chunk-U6XRGLIE.js";
10
+ import "./chunk-CMVUI2JL.js";
11
11
  import "./chunk-YMTDVMD6.js";
12
12
  import "./chunk-YNQ45EAM.js";
13
13
  import "./chunk-GWG4HOQ6.js";
package/dist/index.cjs CHANGED
@@ -7,23 +7,23 @@
7
7
 
8
8
 
9
9
 
10
- var _chunk4I65QR6Dcjs = require('./chunk-4I65QR6D.cjs');
10
+ var _chunkP3WA6JHHcjs = require('./chunk-P3WA6JHH.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
14
+ var _chunkTPPC2KGEcjs = require('./chunk-TPPC2KGE.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
18
+ var _chunkX3ZTLBTAcjs = require('./chunk-X3ZTLBTA.cjs');
19
19
  require('./chunk-S6M44SSZ.cjs');
20
20
  require('./chunk-WRBUO7H6.cjs');
21
- require('./chunk-QICNNYHX.cjs');
21
+ require('./chunk-UM3465YR.cjs');
22
22
  require('./chunk-SSEYS7LI.cjs');
23
- require('./chunk-6D27C2MD.cjs');
23
+ require('./chunk-JLPAYWVX.cjs');
24
24
  require('./chunk-SFZRYJZ2.cjs');
25
- require('./chunk-S2QQQQC4.cjs');
26
- require('./chunk-UFNNCUFM.cjs');
25
+ require('./chunk-OYFVAL4X.cjs');
26
+ require('./chunk-QVWQRHQZ.cjs');
27
27
  require('./chunk-XITTOHOG.cjs');
28
28
  require('./chunk-CGFDQ5AJ.cjs');
29
29
  require('./chunk-EZGTDCYM.cjs');
@@ -41,4 +41,4 @@ require('./chunk-BGYQAVKQ.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.DEFAULT_BUILD_OPTIONS = _chunkMECU4TGMcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunk4I65QR6Dcjs.Filter; exports.Mapper = _chunk4I65QR6Dcjs.Mapper; exports.build = _chunk4I65QR6Dcjs.build; exports.clean = _chunkXF4W7Y5Gcjs.clean; exports.cleanDirectories = _chunkXF4W7Y5Gcjs.cleanDirectories; exports.cleanOutputPath = _chunk4I65QR6Dcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkMECU4TGMcjs.getDefaultBuildPlugins; exports.handle = _chunk4I65QR6Dcjs.handle; exports.pipe = _chunk4I65QR6Dcjs.pipe; exports.skip = _chunk4I65QR6Dcjs.skip; exports.transduce = _chunk4I65QR6Dcjs.transduce;
44
+ exports.DEFAULT_BUILD_OPTIONS = _chunkX3ZTLBTAcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkP3WA6JHHcjs.Filter; exports.Mapper = _chunkP3WA6JHHcjs.Mapper; exports.build = _chunkP3WA6JHHcjs.build; exports.clean = _chunkTPPC2KGEcjs.clean; exports.cleanDirectories = _chunkTPPC2KGEcjs.cleanDirectories; exports.cleanOutputPath = _chunkP3WA6JHHcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkX3ZTLBTAcjs.getDefaultBuildPlugins; exports.handle = _chunkP3WA6JHHcjs.handle; exports.pipe = _chunkP3WA6JHHcjs.pipe; exports.skip = _chunkP3WA6JHHcjs.skip; exports.transduce = _chunkP3WA6JHHcjs.transduce;
package/dist/index.js CHANGED
@@ -7,23 +7,23 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-O2DGD74J.js";
10
+ } from "./chunk-Y2IWVWKY.js";
11
11
  import {
12
12
  clean,
13
13
  cleanDirectories
14
- } from "./chunk-DJBLQVO3.js";
14
+ } from "./chunk-VA5LCHQG.js";
15
15
  import {
16
16
  DEFAULT_BUILD_OPTIONS,
17
17
  getDefaultBuildPlugins
18
- } from "./chunk-F55MDH52.js";
18
+ } from "./chunk-MJLJTLYN.js";
19
19
  import "./chunk-T5272PC2.js";
20
20
  import "./chunk-LYDEMC26.js";
21
- import "./chunk-LTXLRCFK.js";
21
+ import "./chunk-NECSRTH6.js";
22
22
  import "./chunk-Q3LOGZKI.js";
23
- import "./chunk-4F2UUEOG.js";
23
+ import "./chunk-U6XRGLIE.js";
24
24
  import "./chunk-GGNOJ77I.js";
25
- import "./chunk-YSMZ4KXD.js";
26
- import "./chunk-OS6IORPL.js";
25
+ import "./chunk-VLJIDKWJ.js";
26
+ import "./chunk-CMVUI2JL.js";
27
27
  import "./chunk-YMTDVMD6.js";
28
28
  import "./chunk-YNQ45EAM.js";
29
29
  import "./chunk-GWG4HOQ6.js";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkS2QQQQC4cjs = require('../chunk-S2QQQQC4.cjs');
4
- require('../chunk-UFNNCUFM.cjs');
3
+ var _chunkOYFVAL4Xcjs = require('../chunk-OYFVAL4X.cjs');
4
+ require('../chunk-QVWQRHQZ.cjs');
5
5
  require('../chunk-XITTOHOG.cjs');
6
6
  require('../chunk-BGYQAVKQ.cjs');
7
7
 
8
8
 
9
- exports.depsCheckPlugin = _chunkS2QQQQC4cjs.depsCheckPlugin;
9
+ exports.depsCheckPlugin = _chunkOYFVAL4Xcjs.depsCheckPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  depsCheckPlugin
3
- } from "../chunk-YSMZ4KXD.js";
4
- import "../chunk-OS6IORPL.js";
3
+ } from "../chunk-VLJIDKWJ.js";
4
+ import "../chunk-CMVUI2JL.js";
5
5
  import "../chunk-YMTDVMD6.js";
6
6
  import "../chunk-3GQAWCBQ.js";
7
7
  export {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQICNNYHXcjs = require('../chunk-QICNNYHX.cjs');
4
- require('../chunk-UFNNCUFM.cjs');
3
+ var _chunkUM3465YRcjs = require('../chunk-UM3465YR.cjs');
4
+ require('../chunk-QVWQRHQZ.cjs');
5
5
  require('../chunk-XITTOHOG.cjs');
6
6
  require('../chunk-BGYQAVKQ.cjs');
7
7
 
8
8
 
9
- exports.onErrorPlugin = _chunkQICNNYHXcjs.onErrorPlugin;
9
+ exports.onErrorPlugin = _chunkUM3465YRcjs.onErrorPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  onErrorPlugin
3
- } from "../chunk-LTXLRCFK.js";
4
- import "../chunk-OS6IORPL.js";
3
+ } from "../chunk-NECSRTH6.js";
4
+ import "../chunk-CMVUI2JL.js";
5
5
  import "../chunk-YMTDVMD6.js";
6
6
  import "../chunk-3GQAWCBQ.js";
7
7
  export {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6D27C2MDcjs = require('../chunk-6D27C2MD.cjs');
4
- require('../chunk-UFNNCUFM.cjs');
3
+ var _chunkJLPAYWVXcjs = require('../chunk-JLPAYWVX.cjs');
4
+ require('../chunk-QVWQRHQZ.cjs');
5
5
  require('../chunk-XITTOHOG.cjs');
6
6
  require('../chunk-BGYQAVKQ.cjs');
7
7
 
8
8
 
9
- exports.tscPlugin = _chunk6D27C2MDcjs.tscPlugin;
9
+ exports.tscPlugin = _chunkJLPAYWVXcjs.tscPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tscPlugin
3
- } from "../chunk-4F2UUEOG.js";
4
- import "../chunk-OS6IORPL.js";
3
+ } from "../chunk-U6XRGLIE.js";
4
+ import "../chunk-CMVUI2JL.js";
5
5
  import "../chunk-YMTDVMD6.js";
6
6
  import "../chunk-3GQAWCBQ.js";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.31.30",
3
+ "version": "0.31.32",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -172,11 +172,11 @@
172
172
  "@microsoft/api-extractor": "^7.48.1",
173
173
  "@nx/devkit": "20.6.0",
174
174
  "@nx/js": "20.6.0",
175
- "@storm-software/build-tools": "0.143.26",
176
- "@storm-software/config": "1.111.0",
177
- "@storm-software/config-tools": "1.161.0",
175
+ "@storm-software/build-tools": "0.143.27",
176
+ "@storm-software/config": "1.112.2",
177
+ "@storm-software/config-tools": "1.162.1",
178
178
  "@types/node": "^22.10.2",
179
- "rollup": "4.29.1",
179
+ "rollup": "^4.29.1",
180
180
  "spdx-exceptions": "^2.5.0",
181
181
  "spdx-license-ids": "^3.0.20"
182
182
  },