@storm-software/esbuild 0.31.29 → 0.31.30

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/bin/esbuild.cjs CHANGED
@@ -759,7 +759,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
759
759
  ...userOptions,
760
760
  tsconfig: (0, import_correct_paths2.joinPaths)(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
761
761
  format: options.format || "cjs",
762
- entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
762
+ entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", false),
763
763
  outdir: userOptions.outputPath || (0, import_correct_paths2.joinPaths)("dist", projectRoot),
764
764
  distDir: userOptions.distDir || "dist",
765
765
  plugins: [],
@@ -774,7 +774,6 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
774
774
  metafile: userOptions.metafile !== false,
775
775
  generatePackageJson: userOptions.generatePackageJson !== false,
776
776
  clean: userOptions.clean !== false,
777
- emitOnAll: userOptions.emitOnAll === true,
778
777
  assets: userOptions.assets ?? [],
779
778
  injectShims: userOptions.injectShims !== true,
780
779
  bundle: userOptions.bundle !== false,
@@ -851,7 +850,7 @@ async function generatePackageJson(context2) {
851
850
  if (Array.isArray(context2.options.entryPoints)) {
852
851
  entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
853
852
  in: entryPoint,
854
- out: entryPoint
853
+ out: (0, import_correct_paths2.correctPaths)(entryPoint.replaceAll((0, import_correct_paths2.correctPaths)(context2.options.config.workspaceRoot), "").replaceAll((0, import_correct_paths2.correctPaths)(context2.options.projectRoot), ""))
855
854
  } : entryPoint);
856
855
  }
