@storm-software/esbuild 0.31.34 → 0.31.35

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.33-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.34-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
@@ -7700,17 +7700,9 @@ async function generatePackageJson(context2) {
7700
7700
  packageJson.exports ??= {};
7701
7701
  packageJson.exports["./package.json"] ??= "./package.json";
7702
7702
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
7703
- const entryPoints = [
7704
- {
7705
- in: "./src/index.ts",
7706
- out: "./src/index.ts"
7707
- }
7708
- ];
7709
- if (context2.options.entryPoints) {
7710
- for (const entryPoint of entryPoints) {
7711
- const split = entryPoint.out.split(".");
7712
- split.pop();
7713
- const entry = split.join(".").replaceAll("\\", "/");
7703
+ for (const entryPoint of context2.options.entryPoints) {
7704
+ if (entryPoint.out) {
7705
+ const entry = entryPoint.out.replaceAll("\\", "/").replaceAll(/^(\.\/)*/, "").replace(/\.([cm])?[jt]s(x)?$/, "");
7714
7706
  packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
7715
7707
  }
7716
7708
  }
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 _chunkMBYSWPGXcjs = require('./chunk-MBYSWPGX.cjs');
4
+ var _chunkIIFVDVHVcjs = require('./chunk-IIFVDVHV.cjs');
5
5
  require('./chunk-TPPC2KGE.cjs');
6
6
  require('./chunk-YGTIQ2IA.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkMBYSWPGXcjs.build; exports.cleanOutputPath = _chunkMBYSWPGXcjs.cleanOutputPath;
21
+ exports.build = _chunkIIFVDVHVcjs.build; exports.cleanOutputPath = _chunkIIFVDVHVcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-RZ34JL3B.js";
4
+ } from "./chunk-TEJ4RYWB.js";
5
5
  import "./chunk-VA5LCHQG.js";
6
6
  import "./chunk-G6MLFLYW.js";
7
7
  import "./chunk-T5272PC2.js";
@@ -476,17 +476,9 @@ async function generatePackageJson(context2) {
476
476
  packageJson.exports ??= {};
477
477
  packageJson.exports["./package.json"] ??= "./package.json";
478
478
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
479
- const entryPoints = [
480
- {
481
- in: "./src/index.ts",
482
- out: "./src/index.ts"
483
- }
484
- ];
485
- if (context2.options.entryPoints) {
486
- for (const entryPoint of entryPoints) {
487
- const split = entryPoint.out.split(".");
488
- split.pop();
489
- const entry = split.join(".").replaceAll("\\", "/");
479
+ for (const entryPoint of context2.options.entryPoints) {
480
+ if (entryPoint.out) {
481
+ const entry = entryPoint.out.replaceAll("\\", "/").replaceAll(/^(\.\/)*/, "").replace(/\.([cm])?[jt]s(x)?$/, "");
490
482
  packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
491
483
  }
492
484
  }
@@ -476,17 +476,9 @@ async function generatePackageJson(context2) {
476
476
  packageJson.exports ??= {};
477
477
  packageJson.exports["./package.json"] ??= "./package.json";
478
478
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
479
- const entryPoints = [
480
- {
481
- in: "./src/index.ts",
482
- out: "./src/index.ts"
483
- }
484
- ];
485
- if (context2.options.entryPoints) {
486
- for (const entryPoint of entryPoints) {
487
- const split = entryPoint.out.split(".");
488
- split.pop();
489
- const entry = split.join(".").replaceAll("\\", "/");
479
+ for (const entryPoint of context2.options.entryPoints) {
480
+ if (entryPoint.out) {
481
+ const entry = entryPoint.out.replaceAll("\\", "/").replaceAll(/^(\.\/)*/, "").replace(/\.([cm])?[jt]s(x)?$/, "");
490
482
  packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
491
483
  }
492
484
  }
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkMBYSWPGXcjs = require('./chunk-MBYSWPGX.cjs');
10
+ var _chunkIIFVDVHVcjs = require('./chunk-IIFVDVHV.cjs');
11
11
 
12
12
 
13
13
 
@@ -41,4 +41,4 @@ require('./chunk-BGYQAVKQ.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.DEFAULT_BUILD_OPTIONS = _chunkYGTIQ2IAcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkMBYSWPGXcjs.Filter; exports.Mapper = _chunkMBYSWPGXcjs.Mapper; exports.build = _chunkMBYSWPGXcjs.build; exports.clean = _chunkTPPC2KGEcjs.clean; exports.cleanDirectories = _chunkTPPC2KGEcjs.cleanDirectories; exports.cleanOutputPath = _chunkMBYSWPGXcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkYGTIQ2IAcjs.getDefaultBuildPlugins; exports.handle = _chunkMBYSWPGXcjs.handle; exports.pipe = _chunkMBYSWPGXcjs.pipe; exports.skip = _chunkMBYSWPGXcjs.skip; exports.transduce = _chunkMBYSWPGXcjs.transduce;
44
+ exports.DEFAULT_BUILD_OPTIONS = _chunkYGTIQ2IAcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkIIFVDVHVcjs.Filter; exports.Mapper = _chunkIIFVDVHVcjs.Mapper; exports.build = _chunkIIFVDVHVcjs.build; exports.clean = _chunkTPPC2KGEcjs.clean; exports.cleanDirectories = _chunkTPPC2KGEcjs.cleanDirectories; exports.cleanOutputPath = _chunkIIFVDVHVcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkYGTIQ2IAcjs.getDefaultBuildPlugins; exports.handle = _chunkIIFVDVHVcjs.handle; exports.pipe = _chunkIIFVDVHVcjs.pipe; exports.skip = _chunkIIFVDVHVcjs.skip; exports.transduce = _chunkIIFVDVHVcjs.transduce;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-RZ34JL3B.js";
10
+ } from "./chunk-TEJ4RYWB.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.31.34",
3
+ "version": "0.31.35",
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.28",
176
- "@storm-software/config": "1.112.5",
177
- "@storm-software/config-tools": "1.162.2",
175
+ "@storm-software/build-tools": "0.143.29",
176
+ "@storm-software/config": "1.112.6",
177
+ "@storm-software/config-tools": "1.162.3",
178
178
  "@types/node": "^22.10.2",
179
179
  "rollup": "^4.29.1",
180
180
  "spdx-exceptions": "^2.5.0",