@storm-software/esbuild 0.28.3 → 0.29.0
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/bin/esbuild.cjs +3 -3
- package/dist/build.cjs +3 -3
- package/dist/build.js +2 -2
- package/dist/{chunk-ZKTWGDCF.js → chunk-JNX3ZLGI.js} +5 -4
- package/dist/{chunk-VZIK4SOK.js → chunk-OG5DUDGZ.js} +24 -13
- package/dist/{chunk-PLWHYEXL.cjs → chunk-SWIMNO2P.cjs} +17 -16
- package/dist/{chunk-5F7O7BRG.cjs → chunk-WBI5JPFC.cjs} +24 -13
- package/dist/config.cjs +2 -2
- package/dist/config.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- 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/bin/esbuild.cjs
CHANGED
|
@@ -752,9 +752,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
752
752
|
...userOptions,
|
|
753
753
|
tsconfig: (0, import_correct_paths2.joinPaths)(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
754
754
|
format: options.format || "cjs",
|
|
755
|
-
entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry
|
|
756
|
-
"./src/index.ts"
|
|
757
|
-
], userOptions.emitOnAll),
|
|
755
|
+
entryPoints: await (0, import_build_tools.getEntryPoints)(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
|
|
758
756
|
outdir: userOptions.outputPath || (0, import_correct_paths2.joinPaths)("dist", projectRoot),
|
|
759
757
|
plugins: [],
|
|
760
758
|
name: userOptions.name || projectName,
|
|
@@ -911,6 +909,8 @@ async function executeEsBuild(context2) {
|
|
|
911
909
|
delete options.renderers;
|
|
912
910
|
delete options.config;
|
|
913
911
|
delete options.injectShims;
|
|
912
|
+
(0, import_console2.writeTrace)(`Run esbuild (${context2.options.name}) with the following options:
|
|
913
|
+
${(0, import_console2.formatLogMessage)(options)}`, context2.options.config);
|
|
914
914
|
const result = await esbuild2.build(options);
|
|
915
915
|
if (result.metafile) {
|
|
916
916
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
package/dist/build.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSWIMNO2Pcjs = require('./chunk-SWIMNO2P.cjs');
|
|
5
5
|
require('./chunk-DITM26C7.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-WBI5JPFC.cjs');
|
|
7
7
|
require('./chunk-S6M44SSZ.cjs');
|
|
8
8
|
require('./chunk-WRBUO7H6.cjs');
|
|
9
9
|
require('./chunk-I2FH4C27.cjs');
|
|
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.build =
|
|
21
|
+
exports.build = _chunkSWIMNO2Pcjs.build; exports.cleanOutputPath = _chunkSWIMNO2Pcjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build,
|
|
3
3
|
cleanOutputPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JNX3ZLGI.js";
|
|
5
5
|
import "./chunk-TUAAYWUJ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-OG5DUDGZ.js";
|
|
7
7
|
import "./chunk-T5272PC2.js";
|
|
8
8
|
import "./chunk-LYDEMC26.js";
|
|
9
9
|
import "./chunk-YWKYHSIN.js";
|
|
@@ -13,11 +13,12 @@ import {
|
|
|
13
13
|
getDefaultBuildPlugins,
|
|
14
14
|
getEntryPoints,
|
|
15
15
|
getEnv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OG5DUDGZ.js";
|
|
17
17
|
import {
|
|
18
18
|
depsCheckPlugin
|
|
19
19
|
} from "./chunk-NCMOSDGN.js";
|
|
20
20
|
import {
|
|
21
|
+
formatLogMessage,
|
|
21
22
|
getStopwatch,
|
|
22
23
|
isVerbose,
|
|
23
24
|
writeDebug,
|
|
@@ -321,9 +322,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
321
322
|
...userOptions,
|
|
322
323
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
323
324
|
format: options.format || "cjs",
|
|
324
|
-
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry
|
|
325
|
-
"./src/index.ts"
|
|
326
|
-
], userOptions.emitOnAll),
|
|
325
|
+
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
|
|
327
326
|
outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
|
|
328
327
|
plugins: [],
|
|
329
328
|
name: userOptions.name || projectName,
|
|
@@ -480,6 +479,8 @@ async function executeEsBuild(context2) {
|
|
|
480
479
|
delete options.renderers;
|
|
481
480
|
delete options.config;
|
|
482
481
|
delete options.injectShims;
|
|
482
|
+
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
483
|
+
${formatLogMessage(options)}`, context2.options.config);
|
|
483
484
|
const result = await esbuild.build(options);
|
|
484
485
|
if (result.metafile) {
|
|
485
486
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
@@ -785,13 +785,13 @@ var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
|
785
785
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
786
786
|
import { glob as glob2 } from "glob";
|
|
787
787
|
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
788
|
-
const workspaceRoot = config.workspaceRoot
|
|
788
|
+
const workspaceRoot = config.workspaceRoot || findWorkspaceRoot();
|
|
789
789
|
const entryPoints = [];
|
|
790
790
|
if (entry) {
|
|
791
|
-
if (
|
|
792
|
-
entryPoints.push(...entry);
|
|
793
|
-
} else if (typeof entry === "string") {
|
|
791
|
+
if (typeof entry === "string") {
|
|
794
792
|
entryPoints.push(entry);
|
|
793
|
+
} else if (Array.isArray(entry)) {
|
|
794
|
+
entryPoints.push(...entry);
|
|
795
795
|
} else {
|
|
796
796
|
entryPoints.push(...Object.values(entry));
|
|
797
797
|
}
|
|
@@ -799,27 +799,38 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
|
|
|
799
799
|
if (emitOnAll) {
|
|
800
800
|
entryPoints.push(joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
801
801
|
}
|
|
802
|
-
const results =
|
|
803
|
-
|
|
802
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
803
|
+
const paths = [];
|
|
804
804
|
if (entryPoint.includes("*")) {
|
|
805
805
|
const files = await glob2(entryPoint, {
|
|
806
|
-
withFileTypes: true
|
|
806
|
+
withFileTypes: true,
|
|
807
|
+
ignore: [
|
|
808
|
+
"**/node_modules/**"
|
|
809
|
+
]
|
|
807
810
|
});
|
|
808
|
-
|
|
811
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
809
812
|
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
|
|
810
813
|
if (result) {
|
|
811
814
|
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
812
|
-
if (!
|
|
813
|
-
|
|
815
|
+
if (!paths.includes(result)) {
|
|
816
|
+
paths.push(result);
|
|
814
817
|
}
|
|
815
818
|
}
|
|
816
819
|
return ret;
|
|
817
820
|
}, []));
|
|
818
821
|
} else {
|
|
819
|
-
|
|
822
|
+
paths.push(entryPoint);
|
|
820
823
|
}
|
|
821
|
-
|
|
822
|
-
|
|
824
|
+
return paths;
|
|
825
|
+
}));
|
|
826
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
827
|
+
result.forEach((res) => {
|
|
828
|
+
if (res && !ret.includes(res)) {
|
|
829
|
+
ret.push(res);
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
return ret;
|
|
833
|
+
}, []);
|
|
823
834
|
}, "getEntryPoints");
|
|
824
835
|
|
|
825
836
|
// ../build-tools/src/utilities/get-env.ts
|
|
@@ -13,7 +13,7 @@ var _chunkDITM26C7cjs = require('./chunk-DITM26C7.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkWBI5JPFCcjs = require('./chunk-WBI5JPFC.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkDEO4HWIAcjs = require('./chunk-DEO4HWIA.cjs');
|
|
@@ -26,6 +26,7 @@ var _chunkDEO4HWIAcjs = require('./chunk-DEO4HWIA.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
|
|
29
30
|
var _chunkF665CCSScjs = require('./chunk-F665CCSS.cjs');
|
|
30
31
|
|
|
31
32
|
|
|
@@ -277,7 +278,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
277
278
|
if (!workspaceRoot) {
|
|
278
279
|
throw new Error("Cannot find Nx workspace root");
|
|
279
280
|
}
|
|
280
|
-
const config = await
|
|
281
|
+
const config = await _chunkWBI5JPFCcjs.getConfig.call(void 0, workspaceRoot.dir);
|
|
281
282
|
_chunkF665CCSScjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
282
283
|
const stopwatch = _chunkF665CCSScjs.getStopwatch.call(void 0, "Build options resolution");
|
|
283
284
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
@@ -294,14 +295,14 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
294
295
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _14 => _14.projects, 'optionalAccess', _15 => _15[projectName]])) {
|
|
295
296
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
296
297
|
}
|
|
297
|
-
const options = _defu2.default.call(void 0, userOptions,
|
|
298
|
+
const options = _defu2.default.call(void 0, userOptions, _chunkWBI5JPFCcjs.DEFAULT_BUILD_OPTIONS);
|
|
298
299
|
options.name ??= `${projectName}-${options.format}`;
|
|
299
|
-
options.target ??=
|
|
300
|
+
options.target ??= _chunkWBI5JPFCcjs.DEFAULT_TARGET;
|
|
300
301
|
const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
301
302
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
302
303
|
throw new Error("Cannot find package.json configuration");
|
|
303
304
|
}
|
|
304
|
-
const env =
|
|
305
|
+
const env = _chunkWBI5JPFCcjs.getEnv.call(void 0, "esbuild", options);
|
|
305
306
|
const result = {
|
|
306
307
|
...options,
|
|
307
308
|
config,
|
|
@@ -321,9 +322,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
321
322
|
...userOptions,
|
|
322
323
|
tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
323
324
|
format: options.format || "cjs",
|
|
324
|
-
entryPoints: await
|
|
325
|
-
"./src/index.ts"
|
|
326
|
-
], userOptions.emitOnAll),
|
|
325
|
+
entryPoints: await _chunkWBI5JPFCcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
|
|
327
326
|
outdir: userOptions.outputPath || _chunkXITTOHOGcjs.joinPaths.call(void 0, "dist", projectRoot),
|
|
328
327
|
plugins: [],
|
|
329
328
|
name: userOptions.name || projectName,
|
|
@@ -345,8 +344,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
345
344
|
watch: userOptions.watch === true,
|
|
346
345
|
footer: userOptions.footer,
|
|
347
346
|
banner: {
|
|
348
|
-
js: options.banner ||
|
|
349
|
-
css: options.banner ||
|
|
347
|
+
js: options.banner || _chunkWBI5JPFCcjs.DEFAULT_COMPILED_BANNER,
|
|
348
|
+
css: options.banner || _chunkWBI5JPFCcjs.DEFAULT_COMPILED_BANNER
|
|
350
349
|
},
|
|
351
350
|
splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
|
|
352
351
|
treeShaking: options.format === "esm",
|
|
@@ -373,7 +372,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
373
372
|
..._nullishCoalesce(options.inject, () => ( []))
|
|
374
373
|
].filter(Boolean)
|
|
375
374
|
};
|
|
376
|
-
result.plugins = _nullishCoalesce(userOptions.plugins, () => (
|
|
375
|
+
result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkWBI5JPFCcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
|
|
377
376
|
delete result.entry;
|
|
378
377
|
delete result.outputPath;
|
|
379
378
|
stopwatch();
|
|
@@ -392,11 +391,11 @@ async function generatePackageJson(context2) {
|
|
|
392
391
|
if (!packageJson) {
|
|
393
392
|
throw new Error("Cannot find package.json configuration file");
|
|
394
393
|
}
|
|
395
|
-
packageJson = await
|
|
396
|
-
packageJson = await
|
|
394
|
+
packageJson = await _chunkWBI5JPFCcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
|
|
395
|
+
packageJson = await _chunkWBI5JPFCcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
|
|
397
396
|
packageJson.exports ??= {};
|
|
398
397
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
399
|
-
packageJson.exports["."] ??=
|
|
398
|
+
packageJson.exports["."] ??= _chunkWBI5JPFCcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
|
|
400
399
|
let entryPoints = [
|
|
401
400
|
{
|
|
402
401
|
in: "./src/index.ts",
|
|
@@ -414,7 +413,7 @@ async function generatePackageJson(context2) {
|
|
|
414
413
|
const split = entryPoint.out.split(".");
|
|
415
414
|
split.pop();
|
|
416
415
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
417
|
-
packageJson.exports[`./${entry}`] ??=
|
|
416
|
+
packageJson.exports[`./${entry}`] ??= _chunkWBI5JPFCcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
|
|
418
417
|
}
|
|
419
418
|
}
|
|
420
419
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -480,6 +479,8 @@ async function executeEsBuild(context2) {
|
|
|
480
479
|
delete options.renderers;
|
|
481
480
|
delete options.config;
|
|
482
481
|
delete options.injectShims;
|
|
482
|
+
_chunkF665CCSScjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
|
|
483
|
+
${_chunkF665CCSScjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
|
|
483
484
|
const result = await esbuild.build(options);
|
|
484
485
|
if (result.metafile) {
|
|
485
486
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
@@ -493,7 +494,7 @@ async function copyBuildAssets(context2) {
|
|
|
493
494
|
if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
|
|
494
495
|
_chunkF665CCSScjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
495
496
|
const stopwatch = _chunkF665CCSScjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
496
|
-
await
|
|
497
|
+
await _chunkWBI5JPFCcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
497
498
|
stopwatch();
|
|
498
499
|
}
|
|
499
500
|
return context2;
|
|
@@ -785,13 +785,13 @@ var getConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (workspace
|
|
|
785
785
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
786
786
|
|
|
787
787
|
var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
788
|
-
const workspaceRoot = config.workspaceRoot
|
|
788
|
+
const workspaceRoot = config.workspaceRoot || _chunkF665CCSScjs.findWorkspaceRoot.call(void 0, );
|
|
789
789
|
const entryPoints = [];
|
|
790
790
|
if (entry) {
|
|
791
|
-
if (
|
|
792
|
-
entryPoints.push(...entry);
|
|
793
|
-
} else if (typeof entry === "string") {
|
|
791
|
+
if (typeof entry === "string") {
|
|
794
792
|
entryPoints.push(entry);
|
|
793
|
+
} else if (Array.isArray(entry)) {
|
|
794
|
+
entryPoints.push(...entry);
|
|
795
795
|
} else {
|
|
796
796
|
entryPoints.push(...Object.values(entry));
|
|
797
797
|
}
|
|
@@ -799,27 +799,38 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
799
799
|
if (emitOnAll) {
|
|
800
800
|
entryPoints.push(_chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
801
801
|
}
|
|
802
|
-
const results =
|
|
803
|
-
|
|
802
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
803
|
+
const paths = [];
|
|
804
804
|
if (entryPoint.includes("*")) {
|
|
805
805
|
const files = await _glob.glob.call(void 0, entryPoint, {
|
|
806
|
-
withFileTypes: true
|
|
806
|
+
withFileTypes: true,
|
|
807
|
+
ignore: [
|
|
808
|
+
"**/node_modules/**"
|
|
809
|
+
]
|
|
807
810
|
});
|
|
808
|
-
|
|
811
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
809
812
|
const result = _chunkXITTOHOGcjs.correctPaths.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, projectRoot), ""));
|
|
810
813
|
if (result) {
|
|
811
814
|
_chunkF665CCSScjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
812
|
-
if (!
|
|
813
|
-
|
|
815
|
+
if (!paths.includes(result)) {
|
|
816
|
+
paths.push(result);
|
|
814
817
|
}
|
|
815
818
|
}
|
|
816
819
|
return ret;
|
|
817
820
|
}, []));
|
|
818
821
|
} else {
|
|
819
|
-
|
|
822
|
+
paths.push(entryPoint);
|
|
820
823
|
}
|
|
821
|
-
|
|
822
|
-
|
|
824
|
+
return paths;
|
|
825
|
+
}));
|
|
826
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
827
|
+
result.forEach((res) => {
|
|
828
|
+
if (res && !ret.includes(res)) {
|
|
829
|
+
ret.push(res);
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
return ret;
|
|
833
|
+
}, []);
|
|
823
834
|
}, "getEntryPoints");
|
|
824
835
|
|
|
825
836
|
// ../build-tools/src/utilities/get-env.ts
|
package/dist/config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWBI5JPFCcjs = require('./chunk-WBI5JPFC.cjs');
|
|
5
5
|
require('./chunk-S6M44SSZ.cjs');
|
|
6
6
|
require('./chunk-WRBUO7H6.cjs');
|
|
7
7
|
require('./chunk-I2FH4C27.cjs');
|
|
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
18
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkWBI5JPFCcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkWBI5JPFCcjs.getDefaultBuildPlugins;
|
package/dist/config.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkSWIMNO2Pcjs = require('./chunk-SWIMNO2P.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ var _chunkDITM26C7cjs = require('./chunk-DITM26C7.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkWBI5JPFCcjs = require('./chunk-WBI5JPFC.cjs');
|
|
19
19
|
require('./chunk-S6M44SSZ.cjs');
|
|
20
20
|
require('./chunk-WRBUO7H6.cjs');
|
|
21
21
|
require('./chunk-I2FH4C27.cjs');
|
|
@@ -41,4 +41,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
44
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkWBI5JPFCcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkSWIMNO2Pcjs.Filter; exports.Mapper = _chunkSWIMNO2Pcjs.Mapper; exports.build = _chunkSWIMNO2Pcjs.build; exports.clean = _chunkDITM26C7cjs.clean; exports.cleanDirectories = _chunkDITM26C7cjs.cleanDirectories; exports.cleanOutputPath = _chunkSWIMNO2Pcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunkWBI5JPFCcjs.getDefaultBuildPlugins; exports.handle = _chunkSWIMNO2Pcjs.handle; exports.pipe = _chunkSWIMNO2Pcjs.pipe; exports.skip = _chunkSWIMNO2Pcjs.skip; exports.transduce = _chunkSWIMNO2Pcjs.transduce;
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
pipe,
|
|
8
8
|
skip,
|
|
9
9
|
transduce
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JNX3ZLGI.js";
|
|
11
11
|
import {
|
|
12
12
|
clean,
|
|
13
13
|
cleanDirectories
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_BUILD_OPTIONS,
|
|
17
17
|
getDefaultBuildPlugins
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OG5DUDGZ.js";
|
|
19
19
|
import "./chunk-T5272PC2.js";
|
|
20
20
|
import "./chunk-LYDEMC26.js";
|
|
21
21
|
import "./chunk-YWKYHSIN.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/esbuild",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
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.3.1",
|
|
174
174
|
"@nx/js": "^20.3.1",
|
|
175
|
-
"@storm-software/build-tools": "
|
|
176
|
-
"@storm-software/config": "
|
|
177
|
-
"@storm-software/config-tools": "
|
|
175
|
+
"@storm-software/build-tools": "0.141.0",
|
|
176
|
+
"@storm-software/config": "1.106.0",
|
|
177
|
+
"@storm-software/config-tools": "1.158.0",
|
|
178
178
|
"@types/node": "^22.10.2",
|
|
179
179
|
"rollup": "4.29.1",
|
|
180
180
|
"spdx-exceptions": "^2.5.0",
|