857
856
  for (const entryPoint of entryPoints) {
@@ -922,7 +921,6 @@ async function executeEsBuild(context2) {
922
921
  delete options.clean;
923
922
  delete options.debug;
924
923
  delete options.generatePackageJson;
925
- delete options.emitOnAll;
926
924
  delete options.distDir;
927
925
  delete options.includeSrc;
928
926
  delete options.verbose;
@@ -935,7 +933,10 @@ async function executeEsBuild(context2) {
935
933
  delete options.injectShims;
936
934
  delete options.external;
937
935
  (0, import_console2.writeTrace)(`Run esbuild (${context2.options.name}) with the following options:
938
- ${(0, import_console2.formatLogMessage)(options)}`, context2.options.config);
936
+ ${(0, import_console2.formatLogMessage)({
937
+ ...options,
938
+ define: "<Hidden>"
939
+ })}`, context2.options.config);
939
940
  const result = await esbuild2.build(options);
940
941
  await esbuild2.stop();
941
942
  if (result.metafile) {
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 _chunkAY3TWHXScjs = require('./chunk-AY3TWHXS.cjs');
4
+ var _chunk4I65QR6Dcjs = require('./chunk-4I65QR6D.cjs');
5
5
  require('./chunk-XF4W7Y5G.cjs');
6
- require('./chunk-C53X3QIN.cjs');
6
+ require('./chunk-MECU4TGM.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
8
8
  require('./chunk-WRBUO7H6.cjs');
9
9
  require('./chunk-QICNNYHX.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkAY3TWHXScjs.build; exports.cleanOutputPath = _chunkAY3TWHXScjs.cleanOutputPath;
21
+ exports.build = _chunk4I65QR6Dcjs.build; exports.cleanOutputPath = _chunk4I65QR6Dcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-CCHSZBIJ.js";
4
+ } from "./chunk-O2DGD74J.js";
5
5
  import "./chunk-DJBLQVO3.js";
6
- import "./chunk-6ESUOJS3.js";
6
+ import "./chunk-F55MDH52.js";
7
7
  import "./chunk-T5272PC2.js";
8
8
  import "./chunk-LYDEMC26.js";
9
9
  import "./chunk-LTXLRCFK.js";
@@ -12,7 +12,7 @@ var _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkC53X3QINcjs = require('./chunk-C53X3QIN.cjs');
15
+ var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
16
16
 
17
17
 
18
18
  var _chunkS2QQQQC4cjs = require('./chunk-S2QQQQC4.cjs');
@@ -29,6 +29,7 @@ var _chunkS2QQQQC4cjs = require('./chunk-S2QQQQC4.cjs');
29
29
  var _chunkUFNNCUFMcjs = require('./chunk-UFNNCUFM.cjs');
30
30
 
31
31
 
32
+
32
33
  var _chunkXITTOHOGcjs = require('./chunk-XITTOHOG.cjs');
33
34
 
34
35
 
@@ -277,7 +278,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
277
278
  if (!workspaceRoot) {
278
279
  throw new Error("Cannot find Nx workspace root");
279
280
  }
280
- const config = await _chunkC53X3QINcjs.getConfig.call(void 0, workspaceRoot.dir);
281
+ const config = await _chunkMECU4TGMcjs.getConfig.call(void 0, workspaceRoot.dir);
281
282
  _chunkUFNNCUFMcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
282
283
  const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, "Build options resolution");
283
284
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
@@ -294,14 +295,14 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
294
295
  if (!_optionalChain([projectConfigurations, 'optionalAccess', _14 => _14.projects, 'optionalAccess', _15 => _15[projectName]])) {
295
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.");
296
297
  }
297
- const options = _defu2.default.call(void 0, userOptions, _chunkC53X3QINcjs.DEFAULT_BUILD_OPTIONS);
298
+ const options = _defu2.default.call(void 0, userOptions, _chunkMECU4TGMcjs.DEFAULT_BUILD_OPTIONS);
298
299
  options.name ??= `${projectName}-${options.format}`;
299
- options.target ??= _chunkC53X3QINcjs.DEFAULT_TARGET;
300
+ options.target ??= _chunkMECU4TGMcjs.DEFAULT_TARGET;
300
301
  const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
301
302
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
302
303
  throw new Error("Cannot find package.json configuration");
303
304
  }
304
- const env = _chunkC53X3QINcjs.getEnv.call(void 0, "esbuild", options);
305
+ const env = _chunkMECU4TGMcjs.getEnv.call(void 0, "esbuild", options);
305
306
  const result = {
306
307
  ...options,
307
308
  config,
@@ -316,7 +317,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
316
317
  ...userOptions,
317
318
  tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
318
319
  format: options.format || "cjs",
319
- entryPoints: await _chunkC53X3QINcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
320
+ entryPoints: await _chunkMECU4TGMcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
320
321
  outdir: userOptions.outputPath || _chunkXITTOHOGcjs.joinPaths.call(void 0, "dist", projectRoot),
321
322
  distDir: userOptions.distDir || "dist",
322
323
  plugins: [],
@@ -331,7 +332,6 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
331
332
  metafile: userOptions.metafile !== false,
332
333
  generatePackageJson: userOptions.generatePackageJson !== false,
333
334
  clean: userOptions.clean !== false,
334
- emitOnAll: userOptions.emitOnAll === true,
335
335
  assets: _nullishCoalesce(userOptions.assets, () => ( [])),
336
336
  injectShims: userOptions.injectShims !== true,
337
337
  bundle: userOptions.bundle !== 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 || _chunkC53X3QINcjs.DEFAULT_COMPILED_BANNER,
343
- css: options.banner || _chunkC53X3QINcjs.DEFAULT_COMPILED_BANNER
342
+ js: options.banner || _chunkMECU4TGMcjs.DEFAULT_COMPILED_BANNER,
343
+ css: options.banner || _chunkMECU4TGMcjs.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, () => ( _chunkC53X3QINcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
369
+ result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkMECU4TGMcjs.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)) {
@@ -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 _chunkC53X3QINcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
397
- packageJson = await _chunkC53X3QINcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
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);
398
398
  packageJson.exports ??= {};
399
399
  packageJson.exports["./package.json"] ??= "./package.json";
400
400
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
@@ -408,7 +408,7 @@ async function generatePackageJson(context2) {
408
408
  if (Array.isArray(context2.options.entryPoints)) {
409
409
  entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
410
410
  in: entryPoint,
411
- out: entryPoint
411
+ out: _chunkXITTOHOGcjs.correctPaths.call(void 0, entryPoint.replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, context2.options.config.workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, context2.options.projectRoot), ""))
412
412
  } : entryPoint);
413
413
  }
414
414
  for (const entryPoint of entryPoints) {
@@ -479,7 +479,6 @@ async function executeEsBuild(context2) {
479
479
  delete options.clean;
480
480
  delete options.debug;
481
481
  delete options.generatePackageJson;
482
- delete options.emitOnAll;
483
482
  delete options.distDir;
484
483
  delete options.includeSrc;
485
484
  delete options.verbose;
@@ -492,7 +491,10 @@ async function executeEsBuild(context2) {
492
491
  delete options.injectShims;
493
492
  delete options.external;
494
493
  _chunkUFNNCUFMcjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
495
- ${_chunkUFNNCUFMcjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
494
+ ${_chunkUFNNCUFMcjs.formatLogMessage.call(void 0, {
495
+ ...options,
496
+ define: "<Hidden>"
497
+ })}`, context2.options.config);
496
498
  const result = await esbuild.build(options);
497
499
  await esbuild.stop();
498
500
  if (result.metafile) {
@@ -507,7 +509,7 @@ async function copyBuildAssets(context2) {
507
509
  if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
508
510
  _chunkUFNNCUFMcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
509
511
  const stopwatch = _chunkUFNNCUFMcjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
510
- await _chunkC53X3QINcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
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);
511
513
  stopwatch();
512
514
  }
513
515
  return context2;
@@ -843,10 +843,9 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
843
843
  return ret;
844
844
  }, []));
