@storm-software/esbuild 0.33.0 → 0.33.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 +2 -1
- package/dist/build.cjs +3 -3
- package/dist/build.d.cts +1 -1
- package/dist/build.d.ts +1 -1
- package/dist/build.js +2 -2
- package/dist/{chunk-EJPPABAC.cjs → chunk-CH6OII7B.cjs} +8 -8
- package/dist/{chunk-GSA2CQQ4.js → chunk-HTVMQVFT.js} +11 -2
- package/dist/{chunk-4IBTD3PS.js → chunk-L6SPT5J7.js} +1 -1
- package/dist/{chunk-LRSBVM7V.cjs → chunk-NWVUAY67.cjs} +10 -1
- package/dist/clean.d.cts +1 -1
- package/dist/clean.d.ts +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/plugins/esm-split-code-to-cjs.d.cts +1 -1
- package/dist/plugins/esm-split-code-to-cjs.d.ts +1 -1
- package/dist/plugins/fix-imports.d.cts +1 -1
- package/dist/plugins/fix-imports.d.ts +1 -1
- package/dist/plugins/native-node-module.d.cts +1 -1
- package/dist/plugins/native-node-module.d.ts +1 -1
- package/dist/plugins/node-protocol.d.cts +1 -1
- package/dist/plugins/node-protocol.d.ts +1 -1
- package/dist/plugins/on-error.d.cts +1 -1
- package/dist/plugins/on-error.d.ts +1 -1
- package/dist/plugins/resolve-paths.d.cts +1 -1
- package/dist/plugins/resolve-paths.d.ts +1 -1
- package/dist/plugins/tsc.d.cts +1 -1
- package/dist/plugins/tsc.d.ts +1 -1
- package/dist/tsc.d.cts +1 -1
- package/dist/tsc.d.ts +1 -1
- package/dist/{types-B4jbZA4j.d.cts → types-DwxFThZu.d.cts} +14 -14
- package/dist/{types-B4jbZA4j.d.ts → types-DwxFThZu.d.ts} +14 -14
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +8 -8
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 -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm ESBuild Package](#storm-esbuild-package)
|
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 _chunkCH6OII7Bcjs = require('./chunk-CH6OII7B.cjs');
|
|
5
5
|
require('./chunk-Y4XWI6JJ.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-NWVUAY67.cjs');
|
|
7
7
|
require('./chunk-EZGTDCYM.cjs');
|
|
8
8
|
require('./chunk-S6M44SSZ.cjs');
|
|
9
9
|
require('./chunk-WRBUO7H6.cjs');
|
|
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.build =
|
|
21
|
+
exports.build = _chunkCH6OII7Bcjs.build; exports.watch = _chunkCH6OII7Bcjs.watch;
|
package/dist/build.d.cts
CHANGED
package/dist/build.d.ts
CHANGED
package/dist/build.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build,
|
|
3
3
|
watch
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L6SPT5J7.js";
|
|
5
5
|
import "./chunk-35YNFZCF.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-HTVMQVFT.js";
|
|
7
7
|
import "./chunk-GWG4HOQ6.js";
|
|
8
8
|
import "./chunk-T5272PC2.js";
|
|
9
9
|
import "./chunk-LYDEMC26.js";
|
|
@@ -9,7 +9,7 @@ var _chunkY4XWI6JJcjs = require('./chunk-Y4XWI6JJ.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkMWGFCZF4cjs = require('./chunk-MWGFCZF4.cjs');
|
|
@@ -121,7 +121,7 @@ async function resolveContext(userOptions) {
|
|
|
121
121
|
if (!workspaceRoot) {
|
|
122
122
|
throw new Error("Cannot find Nx workspace root");
|
|
123
123
|
}
|
|
124
|
-
const workspaceConfig = await
|
|
124
|
+
const workspaceConfig = await _chunkNWVUAY67cjs.getWorkspaceConfig.call(void 0, true, {
|
|
125
125
|
workspaceRoot: workspaceRoot.dir
|
|
126
126
|
});
|
|
127
127
|
_chunkY3LXNK5Ccjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -140,14 +140,14 @@ async function resolveContext(userOptions) {
|
|
|
140
140
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _5 => _5.projects, 'optionalAccess', _6 => _6[projectName]])) {
|
|
141
141
|
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.");
|
|
142
142
|
}
|
|
143
|
-
const options = _defu2.default.call(void 0, userOptions,
|
|
143
|
+
const options = _defu2.default.call(void 0, userOptions, _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS);
|
|
144
144
|
options.name ??= `${projectName}-${options.format}`;
|
|
145
|
-
options.target ??=
|
|
145
|
+
options.target ??= _chunkNWVUAY67cjs.DEFAULT_TARGET;
|
|
146
146
|
const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
147
147
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
148
148
|
throw new Error("Cannot find package.json configuration");
|
|
149
149
|
}
|
|
150
|
-
const env =
|
|
150
|
+
const env = _chunkNWVUAY67cjs.getEnv.call(void 0, "esbuild", options);
|
|
151
151
|
const resolvedOptions = {
|
|
152
152
|
...options,
|
|
153
153
|
tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
@@ -200,8 +200,8 @@ async function generatePackageJson(context) {
|
|
|
200
200
|
if (!packageJson) {
|
|
201
201
|
throw new Error("Cannot find package.json configuration file");
|
|
202
202
|
}
|
|
203
|
-
packageJson = await
|
|
204
|
-
packageJson = await
|
|
203
|
+
packageJson = await _chunkNWVUAY67cjs.addPackageDependencies.call(void 0, context.workspaceConfig.workspaceRoot, context.options.projectRoot, context.projectName, packageJson);
|
|
204
|
+
packageJson = await _chunkNWVUAY67cjs.addWorkspacePackageJsonFields.call(void 0, context.workspaceConfig, context.options.projectRoot, context.sourceRoot, context.projectName, false, packageJson);
|
|
205
205
|
if (context.options.entry) {
|
|
206
206
|
packageJson.exports ??= {};
|
|
207
207
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
@@ -248,7 +248,7 @@ async function copyBuildAssets(context) {
|
|
|
248
248
|
if (_optionalChain([context, 'access', _7 => _7.result, 'optionalAccess', _8 => _8.errors, 'access', _9 => _9.length]) === 0) {
|
|
249
249
|
_chunkY3LXNK5Ccjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
250
250
|
const stopwatch = _chunkY3LXNK5Ccjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
251
|
-
await
|
|
251
|
+
await _chunkNWVUAY67cjs.copyAssets.call(void 0, context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
|
|
252
252
|
stopwatch();
|
|
253
253
|
}
|
|
254
254
|
return context;
|
|
@@ -127,9 +127,18 @@ import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildabl
|
|
|
127
127
|
import { Glob } from "glob";
|
|
128
128
|
import { existsSync, readFileSync } from "node:fs";
|
|
129
129
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
130
|
-
import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
|
|
130
|
+
import { createProjectGraphAsync, readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
|
|
131
131
|
var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
|
|
132
|
-
|
|
132
|
+
let projectGraph;
|
|
133
|
+
try {
|
|
134
|
+
projectGraph = readCachedProjectGraph();
|
|
135
|
+
} catch {
|
|
136
|
+
await createProjectGraphAsync();
|
|
137
|
+
projectGraph = readCachedProjectGraph();
|
|
138
|
+
}
|
|
139
|
+
if (!projectGraph) {
|
|
140
|
+
throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
|
|
141
|
+
}
|
|
133
142
|
const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
134
143
|
const localPackages = [];
|
|
135
144
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot)) {
|
|
@@ -129,7 +129,16 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
|
129
129
|
|
|
130
130
|
var _projectgraph = require('nx/src/project-graph/project-graph');
|
|
131
131
|
var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
|
|
132
|
-
|
|
132
|
+
let projectGraph;
|
|
133
|
+
try {
|
|
134
|
+
projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
|
|
135
|
+
} catch (e) {
|
|
136
|
+
await _projectgraph.createProjectGraphAsync.call(void 0, );
|
|
137
|
+
projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
|
|
138
|
+
}
|
|
139
|
+
if (!projectGraph) {
|
|
140
|
+
throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
|
|
141
|
+
}
|
|
133
142
|
const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
134
143
|
const localPackages = [];
|
|
135
144
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _ => _.node, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.root]) !== projectRoot && _optionalChain([dep, 'access', _4 => _4.node, 'access', _5 => _5.data, 'optionalAccess', _6 => _6.root]) !== workspaceRoot)) {
|
package/dist/clean.d.cts
CHANGED
package/dist/clean.d.ts
CHANGED
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 _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
|
|
5
5
|
require('./chunk-EZGTDCYM.cjs');
|
|
6
6
|
require('./chunk-S6M44SSZ.cjs');
|
|
7
7
|
require('./chunk-WRBUO7H6.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 = _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkNWVUAY67cjs.getDefaultBuildPlugins;
|
package/dist/config.d.cts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkCH6OII7Bcjs = require('./chunk-CH6OII7B.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ var _chunkY4XWI6JJcjs = require('./chunk-Y4XWI6JJ.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
|
|
19
19
|
require('./chunk-EZGTDCYM.cjs');
|
|
20
20
|
require('./chunk-S6M44SSZ.cjs');
|
|
21
21
|
require('./chunk-WRBUO7H6.cjs');
|
|
@@ -53,4 +53,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
56
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkCH6OII7Bcjs.Filter; exports.Mapper = _chunkCH6OII7Bcjs.Mapper; exports.build = _chunkCH6OII7Bcjs.build; exports.clean = _chunkY4XWI6JJcjs.clean; exports.cleanDirectories = _chunkY4XWI6JJcjs.cleanDirectories; exports.emitDts = _chunkETTFFUNGcjs.emitDts; exports.emitDtsFiles = _chunkETTFFUNGcjs.emitDtsFiles; exports.ensureTempDeclarationDir = _chunkETTFFUNGcjs.ensureTempDeclarationDir; exports.getDefaultBuildPlugins = _chunkNWVUAY67cjs.getDefaultBuildPlugins; exports.handle = _chunkCH6OII7Bcjs.handle; exports.pipe = _chunkCH6OII7Bcjs.pipe; exports.skip = _chunkCH6OII7Bcjs.skip; exports.slash = _chunkETTFFUNGcjs.slash; exports.toAbsolutePath = _chunkETTFFUNGcjs.toAbsolutePath; exports.transduce = _chunkCH6OII7Bcjs.transduce; exports.watch = _chunkCH6OII7Bcjs.watch;
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins } from './config.cjs';
|
|
|
4
4
|
export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath } from './tsc.cjs';
|
|
5
5
|
export { ESBuildCLIOptions, ESBuildContext, ESBuildOptions, ESBuildResult, ExportDeclaration, MaybePromise } from './types.cjs';
|
|
6
6
|
import 'esbuild';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-DwxFThZu.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'typescript';
|
|
10
10
|
import '@nx/devkit';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins } from './config.js';
|
|
|
4
4
|
export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath } from './tsc.js';
|
|
5
5
|
export { ESBuildCLIOptions, ESBuildContext, ESBuildOptions, ESBuildResult, ExportDeclaration, MaybePromise } from './types.js';
|
|
6
6
|
import 'esbuild';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-DwxFThZu.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'typescript';
|
|
10
10
|
import '@nx/devkit';
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
skip,
|
|
8
8
|
transduce,
|
|
9
9
|
watch
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L6SPT5J7.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-HTVMQVFT.js";
|
|
19
19
|
import "./chunk-GWG4HOQ6.js";
|
|
20
20
|
import "./chunk-T5272PC2.js";
|
|
21
21
|
import "./chunk-LYDEMC26.js";
|
package/dist/plugins/tsc.d.cts
CHANGED
package/dist/plugins/tsc.d.ts
CHANGED
package/dist/tsc.d.cts
CHANGED
package/dist/tsc.d.ts
CHANGED
|
@@ -33,13 +33,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
33
33
|
header: z.ZodOptional<z.ZodString>;
|
|
34
34
|
footer: z.ZodDefault<z.ZodString>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
banner: string;
|
|
37
36
|
footer: string;
|
|
37
|
+
banner: string;
|
|
38
38
|
header?: string | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
footer?: string | undefined;
|
|
40
41
|
banner?: string | undefined;
|
|
41
42
|
header?: string | undefined;
|
|
42
|
-
footer?: string | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
account: z.ZodObject<{
|
|
45
45
|
twitter: z.ZodDefault<z.ZodString>;
|
|
@@ -86,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
86
86
|
build: z.ZodDefault<z.ZodString>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
build: string;
|
|
89
|
+
config?: string | undefined;
|
|
89
90
|
cache?: string | undefined;
|
|
90
91
|
data?: string | undefined;
|
|
91
|
-
config?: string | undefined;
|
|
92
92
|
temp?: string | undefined;
|
|
93
93
|
log?: string | undefined;
|
|
94
94
|
}, {
|
|
95
|
+
config?: string | undefined;
|
|
95
96
|
cache?: string | undefined;
|
|
96
97
|
data?: string | undefined;
|
|
97
|
-
config?: string | undefined;
|
|
98
98
|
temp?: string | undefined;
|
|
99
99
|
log?: string | undefined;
|
|
100
100
|
build?: string | undefined;
|
|
@@ -841,6 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
841
841
|
}>]>>]>]>;
|
|
842
842
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
843
843
|
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
mode: "development" | "staging" | "production";
|
|
844
845
|
organization: string;
|
|
845
846
|
license: string;
|
|
846
847
|
homepage: string;
|
|
@@ -854,8 +855,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
854
855
|
email: string;
|
|
855
856
|
};
|
|
856
857
|
release: {
|
|
857
|
-
banner: string;
|
|
858
858
|
footer: string;
|
|
859
|
+
banner: string;
|
|
859
860
|
header?: string | undefined;
|
|
860
861
|
};
|
|
861
862
|
account: {
|
|
@@ -870,22 +871,21 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
870
871
|
codesFile: string;
|
|
871
872
|
url?: string | undefined;
|
|
872
873
|
};
|
|
873
|
-
mode: "development" | "staging" | "production";
|
|
874
874
|
workspaceRoot: string;
|
|
875
875
|
externalPackagePatterns: string[];
|
|
876
876
|
skipCache: boolean;
|
|
877
877
|
directories: {
|
|
878
878
|
build: string;
|
|
879
|
+
config?: string | undefined;
|
|
879
880
|
cache?: string | undefined;
|
|
880
881
|
data?: string | undefined;
|
|
881
|
-
config?: string | undefined;
|
|
882
882
|
temp?: string | undefined;
|
|
883
883
|
log?: string | undefined;
|
|
884
884
|
};
|
|
885
885
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
886
886
|
timezone: string;
|
|
887
887
|
locale: string;
|
|
888
|
-
logLevel: "
|
|
888
|
+
logLevel: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
889
889
|
registry: {
|
|
890
890
|
github?: string | undefined;
|
|
891
891
|
npm?: string | undefined;
|
|
@@ -1042,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1042
1042
|
};
|
|
1043
1043
|
}>;
|
|
1044
1044
|
extensions: Record<string, any>;
|
|
1045
|
+
name?: string | undefined;
|
|
1045
1046
|
$schema?: string | null | undefined;
|
|
1046
1047
|
extends?: string | string[] | undefined;
|
|
1047
|
-
name?: string | undefined;
|
|
1048
1048
|
namespace?: string | undefined;
|
|
1049
1049
|
repository?: string | undefined;
|
|
1050
1050
|
preid?: string | undefined;
|
|
@@ -1055,9 +1055,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1055
1055
|
email?: string | undefined;
|
|
1056
1056
|
};
|
|
1057
1057
|
release: {
|
|
1058
|
+
footer?: string | undefined;
|
|
1058
1059
|
banner?: string | undefined;
|
|
1059
1060
|
header?: string | undefined;
|
|
1060
|
-
footer?: string | undefined;
|
|
1061
1061
|
};
|
|
1062
1062
|
account: {
|
|
1063
1063
|
twitter?: string | undefined;
|
|
@@ -1073,9 +1073,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1073
1073
|
};
|
|
1074
1074
|
workspaceRoot: string;
|
|
1075
1075
|
directories: {
|
|
1076
|
+
config?: string | undefined;
|
|
1076
1077
|
cache?: string | undefined;
|
|
1077
1078
|
data?: string | undefined;
|
|
1078
|
-
config?: string | undefined;
|
|
1079
1079
|
temp?: string | undefined;
|
|
1080
1080
|
log?: string | undefined;
|
|
1081
1081
|
build?: string | undefined;
|
|
@@ -1227,9 +1227,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1227
1227
|
background?: string | undefined;
|
|
1228
1228
|
};
|
|
1229
1229
|
}>;
|
|
1230
|
+
name?: string | undefined;
|
|
1231
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
1230
1232
|
$schema?: string | null | undefined;
|
|
1231
1233
|
extends?: string | string[] | undefined;
|
|
1232
|
-
name?: string | undefined;
|
|
1233
1234
|
namespace?: string | undefined;
|
|
1234
1235
|
organization?: string | undefined;
|
|
1235
1236
|
repository?: string | undefined;
|
|
@@ -1241,13 +1242,12 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1241
1242
|
branch?: string | undefined;
|
|
1242
1243
|
preid?: string | undefined;
|
|
1243
1244
|
owner?: string | undefined;
|
|
1244
|
-
mode?: "development" | "staging" | "production" | undefined;
|
|
1245
1245
|
externalPackagePatterns?: string[] | undefined;
|
|
1246
1246
|
skipCache?: boolean | undefined;
|
|
1247
1247
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1248
1248
|
timezone?: string | undefined;
|
|
1249
1249
|
locale?: string | undefined;
|
|
1250
|
-
logLevel?: "
|
|
1250
|
+
logLevel?: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1251
1251
|
skipConfigLogging?: boolean | undefined;
|
|
1252
1252
|
registry?: {
|
|
1253
1253
|
github?: string | undefined;
|
|
@@ -33,13 +33,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
33
33
|
header: z.ZodOptional<z.ZodString>;
|
|
34
34
|
footer: z.ZodDefault<z.ZodString>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
banner: string;
|
|
37
36
|
footer: string;
|
|
37
|
+
banner: string;
|
|
38
38
|
header?: string | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
footer?: string | undefined;
|
|
40
41
|
banner?: string | undefined;
|
|
41
42
|
header?: string | undefined;
|
|
42
|
-
footer?: string | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
account: z.ZodObject<{
|
|
45
45
|
twitter: z.ZodDefault<z.ZodString>;
|
|
@@ -86,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
86
86
|
build: z.ZodDefault<z.ZodString>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
build: string;
|
|
89
|
+
config?: string | undefined;
|
|
89
90
|
cache?: string | undefined;
|
|
90
91
|
data?: string | undefined;
|
|
91
|
-
config?: string | undefined;
|
|
92
92
|
temp?: string | undefined;
|
|
93
93
|
log?: string | undefined;
|
|
94
94
|
}, {
|
|
95
|
+
config?: string | undefined;
|
|
95
96
|
cache?: string | undefined;
|
|
96
97
|
data?: string | undefined;
|
|
97
|
-
config?: string | undefined;
|
|
98
98
|
temp?: string | undefined;
|
|
99
99
|
log?: string | undefined;
|
|
100
100
|
build?: string | undefined;
|
|
@@ -841,6 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
841
841
|
}>]>>]>]>;
|
|
842
842
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
843
843
|
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
mode: "development" | "staging" | "production";
|
|
844
845
|
organization: string;
|
|
845
846
|
license: string;
|
|
846
847
|
homepage: string;
|
|
@@ -854,8 +855,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
854
855
|
email: string;
|
|
855
856
|
};
|
|
856
857
|
release: {
|
|
857
|
-
banner: string;
|
|
858
858
|
footer: string;
|
|
859
|
+
banner: string;
|
|
859
860
|
header?: string | undefined;
|
|
860
861
|
};
|
|
861
862
|
account: {
|
|
@@ -870,22 +871,21 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
870
871
|
codesFile: string;
|
|
871
872
|
url?: string | undefined;
|
|
872
873
|
};
|
|
873
|
-
mode: "development" | "staging" | "production";
|
|
874
874
|
workspaceRoot: string;
|
|
875
875
|
externalPackagePatterns: string[];
|
|
876
876
|
skipCache: boolean;
|
|
877
877
|
directories: {
|
|
878
878
|
build: string;
|
|
879
|
+
config?: string | undefined;
|
|
879
880
|
cache?: string | undefined;
|
|
880
881
|
data?: string | undefined;
|
|
881
|
-
config?: string | undefined;
|
|
882
882
|
temp?: string | undefined;
|
|
883
883
|
log?: string | undefined;
|
|
884
884
|
};
|
|
885
885
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
886
886
|
timezone: string;
|
|
887
887
|
locale: string;
|
|
888
|
-
logLevel: "
|
|
888
|
+
logLevel: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
889
889
|
registry: {
|
|
890
890
|
github?: string | undefined;
|
|
891
891
|
npm?: string | undefined;
|
|
@@ -1042,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1042
1042
|
};
|
|
1043
1043
|
}>;
|
|
1044
1044
|
extensions: Record<string, any>;
|
|
1045
|
+
name?: string | undefined;
|
|
1045
1046
|
$schema?: string | null | undefined;
|
|
1046
1047
|
extends?: string | string[] | undefined;
|
|
1047
|
-
name?: string | undefined;
|
|
1048
1048
|
namespace?: string | undefined;
|
|
1049
1049
|
repository?: string | undefined;
|
|
1050
1050
|
preid?: string | undefined;
|
|
@@ -1055,9 +1055,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1055
1055
|
email?: string | undefined;
|
|
1056
1056
|
};
|
|
1057
1057
|
release: {
|
|
1058
|
+
footer?: string | undefined;
|
|
1058
1059
|
banner?: string | undefined;
|
|
1059
1060
|
header?: string | undefined;
|
|
1060
|
-
footer?: string | undefined;
|
|
1061
1061
|
};
|
|
1062
1062
|
account: {
|
|
1063
1063
|
twitter?: string | undefined;
|
|
@@ -1073,9 +1073,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1073
1073
|
};
|
|
1074
1074
|
workspaceRoot: string;
|
|
1075
1075
|
directories: {
|
|
1076
|
+
config?: string | undefined;
|
|
1076
1077
|
cache?: string | undefined;
|
|
1077
1078
|
data?: string | undefined;
|
|
1078
|
-
config?: string | undefined;
|
|
1079
1079
|
temp?: string | undefined;
|
|
1080
1080
|
log?: string | undefined;
|
|
1081
1081
|
build?: string | undefined;
|
|
@@ -1227,9 +1227,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1227
1227
|
background?: string | undefined;
|
|
1228
1228
|
};
|
|
1229
1229
|
}>;
|
|
1230
|
+
name?: string | undefined;
|
|
1231
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
1230
1232
|
$schema?: string | null | undefined;
|
|
1231
1233
|
extends?: string | string[] | undefined;
|
|
1232
|
-
name?: string | undefined;
|
|
1233
1234
|
namespace?: string | undefined;
|
|
1234
1235
|
organization?: string | undefined;
|
|
1235
1236
|
repository?: string | undefined;
|
|
@@ -1241,13 +1242,12 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1241
1242
|
branch?: string | undefined;
|
|
1242
1243
|
preid?: string | undefined;
|
|
1243
1244
|
owner?: string | undefined;
|
|
1244
|
-
mode?: "development" | "staging" | "production" | undefined;
|
|
1245
1245
|
externalPackagePatterns?: string[] | undefined;
|
|
1246
1246
|
skipCache?: boolean | undefined;
|
|
1247
1247
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1248
1248
|
timezone?: string | undefined;
|
|
1249
1249
|
locale?: string | undefined;
|
|
1250
|
-
logLevel?: "
|
|
1250
|
+
logLevel?: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1251
1251
|
skipConfigLogging?: boolean | undefined;
|
|
1252
1252
|
registry?: {
|
|
1253
1253
|
github?: string | undefined;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProjectsConfigurations, ProjectGraph } from '@nx/devkit';
|
|
2
2
|
import { TypeScriptBuildOptions, AdditionalCLIOptions } from '@storm-software/build-tools';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-DwxFThZu.cjs';
|
|
4
4
|
import { TsconfigRaw, BuildResult } from 'esbuild';
|
|
5
5
|
import { Options } from 'tsup';
|
|
6
6
|
import 'zod';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProjectsConfigurations, ProjectGraph } from '@nx/devkit';
|
|
2
2
|
import { TypeScriptBuildOptions, AdditionalCLIOptions } from '@storm-software/build-tools';
|
|
3
|
-
import { S as StormWorkspaceConfig } from './types-
|
|
3
|
+
import { S as StormWorkspaceConfig } from './types-DwxFThZu.js';
|
|
4
4
|
import { TsconfigRaw, BuildResult } from 'esbuild';
|
|
5
5
|
import { Options } from 'tsup';
|
|
6
6
|
import 'zod';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/esbuild",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -158,11 +158,11 @@
|
|
|
158
158
|
"chokidar": "^4.0.3",
|
|
159
159
|
"commander": "^12.1.0",
|
|
160
160
|
"defu": "6.1.4",
|
|
161
|
-
"es-toolkit": "^1.
|
|
161
|
+
"es-toolkit": "^1.36.0",
|
|
162
162
|
"esbuild": "^0.25.0",
|
|
163
|
-
"globby": "^14.0
|
|
163
|
+
"globby": "^14.1.0",
|
|
164
164
|
"nx": "20.8.0",
|
|
165
|
-
"prettier-plugin-organize-imports": "^4.
|
|
165
|
+
"prettier-plugin-organize-imports": "^4.1.0",
|
|
166
166
|
"prettier-plugin-pkg": "^0.18.1",
|
|
167
167
|
"prettier-plugin-sh": "^0.15.0",
|
|
168
168
|
"source-map": "0.7.4",
|
|
@@ -172,13 +172,13 @@
|
|
|
172
172
|
"@microsoft/api-extractor": "^7.48.1",
|
|
173
173
|
"@nx/devkit": "20.8.0",
|
|
174
174
|
"@nx/js": "20.8.0",
|
|
175
|
-
"@storm-software/build-tools": "
|
|
176
|
-
"@storm-software/config": "
|
|
177
|
-
"@storm-software/config-tools": "
|
|
175
|
+
"@storm-software/build-tools": "workspace:*",
|
|
176
|
+
"@storm-software/config": "workspace:*",
|
|
177
|
+
"@storm-software/config-tools": "workspace:*",
|
|
178
178
|
"@types/node": "^22.10.2",
|
|
179
179
|
"rollup": "^4.29.1",
|
|
180
180
|
"spdx-exceptions": "^2.5.0",
|
|
181
|
-
"spdx-license-ids": "^3.0.
|
|
181
|
+
"spdx-license-ids": "^3.0.21"
|
|
182
182
|
},
|
|
183
183
|
"publishConfig": { "access": "public" },
|
|
184
184
|
"sideEffects": false
|