@storm-software/esbuild 0.28.4 → 0.29.1

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.28.3-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.29.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/esbuild.cjs CHANGED
@@ -752,9 +752,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
752
752
  ...userOptions,
753
753
  tsconfig: (0, import_correct_paths2.joinPaths)(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
754
754
  format: options.format || "cjs",
755
- entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
756
- "./src/index.ts"
757
- ], userOptions.emitOnAll === true),
755
+ entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
758
756
  outdir: userOptions.outputPath || (0, import_correct_paths2.joinPaths)("dist", projectRoot),
759
757
  plugins: [],
760
758
  name: userOptions.name || projectName,
package/dist/build.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWZSN6LWVcjs = require('./chunk-WZSN6LWV.cjs');
4
+ var _chunk7TPLKPIVcjs = require('./chunk-7TPLKPIV.cjs');
5
5
  require('./chunk-DITM26C7.cjs');
6
- require('./chunk-WL47LVKQ.cjs');
6
+ require('./chunk-MGHE2AIZ.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
8
8
  require('./chunk-WRBUO7H6.cjs');
9
9
  require('./chunk-I2FH4C27.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkWZSN6LWVcjs.build; exports.cleanOutputPath = _chunkWZSN6LWVcjs.cleanOutputPath;
21
+ exports.build = _chunk7TPLKPIVcjs.build; exports.cleanOutputPath = _chunk7TPLKPIVcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-23MR4ZYO.js";
4
+ } from "./chunk-LHT6GJTP.js";
5
5
  import "./chunk-TUAAYWUJ.js";
6
- import "./chunk-TAPLEBNA.js";
6
+ import "./chunk-QUON5O3L.js";
7
7
  import "./chunk-T5272PC2.js";
8
8
  import "./chunk-LYDEMC26.js";
9
9
  import "./chunk-YWKYHSIN.js";
@@ -13,7 +13,7 @@ var _chunkDITM26C7cjs = require('./chunk-DITM26C7.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkWL47LVKQcjs = require('./chunk-WL47LVKQ.cjs');
16
+ var _chunkMGHE2AIZcjs = require('./chunk-MGHE2AIZ.cjs');
17
17
 
18
18
 
19
19
  var _chunkDEO4HWIAcjs = require('./chunk-DEO4HWIA.cjs');
@@ -278,7 +278,7 @@ 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 _chunkWL47LVKQcjs.getConfig.call(void 0, workspaceRoot.dir);
281
+ const config = await _chunkMGHE2AIZcjs.getConfig.call(void 0, workspaceRoot.dir);
282
282
  _chunkF665CCSScjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
283
283
  const stopwatch = _chunkF665CCSScjs.getStopwatch.call(void 0, "Build options resolution");
284
284
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
@@ -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, _chunkWL47LVKQcjs.DEFAULT_BUILD_OPTIONS);
298
+ const options = _defu2.default.call(void 0, userOptions, _chunkMGHE2AIZcjs.DEFAULT_BUILD_OPTIONS);
299
299
  options.name ??= `${projectName}-${options.format}`;
300
- options.target ??= _chunkWL47LVKQcjs.DEFAULT_TARGET;
300
+ options.target ??= _chunkMGHE2AIZcjs.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 = _chunkWL47LVKQcjs.getEnv.call(void 0, "esbuild", options);
305
+ const env = _chunkMGHE2AIZcjs.getEnv.call(void 0, "esbuild", options);
306
306
  const result = {
307
307
  ...options,
308
308
  config,
@@ -322,9 +322,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
322
322
  ...userOptions,
323
323
  tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
324
324
  format: options.format || "cjs",
325
- entryPoints: await _chunkWL47LVKQcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
326
- "./src/index.ts"
327
- ], userOptions.emitOnAll === true),
325
+ entryPoints: await _chunkMGHE2AIZcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
328
326
  outdir: userOptions.outputPath || _chunkXITTOHOGcjs.joinPaths.call(void 0, "dist", projectRoot),
329
327
  plugins: [],
330
328
  name: userOptions.name || projectName,
@@ -346,8 +344,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
346
344
  watch: userOptions.watch === true,
