@storm-software/esbuild 0.42.0 → 0.43.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.41.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.42.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
@@ -10484,6 +10484,14 @@ async function resolveContext(userOptions) {
10484
10484
  minify: resolvedOptions.minify || resolvedOptions.mode === "production"
10485
10485
  };
10486
10486
  context.options.esbuildPlugins = [...context.options.esbuildPlugins ?? []];
10487
+ if (context.options.verbose) {
10488
+ (0, import_console3.writeDebug)(
10489
+ ` \u2699\uFE0F Build options resolved:
10490
+
10491
+ ${(0, import_console3.formatLogMessage)(context.options)}`,
10492
+ workspaceConfig
10493
+ );
10494
+ }
10487
10495
  return context;
10488
10496
  }
10489
10497
 
package/dist/build.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOPO2EA4Vcjs = require('./chunk-OPO2EA4V.cjs');
3
+ var _chunkDXFWHUBZcjs = require('./chunk-DXFWHUBZ.cjs');
4
4
  require('./chunk-LOULAUL6.cjs');
5
5
  require('./chunk-SHS7OFKX.cjs');
6
6
  require('./chunk-U7GA2PTN.cjs');
7
- require('./chunk-QPERAF7E.cjs');
7
+ require('./chunk-TPSXM3FF.cjs');
8
8
  require('./chunk-NUOMVE65.cjs');
9
9
  require('./chunk-2M2UOWI7.cjs');
10
10
  require('./chunk-LSA5WYIT.cjs');
@@ -14,4 +14,4 @@ require('./chunk-32HQN6XY.cjs');
14
14
  require('./chunk-2PCZNBCY.cjs');
15
15
 
16
16
 
17
- exports.build = _chunkOPO2EA4Vcjs.build;
17
+ exports.build = _chunkDXFWHUBZcjs.build;
package/dist/build.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-Q2QQZVU2.js";
3
+ } from "./chunk-CS3ZYTWZ.js";
4
4
  import "./chunk-OWOXTJBI.js";
5
5
  import "./chunk-AJS6FK72.js";
6
6
  import "./chunk-A42LXU6F.js";
7
- import "./chunk-UGQCY2UQ.js";
7
+ import "./chunk-MSU7FWCI.js";
8
8
  import "./chunk-5ZS3SZTA.js";
9
9
  import "./chunk-RWWCGHRU.js";
10
10
  import "./chunk-Y6EKVIOV.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-A42LXU6F.js";
10
10
  import {
11
11
  resolveContext
12
- } from "./chunk-UGQCY2UQ.js";
12
+ } from "./chunk-MSU7FWCI.js";
13
13
  import {
14
14
  generatePackageJson
15
15
  } from "./chunk-RWWCGHRU.js";
@@ -9,7 +9,7 @@ var _chunkSHS7OFKXcjs = require('./chunk-SHS7OFKX.cjs');
9
9
  var _chunkU7GA2PTNcjs = require('./chunk-U7GA2PTN.cjs');
10
10
 
11
11
 
12
- var _chunkQPERAF7Ecjs = require('./chunk-QPERAF7E.cjs');
12
+ var _chunkTPSXM3FFcjs = require('./chunk-TPSXM3FF.cjs');
13
13
 
14
14
 
15
15
  var _chunk2M2UOWI7cjs = require('./chunk-2M2UOWI7.cjs');
@@ -100,7 +100,7 @@ async function build2(options) {
100
100
  if (opts.length === 0) {
101
101
  throw new Error("No build options were provided");
102
102
  }
103
- const context = await _chunkQPERAF7Ecjs.resolveContext.call(void 0, options);
103
+ const context = await _chunkTPSXM3FFcjs.resolveContext.call(void 0, options);
104
104
  await cleanOutputPath(context);
105
105
  await Promise.all([
106
106
  dependencyCheck(context.options),
@@ -6,6 +6,7 @@ import {
6
6
  getWorkspaceConfig
7
7
  } from "./chunk-Y6EKVIOV.js";
8
8
  import {
9
+ formatLogMessage,
9
10
  getStopwatch,
10
11
  writeDebug
11
12
  } from "./chunk-7TCJHISQ.js";
@@ -105,6 +106,14 @@ async function resolveContext(userOptions) {
105
106
  minify: resolvedOptions.minify || resolvedOptions.mode === "production"
106
107
  };
107
108
  context.options.esbuildPlugins = [...context.options.esbuildPlugins ?? []];
109
+ if (context.options.verbose) {
110
+ writeDebug(
111
+ ` \u2699\uFE0F Build options resolved:
112
+
113
+ ${formatLogMessage(context.options)}`,
114
+ workspaceConfig
115
+ );
116
+ }
108
117
  return context;
109
118
  }
110
119
 
@@ -8,6 +8,7 @@ var _chunkLSA5WYITcjs = require('./chunk-LSA5WYIT.cjs');
8
8
 
9
9
 
10
10
 
11
+
11
12
  var _chunkLJGF7W63cjs = require('./chunk-LJGF7W63.cjs');
12
13
 
13
14
 
@@ -105,6 +106,14 @@ async function resolveContext(userOptions) {
105
106
  minify: resolvedOptions.minify || resolvedOptions.mode === "production"
106
107
  };
107
108
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
109
+ if (context.options.verbose) {
110
+ _chunkLJGF7W63cjs.writeDebug.call(void 0,
111
+ ` \u2699\uFE0F Build options resolved:
112
+
113
+ ${_chunkLJGF7W63cjs.formatLogMessage.call(void 0, context.options)}`,
114
+ workspaceConfig
115
+ );
116
+ }
108
117
  return context;
109
118
  }
110
119
 
package/dist/context.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQPERAF7Ecjs = require('./chunk-QPERAF7E.cjs');
3
+ var _chunkTPSXM3FFcjs = require('./chunk-TPSXM3FF.cjs');
4
4
  require('./chunk-NUOMVE65.cjs');
5
5
  require('./chunk-LSA5WYIT.cjs');
6
6
  require('./chunk-LJGF7W63.cjs');
@@ -8,4 +8,4 @@ require('./chunk-32HQN6XY.cjs');
8
8
  require('./chunk-2PCZNBCY.cjs');
9
9
 
10
10
 
11
- exports.resolveContext = _chunkQPERAF7Ecjs.resolveContext;
11
+ exports.resolveContext = _chunkTPSXM3FFcjs.resolveContext;
package/dist/context.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveContext
3
- } from "./chunk-UGQCY2UQ.js";
3
+ } from "./chunk-MSU7FWCI.js";
4
4
  import "./chunk-5ZS3SZTA.js";
