@storm-software/esbuild 0.26.5 → 0.26.7

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.26.4-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.26.6-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
@@ -960,11 +960,28 @@ __name(generateContext, "generateContext");
960
960
  async function executeEsBuild(context2) {
961
961
  (0, import_console2.writeDebug)(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
962
962
  const stopwatch = (0, import_console2.getStopwatch)(`${context2.options.name} build`);
963
- if (process.env.WATCH === "true") {
963
+ if (process.env.STORM_WATCH) {
964
964
  const ctx = await esbuild2.context(context2.options);
965
965
  watch(ctx, context2.options);
966
966
  }
967
- const result = await esbuild2.build(context2.options);
967
+ const options = {
968
+ ...context2.options
969
+ };
970
+ delete options.env;
971
+ delete options.name;
972
+ delete options.assets;
973
+ delete options.mode;
974
+ delete options.orgName;
975
+ delete options.watch;
976
+ delete options.clean;
977
+ delete options.debug;
978
+ delete options.generatePackageJson;
979
+ delete options.emitOnAll;
980
+ delete options.includeSrc;
981
+ delete options.verbose;
982
+ delete options.projectRoot;
983
+ delete options.renderers;
984
+ const result = await esbuild2.build(options);
968
985
  if (result.metafile) {
969
986
  const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
970
987
  await import_promises3.default.writeFile(metafilePath, JSON.stringify(result.metafile));
package/dist/build.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXRLQUA2Xcjs = require('./chunk-XRLQUA2X.cjs');
4
+ var _chunkR2Z5W3XAcjs = require('./chunk-R2Z5W3XA.cjs');
5
5
  require('./chunk-62KAIAWT.cjs');
6
6
  require('./chunk-57Z7YYTW.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkXRLQUA2Xcjs.build; exports.cleanOutputPath = _chunkXRLQUA2Xcjs.cleanOutputPath;
21
+ exports.build = _chunkR2Z5W3XAcjs.build; exports.cleanOutputPath = _chunkR2Z5W3XAcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-K5YRZ5LC.js";
4
+ } from "./chunk-ICT46LF2.js";
5
5
  import "./chunk-DNJAV4NQ.js";
6
6
  import "./chunk-D5ZZNDUG.js";
7
7
  import "./chunk-T5272PC2.js";
@@ -456,11 +456,28 @@ __name(generateContext, "generateContext");
456
456
  async function executeEsBuild(context2) {
457
457
  writeDebug(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
458
458
  const stopwatch = getStopwatch(`${context2.options.name} build`);
459
- if (process.env.WATCH === "true") {
459
+ if (process.env.STORM_WATCH) {
460
460
  const ctx = await esbuild.context(context2.options);
461
461
  watch(ctx, context2.options);
462
462
  }
463
- const result = await esbuild.build(context2.options);
463
+ const options = {
464
+ ...context2.options
465
+ };
466
+ delete options.env;
467
+ delete options.name;
468
+ delete options.assets;
469
+ delete options.mode;
470
+ delete options.orgName;
471
+ delete options.watch;
472
+ delete options.clean;
473
+ delete options.debug;
474
+ delete options.generatePackageJson;
475
+ delete options.emitOnAll;
476
+ delete options.includeSrc;
477
+ delete options.verbose;
478
+ delete options.projectRoot;
479
+ delete options.renderers;
480
+ const result = await esbuild.build(options);
464
481
  if (result.metafile) {
465
482
  const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
466
483
  await hf.writeFile(metafilePath, JSON.stringify(result.metafile));
@@ -456,11 +456,28 @@ _chunkBGYQAVKQcjs.__name.call(void 0, generateContext, "generateContext");
456
456
  async function executeEsBuild(context2) {
457
457
  _chunkXZED6WF3cjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
458
458
  const stopwatch = _chunkXZED6WF3cjs.getStopwatch.call(void 0, `${context2.options.name} build`);
459
- if (process.env.WATCH === "true") {
459
+ if (process.env.STORM_WATCH) {
460
460
  const ctx = await esbuild.context(context2.options);
461
461
  watch(ctx, context2.options);
462
462
  }
463
- const result = await esbuild.build(context2.options);
463
+ const options = {
464
+ ...context2.options
465
+ };
466
+ delete options.env;
467
+ delete options.name;
468
+ delete options.assets;
469
+ delete options.mode;
470
+ delete options.orgName;
471
+ delete options.watch;
472
+ delete options.clean;
473
+ delete options.debug;
474
+ delete options.generatePackageJson;
475
+ delete options.emitOnAll;
476
+ delete options.includeSrc;
477
+ delete options.verbose;
478
+ delete options.projectRoot;
479
+ delete options.renderers;
480
+ const result = await esbuild.build(options);
464
481
  if (result.metafile) {
465
482
  const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
466
483
  await _promises2.default.writeFile(metafilePath, JSON.stringify(result.metafile));
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkXRLQUA2Xcjs = require('./chunk-XRLQUA2X.cjs');
10
+ var _chunkR2Z5W3XAcjs = require('./chunk-R2Z5W3XA.cjs');
11
11
 
12
12
 
13
13
 
@@ -43,4 +43,4 @@ require('./chunk-BGYQAVKQ.cjs');
43
43
 
44
44
 
45
45
 
46
- exports.DEFAULT_BUILD_OPTIONS = _chunk57Z7YYTWcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkXRLQUA2Xcjs.Filter; exports.Mapper = _chunkXRLQUA2Xcjs.Mapper; exports.build = _chunkXRLQUA2Xcjs.build; exports.clean = _chunk62KAIAWTcjs.clean; exports.cleanDirectories = _chunk62KAIAWTcjs.cleanDirectories; exports.cleanOutputPath = _chunkXRLQUA2Xcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunk57Z7YYTWcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk57Z7YYTWcjs.getOutputExtensionMap; exports.handle = _chunkXRLQUA2Xcjs.handle; exports.pipe = _chunkXRLQUA2Xcjs.pipe; exports.skip = _chunkXRLQUA2Xcjs.skip; exports.transduce = _chunkXRLQUA2Xcjs.transduce;
46
+ exports.DEFAULT_BUILD_OPTIONS = _chunk57Z7YYTWcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkR2Z5W3XAcjs.Filter; exports.Mapper = _chunkR2Z5W3XAcjs.Mapper; exports.build = _chunkR2Z5W3XAcjs.build; exports.clean = _chunk62KAIAWTcjs.clean; exports.cleanDirectories = _chunk62KAIAWTcjs.cleanDirectories; exports.cleanOutputPath = _chunkR2Z5W3XAcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunk57Z7YYTWcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk57Z7YYTWcjs.getOutputExtensionMap; exports.handle = _chunkR2Z5W3XAcjs.handle; exports.pipe = _chunkR2Z5W3XAcjs.pipe; exports.skip = _chunkR2Z5W3XAcjs.skip; exports.transduce = _chunkR2Z5W3XAcjs.transduce;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-K5YRZ5LC.js";
10
+ } from "./chunk-ICT46LF2.js";
11
11
  import {
12
12
  clean,
13
13
  cleanDirectories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.26.5",
3
+ "version": "0.26.7",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -170,7 +170,7 @@
170
170
  "@nx/js": "^20.3.1",
171
171
  "@storm-software/build-tools": "0.140.5",
172
172
  "@storm-software/config": "1.103.5",
173
- "@storm-software/config-tools": "1.155.5",
173
+ "@storm-software/config-tools": "1.155.7",
174
174
  "@types/node": "^22.10.2",
175
175
  "defu": "6.1.4",
176
176
  "esbuild": "^0.24.0",