347
345
  footer: userOptions.footer,
348
346
  banner: {
349
- js: options.banner || _chunkWL47LVKQcjs.DEFAULT_COMPILED_BANNER,
350
- css: options.banner || _chunkWL47LVKQcjs.DEFAULT_COMPILED_BANNER
347
+ js: options.banner || _chunkMGHE2AIZcjs.DEFAULT_COMPILED_BANNER,
348
+ css: options.banner || _chunkMGHE2AIZcjs.DEFAULT_COMPILED_BANNER
351
349
  },
352
350
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
353
351
  treeShaking: options.format === "esm",
@@ -374,7 +372,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
374
372
  ..._nullishCoalesce(options.inject, () => ( []))
375
373
  ].filter(Boolean)
376
374
  };
377
- result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkWL47LVKQcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
375
+ result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkMGHE2AIZcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
378
376
  delete result.entry;
379
377
  delete result.outputPath;
380
378
  stopwatch();
@@ -393,11 +391,11 @@ async function generatePackageJson(context2) {
393
391
  if (!packageJson) {
394
392
  throw new Error("Cannot find package.json configuration file");
395
393
  }
396
- packageJson = await _chunkWL47LVKQcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
397
- packageJson = await _chunkWL47LVKQcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
394
+ packageJson = await _chunkMGHE2AIZcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
395
+ packageJson = await _chunkMGHE2AIZcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
398
396
  packageJson.exports ??= {};
399
397
  packageJson.exports["./package.json"] ??= "./package.json";
400
- packageJson.exports["."] ??= _chunkWL47LVKQcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
398
+ packageJson.exports["."] ??= _chunkMGHE2AIZcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
401
399
  let entryPoints = [
402
400
  {
403
401
  in: "./src/index.ts",
@@ -415,7 +413,7 @@ async function generatePackageJson(context2) {
415
413
  const split = entryPoint.out.split(".");
416
414
  split.pop();
417
415
  const entry = split.join(".").replaceAll("\\", "/");
418
- packageJson.exports[`./${entry}`] ??= _chunkWL47LVKQcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
416
+ packageJson.exports[`./${entry}`] ??= _chunkMGHE2AIZcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
419
417
  }
420
418
  }
421
419
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -496,7 +494,7 @@ async function copyBuildAssets(context2) {
496
494
  if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
497
495
  _chunkF665CCSScjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
498
496
  const stopwatch = _chunkF665CCSScjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
499
- await _chunkWL47LVKQcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
497
+ await _chunkMGHE2AIZcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
500
498
  stopwatch();
501
499
  }
502
500
  return context2;
@@ -13,7 +13,7 @@ import {
13
13
  getDefaultBuildPlugins,
14
14
  getEntryPoints,
15
15
  getEnv
16
- } from "./chunk-TAPLEBNA.js";
16
+ } from "./chunk-QUON5O3L.js";
17
17
  import {
18
18
  depsCheckPlugin
19
19
  } from "./chunk-NCMOSDGN.js";
@@ -322,9 +322,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
322
322
  ...userOptions,
323
323
  tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
324
324
  format: options.format || "cjs",
325
- entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
326
- "./src/index.ts"
327
- ], userOptions.emitOnAll === true),
325
+ entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
328
326
  outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
329
327
  plugins: [],
330
328
  name: userOptions.name || projectName,
@@ -44,11 +44,11 @@ var _chunkEZGTDCYMcjs = require('./chunk-EZGTDCYM.cjs');
44
44
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
45
45
 
46
46
  // ../build-tools/src/config.ts