845
845
  } else {
846
- const result = correctPaths(entryPoint.replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
847
- writeDebug(`Trying to add entry point ${result}"`, config);
848
- if (!paths.includes(result)) {
849
- paths.push(result);
846
+ writeDebug(`Trying to add entry point ${entryPoint}"`, config);
847
+ if (!paths.includes(entryPoint)) {
848
+ paths.push(entryPoint);
850
849
  }
851
850
  }
852
851
  return paths;
@@ -843,10 +843,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
843
843
  return ret;
844
844
  }, []));
845
845
  } else {
846
- const result = _chunkXITTOHOGcjs.correctPaths.call(void 0, entryPoint.replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, projectRoot), ""));
847
- _chunkUFNNCUFMcjs.writeDebug.call(void 0, `Trying to add entry point ${result}"`, config);
848
- if (!paths.includes(result)) {
849
- paths.push(result);
846
+ _chunkUFNNCUFMcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
847
+ if (!paths.includes(entryPoint)) {
848
+ paths.push(entryPoint);
850
849
  }
851
850
  }
852
851
  return paths;
@@ -12,7 +12,7 @@ import {
12
12
  getDefaultBuildPlugins,
13
13
  getEntryPoints,
14
14
  getEnv
15
- } from "./chunk-6ESUOJS3.js";
15
+ } from "./chunk-F55MDH52.js";
16
16
  import {
17
17
  depsCheckPlugin
18
18
  } from "./chunk-YSMZ4KXD.js";
@@ -28,6 +28,7 @@ import {
28
28
  writeWarning
29
29
  } from "./chunk-OS6IORPL.js";
30
30
  import {
31
+ correctPaths,
31
32
  joinPaths
32
33
  } from "./chunk-YMTDVMD6.js";
33
34
  import {
@@ -316,7 +317,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
316
317
  ...userOptions,
317
318
  tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
318
319
  format: options.format || "cjs",
319
- entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
320
+ entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", false),
320
321
  outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
321
322
  distDir: userOptions.distDir || "dist",
322
323
  plugins: [],
@@ -331,7 +332,6 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
331
332
  metafile: userOptions.metafile !== false,
332
333
  generatePackageJson: userOptions.generatePackageJson !== false,
333
334
  clean: userOptions.clean !== false,
334
- emitOnAll: userOptions.emitOnAll === true,
335
335
  assets: userOptions.assets ?? [],
336
336
  injectShims: userOptions.injectShims !== true,
337
337
  bundle: userOptions.bundle !== false,
@@ -408,7 +408,7 @@ async function generatePackageJson(context2) {
408
408
  if (Array.isArray(context2.options.entryPoints)) {
409
409
  entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
410
410
  in: entryPoint,
411
- out: entryPoint
411
+ out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
412
412
  } : entryPoint);
413
413
  }
