@storm-software/esbuild 0.31.24 → 0.31.25

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.23-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.24-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
@@ -805,15 +805,14 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
805
805
  }, {})
806
806
  },
807
807
  inject: [
808
- options.format === "cjs" && options.injectShims ? (0, import_correct_paths2.joinPaths)(__dirname, "../assets/cjs_shims.js") : "",
809
- options.format === "esm" && options.injectShims && options.platform === "node" ? (0, import_correct_paths2.joinPaths)(__dirname, "../assets/esm_shims.js") : ""
810
- ]
808
+ options.format === "cjs" && options.injectShims ? (0, import_correct_paths2.joinPaths)(__dirname, "../assets/cjs_shims.js") : void 0,
809
+ options.format === "esm" && options.injectShims && options.platform === "node" ? (0, import_correct_paths2.joinPaths)(__dirname, "../assets/esm_shims.js") : void 0
810
+ ].filter(Boolean)
811
811
  };
812
812
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
813
813
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
814
- options.inject = (0, import_defu.default)(result.inject, options.inject);
814
+ result.inject = (0, import_defu.default)(result.inject, options.inject);
815
815
  }
816
- result.inject.filter(Boolean);
817
816
  delete result.entry;
818
817
  delete result.outputPath;
819
818
  stopwatch();
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 _chunkZOIUD2GIcjs = require('./chunk-ZOIUD2GI.cjs');
4
+ var _chunkOZZLJHCVcjs = require('./chunk-OZZLJHCV.cjs');
5
5
  require('./chunk-ATQXZL2N.cjs');
6
6
  require('./chunk-AGWKKDSC.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkZOIUD2GIcjs.build; exports.cleanOutputPath = _chunkZOIUD2GIcjs.cleanOutputPath;
21
+ exports.build = _chunkOZZLJHCVcjs.build; exports.cleanOutputPath = _chunkOZZLJHCVcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-XCG2PLBI.js";
4
+ } from "./chunk-EOMX2XP7.js";
5
5
  import "./chunk-QJ5VE3PG.js";
6
6
  import "./chunk-YUFST2S3.js";
7
7
  import "./chunk-T5272PC2.js";
@@ -362,15 +362,14 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
362
362
  }, {})
363
363
  },
364
364
  inject: [
365
- options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
366
- options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : ""
367
- ]
365
+ options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : void 0,
366
+ options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : void 0
367
+ ].filter(Boolean)
368
368
  };
369
369
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
370
370
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
371
- options.inject = defu(result.inject, options.inject);
371
+ result.inject = defu(result.inject, options.inject);
372
372
  }
373
- result.inject.filter(Boolean);
374
373
  delete result.entry;
375
374
  delete result.outputPath;
376
375
  stopwatch();
@@ -362,15 +362,14 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
362
362
  }, {})
363
363
  },
364
364
  inject: [
365
- options.format === "cjs" && options.injectShims ? _chunkXITTOHOGcjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
366
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkXITTOHOGcjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
367
- ]
365
+ options.format === "cjs" && options.injectShims ? _chunkXITTOHOGcjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
366
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkXITTOHOGcjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
367
+ ].filter(Boolean)
368
368
  };
369
369
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkAGWKKDSCcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
370
370
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
371
- options.inject = _defu2.default.call(void 0, result.inject, options.inject);
371
+ result.inject = _defu2.default.call(void 0, result.inject, options.inject);
372
372
  }
373
- result.inject.filter(Boolean);
374
373
  delete result.entry;
375
374
  delete result.outputPath;
376
375
  stopwatch();
package/dist/clean.d.cts CHANGED
@@ -38,8 +38,8 @@ declare const StormConfigSchema: z.ZodObject<{
38
38
  header?: string | undefined;
39
39
  }, {
40
40
  banner?: string | undefined;
41
- header?: string | undefined;
42
41
  footer?: string | undefined;
42
+ header?: string | undefined;
43
43
  }>;