5
5
  import "./chunk-Y6EKVIOV.js";
6
6
  import "./chunk-7TCJHISQ.js";
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZZECF32S.cjs');
2
2
 
3
3
 
4
- var _chunkOPO2EA4Vcjs = require('./chunk-OPO2EA4V.cjs');
4
+ var _chunkDXFWHUBZcjs = require('./chunk-DXFWHUBZ.cjs');
5
5
  require('./chunk-LOULAUL6.cjs');
6
6
  require('./chunk-SHS7OFKX.cjs');
7
7
  require('./chunk-U7GA2PTN.cjs');
8
- require('./chunk-QPERAF7E.cjs');
8
+ require('./chunk-TPSXM3FF.cjs');
9
9
  require('./chunk-NUOMVE65.cjs');
10
10
  require('./chunk-2M2UOWI7.cjs');
11
11
  require('./chunk-LSA5WYIT.cjs');
@@ -20,4 +20,4 @@ var _chunk2PCZNBCYcjs = require('./chunk-2PCZNBCY.cjs');
20
20
  _chunk2PCZNBCYcjs.init_cjs_shims.call(void 0, );
21
21
 
22
22
 
23
- exports.build = _chunkOPO2EA4Vcjs.build;
23
+ exports.build = _chunkDXFWHUBZcjs.build;
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./chunk-XDA7WJ75.js";
2
2
  import {
3
3
  build
4
- } from "./chunk-Q2QQZVU2.js";
4
+ } from "./chunk-CS3ZYTWZ.js";
5
5
  import "./chunk-OWOXTJBI.js";
6
6
  import "./chunk-AJS6FK72.js";
7
7
  import "./chunk-A42LXU6F.js";
8
- import "./chunk-UGQCY2UQ.js";
8
+ import "./chunk-MSU7FWCI.js";
9
9
  import "./chunk-5ZS3SZTA.js";
10
10
  import "./chunk-RWWCGHRU.js";
11
11
  import "./chunk-Y6EKVIOV.js";
package/dist/types.d.cts CHANGED
@@ -8,6 +8,7 @@ type ESBuildOptions = Omit<Options, "outDir" | "entryPoints"> & Required<Pick<Ty
8
8
  userOptions?: any;
9
9
  distDir?: string;
10
10
  tsconfigRaw?: TsconfigRaw;
11
+ verbose?: boolean;
11
12
  };
12
13
  type ESBuildResult = BuildResult;
13
14
  type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "mode" | "banner" | "footer" | "splitting" | "treeshake" | "generatePackageJson" | "metafile" | "minify" | "includeSrc" | "dts" | "shims">;
package/dist/types.d.ts CHANGED
@@ -8,6 +8,7 @@ type ESBuildOptions = Omit<Options, "outDir" | "entryPoints"> & Required<Pick<Ty
8
8
  userOptions?: any;
9
9
  distDir?: string;
10
10
  tsconfigRaw?: TsconfigRaw;
11
+ verbose?: boolean;
11
12
  };
12
13
  type ESBuildResult = BuildResult;
13
14
  type ESBuildCLIOptions = AdditionalCLIOptions & Pick<ESBuildOptions, "name" | "entry" | "outputPath" | "platform" | "format" | "bundle" | "target" | "watch" | "clean" | "mode" | "banner" | "footer" | "splitting" | "treeshake" | "generatePackageJson" | "metafile" | "minify" | "includeSrc" | "dts" | "shims">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.42.0",
3
+ "version": "0.43.1",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -186,9 +186,9 @@
186
186
  "dependencies": {
187
187
  "@nx/devkit": "21.0.3",
188
188
  "@nx/js": "21.0.3",
189
- "@storm-software/build-tools": "^0.150.8",
190
- "@storm-software/config": "^1.121.0",
191
- "@storm-software/config-tools": "^1.171.0",
189
+ "@storm-software/build-tools": "^0.150.9",
190
+ "@storm-software/config": "^1.121.2",
191
+ "@storm-software/config-tools": "^1.171.2",
192
192
  "chokidar": "^4.0.3",
193
193
  "commander": "^12.1.0",
194
194
  "defu": "6.1.4",