414
414
  for (const entryPoint of entryPoints) {
@@ -479,7 +479,6 @@ async function executeEsBuild(context2) {
479
479
  delete options.clean;
480
480
  delete options.debug;
481
481
  delete options.generatePackageJson;
482
- delete options.emitOnAll;
483
482
  delete options.distDir;
484
483
  delete options.includeSrc;
485
484
  delete options.verbose;
@@ -492,7 +491,10 @@ async function executeEsBuild(context2) {
492
491
  delete options.injectShims;
493
492
  delete options.external;
494
493
  writeTrace(`Run esbuild (${context2.options.name}) with the following options:
495
- ${formatLogMessage(options)}`, context2.options.config);
494
+ ${formatLogMessage({
495
+ ...options,
496
+ define: "<Hidden>"
497
+ })}`, context2.options.config);
496
498
  const result = await esbuild.build(options);
497
499
  await esbuild.stop();
498
500
  if (result.metafile) {
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 _chunkC53X3QINcjs = require('./chunk-C53X3QIN.cjs');
4
+ var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
5
5
  require('./chunk-S6M44SSZ.cjs');
6
6
  require('./chunk-WRBUO7H6.cjs');
7
7
  require('./chunk-QICNNYHX.cjs');
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.DEFAULT_BUILD_OPTIONS = _chunkC53X3QINcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkC53X3QINcjs.getDefaultBuildPlugins;
18
+ exports.DEFAULT_BUILD_OPTIONS = _chunkMECU4TGMcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkMECU4TGMcjs.getDefaultBuildPlugins;
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS,
3
3
  getDefaultBuildPlugins
4
- } from "./chunk-6ESUOJS3.js";
4
+ } from "./chunk-F55MDH52.js";
5
5
  import "./chunk-T5272PC2.js";
6
6
  import "./chunk-LYDEMC26.js";
7
7
  import "./chunk-LTXLRCFK.js";
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkAY3TWHXScjs = require('./chunk-AY3TWHXS.cjs');
10
+ var _chunk4I65QR6Dcjs = require('./chunk-4I65QR6D.cjs');
11
11
 
12
12
 
13
13
 
@@ -15,7 +15,7 @@ var _chunkXF4W7Y5Gcjs = require('./chunk-XF4W7Y5G.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkC53X3QINcjs = require('./chunk-C53X3QIN.cjs');
18
+ var _chunkMECU4TGMcjs = require('./chunk-MECU4TGM.cjs');
19
19
  require('./chunk-S6M44SSZ.cjs');
20
20
  require('./chunk-WRBUO7H6.cjs');
21
21
  require('./chunk-QICNNYHX.cjs');
@@ -41,4 +41,4 @@ require('./chunk-BGYQAVKQ.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.DEFAULT_BUILD_OPTIONS = _chunkC53X3QINcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkAY3TWHXScjs.Filter; exports.Mapper = _chunkAY3TWHXScjs.Mapper; exports.build = _chunkAY3TWHXScjs.build; exports.clean = _chunkXF4W7Y5Gcjs.clean; exports.cleanDirectories = _chunkXF4W7Y5Gcjs.cleanDirectories; exports.cleanOutputPath = _chunkAY3TWHXScjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkC53X3QINcjs.getDefaultBuildPlugins; exports.handle = _chunkAY3TWHXScjs.handle; exports.pipe = _chunkAY3TWHXScjs.pipe; exports.skip = _chunkAY3TWHXScjs.skip; exports.transduce = _chunkAY3TWHXScjs.transduce;
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;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-CCHSZBIJ.js";
10
+ } from "./chunk-O2DGD74J.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-6ESUOJS3.js";
18
+ } from "./chunk-F55MDH52.js";
19
19
  import "./chunk-T5272PC2.js";
20
20
  import "./chunk-LYDEMC26.js";
21
21
  import "./chunk-LTXLRCFK.js";
package/dist/types.d.cts CHANGED
@@ -17,14 +17,14 @@ declare class RendererEngine {
17
17
  }): Promise<void>;
18
18
  }
19
19
 
20
- type ESBuildOptions = Omit<BuildOptions, "outbase" | "outfile" | "outExtension" | "banner" | "entryPoints"> & Omit<TypeScriptBuildOptions, "format"> & {
20
+ type ESBuildOptions = Omit<BuildOptions, "outbase" | "outfile" | "outExtension" | "banner" | "entryPoints"> & Omit<TypeScriptBuildOptions, "format" | "emitOnAll"> & {
21
21
  emitTypes?: boolean;
22
22
  injectShims?: boolean;
23
23
  renderers?: Renderer[];
24
24
  distDir?: string;
25
25
  };
26
26
  type ESBuildResult = BuildResult;
27
- type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "footer" | "target" | "format" | "sourcemap" | "outExtension"> & Pick<BuildOptions, "loader" | "inject" | "metafile" | "keepNames" | "target" | "color" | "banner" | "footer" | "sourcemap"> & {
27
+ type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "footer" | "target" | "format" | "sourcemap" | "outExtension" | "emitOnAll"> & Pick<BuildOptions, "loader" | "inject" | "metafile" | "keepNames" | "target" | "color" | "banner" | "footer" | "sourcemap"> & {
28
28
  injectShims: boolean;
29
29
  outdir: string;
30
30
  projectGraph: ProjectGraph;
@@ -34,7 +34,7 @@ type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "f
34
34
  format: Format;
35
35
  distDir: string;
36
36
  };
37
- type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "debug" | "banner" | "footer" | "splitting" | "treeShaking" | "generatePackageJson" | "emitOnAll" | "metafile" | "minify" | "includeSrc" | "verbose" | "emitTypes" | "injectShims">;
37
+ type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "debug" | "banner" | "footer" | "splitting" | "treeShaking" | "generatePackageJson" | "metafile" | "minify" | "includeSrc" | "verbose" | "emitTypes" | "injectShims">;
38
38
  type ESBuildContext = {
39
39
  options: ESBuildResolvedOptions;
40
40
  rendererEngine: RendererEngine;
package/dist/types.d.ts CHANGED
@@ -17,14 +17,14 @@ declare class RendererEngine {
17
17
  }): Promise<void>;
18
18
  }
19
19
 
20
- type ESBuildOptions = Omit<BuildOptions, "outbase" | "outfile" | "outExtension" | "banner" | "entryPoints"> & Omit<TypeScriptBuildOptions, "format"> & {
20
+ type ESBuildOptions = Omit<BuildOptions, "outbase" | "outfile" | "outExtension" | "banner" | "entryPoints"> & Omit<TypeScriptBuildOptions, "format" | "emitOnAll"> & {
21
21
  emitTypes?: boolean;
22
22
  injectShims?: boolean;
23
23
  renderers?: Renderer[];
24
24
  distDir?: string;
25
25
  };
26
26
  type ESBuildResult = BuildResult;
27
- type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "footer" | "target" | "format" | "sourcemap" | "outExtension"> & Pick<BuildOptions, "loader" | "inject" | "metafile" | "keepNames" | "target" | "color" | "banner" | "footer" | "sourcemap"> & {
27
+ type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "footer" | "target" | "format" | "sourcemap" | "outExtension" | "emitOnAll"> & Pick<BuildOptions, "loader" | "inject" | "metafile" | "keepNames" | "target" | "color" | "banner" | "footer" | "sourcemap"> & {
28
28
  injectShims: boolean;
29
29
  outdir: string;
30
30
  projectGraph: ProjectGraph;
@@ -34,7 +34,7 @@ type ESBuildResolvedOptions = Omit<TypeScriptBuildResolvedOptions, "banner" | "f
34
34
  format: Format;
35
35
  distDir: string;
36
36
  };
37
- type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "debug" | "banner" | "footer" | "splitting" | "treeShaking" | "generatePackageJson" | "emitOnAll" | "metafile" | "minify" | "includeSrc" | "verbose" | "emitTypes" | "injectShims">;
37
+ type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "debug" | "banner" | "footer" | "splitting" | "treeShaking" | "generatePackageJson" | "metafile" | "minify" | "includeSrc" | "verbose" | "emitTypes" | "injectShims">;
38
38
  type ESBuildContext = {
39
39
  options: ESBuildResolvedOptions;
40
40
  rendererEngine: RendererEngine;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.31.29",
3
+ "version": "0.31.30",
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.6.0",
174
174
  "@nx/js": "20.6.0",
175
- "@storm-software/build-tools": "0.143.25",
175
+ "@storm-software/build-tools": "0.143.26",
176
176
  "@storm-software/config": "1.111.0",
177
- "@storm-software/config-tools": "1.160.7",
177
+ "@storm-software/config-tools": "1.161.0",
178
178
  "@types/node": "^22.10.2",
179
179
  "rollup": "4.29.1",
180
180
  "spdx-exceptions": "^2.5.0",