@storm-software/esbuild 0.21.0 → 0.21.2
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 +3 -3
- package/dist/build.js +2 -2
- package/dist/{chunk-OOH2ZVCI.cjs → chunk-2ZAUTQXX.cjs} +15 -15
- package/dist/{chunk-QT6BDK5A.cjs → chunk-46PMAU4V.cjs} +3 -1
- package/dist/{chunk-ZN6WVNOW.js → chunk-GABSHGMX.js} +1 -1
- package/dist/{chunk-W7HB7SFB.js → chunk-KTKILKNC.js} +3 -1
- package/dist/clean.d.cts +10 -10
- package/dist/clean.d.ts +10 -10
- 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/dist/build.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2ZAUTQXXcjs = require('./chunk-2ZAUTQXX.cjs');
|
|
4
4
|
require('./chunk-HPSHBBVG.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-46PMAU4V.cjs');
|
|
6
6
|
require('./chunk-S6M44SSZ.cjs');
|
|
7
7
|
require('./chunk-WRBUO7H6.cjs');
|
|
8
8
|
require('./chunk-I3JFFJC5.cjs');
|
|
@@ -16,4 +16,4 @@ require('./chunk-EZGTDCYM.cjs');
|
|
|
16
16
|
require('./chunk-BGYQAVKQ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.build =
|
|
19
|
+
exports.build = _chunk2ZAUTQXXcjs.build;
|
package/dist/build.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GABSHGMX.js";
|
|
4
4
|
import "./chunk-ZHJADIB7.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-KTKILKNC.js";
|
|
6
6
|
import "./chunk-T5272PC2.js";
|
|
7
7
|
import "./chunk-LYDEMC26.js";
|
|
8
8
|
import "./chunk-LGGKK6QN.js";
|
|
@@ -14,7 +14,7 @@ var _chunkHPSHBBVGcjs = require('./chunk-HPSHBBVG.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk46PMAU4Vcjs = require('./chunk-46PMAU4V.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkR4BLLBKQcjs = require('./chunk-R4BLLBKQ.cjs');
|
|
@@ -277,7 +277,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
277
277
|
if (!workspaceRoot) {
|
|
278
278
|
throw new Error("Cannot find Nx workspace root");
|
|
279
279
|
}
|
|
280
|
-
const config = await
|
|
280
|
+
const config = await _chunk46PMAU4Vcjs.loadStormConfig.call(void 0, workspaceRoot.dir);
|
|
281
281
|
_chunkTNCZJEAMcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
282
282
|
const stopwatch = _chunkTNCZJEAMcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
283
283
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
@@ -293,16 +293,16 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
293
293
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _14 => _14.projects, 'optionalAccess', _15 => _15[projectName]])) {
|
|
294
294
|
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.");
|
|
295
295
|
}
|
|
296
|
-
const options = _defu2.default.call(void 0, userOptions,
|
|
296
|
+
const options = _defu2.default.call(void 0, userOptions, _chunk46PMAU4Vcjs.DEFAULT_BUILD_OPTIONS);
|
|
297
297
|
options.name ??= `${projectName}-${options.format}`;
|
|
298
|
-
options.target ??=
|
|
298
|
+
options.target ??= _chunk46PMAU4Vcjs.DEFAULT_TARGET;
|
|
299
299
|
const packageJsonPath = _chunkLVWQSCJMcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
300
300
|
if (!await _node.hfs.isFile(packageJsonPath)) {
|
|
301
301
|
throw new Error("Cannot find package.json configuration");
|
|
302
302
|
}
|
|
303
303
|
const packageJson = await _node.hfs.json(packageJsonPath);
|
|
304
|
-
const outExtension =
|
|
305
|
-
const env =
|
|
304
|
+
const outExtension = _chunk46PMAU4Vcjs.getOutputExtensionMap.call(void 0, options, packageJson.type);
|
|
305
|
+
const env = _chunk46PMAU4Vcjs.getEnv.call(void 0, "esbuild", options);
|
|
306
306
|
const result = {
|
|
307
307
|
...options,
|
|
308
308
|
config,
|
|
@@ -322,7 +322,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
322
322
|
...userOptions,
|
|
323
323
|
tsconfig: _chunkLVWQSCJMcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
324
324
|
format: options.format || "cjs",
|
|
325
|
-
entryPoints: await
|
|
325
|
+
entryPoints: await _chunk46PMAU4Vcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
326
326
|
"./src/index.ts"
|
|
327
327
|
], userOptions.emitOnAll),
|
|
328
328
|
outdir: userOptions.outputPath || _chunkLVWQSCJMcjs.joinPaths.call(void 0, "dist", projectRoot),
|
|
@@ -347,8 +347,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
347
347
|
outExtension,
|
|
348
348
|
footer: userOptions.footer,
|
|
349
349
|
banner: {
|
|
350
|
-
js: options.banner ||
|
|
351
|
-
css: options.banner ||
|
|
350
|
+
js: options.banner || _chunk46PMAU4Vcjs.DEFAULT_COMPILED_BANNER,
|
|
351
|
+
css: options.banner || _chunk46PMAU4Vcjs.DEFAULT_COMPILED_BANNER
|
|
352
352
|
},
|
|
353
353
|
splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
|
|
354
354
|
treeShaking: options.format === "esm",
|
|
@@ -374,7 +374,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
374
374
|
..._nullishCoalesce(options.inject, () => ( []))
|
|
375
375
|
].filter(Boolean)
|
|
376
376
|
};
|
|
377
|
-
result.plugins = _nullishCoalesce(userOptions.plugins, () => (
|
|
377
|
+
result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunk46PMAU4Vcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
|
|
378
378
|
stopwatch();
|
|
379
379
|
return result;
|
|
380
380
|
}, "resolveOptions");
|
|
@@ -390,11 +390,11 @@ async function generatePackageJson(context2) {
|
|
|
390
390
|
if (!packageJson) {
|
|
391
391
|
throw new Error("Cannot find package.json configuration file");
|
|
392
392
|
}
|
|
393
|
-
packageJson = await
|
|
394
|
-
packageJson = await
|
|
393
|
+
packageJson = await _chunk46PMAU4Vcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
|
|
394
|
+
packageJson = await _chunk46PMAU4Vcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
|
|
395
395
|
packageJson.exports ??= {};
|
|
396
396
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
397
|
-
packageJson.exports["."] ??=
|
|
397
|
+
packageJson.exports["."] ??= _chunk46PMAU4Vcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
|
|
398
398
|
let entryPoints = [
|
|
399
399
|
{
|
|
400
400
|
in: "./src/index.ts",
|
|
@@ -412,7 +412,7 @@ async function generatePackageJson(context2) {
|
|
|
412
412
|
const split = entryPoint.out.split(".");
|
|
413
413
|
split.pop();
|
|
414
414
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
415
|
-
packageJson.exports[`./${entry}`] ??=
|
|
415
|
+
packageJson.exports[`./${entry}`] ??= _chunk46PMAU4Vcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -469,7 +469,7 @@ async function copyBuildAssets(context2) {
|
|
|
469
469
|
if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
|
|
470
470
|
_chunkTNCZJEAMcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
471
471
|
const stopwatch = _chunkTNCZJEAMcjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
472
|
-
await
|
|
472
|
+
await _chunk46PMAU4Vcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
|
|
473
473
|
stopwatch();
|
|
474
474
|
}
|
|
475
475
|
return context2;
|
|
@@ -605,8 +605,10 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
|
|
|
605
605
|
if (!buildTarget) {
|
|
606
606
|
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkLVWQSCJMcjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
|
|
607
607
|
}
|
|
608
|
+
_chunkTNCZJEAMcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
609
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkLVWQSCJMcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
608
610
|
const result = await _js.copyAssets.call(void 0, {
|
|
609
|
-
assets,
|
|
611
|
+
assets: pendingAssets,
|
|
610
612
|
watch: false,
|
|
611
613
|
outputPath
|
|
612
614
|
}, {
|
|
@@ -605,8 +605,10 @@ var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, proje
|
|
|
605
605
|
if (!buildTarget) {
|
|
606
606
|
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${joinPaths(projectRoot, "project.json")}`);
|
|
607
607
|
}
|
|
608
|
+
writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
|
|
609
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
608
610
|
const result = await copyAssetsBase({
|
|
609
|
-
assets,
|
|
611
|
+
assets: pendingAssets,
|
|
610
612
|
watch: false,
|
|
611
613
|
outputPath
|
|
612
614
|
}, {
|
package/dist/clean.d.cts
CHANGED
|
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
40
40
|
build: z.ZodDefault<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
build: string;
|
|
43
|
-
config?: string | undefined;
|
|
44
43
|
cache?: string | undefined;
|
|
45
44
|
data?: string | undefined;
|
|
45
|
+
config?: string | undefined;
|
|
46
46
|
temp?: string | undefined;
|
|
47
47
|
log?: string | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
config?: string | undefined;
|
|
50
49
|
cache?: string | undefined;
|
|
51
50
|
data?: string | undefined;
|
|
51
|
+
config?: string | undefined;
|
|
52
52
|
temp?: string | undefined;
|
|
53
53
|
log?: string | undefined;
|
|
54
54
|
build?: string | undefined;
|
|
@@ -794,8 +794,6 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
794
794
|
}>]>>]>]>;
|
|
795
795
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
796
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
-
logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
798
|
-
env: "development" | "staging" | "production";
|
|
799
797
|
organization: string;
|
|
800
798
|
license: string;
|
|
801
799
|
homepage: string;
|
|
@@ -807,20 +805,22 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
807
805
|
name: string;
|
|
808
806
|
email: string;
|
|
809
807
|
};
|
|
808
|
+
env: "development" | "staging" | "production";
|
|
810
809
|
workspaceRoot: string;
|
|
811
810
|
externalPackagePatterns: string[];
|
|
812
811
|
skipCache: boolean;
|
|
813
812
|
directories: {
|
|
814
813
|
build: string;
|
|
815
|
-
config?: string | undefined;
|
|
816
814
|
cache?: string | undefined;
|
|
817
815
|
data?: string | undefined;
|
|
816
|
+
config?: string | undefined;
|
|
818
817
|
temp?: string | undefined;
|
|
819
818
|
log?: string | undefined;
|
|
820
819
|
};
|
|
821
820
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
822
821
|
timezone: string;
|
|
823
822
|
locale: string;
|
|
823
|
+
logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
824
824
|
registry: {
|
|
825
825
|
npm?: string | undefined;
|
|
826
826
|
github?: string | undefined;
|
|
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
977
977
|
};
|
|
978
978
|
}>;
|
|
979
979
|
extensions: Record<string, any>;
|
|
980
|
-
name?: string | undefined;
|
|
981
980
|
$schema?: string | null | undefined;
|
|
982
981
|
extends?: string | undefined;
|
|
982
|
+
name?: string | undefined;
|
|
983
983
|
namespace?: string | undefined;
|
|
984
984
|
repository?: string | undefined;
|
|
985
985
|
preid?: string | undefined;
|
|
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
989
989
|
email?: string | undefined;
|
|
990
990
|
};
|
|
991
991
|
directories: {
|
|
992
|
-
config?: string | undefined;
|
|
993
992
|
cache?: string | undefined;
|
|
994
993
|
data?: string | undefined;
|
|
994
|
+
config?: string | undefined;
|
|
995
995
|
temp?: string | undefined;
|
|
996
996
|
log?: string | undefined;
|
|
997
997
|
build?: string | undefined;
|
|
@@ -1143,11 +1143,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1143
1143
|
background?: string | undefined;
|
|
1144
1144
|
};
|
|
1145
1145
|
}>;
|
|
1146
|
-
logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1147
|
-
name?: string | undefined;
|
|
1148
|
-
env?: "development" | "staging" | "production" | undefined;
|
|
1149
1146
|
$schema?: string | null | undefined;
|
|
1150
1147
|
extends?: string | undefined;
|
|
1148
|
+
name?: string | undefined;
|
|
1151
1149
|
namespace?: string | undefined;
|
|
1152
1150
|
organization?: string | undefined;
|
|
1153
1151
|
repository?: string | undefined;
|
|
@@ -1158,12 +1156,14 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1158
1156
|
branch?: string | undefined;
|
|
1159
1157
|
preid?: string | undefined;
|
|
1160
1158
|
owner?: string | undefined;
|
|
1159
|
+
env?: "development" | "staging" | "production" | undefined;
|
|
1161
1160
|
workspaceRoot?: string | undefined;
|
|
1162
1161
|
externalPackagePatterns?: string[] | undefined;
|
|
1163
1162
|
skipCache?: boolean | undefined;
|
|
1164
1163
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1165
1164
|
timezone?: string | undefined;
|
|
1166
1165
|
locale?: string | undefined;
|
|
1166
|
+
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1167
1167
|
registry?: {
|
|
1168
1168
|
npm?: string | undefined;
|
|
1169
1169
|
github?: string | undefined;
|
package/dist/clean.d.ts
CHANGED
|
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
40
40
|
build: z.ZodDefault<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
build: string;
|
|
43
|
-
config?: string | undefined;
|
|
44
43
|
cache?: string | undefined;
|
|
45
44
|
data?: string | undefined;
|
|
45
|
+
config?: string | undefined;
|
|
46
46
|
temp?: string | undefined;
|
|
47
47
|
log?: string | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
config?: string | undefined;
|
|
50
49
|
cache?: string | undefined;
|
|
51
50
|
data?: string | undefined;
|
|
51
|
+
config?: string | undefined;
|
|
52
52
|
temp?: string | undefined;
|
|
53
53
|
log?: string | undefined;
|
|
54
54
|
build?: string | undefined;
|
|
@@ -794,8 +794,6 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
794
794
|
}>]>>]>]>;
|
|
795
795
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
796
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
-
logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
798
|
-
env: "development" | "staging" | "production";
|
|
799
797
|
organization: string;
|
|
800
798
|
license: string;
|
|
801
799
|
homepage: string;
|
|
@@ -807,20 +805,22 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
807
805
|
name: string;
|
|
808
806
|
email: string;
|
|
809
807
|
};
|
|
808
|
+
env: "development" | "staging" | "production";
|
|
810
809
|
workspaceRoot: string;
|
|
811
810
|
externalPackagePatterns: string[];
|
|
812
811
|
skipCache: boolean;
|
|
813
812
|
directories: {
|
|
814
813
|
build: string;
|
|
815
|
-
config?: string | undefined;
|
|
816
814
|
cache?: string | undefined;
|
|
817
815
|
data?: string | undefined;
|
|
816
|
+
config?: string | undefined;
|
|
818
817
|
temp?: string | undefined;
|
|
819
818
|
log?: string | undefined;
|
|
820
819
|
};
|
|
821
820
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
822
821
|
timezone: string;
|
|
823
822
|
locale: string;
|
|
823
|
+
logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
824
824
|
registry: {
|
|
825
825
|
npm?: string | undefined;
|
|
826
826
|
github?: string | undefined;
|
|
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
977
977
|
};
|
|
978
978
|
}>;
|
|
979
979
|
extensions: Record<string, any>;
|
|
980
|
-
name?: string | undefined;
|
|
981
980
|
$schema?: string | null | undefined;
|
|
982
981
|
extends?: string | undefined;
|
|
982
|
+
name?: string | undefined;
|
|
983
983
|
namespace?: string | undefined;
|
|
984
984
|
repository?: string | undefined;
|
|
985
985
|
preid?: string | undefined;
|
|
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
989
989
|
email?: string | undefined;
|
|
990
990
|
};
|
|
991
991
|
directories: {
|
|
992
|
-
config?: string | undefined;
|
|
993
992
|
cache?: string | undefined;
|
|
994
993
|
data?: string | undefined;
|
|
994
|
+
config?: string | undefined;
|
|
995
995
|
temp?: string | undefined;
|
|
996
996
|
log?: string | undefined;
|
|
997
997
|
build?: string | undefined;
|
|
@@ -1143,11 +1143,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1143
1143
|
background?: string | undefined;
|
|
1144
1144
|
};
|
|
1145
1145
|
}>;
|
|
1146
|
-
logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1147
|
-
name?: string | undefined;
|
|
1148
|
-
env?: "development" | "staging" | "production" | undefined;
|
|
1149
1146
|
$schema?: string | null | undefined;
|
|
1150
1147
|
extends?: string | undefined;
|
|
1148
|
+
name?: string | undefined;
|
|
1151
1149
|
namespace?: string | undefined;
|
|
1152
1150
|
organization?: string | undefined;
|
|
1153
1151
|
repository?: string | undefined;
|
|
@@ -1158,12 +1156,14 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1158
1156
|
branch?: string | undefined;
|
|
1159
1157
|
preid?: string | undefined;
|
|
1160
1158
|
owner?: string | undefined;
|
|
1159
|
+
env?: "development" | "staging" | "production" | undefined;
|
|
1161
1160
|
workspaceRoot?: string | undefined;
|
|
1162
1161
|
externalPackagePatterns?: string[] | undefined;
|
|
1163
1162
|
skipCache?: boolean | undefined;
|
|
1164
1163
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1165
1164
|
timezone?: string | undefined;
|
|
1166
1165
|
locale?: string | undefined;
|
|
1166
|
+
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1167
1167
|
registry?: {
|
|
1168
1168
|
npm?: string | undefined;
|
|
1169
1169
|
github?: string | undefined;
|
package/dist/config.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk46PMAU4Vcjs = require('./chunk-46PMAU4V.cjs');
|
|
6
6
|
require('./chunk-S6M44SSZ.cjs');
|
|
7
7
|
require('./chunk-WRBUO7H6.cjs');
|
|
8
8
|
require('./chunk-I3JFFJC5.cjs');
|
|
@@ -17,4 +17,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
20
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk46PMAU4Vcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunk46PMAU4Vcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk46PMAU4Vcjs.getOutputExtensionMap;
|
package/dist/config.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2ZAUTQXXcjs = require('./chunk-2ZAUTQXX.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkHPSHBBVGcjs = require('./chunk-HPSHBBVG.cjs');
|
|
@@ -14,7 +14,7 @@ var _chunkHPSHBBVGcjs = require('./chunk-HPSHBBVG.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk46PMAU4Vcjs = require('./chunk-46PMAU4V.cjs');
|
|
18
18
|
require('./chunk-S6M44SSZ.cjs');
|
|
19
19
|
require('./chunk-WRBUO7H6.cjs');
|
|
20
20
|
require('./chunk-I3JFFJC5.cjs');
|
|
@@ -39,4 +39,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
42
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk46PMAU4Vcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunk2ZAUTQXXcjs.Filter; exports.Mapper = _chunk2ZAUTQXXcjs.Mapper; exports.build = _chunk2ZAUTQXXcjs.build; exports.clean = _chunkHPSHBBVGcjs.clean; exports.getDefaultBuildPlugins = _chunk46PMAU4Vcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk46PMAU4Vcjs.getOutputExtensionMap; exports.handle = _chunk2ZAUTQXXcjs.handle; exports.pipe = _chunk2ZAUTQXXcjs.pipe; exports.skip = _chunk2ZAUTQXXcjs.skip; exports.transduce = _chunk2ZAUTQXXcjs.transduce;
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
pipe,
|
|
7
7
|
skip,
|
|
8
8
|
transduce
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GABSHGMX.js";
|
|
10
10
|
import {
|
|
11
11
|
clean
|
|
12
12
|
} from "./chunk-ZHJADIB7.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
DEFAULT_BUILD_OPTIONS,
|
|
15
15
|
getDefaultBuildPlugins,
|
|
16
16
|
getOutputExtensionMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KTKILKNC.js";
|
|
18
18
|
import "./chunk-T5272PC2.js";
|
|
19
19
|
import "./chunk-LYDEMC26.js";
|
|
20
20
|
import "./chunk-LGGKK6QN.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/esbuild",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.2",
|
|
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": "0.135.
|
|
176
|
-
"@storm-software/config": "1.98.
|
|
177
|
-
"@storm-software/config-tools": "1.141.
|
|
175
|
+
"@storm-software/build-tools": "0.135.4",
|
|
176
|
+
"@storm-software/config": "1.98.2",
|
|
177
|
+
"@storm-software/config-tools": "1.141.4",
|
|
178
178
|
"@types/node": "^22.10.2",
|
|
179
179
|
"defu": "6.1.4",
|
|
180
180
|
"esbuild": "^0.24.0",
|