47
- var DEFAULT_COMPILED_BANNER = `
48
- /**
47
+ var DEFAULT_COMPILED_BANNER = `/*****************************************
48
+ *
49
49
  * \u26A1 Built by Storm Software
50
- */
51
-
50
+ *
51
+ *****************************************/
52
52
  `;
53
53
  var DEFAULT_ENVIRONMENT = "production";
54
54
  var DEFAULT_TARGET = "esnext";
@@ -799,27 +799,38 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
799
799
  if (emitOnAll) {
800
800
  entryPoints.push(_chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
801
801
  }
802
- const results = [];
803
- for (const entryPoint in entryPoints) {
802
+ const results = await Promise.all(entryPoints.map(async (entryPoint) => {
803
+ const paths = [];
804
804
  if (entryPoint.includes("*")) {
805
805
  const files = await _glob.glob.call(void 0, entryPoint, {
806
- withFileTypes: true
806
+ withFileTypes: true,
807
+ ignore: [
808
+ "**/node_modules/**"
809
+ ]
807
810
  });
808
- results.push(...files.reduce((ret, filePath) => {
811
+ paths.push(...files.reduce((ret, filePath) => {
809
812
  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), ""));
810
813
  if (result) {
811
814
  _chunkF665CCSScjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
812
- if (!results.includes(result)) {
813
- results.push(result);
815
+ if (!paths.includes(result)) {
816
+ paths.push(result);
814
817
  }
815
818
  }
816
819
  return ret;
817
820
  }, []));
818
821
  } else {
819
- results.push(entryPoint);
822
+ paths.push(entryPoint);
820
823
  }
821
- }
822
- return results;
824
+ return paths;
825
+ }));
826
+ return results.filter(Boolean).reduce((ret, result) => {
827
+ result.forEach((res) => {
828
+ if (res && !ret.includes(res)) {
829
+ ret.push(res);
830
+ }
831
+ });
832
+ return ret;
833
+ }, []);
823
834
  }, "getEntryPoints");
824
835
 
825
836
  // ../build-tools/src/utilities/get-env.ts
@@ -44,11 +44,11 @@ import {
44
44
  } from "./chunk-3GQAWCBQ.js";
45
45
 
46
46
  // ../build-tools/src/config.ts
47
- var DEFAULT_COMPILED_BANNER = `
48
- /**
47
+ var DEFAULT_COMPILED_BANNER = `/*****************************************
48
+ *
49
49
  * \u26A1 Built by Storm Software
50
- */
51
-
50
+ *
51
+ *****************************************/
52
52
  `;
53
53
  var DEFAULT_ENVIRONMENT = "production";
54
54
  var DEFAULT_TARGET = "esnext";
@@ -799,27 +799,38 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
799
799
  if (emitOnAll) {
800
800
  entryPoints.push(joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
801
801
  }
802
- const results = [];
803
- for (const entryPoint in entryPoints) {
802
+ const results = await Promise.all(entryPoints.map(async (entryPoint) => {
803
+ const paths = [];
804
804
  if (entryPoint.includes("*")) {
805
805
  const files = await glob2(entryPoint, {
806
- withFileTypes: true
806
+ withFileTypes: true,
807
+ ignore: [
808
+ "**/node_modules/**"
809
+ ]
807
810
  });
808
- results.push(...files.reduce((ret, filePath) => {
811
+ paths.push(...files.reduce((ret, filePath) => {
809
812
  const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
810
813
  if (result) {
811
814
  writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
812
- if (!results.includes(result)) {
813
- results.push(result);
815
+ if (!paths.includes(result)) {
816
+ paths.push(result);
814
817
  }
815
818
  }
816
819
  return ret;
817
820
  }, []));
818
821
  } else {
819
- results.push(entryPoint);
822
+ paths.push(entryPoint);
820
823
  }
821
- }
822
- return results;
824
+ return paths;
825
+ }));
826
+ return results.filter(Boolean).reduce((ret, result) => {
827
+ result.forEach((res) => {
828
+ if (res && !ret.includes(res)) {
829
+ ret.push(res);
830
+ }
831
+ });
832
+ return ret;
833
+ }, []);
823
834
  }, "getEntryPoints");
824
835
 
825
836
  // ../build-tools/src/utilities/get-env.ts
package/dist/clean.d.cts CHANGED
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
40
40
  build: z.ZodDefault<z.ZodString>;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  build: string;
43
- config?: string | undefined;
44
43
  cache?: string | undefined;
45
44
  data?: string | undefined;
45
+ config?: string | undefined;
46
46
  temp?: string | undefined;
47
47
  log?: string | undefined;
48
48
  }, {
49
- config?: string | undefined;
50
49
  cache?: string | undefined;
51
50
  data?: string | undefined;
51
+ config?: string | undefined;
52
52
  temp?: string | undefined;
53
53
  log?: string | undefined;
54
54
  build?: string | undefined;
@@ -795,8 +795,6 @@ declare const StormConfigSchema: z.ZodObject<{
795
795
  }>]>>]>]>;
796
796
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
797
797
  }, "strip", z.ZodTypeAny, {
798
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
799
- mode: "development" | "staging" | "production";
800
798
  organization: string;
801
799
  license: string;
802
800
  homepage: string;
@@ -808,20 +806,22 @@ declare const StormConfigSchema: z.ZodObject<{
808
806
  name: string;
809
807
  email: string;
810
808
  };
809
+ mode: "development" | "staging" | "production";
811
810
  workspaceRoot: string;
812
811
  externalPackagePatterns: string[];
813
812
  skipCache: boolean;
814
813
  directories: {
815
814
  build: string;
816
- config?: string | undefined;
817
815
  cache?: string | undefined;
818
816
  data?: string | undefined;
817
+ config?: string | undefined;
819
818
  temp?: string | undefined;
820
819
  log?: string | undefined;
821
820
  };
822
821
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
823
822
  timezone: string;
824
823
  locale: string;
824
+ logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
825
825
  registry: {
826
826
  npm?: string | undefined;
827
827
  github?: string | undefined;
@@ -978,9 +978,9 @@ declare const StormConfigSchema: z.ZodObject<{
978
978
  };
979
979
  }>;
980
980
  extensions: Record<string, any>;
981
- name?: string | undefined;
982
981
  $schema?: string | null | undefined;
983
982
  extends?: string | string[] | undefined;
983
+ name?: string | undefined;
984
984
  namespace?: string | undefined;
985
985
  repository?: string | undefined;
986
986
  preid?: string | undefined;
@@ -991,9 +991,9 @@ declare const StormConfigSchema: z.ZodObject<{
991
991
  email?: string | undefined;
992
992
  };
993
993
  directories: {
994
- config?: string | undefined;
995
994
  cache?: string | undefined;
996
995
  data?: string | undefined;
996
+ config?: string | undefined;
997
997
  temp?: string | undefined;
998
998
  log?: string | undefined;
999
999
  build?: string | undefined;
@@ -1145,11 +1145,9 @@ declare const StormConfigSchema: z.ZodObject<{
1145
1145
  background?: string | undefined;
1146
1146
  };
1147
1147
  }>;
1148
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1149
- name?: string | undefined;
1150
- mode?: "development" | "staging" | "production" | undefined;
1151
1148
  $schema?: string | null | undefined;
1152
1149
  extends?: string | string[] | undefined;
1150
+ name?: string | undefined;
1153
1151
  namespace?: string | undefined;
1154
1152
  organization?: string | undefined;
1155
1153
  repository?: string | undefined;
@@ -1160,12 +1158,14 @@ declare const StormConfigSchema: z.ZodObject<{
1160
1158
  branch?: string | undefined;
1161
1159
  preid?: string | undefined;
1162
1160
  owner?: string | undefined;
1161
+ mode?: "development" | "staging" | "production" | undefined;
1163
1162
  workspaceRoot?: string | undefined;
1164
1163
  externalPackagePatterns?: string[] | undefined;
1165
1164
  skipCache?: boolean | undefined;
1166
1165
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1167
1166
  timezone?: string | undefined;
1168
1167
  locale?: string | undefined;
1168
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1169
1169
  skipConfigLogging?: boolean | undefined;
1170
1170
  registry?: {
1171
1171
  npm?: string | undefined;
package/dist/clean.d.ts CHANGED
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
40
40
  build: z.ZodDefault<z.ZodString>;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  build: string;
43
- config?: string | undefined;
44
43
  cache?: string | undefined;
45
44
  data?: string | undefined;
45
+ config?: string | undefined;
46
46
  temp?: string | undefined;
47
47
  log?: string | undefined;
48
48
  }, {
49
- config?: string | undefined;
50
49
  cache?: string | undefined;
51
50
  data?: string | undefined;
51
+ config?: string | undefined;
52
52
  temp?: string | undefined;
53
53
  log?: string | undefined;
54
54
  build?: string | undefined;
@@ -795,8 +795,6 @@ declare const StormConfigSchema: z.ZodObject<{
795
795
  }>]>>]>]>;
796
796
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
797
797
  }, "strip", z.ZodTypeAny, {
798
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
799
- mode: "development" | "staging" | "production";
800
798
  organization: string;
801
799
  license: string;
802
800
  homepage: string;
@@ -808,20 +806,22 @@ declare const StormConfigSchema: z.ZodObject<{
808
806
  name: string;
809
807
  email: string;
810
808
  };
809
+ mode: "development" | "staging" | "production";
811
810
  workspaceRoot: string;
812
811
  externalPackagePatterns: string[];
813
812
  skipCache: boolean;
814
813
  directories: {
815
814
  build: string;
816
- config?: string | undefined;
817
815
  cache?: string | undefined;
818
816
  data?: string | undefined;
817
+ config?: string | undefined;
819
818
  temp?: string | undefined;
820
819
  log?: string | undefined;
821
820
  };
822
821
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
823
822
  timezone: string;
824
823
  locale: string;
824
+ logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
825
825
  registry: {
826
826
  npm?: string | undefined;
827
827
  github?: string | undefined;
@@ -978,9 +978,9 @@ declare const StormConfigSchema: z.ZodObject<{
978
978
  };
979
979
  }>;
980
980
  extensions: Record<string, any>;
981
- name?: string | undefined;
982
981
  $schema?: string | null | undefined;
983
982
  extends?: string | string[] | undefined;
983
+ name?: string | undefined;
984
984
  namespace?: string | undefined;
985
985
  repository?: string | undefined;
986
986
  preid?: string | undefined;
@@ -991,9 +991,9 @@ declare const StormConfigSchema: z.ZodObject<{
991
991
  email?: string | undefined;
992
992
  };
993
993
  directories: {
994
- config?: string | undefined;
995
994
  cache?: string | undefined;
996
995
  data?: string | undefined;
996
+ config?: string | undefined;
997
997
  temp?: string | undefined;
998
998
  log?: string | undefined;
999
999
  build?: string | undefined;
@@ -1145,11 +1145,9 @@ declare const StormConfigSchema: z.ZodObject<{
1145
1145
  background?: string | undefined;
1146
1146
  };
1147
1147
  }>;
1148
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1149
- name?: string | undefined;
1150
- mode?: "development" | "staging" | "production" | undefined;
1151
1148
  $schema?: string | null | undefined;
1152
1149
  extends?: string | string[] | undefined;
1150
+ name?: string | undefined;
1153
1151
  namespace?: string | undefined;
1154
1152
  organization?: string | undefined;
1155
1153
  repository?: string | undefined;
@@ -1160,12 +1158,14 @@ declare const StormConfigSchema: z.ZodObject<{
1160
1158
  branch?: string | undefined;
1161
1159
  preid?: string | undefined;
1162
1160
  owner?: string | undefined;
1161
+ mode?: "development" | "staging" | "production" | undefined;
1163
1162
  workspaceRoot?: string | undefined;
1164
1163
  externalPackagePatterns?: string[] | undefined;
1165
1164
  skipCache?: boolean | undefined;
1166
1165
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1167
1166
  timezone?: string | undefined;
1168
1167
  locale?: string | undefined;
1168
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1169
1169
  skipConfigLogging?: boolean | undefined;
1170
1170
  registry?: {
1171
1171
  npm?: string | undefined;
package/dist/config.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWL47LVKQcjs = require('./chunk-WL47LVKQ.cjs');
4
+ var _chunkMGHE2AIZcjs = require('./chunk-MGHE2AIZ.cjs');
5
5
  require('./chunk-S6M44SSZ.cjs');
6
6
  require('./chunk-WRBUO7H6.cjs');
7
7
  require('./chunk-I2FH4C27.cjs');
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.DEFAULT_BUILD_OPTIONS = _chunkWL47LVKQcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkWL47LVKQcjs.getDefaultBuildPlugins;
18
+ exports.DEFAULT_BUILD_OPTIONS = _chunkMGHE2AIZcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkMGHE2AIZcjs.getDefaultBuildPlugins;
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS,
3
3
  getDefaultBuildPlugins
4
- } from "./chunk-TAPLEBNA.js";
4
+ } from "./chunk-QUON5O3L.js";
5
5
  import "./chunk-T5272PC2.js";
6
6
  import "./chunk-LYDEMC26.js";
7
7
  import "./chunk-YWKYHSIN.js";
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkWZSN6LWVcjs = require('./chunk-WZSN6LWV.cjs');
10
+ var _chunk7TPLKPIVcjs = require('./chunk-7TPLKPIV.cjs');
11
11
 
12
12
 
13
13
 
@@ -15,7 +15,7 @@ var _chunkDITM26C7cjs = require('./chunk-DITM26C7.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkWL47LVKQcjs = require('./chunk-WL47LVKQ.cjs');
18
+ var _chunkMGHE2AIZcjs = require('./chunk-MGHE2AIZ.cjs');
19
19
  require('./chunk-S6M44SSZ.cjs');
20
20
  require('./chunk-WRBUO7H6.cjs');
21
21
  require('./chunk-I2FH4C27.cjs');
@@ -41,4 +41,4 @@ require('./chunk-BGYQAVKQ.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.DEFAULT_BUILD_OPTIONS = _chunkWL47LVKQcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkWZSN6LWVcjs.Filter; exports.Mapper = _chunkWZSN6LWVcjs.Mapper; exports.build = _chunkWZSN6LWVcjs.build; exports.clean = _chunkDITM26C7cjs.clean; exports.cleanDirectories = _chunkDITM26C7cjs.cleanDirectories; exports.cleanOutputPath = _chunkWZSN6LWVcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkWL47LVKQcjs.getDefaultBuildPlugins; exports.handle = _chunkWZSN6LWVcjs.handle; exports.pipe = _chunkWZSN6LWVcjs.pipe; exports.skip = _chunkWZSN6LWVcjs.skip; exports.transduce = _chunkWZSN6LWVcjs.transduce;
44
+ exports.DEFAULT_BUILD_OPTIONS = _chunkMGHE2AIZcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunk7TPLKPIVcjs.Filter; exports.Mapper = _chunk7TPLKPIVcjs.Mapper; exports.build = _chunk7TPLKPIVcjs.build; exports.clean = _chunkDITM26C7cjs.clean; exports.cleanDirectories = _chunkDITM26C7cjs.cleanDirectories; exports.cleanOutputPath = _chunk7TPLKPIVcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkMGHE2AIZcjs.getDefaultBuildPlugins; exports.handle = _chunk7TPLKPIVcjs.handle; exports.pipe = _chunk7TPLKPIVcjs.pipe; exports.skip = _chunk7TPLKPIVcjs.skip; exports.transduce = _chunk7TPLKPIVcjs.transduce;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-23MR4ZYO.js";
10
+ } from "./chunk-LHT6GJTP.js";
11
11
  import {
12
12
  clean,
13
13
  cleanDirectories
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  DEFAULT_BUILD_OPTIONS,
17
17
  getDefaultBuildPlugins
18
- } from "./chunk-TAPLEBNA.js";
18
+ } from "./chunk-QUON5O3L.js";
19
19
  import "./chunk-T5272PC2.js";
20
20
  import "./chunk-LYDEMC26.js";
21
21
  import "./chunk-YWKYHSIN.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.28.4",
3
+ "version": "0.29.1",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -172,9 +172,9 @@
172
172
  "@microsoft/api-extractor": "^7.48.1",
173
173
  "@nx/devkit": "^20.3.1",
174
174
  "@nx/js": "^20.3.1",
175
- "@storm-software/build-tools": "workspace:*",
176
- "@storm-software/config": "workspace:*",
177
- "@storm-software/config-tools": "workspace:*",
175
+ "@storm-software/build-tools": "0.141.1",
176
+ "@storm-software/config": "1.106.0",
177
+ "@storm-software/config-tools": "1.158.0",
178
178
  "@types/node": "^22.10.2",
179
179
  "rollup": "4.29.1",
180
180
  "spdx-exceptions": "^2.5.0",