@storm-software/esbuild 0.26.5 → 0.26.7
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 +19 -2
- package/dist/build.cjs +2 -2
- package/dist/build.js +1 -1
- package/dist/{chunk-K5YRZ5LC.js → chunk-ICT46LF2.js} +19 -2
- package/dist/{chunk-XRLQUA2X.cjs → chunk-R2Z5W3XA.cjs} +19 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
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
|
@@ -960,11 +960,28 @@ __name(generateContext, "generateContext");
|
|
|
960
960
|
async function executeEsBuild(context2) {
|
|
961
961
|
(0, import_console2.writeDebug)(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
962
962
|
const stopwatch = (0, import_console2.getStopwatch)(`${context2.options.name} build`);
|
|
963
|
-
if (process.env.
|
|
963
|
+
if (process.env.STORM_WATCH) {
|
|
964
964
|
const ctx = await esbuild2.context(context2.options);
|
|
965
965
|
watch(ctx, context2.options);
|
|
966
966
|
}
|
|
967
|
-
const
|
|
967
|
+
const options = {
|
|
968
|
+
...context2.options
|
|
969
|
+
};
|
|
970
|
+
delete options.env;
|
|
971
|
+
delete options.name;
|
|
972
|
+
delete options.assets;
|
|
973
|
+
delete options.mode;
|
|
974
|
+
delete options.orgName;
|
|
975
|
+
delete options.watch;
|
|
976
|
+
delete options.clean;
|
|
977
|
+
delete options.debug;
|
|
978
|
+
delete options.generatePackageJson;
|
|
979
|
+
delete options.emitOnAll;
|
|
980
|
+
delete options.includeSrc;
|
|
981
|
+
delete options.verbose;
|
|
982
|
+
delete options.projectRoot;
|
|
983
|
+
delete options.renderers;
|
|
984
|
+
const result = await esbuild2.build(options);
|
|
968
985
|
if (result.metafile) {
|
|
969
986
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
970
987
|
await import_promises3.default.writeFile(metafilePath, JSON.stringify(result.metafile));
|
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
|
|
4
|
+
var _chunkR2Z5W3XAcjs = require('./chunk-R2Z5W3XA.cjs');
|
|
5
5
|
require('./chunk-62KAIAWT.cjs');
|
|
6
6
|
require('./chunk-57Z7YYTW.cjs');
|
|
7
7
|
require('./chunk-S6M44SSZ.cjs');
|
|
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.build =
|
|
21
|
+
exports.build = _chunkR2Z5W3XAcjs.build; exports.cleanOutputPath = _chunkR2Z5W3XAcjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -456,11 +456,28 @@ __name(generateContext, "generateContext");
|
|
|
456
456
|
async function executeEsBuild(context2) {
|
|
457
457
|
writeDebug(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
458
458
|
const stopwatch = getStopwatch(`${context2.options.name} build`);
|
|
459
|
-
if (process.env.
|
|
459
|
+
if (process.env.STORM_WATCH) {
|
|
460
460
|
const ctx = await esbuild.context(context2.options);
|
|
461
461
|
watch(ctx, context2.options);
|
|
462
462
|
}
|
|
463
|
-
const
|
|
463
|
+
const options = {
|
|
464
|
+
...context2.options
|
|
465
|
+
};
|
|
466
|
+
delete options.env;
|
|
467
|
+
delete options.name;
|
|
468
|
+
delete options.assets;
|
|
469
|
+
delete options.mode;
|
|
470
|
+
delete options.orgName;
|
|
471
|
+
delete options.watch;
|
|
472
|
+
delete options.clean;
|
|
473
|
+
delete options.debug;
|
|
474
|
+
delete options.generatePackageJson;
|
|
475
|
+
delete options.emitOnAll;
|
|
476
|
+
delete options.includeSrc;
|
|
477
|
+
delete options.verbose;
|
|
478
|
+
delete options.projectRoot;
|
|
479
|
+
delete options.renderers;
|
|
480
|
+
const result = await esbuild.build(options);
|
|
464
481
|
if (result.metafile) {
|
|
465
482
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
466
483
|
await hf.writeFile(metafilePath, JSON.stringify(result.metafile));
|
|
@@ -456,11 +456,28 @@ _chunkBGYQAVKQcjs.__name.call(void 0, generateContext, "generateContext");
|
|
|
456
456
|
async function executeEsBuild(context2) {
|
|
457
457
|
_chunkXZED6WF3cjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
458
458
|
const stopwatch = _chunkXZED6WF3cjs.getStopwatch.call(void 0, `${context2.options.name} build`);
|
|
459
|
-
if (process.env.
|
|
459
|
+
if (process.env.STORM_WATCH) {
|
|
460
460
|
const ctx = await esbuild.context(context2.options);
|
|
461
461
|
watch(ctx, context2.options);
|
|
462
462
|
}
|
|
463
|
-
const
|
|
463
|
+
const options = {
|
|
464
|
+
...context2.options
|
|
465
|
+
};
|
|
466
|
+
delete options.env;
|
|
467
|
+
delete options.name;
|
|
468
|
+
delete options.assets;
|
|
469
|
+
delete options.mode;
|
|
470
|
+
delete options.orgName;
|
|
471
|
+
delete options.watch;
|
|
472
|
+
delete options.clean;
|
|
473
|
+
delete options.debug;
|
|
474
|
+
delete options.generatePackageJson;
|
|
475
|
+
delete options.emitOnAll;
|
|
476
|
+
delete options.includeSrc;
|
|
477
|
+
delete options.verbose;
|
|
478
|
+
delete options.projectRoot;
|
|
479
|
+
delete options.renderers;
|
|
480
|
+
const result = await esbuild.build(options);
|
|
464
481
|
if (result.metafile) {
|
|
465
482
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
466
483
|
await _promises2.default.writeFile(metafilePath, JSON.stringify(result.metafile));
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkR2Z5W3XAcjs = require('./chunk-R2Z5W3XA.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -43,4 +43,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
exports.DEFAULT_BUILD_OPTIONS = _chunk57Z7YYTWcjs.DEFAULT_BUILD_OPTIONS; exports.Filter =
|
|
46
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk57Z7YYTWcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkR2Z5W3XAcjs.Filter; exports.Mapper = _chunkR2Z5W3XAcjs.Mapper; exports.build = _chunkR2Z5W3XAcjs.build; exports.clean = _chunk62KAIAWTcjs.clean; exports.cleanDirectories = _chunk62KAIAWTcjs.cleanDirectories; exports.cleanOutputPath = _chunkR2Z5W3XAcjs.cleanOutputPath; exports.getDefaultBuildPlugins = _chunk57Z7YYTWcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk57Z7YYTWcjs.getOutputExtensionMap; exports.handle = _chunkR2Z5W3XAcjs.handle; exports.pipe = _chunkR2Z5W3XAcjs.pipe; exports.skip = _chunkR2Z5W3XAcjs.skip; exports.transduce = _chunkR2Z5W3XAcjs.transduce;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/esbuild",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"@nx/js": "^20.3.1",
|
|
171
171
|
"@storm-software/build-tools": "0.140.5",
|
|
172
172
|
"@storm-software/config": "1.103.5",
|
|
173
|
-
"@storm-software/config-tools": "1.155.
|
|
173
|
+
"@storm-software/config-tools": "1.155.7",
|
|
174
174
|
"@types/node": "^22.10.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"esbuild": "^0.24.0",
|