@storm-software/workspace-tools 1.60.10 → 1.60.12
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 +24 -0
- package/executors.json +0 -5
- package/index.js +60 -60
- package/meta.json +1 -1
- package/package.json +1 -3
- package/src/executors/tsup/executor.js +60 -60
- package/src/executors/tsup-browser/executor.js +60 -60
- package/src/executors/tsup-neutral/executor.js +60 -60
- package/src/executors/tsup-node/executor.js +60 -60
- package/src/utils/index.js +60 -60
- package/src/executors/design-tokens/executor.js +0 -420669
- package/src/executors/design-tokens/schema.d.ts +0 -7
- package/src/executors/design-tokens/schema.json +0 -74
- package/src/generators/design-tokens/schema.d.ts +0 -11
- package/src/generators/design-tokens/schema.json +0 -74
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.60.
|
|
3
|
+
"version": "1.60.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"@microsoft/api-extractor": "7.40.1",
|
|
37
37
|
"@nx/devkit": "18.0.4",
|
|
38
38
|
"@nx/esbuild": "18.0.4",
|
|
39
|
-
"@nxkit/style-dictionary": "4.0.0",
|
|
40
39
|
"@rollup/plugin-json": "6.1.0",
|
|
41
40
|
"decky": "1.1.1",
|
|
42
41
|
"esbuild-plugin-environment": "0.3.0",
|
|
@@ -52,7 +51,6 @@
|
|
|
52
51
|
"rollup": "4.10.0",
|
|
53
52
|
"rollup-plugin-dts": "6.1.0",
|
|
54
53
|
"semver": "7.5.4",
|
|
55
|
-
"style-dictionary": "3.9.2",
|
|
56
54
|
"terser": "5.24.0",
|
|
57
55
|
"tslib": "2.6.2",
|
|
58
56
|
"tsup": "8.0.0",
|
|
@@ -177716,7 +177716,7 @@ ${lanes.join("\n")}
|
|
|
177716
177716
|
function isEnabled() {
|
|
177717
177717
|
return enabled;
|
|
177718
177718
|
}
|
|
177719
|
-
function enable(system =
|
|
177719
|
+
function enable(system = sys) {
|
|
177720
177720
|
var _a3;
|
|
177721
177721
|
if (!enabled) {
|
|
177722
177722
|
enabled = true;
|
|
@@ -180933,21 +180933,21 @@ ${lanes.join("\n")}
|
|
|
180933
180933
|
}
|
|
180934
180934
|
}
|
|
180935
180935
|
}
|
|
180936
|
-
function patchWriteFileEnsuringDirectory2(
|
|
180937
|
-
const originalWriteFile =
|
|
180938
|
-
|
|
180936
|
+
function patchWriteFileEnsuringDirectory2(sys2) {
|
|
180937
|
+
const originalWriteFile = sys2.writeFile;
|
|
180938
|
+
sys2.writeFile = (path14, data, writeBom) => writeFileEnsuringDirectories(
|
|
180939
180939
|
path14,
|
|
180940
180940
|
data,
|
|
180941
180941
|
!!writeBom,
|
|
180942
|
-
(path22, data2, writeByteOrderMark) => originalWriteFile.call(
|
|
180943
|
-
(path22) =>
|
|
180944
|
-
(path22) =>
|
|
180942
|
+
(path22, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path22, data2, writeByteOrderMark),
|
|
180943
|
+
(path22) => sys2.createDirectory(path22),
|
|
180944
|
+
(path22) => sys2.directoryExists(path22)
|
|
180945
180945
|
);
|
|
180946
180946
|
}
|
|
180947
180947
|
function setSys2(s) {
|
|
180948
|
-
|
|
180948
|
+
sys = s;
|
|
180949
180949
|
}
|
|
180950
|
-
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2,
|
|
180950
|
+
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2, sys;
|
|
180951
180951
|
var init_sys = __esm2({
|
|
180952
180952
|
"src/compiler/sys.ts"() {
|
|
180953
180953
|
"use strict";
|
|
@@ -180975,7 +180975,7 @@ ${lanes.join("\n")}
|
|
|
180975
180975
|
FileSystemEntryKind22[FileSystemEntryKind22["Directory"] = 1] = "Directory";
|
|
180976
180976
|
return FileSystemEntryKind22;
|
|
180977
180977
|
})(FileSystemEntryKind2 || {});
|
|
180978
|
-
|
|
180978
|
+
sys = (() => {
|
|
180979
180979
|
const byteOrderMarkIndicator = "\uFEFF";
|
|
180980
180980
|
function getNodeSystem() {
|
|
180981
180981
|
const nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
|
|
@@ -181418,23 +181418,23 @@ ${lanes.join("\n")}
|
|
|
181418
181418
|
return hash.digest("hex");
|
|
181419
181419
|
}
|
|
181420
181420
|
}
|
|
181421
|
-
let
|
|
181421
|
+
let sys2;
|
|
181422
181422
|
if (isNodeLikeSystem()) {
|
|
181423
|
-
|
|
181423
|
+
sys2 = getNodeSystem();
|
|
181424
181424
|
}
|
|
181425
|
-
if (
|
|
181426
|
-
patchWriteFileEnsuringDirectory2(
|
|
181425
|
+
if (sys2) {
|
|
181426
|
+
patchWriteFileEnsuringDirectory2(sys2);
|
|
181427
181427
|
}
|
|
181428
|
-
return
|
|
181428
|
+
return sys2;
|
|
181429
181429
|
})();
|
|
181430
|
-
if (
|
|
181431
|
-
setCustomPollingValues(
|
|
181430
|
+
if (sys && sys.getEnvironmentVariable) {
|
|
181431
|
+
setCustomPollingValues(sys);
|
|
181432
181432
|
Debug.setAssertionLevel(
|
|
181433
|
-
/^development$/i.test(
|
|
181433
|
+
/^development$/i.test(sys.getEnvironmentVariable("NODE_ENV")) ? 1 : 0
|
|
181434
181434
|
/* None */
|
|
181435
181435
|
);
|
|
181436
181436
|
}
|
|
181437
|
-
if (
|
|
181437
|
+
if (sys && sys.debugMode) {
|
|
181438
181438
|
Debug.isDebugging = true;
|
|
181439
181439
|
}
|
|
181440
181440
|
}
|
|
@@ -186407,7 +186407,7 @@ ${lanes.join("\n")}
|
|
|
186407
186407
|
function getNodeFlags(node) {
|
|
186408
186408
|
return node.flags;
|
|
186409
186409
|
}
|
|
186410
|
-
function validateLocaleAndSetLanguage(locale,
|
|
186410
|
+
function validateLocaleAndSetLanguage(locale, sys2, errors) {
|
|
186411
186411
|
const lowerCaseLocale = locale.toLowerCase();
|
|
186412
186412
|
const matchResult = /^([a-z]+)([_-]([a-z]+))?$/.exec(lowerCaseLocale);
|
|
186413
186413
|
if (!matchResult) {
|
|
@@ -186428,19 +186428,19 @@ ${lanes.join("\n")}
|
|
|
186428
186428
|
}
|
|
186429
186429
|
setUILocale(locale);
|
|
186430
186430
|
function trySetLanguageAndTerritory(language2, territory2, errors2) {
|
|
186431
|
-
const compilerFilePath = normalizePath(
|
|
186431
|
+
const compilerFilePath = normalizePath(sys2.getExecutingFilePath());
|
|
186432
186432
|
const containingDirectoryPath = getDirectoryPath(compilerFilePath);
|
|
186433
186433
|
let filePath = combinePaths(containingDirectoryPath, language2);
|
|
186434
186434
|
if (territory2) {
|
|
186435
186435
|
filePath = filePath + "-" + territory2;
|
|
186436
186436
|
}
|
|
186437
|
-
filePath =
|
|
186438
|
-
if (!
|
|
186437
|
+
filePath = sys2.resolvePath(combinePaths(filePath, "diagnosticMessages.generated.json"));
|
|
186438
|
+
if (!sys2.fileExists(filePath)) {
|
|
186439
186439
|
return false;
|
|
186440
186440
|
}
|
|
186441
186441
|
let fileContents = "";
|
|
186442
186442
|
try {
|
|
186443
|
-
fileContents =
|
|
186443
|
+
fileContents = sys2.readFile(filePath);
|
|
186444
186444
|
} catch (e3) {
|
|
186445
186445
|
if (errors2) {
|
|
186446
186446
|
errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath));
|
|
@@ -213702,7 +213702,7 @@ ${lanes.join("\n")}
|
|
|
213702
213702
|
}
|
|
213703
213703
|
}
|
|
213704
213704
|
function parseResponseFile(fileName) {
|
|
213705
|
-
const text = tryReadFile2(fileName, readFile3 || ((fileName2) =>
|
|
213705
|
+
const text = tryReadFile2(fileName, readFile3 || ((fileName2) => sys.readFile(fileName2)));
|
|
213706
213706
|
if (!isString(text)) {
|
|
213707
213707
|
errors.push(text);
|
|
213708
213708
|
return;
|
|
@@ -213872,7 +213872,7 @@ ${lanes.join("\n")}
|
|
|
213872
213872
|
watchOptionsToExtend
|
|
213873
213873
|
);
|
|
213874
213874
|
}
|
|
213875
|
-
function
|
|
213875
|
+
function readConfigFile2(fileName, readFile3) {
|
|
213876
213876
|
const textOrDiagnostic = tryReadFile2(fileName, readFile3);
|
|
213877
213877
|
return isString(textOrDiagnostic) ? parseConfigFileTextToJson2(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic };
|
|
213878
213878
|
}
|
|
@@ -214378,7 +214378,7 @@ ${lanes.join("\n")}
|
|
|
214378
214378
|
}
|
|
214379
214379
|
return value;
|
|
214380
214380
|
}
|
|
214381
|
-
function
|
|
214381
|
+
function parseJsonConfigFileContent2(json2, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {
|
|
214382
214382
|
return parseJsonConfigFileContentWorker(
|
|
214383
214383
|
json2,
|
|
214384
214384
|
/*sourceFile*/
|
|
@@ -296008,7 +296008,7 @@ ${lanes.join("\n")}
|
|
|
296008
296008
|
function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) {
|
|
296009
296009
|
if (mapOptions.inlineSourceMap) {
|
|
296010
296010
|
const sourceMapText = sourceMapGenerator.toString();
|
|
296011
|
-
const base64SourceMapText = base64encode(
|
|
296011
|
+
const base64SourceMapText = base64encode(sys, sourceMapText);
|
|
296012
296012
|
return `data:application/json;base64,${base64SourceMapText}`;
|
|
296013
296013
|
}
|
|
296014
296014
|
const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath)));
|
|
@@ -301808,7 +301808,7 @@ ${lanes.join("\n")}
|
|
|
301808
301808
|
}
|
|
301809
301809
|
};
|
|
301810
301810
|
}
|
|
301811
|
-
function createCompilerHostWorker2(options8, setParentNodes, system =
|
|
301811
|
+
function createCompilerHostWorker2(options8, setParentNodes, system = sys) {
|
|
301812
301812
|
const existingDirectories = /* @__PURE__ */ new Map();
|
|
301813
301813
|
const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames);
|
|
301814
301814
|
function directoryExists(directoryPath) {
|
|
@@ -308712,7 +308712,7 @@ ${lanes.join("\n")}
|
|
|
308712
308712
|
}
|
|
308713
308713
|
});
|
|
308714
308714
|
function createDiagnosticReporter2(system, pretty) {
|
|
308715
|
-
const host = system ===
|
|
308715
|
+
const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : {
|
|
308716
308716
|
getCurrentDirectory: () => system.getCurrentDirectory(),
|
|
308717
308717
|
getNewLine: () => system.newLine,
|
|
308718
308718
|
getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames)
|
|
@@ -309156,7 +309156,7 @@ ${lanes.join("\n")}
|
|
|
309156
309156
|
}
|
|
309157
309157
|
return 0;
|
|
309158
309158
|
}
|
|
309159
|
-
function createWatchHost2(system =
|
|
309159
|
+
function createWatchHost2(system = sys, reportWatchStatus2) {
|
|
309160
309160
|
const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter2(system);
|
|
309161
309161
|
return {
|
|
309162
309162
|
onWatchStatusChange,
|
|
@@ -309273,7 +309273,7 @@ ${lanes.join("\n")}
|
|
|
309273
309273
|
now: maybeBind(system, system.now)
|
|
309274
309274
|
};
|
|
309275
309275
|
}
|
|
309276
|
-
function createWatchCompilerHost(system =
|
|
309276
|
+
function createWatchCompilerHost(system = sys, createProgram22, reportDiagnostic, reportWatchStatus2) {
|
|
309277
309277
|
const write = (s) => system.write(s + system.newLine);
|
|
309278
309278
|
const result = createProgramHost2(system, createProgram22);
|
|
309279
309279
|
copyProperties(result, createWatchHost2(system, reportWatchStatus2));
|
|
@@ -309338,7 +309338,7 @@ ${lanes.join("\n")}
|
|
|
309338
309338
|
return host;
|
|
309339
309339
|
}
|
|
309340
309340
|
function performIncrementalCompilation2(input) {
|
|
309341
|
-
const system = input.system ||
|
|
309341
|
+
const system = input.system || sys;
|
|
309342
309342
|
const host = input.host || (input.host = createIncrementalCompilerHost2(input.options, system));
|
|
309343
309343
|
const builderProgram = createIncrementalProgram2(input);
|
|
309344
309344
|
const exitStatus = emitFilesAndReportErrorsAndGetExitStatus2(
|
|
@@ -309356,10 +309356,10 @@ ${lanes.join("\n")}
|
|
|
309356
309356
|
"src/compiler/watch.ts"() {
|
|
309357
309357
|
"use strict";
|
|
309358
309358
|
init_ts2();
|
|
309359
|
-
sysFormatDiagnosticsHost =
|
|
309360
|
-
getCurrentDirectory: () =>
|
|
309361
|
-
getNewLine: () =>
|
|
309362
|
-
getCanonicalFileName: createGetCanonicalFileName(
|
|
309359
|
+
sysFormatDiagnosticsHost = sys ? {
|
|
309360
|
+
getCurrentDirectory: () => sys.getCurrentDirectory(),
|
|
309361
|
+
getNewLine: () => sys.newLine,
|
|
309362
|
+
getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames)
|
|
309363
309363
|
} : void 0;
|
|
309364
309364
|
screenStartingMessageCodes2 = [
|
|
309365
309365
|
Diagnostics.Starting_compilation_in_watch_mode.code,
|
|
@@ -309409,7 +309409,7 @@ ${lanes.join("\n")}
|
|
|
309409
309409
|
return void 0;
|
|
309410
309410
|
return createBuilderProgramUsingProgramBuildInfo2(buildInfo, buildInfoPath, host);
|
|
309411
309411
|
}
|
|
309412
|
-
function createIncrementalCompilerHost2(options8, system =
|
|
309412
|
+
function createIncrementalCompilerHost2(options8, system = sys) {
|
|
309413
309413
|
const host = createCompilerHostWorker2(
|
|
309414
309414
|
options8,
|
|
309415
309415
|
/*setParentNodes*/
|
|
@@ -310215,12 +310215,12 @@ ${lanes.join("\n")}
|
|
|
310215
310215
|
host.now = maybeBind(system, system.now);
|
|
310216
310216
|
return host;
|
|
310217
310217
|
}
|
|
310218
|
-
function createSolutionBuilderHost2(system =
|
|
310218
|
+
function createSolutionBuilderHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) {
|
|
310219
310219
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
310220
310220
|
host.reportErrorSummary = reportErrorSummary2;
|
|
310221
310221
|
return host;
|
|
310222
310222
|
}
|
|
310223
|
-
function createSolutionBuilderWithWatchHost2(system =
|
|
310223
|
+
function createSolutionBuilderWithWatchHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {
|
|
310224
310224
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
310225
310225
|
const watchHost = createWatchHost2(system, reportWatchStatus2);
|
|
310226
310226
|
copyProperties(host, watchHost);
|
|
@@ -312349,11 +312349,11 @@ ${lanes.join("\n")}
|
|
|
312349
312349
|
}
|
|
312350
312350
|
});
|
|
312351
312351
|
function hasArgument2(argumentName) {
|
|
312352
|
-
return
|
|
312352
|
+
return sys.args.includes(argumentName);
|
|
312353
312353
|
}
|
|
312354
312354
|
function findArgument2(argumentName) {
|
|
312355
|
-
const index =
|
|
312356
|
-
return index >= 0 && index <
|
|
312355
|
+
const index = sys.args.indexOf(argumentName);
|
|
312356
|
+
return index >= 0 && index < sys.args.length - 1 ? sys.args[index + 1] : void 0;
|
|
312357
312357
|
}
|
|
312358
312358
|
function nowString2() {
|
|
312359
312359
|
const d4 = /* @__PURE__ */ new Date();
|
|
@@ -312410,12 +312410,12 @@ ${lanes.join("\n")}
|
|
|
312410
312410
|
return nodeCoreModules.has(moduleName) ? "node" : moduleName;
|
|
312411
312411
|
}
|
|
312412
312412
|
function loadSafeList(host, safeListPath) {
|
|
312413
|
-
const result =
|
|
312413
|
+
const result = readConfigFile2(safeListPath, (path14) => host.readFile(path14));
|
|
312414
312414
|
return new Map(Object.entries(result.config));
|
|
312415
312415
|
}
|
|
312416
312416
|
function loadTypesMap(host, typesMapPath) {
|
|
312417
312417
|
var _a3;
|
|
312418
|
-
const result =
|
|
312418
|
+
const result = readConfigFile2(typesMapPath, (path14) => host.readFile(path14));
|
|
312419
312419
|
if ((_a3 = result.config) == null ? void 0 : _a3.simpleMap) {
|
|
312420
312420
|
return new Map(Object.entries(result.config.simpleMap));
|
|
312421
312421
|
}
|
|
@@ -312495,7 +312495,7 @@ ${lanes.join("\n")}
|
|
|
312495
312495
|
let manifestTypingNames;
|
|
312496
312496
|
if (host.fileExists(manifestPath)) {
|
|
312497
312497
|
filesToWatch2.push(manifestPath);
|
|
312498
|
-
manifest =
|
|
312498
|
+
manifest = readConfigFile2(manifestPath, (path14) => host.readFile(path14)).config;
|
|
312499
312499
|
manifestTypingNames = flatMap([manifest.dependencies, manifest.devDependencies, manifest.optionalDependencies, manifest.peerDependencies], getOwnKeys);
|
|
312500
312500
|
addInferredTypings(manifestTypingNames, `Typing names in '${manifestPath}' dependencies`);
|
|
312501
312501
|
}
|
|
@@ -312530,7 +312530,7 @@ ${lanes.join("\n")}
|
|
|
312530
312530
|
log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
|
|
312531
312531
|
for (const manifestPath2 of dependencyManifestNames) {
|
|
312532
312532
|
const normalizedFileName = normalizePath(manifestPath2);
|
|
312533
|
-
const result2 =
|
|
312533
|
+
const result2 = readConfigFile2(normalizedFileName, (path14) => host.readFile(path14));
|
|
312534
312534
|
const manifest2 = result2.config;
|
|
312535
312535
|
if (!manifest2.name) {
|
|
312536
312536
|
continue;
|
|
@@ -319145,7 +319145,7 @@ ${lanes.join("\n")}
|
|
|
319145
319145
|
if (match2) {
|
|
319146
319146
|
if (match2[1]) {
|
|
319147
319147
|
const base64Object = match2[1];
|
|
319148
|
-
return convertDocumentToSourceMapper(host, base64decode(
|
|
319148
|
+
return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);
|
|
319149
319149
|
}
|
|
319150
319150
|
mapFileName = void 0;
|
|
319151
319151
|
}
|
|
@@ -328053,8 +328053,8 @@ ${newComment.split("\n").map((c4) => ` * ${c4}`).join("\n")}
|
|
|
328053
328053
|
return node && node.parent && node.parent.kind === 212 && node.parent.argumentExpression === node;
|
|
328054
328054
|
}
|
|
328055
328055
|
function getDefaultLibFilePath(options8) {
|
|
328056
|
-
if (
|
|
328057
|
-
return combinePaths(getDirectoryPath(normalizePath(
|
|
328056
|
+
if (sys) {
|
|
328057
|
+
return combinePaths(getDirectoryPath(normalizePath(sys.getExecutingFilePath())), getDefaultLibFileName(options8));
|
|
328058
328058
|
}
|
|
328059
328059
|
throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ");
|
|
328060
328060
|
}
|
|
@@ -372205,7 +372205,7 @@ ${e3.message}`;
|
|
|
372205
372205
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
372206
372206
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
372207
372207
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
372208
|
-
parseJsonConfigFileContent: () =>
|
|
372208
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
372209
372209
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
372210
372210
|
parseJsonText: () => parseJsonText,
|
|
372211
372211
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -372258,7 +372258,7 @@ ${e3.message}`;
|
|
|
372258
372258
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
372259
372259
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
372260
372260
|
readBuilderProgram: () => readBuilderProgram2,
|
|
372261
|
-
readConfigFile: () =>
|
|
372261
|
+
readConfigFile: () => readConfigFile2,
|
|
372262
372262
|
readHelper: () => readHelper2,
|
|
372263
372263
|
readJson: () => readJson2,
|
|
372264
372264
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -372413,7 +372413,7 @@ ${e3.message}`;
|
|
|
372413
372413
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
372414
372414
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
372415
372415
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
372416
|
-
sys: () =>
|
|
372416
|
+
sys: () => sys,
|
|
372417
372417
|
sysLog: () => sysLog2,
|
|
372418
372418
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
372419
372419
|
takeWhile: () => takeWhile,
|
|
@@ -374609,7 +374609,7 @@ ${e3.message}`;
|
|
|
374609
374609
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
374610
374610
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
374611
374611
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
374612
|
-
parseJsonConfigFileContent: () =>
|
|
374612
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
374613
374613
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
374614
374614
|
parseJsonText: () => parseJsonText,
|
|
374615
374615
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -374662,7 +374662,7 @@ ${e3.message}`;
|
|
|
374662
374662
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
374663
374663
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
374664
374664
|
readBuilderProgram: () => readBuilderProgram2,
|
|
374665
|
-
readConfigFile: () =>
|
|
374665
|
+
readConfigFile: () => readConfigFile2,
|
|
374666
374666
|
readHelper: () => readHelper2,
|
|
374667
374667
|
readJson: () => readJson2,
|
|
374668
374668
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -374817,7 +374817,7 @@ ${e3.message}`;
|
|
|
374817
374817
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
374818
374818
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
374819
374819
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
374820
|
-
sys: () =>
|
|
374820
|
+
sys: () => sys,
|
|
374821
374821
|
sysLog: () => sysLog2,
|
|
374822
374822
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
374823
374823
|
takeWhile: () => takeWhile,
|
|
@@ -464931,7 +464931,7 @@ var environmentPlugin = (data) => ({
|
|
|
464931
464931
|
|
|
464932
464932
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
464933
464933
|
var import_tsup = __toESM(require_dist7());
|
|
464934
|
-
var
|
|
464934
|
+
var import_typescript = __toESM(require_typescript());
|
|
464935
464935
|
|
|
464936
464936
|
// packages/workspace-tools/src/base/get-tsup-config.ts
|
|
464937
464937
|
var import_devkit = __toESM(require_devkit());
|
|
@@ -465155,8 +465155,8 @@ ${options8.banner}
|
|
|
465155
465155
|
}
|
|
465156
465156
|
};
|
|
465157
465157
|
function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
465158
|
-
const config =
|
|
465159
|
-
const tsConfig =
|
|
465158
|
+
const config = import_typescript.default.readConfigFile(options8.tsConfig, import_typescript.default.sys.readFile).config;
|
|
465159
|
+
const tsConfig = import_typescript.default.parseJsonConfigFileContent(
|
|
465160
465160
|
{
|
|
465161
465161
|
...config,
|
|
465162
465162
|
compilerOptions: {
|
|
@@ -465179,7 +465179,7 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
|
465179
465179
|
declarationDir: (0, import_devkit2.joinPathFragments)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
465180
465180
|
}
|
|
465181
465181
|
},
|
|
465182
|
-
|
|
465182
|
+
import_typescript.default.sys,
|
|
465183
465183
|
(0, import_node_path4.dirname)(options8.tsConfig)
|
|
465184
465184
|
);
|
|
465185
465185
|
tsConfig.options.pathsBasePath = workspaceRoot;
|