@storm-software/esbuild 0.21.2 → 0.21.4

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.21.1-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.21.3-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/dist/build.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2ZAUTQXXcjs = require('./chunk-2ZAUTQXX.cjs');
4
- require('./chunk-HPSHBBVG.cjs');
5
- require('./chunk-46PMAU4V.cjs');
3
+ var _chunkTBU55QYVcjs = require('./chunk-TBU55QYV.cjs');
4
+ require('./chunk-GZKDEX4I.cjs');
5
+ require('./chunk-NWSAHFK5.cjs');
6
6
  require('./chunk-S6M44SSZ.cjs');
7
7
  require('./chunk-WRBUO7H6.cjs');
8
- require('./chunk-I3JFFJC5.cjs');
8
+ require('./chunk-GQTYEGCT.cjs');
9
9
  require('./chunk-RMB62XEL.cjs');
10
- require('./chunk-UKOZKAQT.cjs');
11
- require('./chunk-R4BLLBKQ.cjs');
12
- require('./chunk-TNCZJEAM.cjs');
10
+ require('./chunk-42FF63OO.cjs');
11
+ require('./chunk-GD4U35FZ.cjs');
12
+ require('./chunk-ZKT6GJKV.cjs');
13
13
  require('./chunk-LVWQSCJM.cjs');
14
14
  require('./chunk-CGFDQ5AJ.cjs');
15
15
  require('./chunk-EZGTDCYM.cjs');
16
16
  require('./chunk-BGYQAVKQ.cjs');
17
17
 
18
18
 
19
- exports.build = _chunk2ZAUTQXXcjs.build;
19
+ exports.build = _chunkTBU55QYVcjs.build;
package/dist/build.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-GABSHGMX.js";
4
- import "./chunk-ZHJADIB7.js";
5
- import "./chunk-KTKILKNC.js";
3
+ } from "./chunk-3MVHCPXF.js";
4
+ import "./chunk-KE7NROKH.js";
5
+ import "./chunk-CD57N3DC.js";
6
6
  import "./chunk-T5272PC2.js";
7
7
  import "./chunk-LYDEMC26.js";
8
- import "./chunk-LGGKK6QN.js";
8
+ import "./chunk-W5YHMJLR.js";
9
9
  import "./chunk-DAGDNKO5.js";
10
- import "./chunk-6FLK5OAO.js";
11
- import "./chunk-DT7YERJW.js";
12
- import "./chunk-A6ZMH3XN.js";
10
+ import "./chunk-7QV3QQUC.js";
11
+ import "./chunk-KJJEF47Z.js";
12
+ import "./chunk-JXPYSVZW.js";
13
13
  import "./chunk-7MDMXJ5V.js";
14
14
  import "./chunk-YNQ45EAM.js";
15
15
  import "./chunk-GWG4HOQ6.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clean
3
- } from "./chunk-ZHJADIB7.js";
3
+ } from "./chunk-KE7NROKH.js";
4
4
  import {
5
5
  DEFAULT_BUILD_OPTIONS,
6
6
  DEFAULT_COMPILED_BANNER,
@@ -9,15 +9,15 @@ import {
9
9
  addPackageJsonExport,
10
10
  addWorkspacePackageJsonFields,
11
11
  copyAssets,
12
+ getConfig,
12
13
  getDefaultBuildPlugins,
13
14
  getEntryPoints,
14
15
  getEnv,
15
- getOutputExtensionMap,
16
- loadStormConfig
17
- } from "./chunk-KTKILKNC.js";
16
+ getOutputExtensionMap
17
+ } from "./chunk-CD57N3DC.js";
18
18
  import {
19
19
  depsCheckPlugin
20
- } from "./chunk-DT7YERJW.js";
20
+ } from "./chunk-KJJEF47Z.js";
21
21
  import {
22
22
  getStopwatch,
23
23
  isVerbose,
@@ -27,7 +27,7 @@ import {
27
27
  writeSuccess,
28
28
  writeTrace,
29
29
  writeWarning
30
- } from "./chunk-A6ZMH3XN.js";
30
+ } from "./chunk-JXPYSVZW.js";
31
31
  import {
32
32
  joinPaths
33
33
  } from "./chunk-7MDMXJ5V.js";
@@ -277,7 +277,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
277
277
  if (!workspaceRoot) {
278
278
  throw new Error("Cannot find Nx workspace root");
279
279
  }
280
- const config = await loadStormConfig(workspaceRoot.dir);
280
+ const config = await getConfig(workspaceRoot.dir);
281
281
  writeDebug(" \u2699\uFE0F Resolving build options", config);
282
282
  const stopwatch = getStopwatch("Build options resolution");
283
283
  const projectGraph = await createProjectGraphAsync({
@@ -469,7 +469,7 @@ async function copyBuildAssets(context2) {
469
469
  if (context2.result?.errors.length === 0) {
470
470
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
471
471
  const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
472
- await copyAssets(context2.options.config, context2.options.assets ?? [], context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
472
+ await copyAssets(context2.options.config, context2.options.assets ?? [], context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
473
473
  stopwatch();
474
474
  }
475
475
  return context2;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkTNCZJEAMcjs = require('./chunk-TNCZJEAM.cjs');
3
+ var _chunkZKT6GJKVcjs = require('./chunk-ZKT6GJKV.cjs');
4
4
 
5
5
 
6
6
  var _chunkLVWQSCJMcjs = require('./chunk-LVWQSCJM.cjs');
@@ -84,7 +84,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
84
84
  localBuild: true
85
85
  });
86
86
  if (extractorResult.succeeded === false) {
87
- _chunkTNCZJEAMcjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
87
+ _chunkZKT6GJKVcjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
88
88
  throw new Error("API Extractor completed with errors");
89
89
  }
90
90
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-A6ZMH3XN.js";
3
+ } from "./chunk-JXPYSVZW.js";
4
4
  import {
5
5
  joinPaths
6
6
  } from "./chunk-7MDMXJ5V.js";