@storm-software/workspace-tools 1.266.4 → 1.266.5
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-LKNIQZ3B.mjs → chunk-2BI3RJFP.mjs} +173 -10
- package/dist/{chunk-W2AFUJ7A.js → chunk-GX74WTEM.js} +175 -12
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +2 -2
- package/dist/src/executors/esbuild/executor.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.266.5](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.5) (2025-04-16)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([762e7076f](https://github.com/storm-software/storm-ops/commit/762e7076f))
|
|
11
|
+
|
|
5
12
|
## [1.266.4](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.4) (2025-04-15)
|
|
6
13
|
|
|
7
14
|
### Miscellaneous
|
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 -->
|
|
@@ -262,12 +262,12 @@ import { createTaskGraph, mapTargetDefaultsToDependencies } from "nx/src/tasks-r
|
|
|
262
262
|
|
|
263
263
|
// ../esbuild/src/build.ts
|
|
264
264
|
import { watch as createWatcher } from "chokidar";
|
|
265
|
-
import
|
|
265
|
+
import defu2 from "defu";
|
|
266
266
|
import { debounce, flatten } from "es-toolkit";
|
|
267
267
|
import { map } from "es-toolkit/compat";
|
|
268
268
|
import * as esbuild2 from "esbuild";
|
|
269
269
|
import { globbySync } from "globby";
|
|
270
|
-
import { existsSync as
|
|
270
|
+
import { existsSync as existsSync5 } from "node:fs";
|
|
271
271
|
import hf from "node:fs/promises";
|
|
272
272
|
import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-workspace-root";
|
|
273
273
|
|
|
@@ -654,7 +654,7 @@ __name(bundleTypeDefinitions, "bundleTypeDefinitions");
|
|
|
654
654
|
var tscPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
655
655
|
name: "storm:tsc",
|
|
656
656
|
setup(build4) {
|
|
657
|
-
if (options.
|
|
657
|
+
if (options.dts === false) {
|
|
658
658
|
return;
|
|
659
659
|
}
|
|
660
660
|
build4.onStart(async () => {
|
|
@@ -706,7 +706,7 @@ var getDefaultBuildPlugins = /* @__PURE__ */ __name((options, resolvedOptions) =
|
|
|
706
706
|
var DEFAULT_BUILD_OPTIONS = {
|
|
707
707
|
platform: "node",
|
|
708
708
|
target: "node22",
|
|
709
|
-
format: "
|
|
709
|
+
format: "esm",
|
|
710
710
|
external: [],
|
|
711
711
|
logLevel: "error",
|
|
712
712
|
tsconfig: "tsconfig.json",
|
|
@@ -855,6 +855,155 @@ var shebangRenderer = {
|
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
857
|
|
|
858
|
+
// ../esbuild/src/tsc.ts
|
|
859
|
+
import { loadTsConfig } from "bundle-require";
|
|
860
|
+
import defu from "defu";
|
|
861
|
+
import { existsSync as existsSync4, mkdirSync, writeFileSync } from "node:fs";
|
|
862
|
+
import { dirname as dirname2, isAbsolute, join, normalize } from "node:path";
|
|
863
|
+
import ts from "typescript";
|
|
864
|
+
function ensureTempDeclarationDir(workspaceConfig) {
|
|
865
|
+
const root = workspaceConfig.directories.temp || join(workspaceConfig.workspaceRoot, "tmp");
|
|
866
|
+
const dirPath = join(root, ".tsc", "declaration");
|
|
867
|
+
if (existsSync4(dirPath)) {
|
|
868
|
+
return dirPath;
|
|
869
|
+
}
|
|
870
|
+
mkdirSync(dirPath, {
|
|
871
|
+
recursive: true
|
|
872
|
+
});
|
|
873
|
+
const gitIgnorePath = join(root, ".tsc", ".gitignore");
|
|
874
|
+
writeFileSync(gitIgnorePath, "**/*\n");
|
|
875
|
+
return dirPath;
|
|
876
|
+
}
|
|
877
|
+
__name(ensureTempDeclarationDir, "ensureTempDeclarationDir");
|
|
878
|
+
function slash(path6) {
|
|
879
|
+
const isExtendedLengthPath = path6.startsWith("\\\\?\\");
|
|
880
|
+
if (isExtendedLengthPath) {
|
|
881
|
+
return path6;
|
|
882
|
+
}
|
|
883
|
+
return path6.replace(/\\/g, "/");
|
|
884
|
+
}
|
|
885
|
+
__name(slash, "slash");
|
|
886
|
+
function toAbsolutePath(workspaceConfig, p, cwd) {
|
|
887
|
+
if (isAbsolute(p)) {
|
|
888
|
+
return p;
|
|
889
|
+
}
|
|
890
|
+
return slash(normalize(join(cwd || workspaceConfig.workspaceRoot, p)));
|
|
891
|
+
}
|
|
892
|
+
__name(toAbsolutePath, "toAbsolutePath");
|
|
893
|
+
var AliasPool = class AliasPool2 {
|
|
894
|
+
static {
|
|
895
|
+
__name(this, "AliasPool");
|
|
896
|
+
}
|
|
897
|
+
seen = /* @__PURE__ */ new Set();
|
|
898
|
+
assign(name) {
|
|
899
|
+
let suffix = 0;
|
|
900
|
+
let alias = name === "default" ? "default_alias" : name;
|
|
901
|
+
while (this.seen.has(alias)) {
|
|
902
|
+
alias = `${name}_alias_${++suffix}`;
|
|
903
|
+
if (suffix >= 1e3) {
|
|
904
|
+
throw new Error("Alias generation exceeded limit. Possible infinite loop detected.");
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
this.seen.add(alias);
|
|
908
|
+
return alias;
|
|
909
|
+
}
|
|
910
|
+
};
|
|
911
|
+
function getExports(workspaceConfig, program, fileMapping) {
|
|
912
|
+
const checker = program.getTypeChecker();
|
|
913
|
+
const aliasPool = new AliasPool();
|
|
914
|
+
const assignAlias = aliasPool.assign.bind(aliasPool);
|
|
915
|
+
function extractExports(sourceFileName) {
|
|
916
|
+
const cwd = program.getCurrentDirectory();
|
|
917
|
+
sourceFileName = toAbsolutePath(workspaceConfig, sourceFileName, cwd);
|
|
918
|
+
const sourceFile = program.getSourceFile(sourceFileName);
|
|
919
|
+
if (!sourceFile) {
|
|
920
|
+
return [];
|
|
921
|
+
}
|
|
922
|
+
const destFileName = fileMapping.get(sourceFileName);
|
|
923
|
+
if (!destFileName) {
|
|
924
|
+
return [];
|
|
925
|
+
}
|
|
926
|
+
const moduleSymbol = checker.getSymbolAtLocation(sourceFile);
|
|
927
|
+
if (!moduleSymbol) {
|
|
928
|
+
return [];
|
|
929
|
+
}
|
|
930
|
+
const exports = [];
|
|
931
|
+
const exportSymbols = checker.getExportsOfModule(moduleSymbol);
|
|
932
|
+
exportSymbols.forEach((symbol) => {
|
|
933
|
+
const name = symbol.getName();
|
|
934
|
+
exports.push({
|
|
935
|
+
kind: "named",
|
|
936
|
+
sourceFileName,
|
|
937
|
+
destFileName,
|
|
938
|
+
name,
|
|
939
|
+
alias: assignAlias(name),
|
|
940
|
+
isTypeOnly: false
|
|
941
|
+
});
|
|
942
|
+
});
|
|
943
|
+
return exports;
|
|
944
|
+
}
|
|
945
|
+
__name(extractExports, "extractExports");
|
|
946
|
+
return program.getRootFileNames().flatMap(extractExports);
|
|
947
|
+
}
|
|
948
|
+
__name(getExports, "getExports");
|
|
949
|
+
function emitDtsFiles(workspaceConfig, program, host, emitOnlyDtsFiles = true, customTransformers) {
|
|
950
|
+
const fileMapping = /* @__PURE__ */ new Map();
|
|
951
|
+
const writeFile2 = /* @__PURE__ */ __name((fileName, text, writeByteOrderMark, onError, sourceFiles, data) => {
|
|
952
|
+
const sourceFile = sourceFiles?.[0];
|
|
953
|
+
const sourceFileName = sourceFile?.fileName;
|
|
954
|
+
if (sourceFileName && !fileName.endsWith(".map")) {
|
|
955
|
+
const cwd = program.getCurrentDirectory();
|
|
956
|
+
fileMapping.set(toAbsolutePath(workspaceConfig, sourceFileName, cwd), toAbsolutePath(workspaceConfig, fileName, cwd));
|
|
957
|
+
}
|
|
958
|
+
return host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);
|
|
959
|
+
}, "writeFile");
|
|
960
|
+
const emitResult = program.emit(void 0, writeFile2, void 0, emitOnlyDtsFiles, customTransformers);
|
|
961
|
+
const diagnostics = ts.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
|
|
962
|
+
const diagnosticMessages = [];
|
|
963
|
+
diagnostics.forEach((diagnostic) => {
|
|
964
|
+
if (diagnostic.file) {
|
|
965
|
+
const { line, character } = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);
|
|
966
|
+
const message = ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n");
|
|
967
|
+
diagnosticMessages.push(`${diagnostic.file.fileName} (${line + 1},${character + 1}): ${message}`);
|
|
968
|
+
} else {
|
|
969
|
+
const message = ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n");
|
|
970
|
+
diagnosticMessages.push(message);
|
|
971
|
+
}
|
|
972
|
+
});
|
|
973
|
+
const diagnosticMessage = diagnosticMessages.join("\n");
|
|
974
|
+
if (diagnosticMessage) {
|
|
975
|
+
writeError(`Failed to emit declaration files.
|
|
976
|
+
|
|
977
|
+
${diagnosticMessage}`, workspaceConfig);
|
|
978
|
+
throw new Error("TypeScript compilation failed");
|
|
979
|
+
}
|
|
980
|
+
return fileMapping;
|
|
981
|
+
}
|
|
982
|
+
__name(emitDtsFiles, "emitDtsFiles");
|
|
983
|
+
function emitDts(workspaceConfig, tsconfig, tsconfigRaw, emitOnlyDtsFiles = true, customTransformers) {
|
|
984
|
+
const rawTsconfig = loadTsConfig(workspaceConfig.workspaceRoot, tsconfig);
|
|
985
|
+
if (!rawTsconfig) {
|
|
986
|
+
throw new Error(`Unable to find ${tsconfig || "tsconfig.json"} in ${workspaceConfig.workspaceRoot}`);
|
|
987
|
+
}
|
|
988
|
+
const declarationDir = ensureTempDeclarationDir(workspaceConfig);
|
|
989
|
+
const parsedTsconfig = ts.parseJsonConfigFileContent(defu({
|
|
990
|
+
compilerOptions: {
|
|
991
|
+
// Enable declaration emit and disable javascript emit
|
|
992
|
+
noEmit: false,
|
|
993
|
+
declaration: true,
|
|
994
|
+
declarationMap: true,
|
|
995
|
+
declarationDir,
|
|
996
|
+
emitDeclarationOnly: true
|
|
997
|
+
}
|
|
998
|
+
}, tsconfigRaw?.compilerOptions ?? {}, rawTsconfig.data ?? {}), ts.sys, tsconfig ? dirname2(tsconfig) : "./");
|
|
999
|
+
const options = parsedTsconfig.options;
|
|
1000
|
+
const host = ts.createCompilerHost(options);
|
|
1001
|
+
const program = ts.createProgram(parsedTsconfig.fileNames, options, host);
|
|
1002
|
+
const fileMapping = emitDtsFiles(workspaceConfig, program, host, emitOnlyDtsFiles, customTransformers);
|
|
1003
|
+
return getExports(workspaceConfig, program, fileMapping);
|
|
1004
|
+
}
|
|
1005
|
+
__name(emitDts, "emitDts");
|
|
1006
|
+
|
|
858
1007
|
// ../esbuild/src/utilities/get-entry-points.ts
|
|
859
1008
|
import { glob as glob3 } from "glob";
|
|
860
1009
|
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
@@ -1016,7 +1165,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1016
1165
|
exitOnError: true
|
|
1017
1166
|
});
|
|
1018
1167
|
const projectJsonPath = joinPaths(workspaceRoot.dir, projectRoot, "project.json");
|
|
1019
|
-
if (!
|
|
1168
|
+
if (!existsSync5(projectJsonPath)) {
|
|
1020
1169
|
throw new Error("Cannot find project.json configuration");
|
|
1021
1170
|
}
|
|
1022
1171
|
const projectJsonFile = await hf.readFile(projectJsonPath, "utf8");
|
|
@@ -1026,11 +1175,11 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1026
1175
|
if (!projectConfigurations?.projects?.[projectName]) {
|
|
1027
1176
|
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.");
|
|
1028
1177
|
}
|
|
1029
|
-
const options =
|
|
1178
|
+
const options = defu2(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
1030
1179
|
options.name ??= `${projectName}-${options.format}`;
|
|
1031
1180
|
options.target ??= DEFAULT_TARGET;
|
|
1032
1181
|
const packageJsonPath = joinPaths(workspaceRoot.dir, options.projectRoot, "package.json");
|
|
1033
|
-
if (!
|
|
1182
|
+
if (!existsSync5(packageJsonPath)) {
|
|
1034
1183
|
throw new Error("Cannot find package.json configuration");
|
|
1035
1184
|
}
|
|
1036
1185
|
const env = getEnv("esbuild", options);
|
|
@@ -1112,11 +1261,11 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1112
1261
|
return result;
|
|
1113
1262
|
}, "resolveOptions");
|
|
1114
1263
|
async function generatePackageJson(context2) {
|
|
1115
|
-
if (context2.options.generatePackageJson !== false &&
|
|
1264
|
+
if (context2.options.generatePackageJson !== false && existsSync5(joinPaths(context2.options.projectRoot, "package.json"))) {
|
|
1116
1265
|
writeDebug(" \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
1117
1266
|
const stopwatch = getStopwatch("Write package.json file");
|
|
1118
1267
|
const packageJsonPath = joinPaths(context2.options.projectRoot, "project.json");
|
|
1119
|
-
if (!
|
|
1268
|
+
if (!existsSync5(packageJsonPath)) {
|
|
1120
1269
|
throw new Error("Cannot find package.json configuration");
|
|
1121
1270
|
}
|
|
1122
1271
|
const packageJsonFile = await hf.readFile(joinPaths(context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
|
|
@@ -1187,6 +1336,7 @@ async function executeEsBuild(context2) {
|
|
|
1187
1336
|
options.inject === {}) {
|
|
1188
1337
|
delete options.inject;
|
|
1189
1338
|
}
|
|
1339
|
+
delete options.dts;
|
|
1190
1340
|
delete options.env;
|
|
1191
1341
|
delete options.name;
|
|
1192
1342
|
delete options.assets;
|
|
@@ -1222,6 +1372,16 @@ ${formatLogMessage({
|
|
|
1222
1372
|
return context2;
|
|
1223
1373
|
}
|
|
1224
1374
|
__name(executeEsBuild, "executeEsBuild");
|
|
1375
|
+
async function executeTypescript(context2) {
|
|
1376
|
+
if (context2.result?.errors.length === 0 && context2.options.dts) {
|
|
1377
|
+
writeDebug(` \u{1F4CB} Running TypeScript Compiler for ${context2.options.name}`, context2.options.config);
|
|
1378
|
+
const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
|
|
1379
|
+
await emitDts(context2.options.config, context2.options.tsconfig, context2.options.tsconfigRaw, true);
|
|
1380
|
+
stopwatch();
|
|
1381
|
+
}
|
|
1382
|
+
return context2;
|
|
1383
|
+
}
|
|
1384
|
+
__name(executeTypescript, "executeTypescript");
|
|
1225
1385
|
async function copyBuildAssets(context2) {
|
|
1226
1386
|
if (context2.result?.errors.length === 0) {
|
|
1227
1387
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
@@ -1238,6 +1398,9 @@ async function reportResults(context2) {
|
|
|
1238
1398
|
writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
1239
1399
|
}
|
|
1240
1400
|
writeSuccess(` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
|
|
1401
|
+
} else if (context2.result?.errors && context2.result?.errors.length > 0) {
|
|
1402
|
+
writeError(` \u274C The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`, context2.options.config);
|
|
1403
|
+
throw new Error(`The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`);
|
|
1241
1404
|
}
|
|
1242
1405
|
}
|
|
1243
1406
|
__name(reportResults, "reportResults");
|
|
@@ -1292,7 +1455,7 @@ async function build3(options) {
|
|
|
1292
1455
|
throw new Error("No build options were provided");
|
|
1293
1456
|
}
|
|
1294
1457
|
void transduce.async(opts, dependencyCheck);
|
|
1295
|
-
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
|
|
1458
|
+
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeTypescript, executeEsBuild, copyBuildAssets, reportResults));
|
|
1296
1459
|
writeSuccess(" \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
1297
1460
|
} catch (error) {
|
|
1298
1461
|
writeFatal("Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
3
|
var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
|
|
4
4
|
|
|
@@ -653,7 +653,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, bundleTypeDefinitions, "bundleTypeDefinitio
|
|
|
653
653
|
var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
654
654
|
name: "storm:tsc",
|
|
655
655
|
setup(build4) {
|
|
656
|
-
if (options.
|
|
656
|
+
if (options.dts === false) {
|
|
657
657
|
return;
|
|
658
658
|
}
|
|
659
659
|
build4.onStart(async () => {
|
|
@@ -705,7 +705,7 @@ var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
705
705
|
var DEFAULT_BUILD_OPTIONS = {
|
|
706
706
|
platform: "node",
|
|
707
707
|
target: "node22",
|
|
708
|
-
format: "
|
|
708
|
+
format: "esm",
|
|
709
709
|
external: [],
|
|
710
710
|
logLevel: "error",
|
|
711
711
|
tsconfig: "tsconfig.json",
|
|
@@ -854,6 +854,155 @@ var shebangRenderer = {
|
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
|
|
857
|
+
// ../esbuild/src/tsc.ts
|
|
858
|
+
var _bundlerequire = require('bundle-require');
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
var _typescript = require('typescript'); var _typescript2 = _interopRequireDefault(_typescript);
|
|
863
|
+
function ensureTempDeclarationDir(workspaceConfig) {
|
|
864
|
+
const root = workspaceConfig.directories.temp || _path.join.call(void 0, workspaceConfig.workspaceRoot, "tmp");
|
|
865
|
+
const dirPath = _path.join.call(void 0, root, ".tsc", "declaration");
|
|
866
|
+
if (_fs.existsSync.call(void 0, dirPath)) {
|
|
867
|
+
return dirPath;
|
|
868
|
+
}
|
|
869
|
+
_fs.mkdirSync.call(void 0, dirPath, {
|
|
870
|
+
recursive: true
|
|
871
|
+
});
|
|
872
|
+
const gitIgnorePath = _path.join.call(void 0, root, ".tsc", ".gitignore");
|
|
873
|
+
_fs.writeFileSync.call(void 0, gitIgnorePath, "**/*\n");
|
|
874
|
+
return dirPath;
|
|
875
|
+
}
|
|
876
|
+
_chunk3GQAWCBQjs.__name.call(void 0, ensureTempDeclarationDir, "ensureTempDeclarationDir");
|
|
877
|
+
function slash(path6) {
|
|
878
|
+
const isExtendedLengthPath = path6.startsWith("\\\\?\\");
|
|
879
|
+
if (isExtendedLengthPath) {
|
|
880
|
+
return path6;
|
|
881
|
+
}
|
|
882
|
+
return path6.replace(/\\/g, "/");
|
|
883
|
+
}
|
|
884
|
+
_chunk3GQAWCBQjs.__name.call(void 0, slash, "slash");
|
|
885
|
+
function toAbsolutePath(workspaceConfig, p, cwd) {
|
|
886
|
+
if (_path.isAbsolute.call(void 0, p)) {
|
|
887
|
+
return p;
|
|
888
|
+
}
|
|
889
|
+
return slash(_path.normalize.call(void 0, _path.join.call(void 0, cwd || workspaceConfig.workspaceRoot, p)));
|
|
890
|
+
}
|
|
891
|
+
_chunk3GQAWCBQjs.__name.call(void 0, toAbsolutePath, "toAbsolutePath");
|
|
892
|
+
var AliasPool = (_class = class AliasPool2 {constructor() { _class.prototype.__init.call(this); }
|
|
893
|
+
static {
|
|
894
|
+
_chunk3GQAWCBQjs.__name.call(void 0, this, "AliasPool");
|
|
895
|
+
}
|
|
896
|
+
__init() {this.seen = /* @__PURE__ */ new Set()}
|
|
897
|
+
assign(name) {
|
|
898
|
+
let suffix = 0;
|
|
899
|
+
let alias = name === "default" ? "default_alias" : name;
|
|
900
|
+
while (this.seen.has(alias)) {
|
|
901
|
+
alias = `${name}_alias_${++suffix}`;
|
|
902
|
+
if (suffix >= 1e3) {
|
|
903
|
+
throw new Error("Alias generation exceeded limit. Possible infinite loop detected.");
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
this.seen.add(alias);
|
|
907
|
+
return alias;
|
|
908
|
+
}
|
|
909
|
+
}, _class);
|
|
910
|
+
function getExports(workspaceConfig, program, fileMapping) {
|
|
911
|
+
const checker = program.getTypeChecker();
|
|
912
|
+
const aliasPool = new AliasPool();
|
|
913
|
+
const assignAlias = aliasPool.assign.bind(aliasPool);
|
|
914
|
+
function extractExports(sourceFileName) {
|
|
915
|
+
const cwd = program.getCurrentDirectory();
|
|
916
|
+
sourceFileName = toAbsolutePath(workspaceConfig, sourceFileName, cwd);
|
|
917
|
+
const sourceFile = program.getSourceFile(sourceFileName);
|
|
918
|
+
if (!sourceFile) {
|
|
919
|
+
return [];
|
|
920
|
+
}
|
|
921
|
+
const destFileName = fileMapping.get(sourceFileName);
|
|
922
|
+
if (!destFileName) {
|
|
923
|
+
return [];
|
|
924
|
+
}
|
|
925
|
+
const moduleSymbol = checker.getSymbolAtLocation(sourceFile);
|
|
926
|
+
if (!moduleSymbol) {
|
|
927
|
+
return [];
|
|
928
|
+
}
|
|
929
|
+
const exports = [];
|
|
930
|
+
const exportSymbols = checker.getExportsOfModule(moduleSymbol);
|
|
931
|
+
exportSymbols.forEach((symbol) => {
|
|
932
|
+
const name = symbol.getName();
|
|
933
|
+
exports.push({
|
|
934
|
+
kind: "named",
|
|
935
|
+
sourceFileName,
|
|
936
|
+
destFileName,
|
|
937
|
+
name,
|
|
938
|
+
alias: assignAlias(name),
|
|
939
|
+
isTypeOnly: false
|
|
940
|
+
});
|
|
941
|
+
});
|
|
942
|
+
return exports;
|
|
943
|
+
}
|
|
944
|
+
_chunk3GQAWCBQjs.__name.call(void 0, extractExports, "extractExports");
|
|
945
|
+
return program.getRootFileNames().flatMap(extractExports);
|
|
946
|
+
}
|
|
947
|
+
_chunk3GQAWCBQjs.__name.call(void 0, getExports, "getExports");
|
|
948
|
+
function emitDtsFiles(workspaceConfig, program, host, emitOnlyDtsFiles = true, customTransformers) {
|
|
949
|
+
const fileMapping = /* @__PURE__ */ new Map();
|
|
950
|
+
const writeFile2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => {
|
|
951
|
+
const sourceFile = _optionalChain([sourceFiles, 'optionalAccess', _46 => _46[0]]);
|
|
952
|
+
const sourceFileName = _optionalChain([sourceFile, 'optionalAccess', _47 => _47.fileName]);
|
|
953
|
+
if (sourceFileName && !fileName.endsWith(".map")) {
|
|
954
|
+
const cwd = program.getCurrentDirectory();
|
|
955
|
+
fileMapping.set(toAbsolutePath(workspaceConfig, sourceFileName, cwd), toAbsolutePath(workspaceConfig, fileName, cwd));
|
|
956
|
+
}
|
|
957
|
+
return host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);
|
|
958
|
+
}, "writeFile");
|
|
959
|
+
const emitResult = program.emit(void 0, writeFile2, void 0, emitOnlyDtsFiles, customTransformers);
|
|
960
|
+
const diagnostics = _typescript2.default.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
|
|
961
|
+
const diagnosticMessages = [];
|
|
962
|
+
diagnostics.forEach((diagnostic) => {
|
|
963
|
+
if (diagnostic.file) {
|
|
964
|
+
const { line, character } = _typescript2.default.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);
|
|
965
|
+
const message = _typescript2.default.flattenDiagnosticMessageText(diagnostic.messageText, "\n");
|
|
966
|
+
diagnosticMessages.push(`${diagnostic.file.fileName} (${line + 1},${character + 1}): ${message}`);
|
|
967
|
+
} else {
|
|
968
|
+
const message = _typescript2.default.flattenDiagnosticMessageText(diagnostic.messageText, "\n");
|
|
969
|
+
diagnosticMessages.push(message);
|
|
970
|
+
}
|
|
971
|
+
});
|
|
972
|
+
const diagnosticMessage = diagnosticMessages.join("\n");
|
|
973
|
+
if (diagnosticMessage) {
|
|
974
|
+
_chunkSN7IJGEEjs.writeError.call(void 0, `Failed to emit declaration files.
|
|
975
|
+
|
|
976
|
+
${diagnosticMessage}`, workspaceConfig);
|
|
977
|
+
throw new Error("TypeScript compilation failed");
|
|
978
|
+
}
|
|
979
|
+
return fileMapping;
|
|
980
|
+
}
|
|
981
|
+
_chunk3GQAWCBQjs.__name.call(void 0, emitDtsFiles, "emitDtsFiles");
|
|
982
|
+
function emitDts(workspaceConfig, tsconfig, tsconfigRaw, emitOnlyDtsFiles = true, customTransformers) {
|
|
983
|
+
const rawTsconfig = _bundlerequire.loadTsConfig.call(void 0, workspaceConfig.workspaceRoot, tsconfig);
|
|
984
|
+
if (!rawTsconfig) {
|
|
985
|
+
throw new Error(`Unable to find ${tsconfig || "tsconfig.json"} in ${workspaceConfig.workspaceRoot}`);
|
|
986
|
+
}
|
|
987
|
+
const declarationDir = ensureTempDeclarationDir(workspaceConfig);
|
|
988
|
+
const parsedTsconfig = _typescript2.default.parseJsonConfigFileContent(_defu2.default.call(void 0, {
|
|
989
|
+
compilerOptions: {
|
|
990
|
+
// Enable declaration emit and disable javascript emit
|
|
991
|
+
noEmit: false,
|
|
992
|
+
declaration: true,
|
|
993
|
+
declarationMap: true,
|
|
994
|
+
declarationDir,
|
|
995
|
+
emitDeclarationOnly: true
|
|
996
|
+
}
|
|
997
|
+
}, _nullishCoalesce(_optionalChain([tsconfigRaw, 'optionalAccess', _48 => _48.compilerOptions]), () => ( {})), _nullishCoalesce(rawTsconfig.data, () => ( {}))), _typescript2.default.sys, tsconfig ? _path.dirname.call(void 0, tsconfig) : "./");
|
|
998
|
+
const options = parsedTsconfig.options;
|
|
999
|
+
const host = _typescript2.default.createCompilerHost(options);
|
|
1000
|
+
const program = _typescript2.default.createProgram(parsedTsconfig.fileNames, options, host);
|
|
1001
|
+
const fileMapping = emitDtsFiles(workspaceConfig, program, host, emitOnlyDtsFiles, customTransformers);
|
|
1002
|
+
return getExports(workspaceConfig, program, fileMapping);
|
|
1003
|
+
}
|
|
1004
|
+
_chunk3GQAWCBQjs.__name.call(void 0, emitDts, "emitDts");
|
|
1005
|
+
|
|
857
1006
|
// ../esbuild/src/utilities/get-entry-points.ts
|
|
858
1007
|
|
|
859
1008
|
var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
@@ -982,7 +1131,7 @@ function pipeSync(fn, ...fns) {
|
|
|
982
1131
|
return (...args) => {
|
|
983
1132
|
let result = fn(...args);
|
|
984
1133
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
985
|
-
result = _optionalChain([fns, 'access',
|
|
1134
|
+
result = _optionalChain([fns, 'access', _49 => _49[i], 'optionalCall', _50 => _50(result)]);
|
|
986
1135
|
}
|
|
987
1136
|
return result;
|
|
988
1137
|
};
|
|
@@ -992,7 +1141,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
992
1141
|
return async (...args) => {
|
|
993
1142
|
let result = await fn(...args);
|
|
994
1143
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
995
|
-
result = await _optionalChain([fns, 'access',
|
|
1144
|
+
result = await _optionalChain([fns, 'access', _51 => _51[i], 'optionalCall', _52 => _52(result)]);
|
|
996
1145
|
}
|
|
997
1146
|
return result;
|
|
998
1147
|
};
|
|
@@ -1022,7 +1171,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1022
1171
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1023
1172
|
const projectName = projectJson.name;
|
|
1024
1173
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1025
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1174
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _53 => _53.projects, 'optionalAccess', _54 => _54[projectName]])) {
|
|
1026
1175
|
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.");
|
|
1027
1176
|
}
|
|
1028
1177
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -1186,6 +1335,7 @@ async function executeEsBuild(context2) {
|
|
|
1186
1335
|
options.inject === {}) {
|
|
1187
1336
|
delete options.inject;
|
|
1188
1337
|
}
|
|
1338
|
+
delete options.dts;
|
|
1189
1339
|
delete options.env;
|
|
1190
1340
|
delete options.name;
|
|
1191
1341
|
delete options.assets;
|
|
@@ -1221,8 +1371,18 @@ ${_chunkSN7IJGEEjs.formatLogMessage.call(void 0, {
|
|
|
1221
1371
|
return context2;
|
|
1222
1372
|
}
|
|
1223
1373
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1374
|
+
async function executeTypescript(context2) {
|
|
1375
|
+
if (_optionalChain([context2, 'access', _55 => _55.result, 'optionalAccess', _56 => _56.errors, 'access', _57 => _57.length]) === 0 && context2.options.dts) {
|
|
1376
|
+
_chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F4CB} Running TypeScript Compiler for ${context2.options.name}`, context2.options.config);
|
|
1377
|
+
const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1378
|
+
await emitDts(context2.options.config, context2.options.tsconfig, context2.options.tsconfigRaw, true);
|
|
1379
|
+
stopwatch();
|
|
1380
|
+
}
|
|
1381
|
+
return context2;
|
|
1382
|
+
}
|
|
1383
|
+
_chunk3GQAWCBQjs.__name.call(void 0, executeTypescript, "executeTypescript");
|
|
1224
1384
|
async function copyBuildAssets(context2) {
|
|
1225
|
-
if (_optionalChain([context2, 'access',
|
|
1385
|
+
if (_optionalChain([context2, 'access', _58 => _58.result, 'optionalAccess', _59 => _59.errors, 'access', _60 => _60.length]) === 0) {
|
|
1226
1386
|
_chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1227
1387
|
const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1228
1388
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1232,11 +1392,14 @@ async function copyBuildAssets(context2) {
|
|
|
1232
1392
|
}
|
|
1233
1393
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1234
1394
|
async function reportResults(context2) {
|
|
1235
|
-
if (_optionalChain([context2, 'access',
|
|
1395
|
+
if (_optionalChain([context2, 'access', _61 => _61.result, 'optionalAccess', _62 => _62.errors, 'access', _63 => _63.length]) === 0) {
|
|
1236
1396
|
if (context2.result.warnings.length > 0) {
|
|
1237
1397
|
_chunkSN7IJGEEjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
1238
1398
|
}
|
|
1239
1399
|
_chunkSN7IJGEEjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
|
|
1400
|
+
} else if (_optionalChain([context2, 'access', _64 => _64.result, 'optionalAccess', _65 => _65.errors]) && _optionalChain([context2, 'access', _66 => _66.result, 'optionalAccess', _67 => _67.errors, 'access', _68 => _68.length]) > 0) {
|
|
1401
|
+
_chunkSN7IJGEEjs.writeError.call(void 0, ` \u274C The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`, context2.options.config);
|
|
1402
|
+
throw new Error(`The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`);
|
|
1240
1403
|
}
|
|
1241
1404
|
}
|
|
1242
1405
|
_chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
|
|
@@ -1291,7 +1454,7 @@ async function build3(options) {
|
|
|
1291
1454
|
throw new Error("No build options were provided");
|
|
1292
1455
|
}
|
|
1293
1456
|
void transduce.async(opts, dependencyCheck);
|
|
1294
|
-
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
|
|
1457
|
+
await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeTypescript, executeEsBuild, copyBuildAssets, reportResults));
|
|
1295
1458
|
_chunkSN7IJGEEjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
1296
1459
|
} catch (error) {
|
|
1297
1460
|
_chunkSN7IJGEEjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
|
|
@@ -1333,14 +1496,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1333
1496
|
// src/executors/esbuild/executor.ts
|
|
1334
1497
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1335
1498
|
_chunkSN7IJGEEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1336
|
-
if (!_optionalChain([context2, 'access',
|
|
1499
|
+
if (!_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _71 => _71.projectsConfigurations, 'access', _72 => _72.projects, 'access', _73 => _73[context2.projectName], 'optionalAccess', _74 => _74.root])) {
|
|
1337
1500
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1338
1501
|
}
|
|
1339
1502
|
await build3({
|
|
1340
1503
|
...options,
|
|
1341
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1504
|
+
projectRoot: _optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'access', _76 => _76.projects, 'optionalAccess', _77 => _77[context2.projectName], 'access', _78 => _78.root]),
|
|
1342
1505
|
projectName: context2.projectName,
|
|
1343
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1506
|
+
sourceRoot: _optionalChain([context2, 'access', _79 => _79.projectsConfigurations, 'access', _80 => _80.projects, 'optionalAccess', _81 => _81[context2.projectName], 'optionalAccess', _82 => _82.sourceRoot]),
|
|
1344
1507
|
format: options.format,
|
|
1345
1508
|
platform: options.format
|
|
1346
1509
|
});
|
package/dist/executors.js
CHANGED
|
@@ -19,7 +19,7 @@ var _chunkTCG7CFMKjs = require('./chunk-TCG7CFMK.js');
|
|
|
19
19
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkGX74WTEMjs = require('./chunk-GX74WTEM.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkOCJK2N3Gjs = require('./chunk-OCJK2N3G.js');
|
|
@@ -53,4 +53,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkOCJK2N3Gjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkCSGLVAIKjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkNY3AXYUDjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkAKADBPPTjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkTCG7CFMKjs.cargoFormatExecutor; exports.esbuildExecutorFn =
|
|
56
|
+
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkOCJK2N3Gjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkCSGLVAIKjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkNY3AXYUDjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkAKADBPPTjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkTCG7CFMKjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkGX74WTEMjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkOFA5UEODjs.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunkBP5OIRQRjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkJADXJLCFjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var _chunkTCG7CFMKjs = require('./chunk-TCG7CFMK.js');
|
|
|
66
66
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkGX74WTEMjs = require('./chunk-GX74WTEM.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
var _chunkOCJK2N3Gjs = require('./chunk-OCJK2N3G.js');
|
|
@@ -282,4 +282,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
|
|
285
|
-
exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPK2SUBWIjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPK2SUBWIjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPK2SUBWIjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPK2SUBWIjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPK2SUBWIjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPK2SUBWIjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPK2SUBWIjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkAC5SI4YZjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunk7F4BVKX3js.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkOCJK2N3Gjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkCSGLVAIKjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkNY3AXYUDjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkAKADBPPTjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkTCG7CFMKjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkXFBY2IVQjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn =
|
|
285
|
+
exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPK2SUBWIjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPK2SUBWIjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPK2SUBWIjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPK2SUBWIjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPK2SUBWIjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPK2SUBWIjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPK2SUBWIjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkAC5SI4YZjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunk7F4BVKX3js.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkOCJK2N3Gjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkCSGLVAIKjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkNY3AXYUDjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkAKADBPPTjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkTCG7CFMKjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkXFBY2IVQjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkGX74WTEMjs.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunk7YRW5HNXjs.formatProjectTag; exports.getLockFileDependencies = _chunkPK2SUBWIjs.getLockFileDependencies; exports.getLockFileName = _chunkPK2SUBWIjs.getLockFileName; exports.getLockFileNodes = _chunkPK2SUBWIjs.getLockFileNodes; exports.getOutputPath = _chunkRBU35LQWjs.getOutputPath; exports.getPackageInfo = _chunk7AXFMX2Tjs.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunkUF6KFXG5js.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkUF6KFXG5js.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkGKL4BY2Yjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkGKL4BY2Yjs.getProjectConfigurations; exports.getProjectPlatform = _chunkUF6KFXG5js.getProjectPlatform; exports.getProjectRoot = _chunkUF6KFXG5js.getProjectRoot; exports.getProjectTag = _chunk7YRW5HNXjs.getProjectTag; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.getTypiaTransform = _chunkXITP2BX2js.getTypiaTransform; exports.hasProjectTag = _chunk7YRW5HNXjs.hasProjectTag; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.isEqualProjectTag = _chunk7YRW5HNXjs.isEqualProjectTag; exports.isExternal = _chunkULBTYC2Bjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkPK2SUBWIjs.lockFileExists; exports.modifyCargoNestedTable = _chunkZMFVKBRMjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkZMFVKBRMjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkCXXOP7P6js.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkPYR5LR3Mjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkRBU35LQWjs.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkZMFVKBRMjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkZMFVKBRMjs.parseCargoTomlWithTree; exports.pnpmCatalogUpdate = _chunkCUPARBOSjs.pnpmCatalogUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkHVOODRL3js.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunkPOI2YR4Ejs.releaseVersionGeneratorFn; exports.runProcess = _chunkULBTYC2Bjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunk7YRW5HNXjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkOFA5UEODjs.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkZMFVKBRMjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkRBU35LQWjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIWCQL3AQjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk7O34DHUGjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunkBP5OIRQRjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkJADXJLCFjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkBAJ3JRJCjs.withRunExecutor; exports.withRunGenerator = _chunkJOA2AXGFjs.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGX74WTEMjs = require('../../../chunk-GX74WTEM.js');
|
|
5
5
|
require('../../../chunk-BAJ3JRJC.js');
|
|
6
6
|
require('../../../chunk-UALZJZUK.js');
|
|
7
7
|
require('../../../chunk-SN7IJGEE.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-3GQAWCBQ.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.default =
|
|
14
|
+
exports.default = _chunkGX74WTEMjs.executor_default; exports.esbuildExecutorFn = _chunkGX74WTEMjs.esbuildExecutorFn;
|
package/package.json
CHANGED