@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 +1 -1
- package/dist/build.cjs +8 -8
- package/dist/build.js +7 -7
- package/dist/{chunk-GABSHGMX.js → chunk-3MVHCPXF.js} +8 -8
- package/dist/{chunk-UKOZKAQT.cjs → chunk-42FF63OO.cjs} +2 -2
- package/dist/{chunk-6FLK5OAO.js → chunk-7QV3QQUC.js} +1 -1
- package/dist/{chunk-KTKILKNC.js → chunk-CD57N3DC.js} +260 -249
- package/dist/{chunk-R4BLLBKQ.cjs → chunk-GD4U35FZ.cjs} +3 -3
- package/dist/{chunk-I3JFFJC5.cjs → chunk-GQTYEGCT.cjs} +2 -2
- package/dist/{chunk-HPSHBBVG.cjs → chunk-GZKDEX4I.cjs} +3 -3
- package/dist/{chunk-A6ZMH3XN.js → chunk-JXPYSVZW.js} +20 -15
- package/dist/{chunk-ZHJADIB7.js → chunk-KE7NROKH.js} +1 -1
- package/dist/{chunk-DT7YERJW.js → chunk-KJJEF47Z.js} +1 -1
- package/dist/{chunk-46PMAU4V.cjs → chunk-NWSAHFK5.cjs} +274 -263
- package/dist/{chunk-2ZAUTQXX.cjs → chunk-TBU55QYV.cjs} +37 -37
- package/dist/{chunk-LGGKK6QN.js → chunk-W5YHMJLR.js} +1 -1
- package/dist/{chunk-TNCZJEAM.cjs → chunk-ZKT6GJKV.cjs} +21 -16
- package/dist/clean.cjs +3 -3
- package/dist/clean.d.cts +13 -13
- package/dist/clean.d.ts +13 -13
- package/dist/clean.js +2 -2
- package/dist/config.cjs +5 -5
- package/dist/config.js +4 -4
- package/dist/esbuild.cjs +5 -5
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/package.json +4 -4
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
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-
|
|
8
|
+
require('./chunk-GQTYEGCT.cjs');
|
|
9
9
|
require('./chunk-RMB62XEL.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
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 =
|
|
19
|
+
exports.build = _chunkTBU55QYVcjs.build;
|
package/dist/build.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
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-
|
|
8
|
+
import "./chunk-W5YHMJLR.js";
|
|
9
9
|
import "./chunk-DAGDNKO5.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
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-
|
|
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
|
-
|
|
17
|
-
} from "./chunk-KTKILKNC.js";
|
|
16
|
+
getOutputExtensionMap
|
|
17
|
+
} from "./chunk-CD57N3DC.js";
|
|
18
18
|
import {
|
|
19
19
|
depsCheckPlugin
|
|
20
|
-
} from "./chunk-
|
|
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-
|
|
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
|
|
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.
|
|
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
|
|
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
|
-
|
|
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
|
}
|