44
44
  account: z.ZodObject<{
45
45
  twitter: z.ZodDefault<z.ZodString>;
@@ -76,15 +76,15 @@ declare const StormConfigSchema: z.ZodObject<{
76
76
  build: z.ZodDefault<z.ZodString>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  build: string;
79
+ config?: string | undefined;
79
80
  cache?: string | undefined;
80
81
  data?: string | undefined;
81
- config?: string | undefined;
82
82
  temp?: string | undefined;
83
83
  log?: string | undefined;
84
84
  }, {
85
+ config?: string | undefined;
85
86
  cache?: string | undefined;
86
87
  data?: string | undefined;
87
- config?: string | undefined;
88
88
  temp?: string | undefined;
89
89
  log?: string | undefined;
90
90
  build?: string | undefined;
@@ -831,6 +831,8 @@ declare const StormConfigSchema: z.ZodObject<{
831
831
  }>]>>]>]>;
832
832
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
833
833
  }, "strip", z.ZodTypeAny, {
834
+ logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
835
+ mode: "development" | "staging" | "production";
834
836
  organization: string;
835
837
  license: string;
836
838
  homepage: string;
@@ -856,22 +858,20 @@ declare const StormConfigSchema: z.ZodObject<{
856
858
  medium: string;
857
859
  github: string;
858
860
  };
859
- mode: "development" | "staging" | "production";
860
861
  workspaceRoot: string;
861
862
  externalPackagePatterns: string[];
862
863
  skipCache: boolean;
863
864
  directories: {
864
865
  build: string;
866
+ config?: string | undefined;
865
867
  cache?: string | undefined;
866
868
  data?: string | undefined;
867
- config?: string | undefined;
868
869
  temp?: string | undefined;
869
870
  log?: string | undefined;
870
871
  };
871
872
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
872
873
  timezone: string;
873
874
  locale: string;
874
- logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
875
875
  registry: {
876
876
  github?: string | undefined;
877
877
  npm?: string | undefined;
@@ -1028,9 +1028,9 @@ declare const StormConfigSchema: z.ZodObject<{
1028
1028
  };
1029
1029
  }>;
1030
1030
  extensions: Record<string, any>;
1031
+ name?: string | undefined;
1031
1032
  $schema?: string | null | undefined;
1032
1033
  extends?: string | string[] | undefined;
1033
- name?: string | undefined;
1034
1034
  namespace?: string | undefined;
1035
1035
  repository?: string | undefined;
1036
1036
  preid?: string | undefined;
@@ -1042,8 +1042,8 @@ declare const StormConfigSchema: z.ZodObject<{
1042
1042
  };
1043
1043
  release: {
1044
1044
  banner?: string | undefined;
1045
- header?: string | undefined;
1046
1045
  footer?: string | undefined;
1046
+ header?: string | undefined;
1047
1047
  };
1048
1048
  account: {
1049
1049
  twitter?: string | undefined;
@@ -1054,9 +1054,9 @@ declare const StormConfigSchema: z.ZodObject<{
1054
1054
  github?: string | undefined;
1055
1055
  };
1056
1056
  directories: {
1057
+ config?: string | undefined;
1057
1058
  cache?: string | undefined;
1058
1059
  data?: string | undefined;
1059
- config?: string | undefined;
1060
1060
  temp?: string | undefined;
1061
1061
  log?: string | undefined;
1062
1062
  build?: string | undefined;
@@ -1208,9 +1208,11 @@ declare const StormConfigSchema: z.ZodObject<{
1208
1208
  background?: string | undefined;
1209
1209
  };
1210
1210
  }>;
1211
+ logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1212
+ name?: string | undefined;
1213
+ mode?: "development" | "staging" | "production" | undefined;
1211
1214
  $schema?: string | null | undefined;
1212
1215
  extends?: string | string[] | undefined;
1213
- name?: string | undefined;
1214
1216
  namespace?: string | undefined;
1215
1217
  organization?: string | undefined;
1216
1218
  repository?: string | undefined;
@@ -1222,14 +1224,12 @@ declare const StormConfigSchema: z.ZodObject<{
1222
1224
  branch?: string | undefined;
1223
1225
  preid?: string | undefined;
1224
1226
  owner?: string | undefined;
1225
- mode?: "development" | "staging" | "production" | undefined;
1226
1227
  workspaceRoot?: string | undefined;
1227
1228
  externalPackagePatterns?: string[] | undefined;
1228
1229
  skipCache?: boolean | undefined;
1229
1230
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1230
1231
  timezone?: string | undefined;
1231
1232
  locale?: string | undefined;
1232
- logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1233
1233
  skipConfigLogging?: boolean | undefined;
1234
1234
  registry?: {
1235
1235
  github?: string | undefined;
package/dist/clean.d.ts CHANGED
@@ -38,8 +38,8 @@ declare const StormConfigSchema: z.ZodObject<{
38
38
  header?: string | undefined;
39
39
  }, {
40
40
  banner?: string | undefined;
41
- header?: string | undefined;
42
41
  footer?: string | undefined;
42
+ header?: string | undefined;
43
43
  }>;
44
44
  account: z.ZodObject<{
45
45
  twitter: z.ZodDefault<z.ZodString>;
@@ -76,15 +76,15 @@ declare const StormConfigSchema: z.ZodObject<{
76
76
  build: z.ZodDefault<z.ZodString>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  build: string;
79
+ config?: string | undefined;
79
80
  cache?: string | undefined;
80
81
  data?: string | undefined;
81
- config?: string | undefined;
82
82
  temp?: string | undefined;
83
83
  log?: string | undefined;
84
84
  }, {
85
+ config?: string | undefined;
85
86
  cache?: string | undefined;
86
87
  data?: string | undefined;
87
- config?: string | undefined;
88
88
  temp?: string | undefined;
89
89
  log?: string | undefined;
90
90
  build?: string | undefined;
@@ -831,6 +831,8 @@ declare const StormConfigSchema: z.ZodObject<{
831
831
  }>]>>]>]>;
832
832
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
833
833
  }, "strip", z.ZodTypeAny, {
834
+ logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
835
+ mode: "development" | "staging" | "production";
834
836
  organization: string;
835
837
  license: string;
836
838
  homepage: string;
@@ -856,22 +858,20 @@ declare const StormConfigSchema: z.ZodObject<{
856
858
  medium: string;
857
859
  github: string;
858
860
  };
859
- mode: "development" | "staging" | "production";
860
861
  workspaceRoot: string;
861
862
  externalPackagePatterns: string[];
862
863
  skipCache: boolean;
863
864
  directories: {
864
865
  build: string;
866
+ config?: string | undefined;
865
867
  cache?: string | undefined;
866
868
  data?: string | undefined;
867
- config?: string | undefined;
868
869
  temp?: string | undefined;
869
870
  log?: string | undefined;
870
871
  };
871
872
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
872
873
  timezone: string;
873
874
  locale: string;
874
- logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
875
875
  registry: {
876
876
  github?: string | undefined;
877
877
  npm?: string | undefined;
@@ -1028,9 +1028,9 @@ declare const StormConfigSchema: z.ZodObject<{
1028
1028
  };
1029
1029
  }>;
1030
1030
  extensions: Record<string, any>;
1031
+ name?: string | undefined;
1031
1032
  $schema?: string | null | undefined;
1032
1033
  extends?: string | string[] | undefined;
1033
- name?: string | undefined;
1034
1034
  namespace?: string | undefined;
1035
1035
  repository?: string | undefined;
1036
1036
  preid?: string | undefined;
@@ -1042,8 +1042,8 @@ declare const StormConfigSchema: z.ZodObject<{
1042
1042
  };
1043
1043
  release: {
1044
1044
  banner?: string | undefined;
1045
- header?: string | undefined;
1046
1045
  footer?: string | undefined;
1046
+ header?: string | undefined;
1047
1047
  };
1048
1048
  account: {
1049
1049
  twitter?: string | undefined;
@@ -1054,9 +1054,9 @@ declare const StormConfigSchema: z.ZodObject<{
1054
1054
  github?: string | undefined;
1055
1055
  };
1056
1056
  directories: {
1057
+ config?: string | undefined;
1057
1058
  cache?: string | undefined;
1058
1059
  data?: string | undefined;
1059
- config?: string | undefined;
1060
1060
  temp?: string | undefined;
1061
1061
  log?: string | undefined;
1062
1062
  build?: string | undefined;
@@ -1208,9 +1208,11 @@ declare const StormConfigSchema: z.ZodObject<{
1208
1208
  background?: string | undefined;
1209
1209
  };
1210
1210
  }>;
1211
+ logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
1212
+ name?: string | undefined;
1213
+ mode?: "development" | "staging" | "production" | undefined;
1211
1214
  $schema?: string | null | undefined;
1212
1215
  extends?: string | string[] | undefined;
1213
- name?: string | undefined;
1214
1216
  namespace?: string | undefined;
1215
1217
  organization?: string | undefined;
1216
1218
  repository?: string | undefined;
@@ -1222,14 +1224,12 @@ declare const StormConfigSchema: z.ZodObject<{
1222
1224
  branch?: string | undefined;
1223
1225
  preid?: string | undefined;
1224
1226
  owner?: string | undefined;
1225
- mode?: "development" | "staging" | "production" | undefined;
1226
1227
  workspaceRoot?: string | undefined;
1227
1228
  externalPackagePatterns?: string[] | undefined;
1228
1229
  skipCache?: boolean | undefined;
1229
1230
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1230
1231
  timezone?: string | undefined;
1231
1232
  locale?: string | undefined;
1232
- logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1233
1233
  skipConfigLogging?: boolean | undefined;
1234
1234
  registry?: {
1235
1235
  github?: string | undefined;
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkZOIUD2GIcjs = require('./chunk-ZOIUD2GI.cjs');
10
+ var _chunkOZZLJHCVcjs = require('./chunk-OZZLJHCV.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 = _chunkAGWKKDSCcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkZOIUD2GIcjs.Filter; exports.Mapper = _chunkZOIUD2GIcjs.Mapper; exports.build = _chunkZOIUD2GIcjs.build; exports.clean = _chunkATQXZL2Ncjs.clean; exports.cleanDirectories = _chunkATQXZL2Ncjs.cleanDirectories; exports.cleanOutputPath = _chunkZOIUD2GIcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkAGWKKDSCcjs.getDefaultBuildPlugins; exports.handle = _chunkZOIUD2GIcjs.handle; exports.pipe = _chunkZOIUD2GIcjs.pipe; exports.skip = _chunkZOIUD2GIcjs.skip; exports.transduce = _chunkZOIUD2GIcjs.transduce;
44
+ exports.DEFAULT_BUILD_OPTIONS = _chunkAGWKKDSCcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkOZZLJHCVcjs.Filter; exports.Mapper = _chunkOZZLJHCVcjs.Mapper; exports.build = _chunkOZZLJHCVcjs.build; exports.clean = _chunkATQXZL2Ncjs.clean; exports.cleanDirectories = _chunkATQXZL2Ncjs.cleanDirectories; exports.cleanOutputPath = _chunkOZZLJHCVcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkAGWKKDSCcjs.getDefaultBuildPlugins; exports.handle = _chunkOZZLJHCVcjs.handle; exports.pipe = _chunkOZZLJHCVcjs.pipe; exports.skip = _chunkOZZLJHCVcjs.skip; exports.transduce = _chunkOZZLJHCVcjs.transduce;
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  pipe,
8
8
  skip,
9
9
  transduce
10
- } from "./chunk-XCG2PLBI.js";
10
+ } from "./chunk-EOMX2XP7.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.24",
3
+ "version": "0.31.25",
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.21",
176
- "@storm-software/config": "1.110.4",
177
- "@storm-software/config-tools": "1.160.4",
175
+ "@storm-software/build-tools": "0.143.22",
176
+ "@storm-software/config": "1.110.5",
177
+ "@storm-software/config-tools": "1.160.5",
178
178
  "@types/node": "^22.10.2",
179
179
  "rollup": "4.29.1",
180
180
  "spdx-exceptions": "^2.5.0",