@storm-software/workspace-tools 1.263.2 → 1.264.1
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/CHANGELOG.md +16 -0
- package/README.md +12 -30
- package/dist/{chunk-OAQP7HGX.js → chunk-PD4CDI7L.js} +295 -41
- package/dist/{chunk-NZBJ5BJT.mjs → chunk-VYHRGNJQ.mjs} +301 -47
- package/dist/executors.d.mts +0 -1
- package/dist/executors.d.ts +0 -1
- package/dist/executors.js +5 -10
- package/dist/executors.mjs +5 -10
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +6 -6
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10 -15
- package/dist/index.mjs +11 -16
- package/dist/src/executors/esbuild/executor.js +2 -3
- package/dist/src/executors/esbuild/executor.mjs +1 -2
- package/executors.json +0 -5
- package/package.json +3 -6
- package/dist/chunk-55IQXVOQ.js +0 -308
- package/dist/chunk-7W5P2GIE.mjs +0 -308
- package/dist/chunk-IFSORSAN.js +0 -304
- package/dist/chunk-TLRZHFVN.mjs +0 -304
- package/dist/executor-BDvqiAmr.d.ts +0 -144
- package/dist/executor-KAQdKP88.d.mts +0 -144
- package/dist/src/executors/tsdown/executor.d.mts +0 -4
- package/dist/src/executors/tsdown/executor.d.ts +0 -4
- package/dist/src/executors/tsdown/executor.js +0 -15
- package/dist/src/executors/tsdown/executor.mjs +0 -15
- package/dist/src/executors/tsdown/schema.d.ts +0 -135
- package/dist/src/executors/tsdown/schema.json +0 -174
- package/dist/src/executors/tsdown/schema.md +0 -126
- package/dist/src/executors/tsdown/untyped.d.mts +0 -5
- package/dist/src/executors/tsdown/untyped.d.ts +0 -5
- package/dist/src/executors/tsdown/untyped.js +0 -19
- package/dist/src/executors/tsdown/untyped.mjs +0 -19
- package/dist/src/plugins/typescript/tsdown.d.mts +0 -7
- package/dist/src/plugins/typescript/tsdown.d.ts +0 -7
- package/dist/src/plugins/typescript/tsdown.js +0 -159
- package/dist/src/plugins/typescript/tsdown.mjs +0 -159
- package/docs/api/executors/tsdown/schema.md +0 -126
- /package/dist/{chunk-3J53KHVV.js → chunk-7VDOGZYO.js} +0 -0
- /package/dist/{chunk-V7YZ3666.mjs → chunk-BLX5SLPC.mjs} +0 -0
package/dist/chunk-TLRZHFVN.mjs
DELETED
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
writeDebug,
|
|
3
|
-
writeTrace
|
|
4
|
-
} from "./chunk-IXZ3PGBP.mjs";
|
|
5
|
-
import {
|
|
6
|
-
findWorkspaceRoot
|
|
7
|
-
} from "./chunk-FR3YQN55.mjs";
|
|
8
|
-
import {
|
|
9
|
-
correctPaths,
|
|
10
|
-
joinPaths
|
|
11
|
-
} from "./chunk-ATIBREWM.mjs";
|
|
12
|
-
import {
|
|
13
|
-
__name
|
|
14
|
-
} from "./chunk-2BPV2XV2.mjs";
|
|
15
|
-
|
|
16
|
-
// ../build-tools/src/config.ts
|
|
17
|
-
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
18
|
-
*
|
|
19
|
-
* \u26A1 Built by Storm Software
|
|
20
|
-
*
|
|
21
|
-
*****************************************/
|
|
22
|
-
`;
|
|
23
|
-
var DEFAULT_ENVIRONMENT = "production";
|
|
24
|
-
var DEFAULT_TARGET = "esnext";
|
|
25
|
-
var DEFAULT_ORGANIZATION = "storm-software";
|
|
26
|
-
|
|
27
|
-
// ../build-tools/src/utilities/copy-assets.ts
|
|
28
|
-
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
29
|
-
import { glob } from "glob";
|
|
30
|
-
import { readFile, writeFile } from "node:fs/promises";
|
|
31
|
-
var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
32
|
-
const pendingAssets = Array.from(assets ?? []);
|
|
33
|
-
pendingAssets.push({
|
|
34
|
-
input: projectRoot,
|
|
35
|
-
glob: "*.md",
|
|
36
|
-
output: "."
|
|
37
|
-
});
|
|
38
|
-
pendingAssets.push({
|
|
39
|
-
input: ".",
|
|
40
|
-
glob: "LICENSE",
|
|
41
|
-
output: "."
|
|
42
|
-
});
|
|
43
|
-
if (generatePackageJson === false) {
|
|
44
|
-
pendingAssets.push({
|
|
45
|
-
input: projectRoot,
|
|
46
|
-
glob: "package.json",
|
|
47
|
-
output: "."
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
if (includeSrc === true) {
|
|
51
|
-
pendingAssets.push({
|
|
52
|
-
input: sourceRoot,
|
|
53
|
-
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
54
|
-
output: "src/"
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
|
|
58
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
59
|
-
const assetHandler = new CopyAssetsHandler({
|
|
60
|
-
projectDir: projectRoot,
|
|
61
|
-
rootDir: config.workspaceRoot,
|
|
62
|
-
outputDir: outputPath,
|
|
63
|
-
assets: pendingAssets
|
|
64
|
-
});
|
|
65
|
-
await assetHandler.processAllAssetsOnce();
|
|
66
|
-
if (includeSrc === true) {
|
|
67
|
-
writeDebug(`\u{1F4DD} Adding banner and writing source files: ${joinPaths(outputPath, "src")}`, config);
|
|
68
|
-
const files = await glob([
|
|
69
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
70
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
71
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
72
|
-
joinPaths(config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
73
|
-
]);
|
|
74
|
-
await Promise.allSettled(files.map(async (file) => writeFile(file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
75
|
-
|
|
76
|
-
${await readFile(file, "utf8")}
|
|
77
|
-
|
|
78
|
-
${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `// ${footer}` : ""}`)));
|
|
79
|
-
}
|
|
80
|
-
}, "copyAssets");
|
|
81
|
-
|
|
82
|
-
// ../build-tools/src/utilities/generate-package-json.ts
|
|
83
|
-
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
84
|
-
import { Glob } from "glob";
|
|
85
|
-
import { existsSync, readFileSync } from "node:fs";
|
|
86
|
-
import { readFile as readFile2 } from "node:fs/promises";
|
|
87
|
-
import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
|
|
88
|
-
var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
|
|
89
|
-
const projectGraph = readCachedProjectGraph();
|
|
90
|
-
const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
91
|
-
const localPackages = [];
|
|
92
|
-
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
|
|
93
|
-
const projectNode = project.node;
|
|
94
|
-
if (projectNode.data.root) {
|
|
95
|
-
const projectPackageJsonPath = joinPaths(workspaceRoot, projectNode.data.root, "package.json");
|
|
96
|
-
if (existsSync(projectPackageJsonPath)) {
|
|
97
|
-
const projectPackageJsonContent = await readFile2(projectPackageJsonPath, "utf8");
|
|
98
|
-
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
99
|
-
if (projectPackageJson.private !== true) {
|
|
100
|
-
localPackages.push(projectPackageJson);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
if (localPackages.length > 0) {
|
|
106
|
-
writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
107
|
-
const projectJsonFile = await readFile2(joinPaths(projectRoot, "project.json"), "utf8");
|
|
108
|
-
const projectJson = JSON.parse(projectJsonFile);
|
|
109
|
-
const projectName2 = projectJson.name;
|
|
110
|
-
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
111
|
-
if (!projectConfigurations?.projects?.[projectName2]) {
|
|
112
|
-
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.");
|
|
113
|
-
}
|
|
114
|
-
const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
|
|
115
|
-
if (projectConfigurations.projects?.[dep]) {
|
|
116
|
-
const depPackageJsonPath = joinPaths(workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
|
|
117
|
-
if (existsSync(depPackageJsonPath)) {
|
|
118
|
-
const depPackageJsonContent = readFileSync(depPackageJsonPath, "utf8");
|
|
119
|
-
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
120
|
-
if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
|
|
121
|
-
ret.push(depPackageJson.name);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
return ret;
|
|
126
|
-
}, []);
|
|
127
|
-
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
128
|
-
if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name)) {
|
|
129
|
-
ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
|
|
130
|
-
}
|
|
131
|
-
return ret;
|
|
132
|
-
}, packageJson.dependencies ?? {});
|
|
133
|
-
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
134
|
-
if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name)) {
|
|
135
|
-
ret[localPackage.name] = localPackage.version || "0.0.1";
|
|
136
|
-
}
|
|
137
|
-
return ret;
|
|
138
|
-
}, packageJson.devDependencies ?? {});
|
|
139
|
-
} else {
|
|
140
|
-
writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
|
|
141
|
-
}
|
|
142
|
-
return packageJson;
|
|
143
|
-
}, "addPackageDependencies");
|
|
144
|
-
var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
145
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
|
|
146
|
-
const workspacePackageJsonContent = await readFile2(joinPaths(workspaceRoot, "package.json"), "utf8");
|
|
147
|
-
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
148
|
-
packageJson.type ??= "module";
|
|
149
|
-
packageJson.sideEffects ??= false;
|
|
150
|
-
if (includeSrc === true) {
|
|
151
|
-
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
152
|
-
if (distSrc.startsWith("/")) {
|
|
153
|
-
distSrc = distSrc.substring(1);
|
|
154
|
-
}
|
|
155
|
-
packageJson.source ??= `${joinPaths(distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
156
|
-
}
|
|
157
|
-
packageJson.files ??= [
|
|
158
|
-
"dist/**/*"
|
|
159
|
-
];
|
|
160
|
-
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
161
|
-
packageJson.files.push("src/**/*");
|
|
162
|
-
}
|
|
163
|
-
packageJson.publishConfig ??= {
|
|
164
|
-
access: "public"
|
|
165
|
-
};
|
|
166
|
-
packageJson.description ??= workspacePackageJson.description;
|
|
167
|
-
packageJson.homepage ??= workspacePackageJson.homepage;
|
|
168
|
-
packageJson.bugs ??= workspacePackageJson.bugs;
|
|
169
|
-
packageJson.license ??= workspacePackageJson.license;
|
|
170
|
-
packageJson.keywords ??= workspacePackageJson.keywords;
|
|
171
|
-
packageJson.funding ??= workspacePackageJson.funding;
|
|
172
|
-
packageJson.author ??= workspacePackageJson.author;
|
|
173
|
-
packageJson.maintainers ??= workspacePackageJson.maintainers;
|
|
174
|
-
if (!packageJson.maintainers && packageJson.author) {
|
|
175
|
-
packageJson.maintainers = [
|
|
176
|
-
packageJson.author
|
|
177
|
-
];
|
|
178
|
-
}
|
|
179
|
-
packageJson.contributors ??= workspacePackageJson.contributors;
|
|
180
|
-
if (!packageJson.contributors && packageJson.author) {
|
|
181
|
-
packageJson.contributors = [
|
|
182
|
-
packageJson.author
|
|
183
|
-
];
|
|
184
|
-
}
|
|
185
|
-
packageJson.repository ??= workspacePackageJson.repository;
|
|
186
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot : joinPaths("packages", projectName);
|
|
187
|
-
return packageJson;
|
|
188
|
-
}, "addWorkspacePackageJsonFields");
|
|
189
|
-
var addPackageJsonExport = /* @__PURE__ */ __name((file, type = "module", sourceRoot) => {
|
|
190
|
-
let entry = file.replaceAll("\\", "/");
|
|
191
|
-
if (sourceRoot) {
|
|
192
|
-
entry = entry.replace(sourceRoot, "");
|
|
193
|
-
}
|
|
194
|
-
return {
|
|
195
|
-
import: {
|
|
196
|
-
types: `./dist/${entry}.d.${type === "module" ? "ts" : "mts"}`,
|
|
197
|
-
default: `./dist/${entry}.${type === "module" ? "js" : "mjs"}`
|
|
198
|
-
},
|
|
199
|
-
require: {
|
|
200
|
-
types: `./dist/${entry}.d.${type === "commonjs" ? "ts" : "cts"}`,
|
|
201
|
-
default: `./dist/${entry}.${type === "commonjs" ? "js" : "cjs"}`
|
|
202
|
-
},
|
|
203
|
-
default: {
|
|
204
|
-
types: `./dist/${entry}.d.ts`,
|
|
205
|
-
default: `./dist/${entry}.js`
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
}, "addPackageJsonExport");
|
|
209
|
-
|
|
210
|
-
// ../build-tools/src/utilities/get-entry-points.ts
|
|
211
|
-
import { glob as glob2 } from "glob";
|
|
212
|
-
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
213
|
-
const workspaceRoot = config.workspaceRoot || findWorkspaceRoot();
|
|
214
|
-
const entryPoints = [];
|
|
215
|
-
if (entry) {
|
|
216
|
-
if (typeof entry === "string") {
|
|
217
|
-
entryPoints.push(entry);
|
|
218
|
-
} else if (Array.isArray(entry)) {
|
|
219
|
-
entryPoints.push(...entry);
|
|
220
|
-
} else {
|
|
221
|
-
entryPoints.push(...Object.values(entry));
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
if (emitOnAll) {
|
|
225
|
-
entryPoints.push(joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
226
|
-
}
|
|
227
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
228
|
-
const paths = [];
|
|
229
|
-
if (entryPoint.includes("*")) {
|
|
230
|
-
const files = await glob2(entryPoint, {
|
|
231
|
-
withFileTypes: true,
|
|
232
|
-
ignore: [
|
|
233
|
-
"**/node_modules/**"
|
|
234
|
-
]
|
|
235
|
-
});
|
|
236
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
237
|
-
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
|
|
238
|
-
if (result) {
|
|
239
|
-
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
240
|
-
if (!paths.includes(result)) {
|
|
241
|
-
paths.push(result);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
return ret;
|
|
245
|
-
}, []));
|
|
246
|
-
} else {
|
|
247
|
-
paths.push(entryPoint);
|
|
248
|
-
}
|
|
249
|
-
return paths;
|
|
250
|
-
}));
|
|
251
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
252
|
-
result.forEach((res) => {
|
|
253
|
-
if (res && !ret.includes(res)) {
|
|
254
|
-
ret.push(res);
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
return ret;
|
|
258
|
-
}, []);
|
|
259
|
-
}, "getEntryPoints");
|
|
260
|
-
|
|
261
|
-
// ../build-tools/src/utilities/get-env.ts
|
|
262
|
-
var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
263
|
-
return {
|
|
264
|
-
STORM_BUILD: builder,
|
|
265
|
-
STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
|
|
266
|
-
STORM_NAME: options.name,
|
|
267
|
-
STORM_MODE: options.mode || DEFAULT_ENVIRONMENT,
|
|
268
|
-
STORM_PLATFORM: options.platform,
|
|
269
|
-
STORM_FORMAT: JSON.stringify(options.format),
|
|
270
|
-
STORM_TARGET: JSON.stringify(options.target),
|
|
271
|
-
...options.env
|
|
272
|
-
};
|
|
273
|
-
}, "getEnv");
|
|
274
|
-
|
|
275
|
-
// ../build-tools/src/plugins/swc.ts
|
|
276
|
-
import { transform } from "@swc/core";
|
|
277
|
-
|
|
278
|
-
// ../build-tools/src/plugins/ts-resolve.ts
|
|
279
|
-
import fs from "node:fs";
|
|
280
|
-
import { builtinModules } from "node:module";
|
|
281
|
-
import path from "node:path";
|
|
282
|
-
import _resolve from "resolve";
|
|
283
|
-
|
|
284
|
-
// ../build-tools/src/plugins/type-definitions.ts
|
|
285
|
-
import { stripIndents } from "@nx/devkit";
|
|
286
|
-
import { relative } from "path";
|
|
287
|
-
|
|
288
|
-
// ../build-tools/src/utilities/read-nx-config.ts
|
|
289
|
-
import { existsSync as existsSync2 } from "node:fs";
|
|
290
|
-
import { readFile as readFile3 } from "node:fs/promises";
|
|
291
|
-
|
|
292
|
-
// ../build-tools/src/utilities/task-graph.ts
|
|
293
|
-
import { createTaskGraph, mapTargetDefaultsToDependencies } from "nx/src/tasks-runner/create-task-graph";
|
|
294
|
-
|
|
295
|
-
export {
|
|
296
|
-
DEFAULT_COMPILED_BANNER,
|
|
297
|
-
DEFAULT_TARGET,
|
|
298
|
-
copyAssets,
|
|
299
|
-
addPackageDependencies,
|
|
300
|
-
addWorkspacePackageJsonFields,
|
|
301
|
-
addPackageJsonExport,
|
|
302
|
-
getEntryPoints,
|
|
303
|
-
getEnv
|
|
304
|
-
};
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import * as _nx_devkit from '@nx/devkit';
|
|
2
|
-
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-D6pIdih6.js';
|
|
4
|
-
|
|
5
|
-
// Generated by @storm-software/untyped
|
|
6
|
-
// Do not edit this file directly
|
|
7
|
-
|
|
8
|
-
interface TSDownExecutorSchema {
|
|
9
|
-
/**
|
|
10
|
-
* Output Path
|
|
11
|
-
*
|
|
12
|
-
* The output path for the build
|
|
13
|
-
*
|
|
14
|
-
* @default "dist/{projectRoot}"
|
|
15
|
-
*
|
|
16
|
-
* @format path
|
|
17
|
-
*/
|
|
18
|
-
outputPath?: string,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Entry File(s)
|
|
22
|
-
*
|
|
23
|
-
* The entry file or files to build
|
|
24
|
-
*
|
|
25
|
-
* @default ["{sourceRoot}/index.ts"]
|
|
26
|
-
*
|
|
27
|
-
* @format path
|
|
28
|
-
*/
|
|
29
|
-
entry?: Array<string>,
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* TSConfig Path
|
|
33
|
-
*
|
|
34
|
-
* The path to the tsconfig file
|
|
35
|
-
*
|
|
36
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
tsconfig?: string,
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Bundle
|
|
44
|
-
*
|
|
45
|
-
* Bundle the output
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
bundle?: boolean,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Minify
|
|
52
|
-
*
|
|
53
|
-
* Minify the output
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
minify?: boolean,
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Debug
|
|
60
|
-
*
|
|
61
|
-
* Debug the output
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
debug?: boolean,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Sourcemap
|
|
68
|
-
*
|
|
69
|
-
* Generate a sourcemap
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
sourcemap?: boolean,
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Silent
|
|
76
|
-
*
|
|
77
|
-
* Should the build run silently - only report errors back to the user
|
|
78
|
-
*
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
silent?: boolean,
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Target
|
|
85
|
-
*
|
|
86
|
-
* The target to build
|
|
87
|
-
*
|
|
88
|
-
* @default "esnext"
|
|
89
|
-
*
|
|
90
|
-
* @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
|
|
91
|
-
*/
|
|
92
|
-
target?: string,
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Format
|
|
96
|
-
*
|
|
97
|
-
* The format to build
|
|
98
|
-
*
|
|
99
|
-
* @default ["cjs","esm"]
|
|
100
|
-
*/
|
|
101
|
-
format?: Array<string>,
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Platform
|
|
105
|
-
*
|
|
106
|
-
* The platform to build
|
|
107
|
-
*
|
|
108
|
-
* @default "neutral"
|
|
109
|
-
*
|
|
110
|
-
* @enum neutral,node,browser
|
|
111
|
-
*/
|
|
112
|
-
platform?: string,
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* External
|
|
116
|
-
*
|
|
117
|
-
* The external dependencies
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
external?: Array<any>,
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Define
|
|
124
|
-
*
|
|
125
|
-
* The define values
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
define?: Record<string, string>,
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Environment Variables
|
|
132
|
-
*
|
|
133
|
-
* The environment variable values
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
env?: Record<string, string>,
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
|
|
140
|
-
success: boolean;
|
|
141
|
-
}>;
|
|
142
|
-
declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
|
|
143
|
-
|
|
144
|
-
export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import * as _nx_devkit from '@nx/devkit';
|
|
2
|
-
import { ExecutorContext } from '@nx/devkit';
|
|
3
|
-
import { S as StormConfig } from './types-D6pIdih6.mjs';
|
|
4
|
-
|
|
5
|
-
// Generated by @storm-software/untyped
|
|
6
|
-
// Do not edit this file directly
|
|
7
|
-
|
|
8
|
-
interface TSDownExecutorSchema {
|
|
9
|
-
/**
|
|
10
|
-
* Output Path
|
|
11
|
-
*
|
|
12
|
-
* The output path for the build
|
|
13
|
-
*
|
|
14
|
-
* @default "dist/{projectRoot}"
|
|
15
|
-
*
|
|
16
|
-
* @format path
|
|
17
|
-
*/
|
|
18
|
-
outputPath?: string,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Entry File(s)
|
|
22
|
-
*
|
|
23
|
-
* The entry file or files to build
|
|
24
|
-
*
|
|
25
|
-
* @default ["{sourceRoot}/index.ts"]
|
|
26
|
-
*
|
|
27
|
-
* @format path
|
|
28
|
-
*/
|
|
29
|
-
entry?: Array<string>,
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* TSConfig Path
|
|
33
|
-
*
|
|
34
|
-
* The path to the tsconfig file
|
|
35
|
-
*
|
|
36
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
tsconfig?: string,
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Bundle
|
|
44
|
-
*
|
|
45
|
-
* Bundle the output
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
bundle?: boolean,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Minify
|
|
52
|
-
*
|
|
53
|
-
* Minify the output
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
minify?: boolean,
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Debug
|
|
60
|
-
*
|
|
61
|
-
* Debug the output
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
debug?: boolean,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Sourcemap
|
|
68
|
-
*
|
|
69
|
-
* Generate a sourcemap
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
sourcemap?: boolean,
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Silent
|
|
76
|
-
*
|
|
77
|
-
* Should the build run silently - only report errors back to the user
|
|
78
|
-
*
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
silent?: boolean,
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Target
|
|
85
|
-
*
|
|
86
|
-
* The target to build
|
|
87
|
-
*
|
|
88
|
-
* @default "esnext"
|
|
89
|
-
*
|
|
90
|
-
* @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
|
|
91
|
-
*/
|
|
92
|
-
target?: string,
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Format
|
|
96
|
-
*
|
|
97
|
-
* The format to build
|
|
98
|
-
*
|
|
99
|
-
* @default ["cjs","esm"]
|
|
100
|
-
*/
|
|
101
|
-
format?: Array<string>,
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Platform
|
|
105
|
-
*
|
|
106
|
-
* The platform to build
|
|
107
|
-
*
|
|
108
|
-
* @default "neutral"
|
|
109
|
-
*
|
|
110
|
-
* @enum neutral,node,browser
|
|
111
|
-
*/
|
|
112
|
-
platform?: string,
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* External
|
|
116
|
-
*
|
|
117
|
-
* The external dependencies
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
external?: Array<any>,
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Define
|
|
124
|
-
*
|
|
125
|
-
* The define values
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
define?: Record<string, string>,
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Environment Variables
|
|
132
|
-
*
|
|
133
|
-
* The environment variable values
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
env?: Record<string, string>,
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
|
|
140
|
-
success: boolean;
|
|
141
|
-
}>;
|
|
142
|
-
declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
|
|
143
|
-
|
|
144
|
-
export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk55IQXVOQjs = require('../../../chunk-55IQXVOQ.js');
|
|
5
|
-
require('../../../chunk-IFSORSAN.js');
|
|
6
|
-
require('../../../chunk-FGMOZZ77.js');
|
|
7
|
-
require('../../../chunk-UALZJZUK.js');
|
|
8
|
-
require('../../../chunk-NG6GE2YZ.js');
|
|
9
|
-
require('../../../chunk-4JOIS7WW.js');
|
|
10
|
-
require('../../../chunk-JTAXCQX6.js');
|
|
11
|
-
require('../../../chunk-3GQAWCBQ.js');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.default = _chunk55IQXVOQjs.executor_default; exports.tsdownExecutorFn = _chunk55IQXVOQjs.tsdownExecutorFn;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
executor_default,
|
|
3
|
-
tsdownExecutorFn
|
|
4
|
-
} from "../../../chunk-7W5P2GIE.mjs";
|
|
5
|
-
import "../../../chunk-TLRZHFVN.mjs";
|
|
6
|
-
import "../../../chunk-5DWBECCN.mjs";
|
|
7
|
-
import "../../../chunk-AWKIWCLR.mjs";
|
|
8
|
-
import "../../../chunk-IXZ3PGBP.mjs";
|
|
9
|
-
import "../../../chunk-FR3YQN55.mjs";
|
|
10
|
-
import "../../../chunk-ATIBREWM.mjs";
|
|
11
|
-
import "../../../chunk-2BPV2XV2.mjs";
|
|
12
|
-
export {
|
|
13
|
-
executor_default as default,
|
|
14
|
-
tsdownExecutorFn
|
|
15
|
-
};
|