@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/src/utils/index.js
CHANGED
|
@@ -6967,7 +6967,7 @@ ${lanes.join("\n")}
|
|
|
6967
6967
|
function isEnabled() {
|
|
6968
6968
|
return enabled;
|
|
6969
6969
|
}
|
|
6970
|
-
function enable(system =
|
|
6970
|
+
function enable(system = sys) {
|
|
6971
6971
|
var _a3;
|
|
6972
6972
|
if (!enabled) {
|
|
6973
6973
|
enabled = true;
|
|
@@ -10184,21 +10184,21 @@ ${lanes.join("\n")}
|
|
|
10184
10184
|
}
|
|
10185
10185
|
}
|
|
10186
10186
|
}
|
|
10187
|
-
function patchWriteFileEnsuringDirectory2(
|
|
10188
|
-
const originalWriteFile =
|
|
10189
|
-
|
|
10187
|
+
function patchWriteFileEnsuringDirectory2(sys2) {
|
|
10188
|
+
const originalWriteFile = sys2.writeFile;
|
|
10189
|
+
sys2.writeFile = (path13, data, writeBom) => writeFileEnsuringDirectories(
|
|
10190
10190
|
path13,
|
|
10191
10191
|
data,
|
|
10192
10192
|
!!writeBom,
|
|
10193
|
-
(path22, data2, writeByteOrderMark) => originalWriteFile.call(
|
|
10194
|
-
(path22) =>
|
|
10195
|
-
(path22) =>
|
|
10193
|
+
(path22, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path22, data2, writeByteOrderMark),
|
|
10194
|
+
(path22) => sys2.createDirectory(path22),
|
|
10195
|
+
(path22) => sys2.directoryExists(path22)
|
|
10196
10196
|
);
|
|
10197
10197
|
}
|
|
10198
10198
|
function setSys2(s) {
|
|
10199
|
-
|
|
10199
|
+
sys = s;
|
|
10200
10200
|
}
|
|
10201
|
-
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2,
|
|
10201
|
+
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2, sys;
|
|
10202
10202
|
var init_sys = __esm2({
|
|
10203
10203
|
"src/compiler/sys.ts"() {
|
|
10204
10204
|
"use strict";
|
|
@@ -10226,7 +10226,7 @@ ${lanes.join("\n")}
|
|
|
10226
10226
|
FileSystemEntryKind22[FileSystemEntryKind22["Directory"] = 1] = "Directory";
|
|
10227
10227
|
return FileSystemEntryKind22;
|
|
10228
10228
|
})(FileSystemEntryKind2 || {});
|
|
10229
|
-
|
|
10229
|
+
sys = (() => {
|
|
10230
10230
|
const byteOrderMarkIndicator = "\uFEFF";
|
|
10231
10231
|
function getNodeSystem() {
|
|
10232
10232
|
const nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
|
|
@@ -10669,23 +10669,23 @@ ${lanes.join("\n")}
|
|
|
10669
10669
|
return hash.digest("hex");
|
|
10670
10670
|
}
|
|
10671
10671
|
}
|
|
10672
|
-
let
|
|
10672
|
+
let sys2;
|
|
10673
10673
|
if (isNodeLikeSystem()) {
|
|
10674
|
-
|
|
10674
|
+
sys2 = getNodeSystem();
|
|
10675
10675
|
}
|
|
10676
|
-
if (
|
|
10677
|
-
patchWriteFileEnsuringDirectory2(
|
|
10676
|
+
if (sys2) {
|
|
10677
|
+
patchWriteFileEnsuringDirectory2(sys2);
|
|
10678
10678
|
}
|
|
10679
|
-
return
|
|
10679
|
+
return sys2;
|
|
10680
10680
|
})();
|
|
10681
|
-
if (
|
|
10682
|
-
setCustomPollingValues(
|
|
10681
|
+
if (sys && sys.getEnvironmentVariable) {
|
|
10682
|
+
setCustomPollingValues(sys);
|
|
10683
10683
|
Debug.setAssertionLevel(
|
|
10684
|
-
/^development$/i.test(
|
|
10684
|
+
/^development$/i.test(sys.getEnvironmentVariable("NODE_ENV")) ? 1 : 0
|
|
10685
10685
|
/* None */
|
|
10686
10686
|
);
|
|
10687
10687
|
}
|
|
10688
|
-
if (
|
|
10688
|
+
if (sys && sys.debugMode) {
|
|
10689
10689
|
Debug.isDebugging = true;
|
|
10690
10690
|
}
|
|
10691
10691
|
}
|
|
@@ -15658,7 +15658,7 @@ ${lanes.join("\n")}
|
|
|
15658
15658
|
function getNodeFlags(node) {
|
|
15659
15659
|
return node.flags;
|
|
15660
15660
|
}
|
|
15661
|
-
function validateLocaleAndSetLanguage(locale,
|
|
15661
|
+
function validateLocaleAndSetLanguage(locale, sys2, errors) {
|
|
15662
15662
|
const lowerCaseLocale = locale.toLowerCase();
|
|
15663
15663
|
const matchResult = /^([a-z]+)([_-]([a-z]+))?$/.exec(lowerCaseLocale);
|
|
15664
15664
|
if (!matchResult) {
|
|
@@ -15679,19 +15679,19 @@ ${lanes.join("\n")}
|
|
|
15679
15679
|
}
|
|
15680
15680
|
setUILocale(locale);
|
|
15681
15681
|
function trySetLanguageAndTerritory(language2, territory2, errors2) {
|
|
15682
|
-
const compilerFilePath = normalizePath(
|
|
15682
|
+
const compilerFilePath = normalizePath(sys2.getExecutingFilePath());
|
|
15683
15683
|
const containingDirectoryPath = getDirectoryPath(compilerFilePath);
|
|
15684
15684
|
let filePath = combinePaths(containingDirectoryPath, language2);
|
|
15685
15685
|
if (territory2) {
|
|
15686
15686
|
filePath = filePath + "-" + territory2;
|
|
15687
15687
|
}
|
|
15688
|
-
filePath =
|
|
15689
|
-
if (!
|
|
15688
|
+
filePath = sys2.resolvePath(combinePaths(filePath, "diagnosticMessages.generated.json"));
|
|
15689
|
+
if (!sys2.fileExists(filePath)) {
|
|
15690
15690
|
return false;
|
|
15691
15691
|
}
|
|
15692
15692
|
let fileContents = "";
|
|
15693
15693
|
try {
|
|
15694
|
-
fileContents =
|
|
15694
|
+
fileContents = sys2.readFile(filePath);
|
|
15695
15695
|
} catch (e3) {
|
|
15696
15696
|
if (errors2) {
|
|
15697
15697
|
errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath));
|
|
@@ -42953,7 +42953,7 @@ ${lanes.join("\n")}
|
|
|
42953
42953
|
}
|
|
42954
42954
|
}
|
|
42955
42955
|
function parseResponseFile(fileName) {
|
|
42956
|
-
const text = tryReadFile2(fileName, readFile2 || ((fileName2) =>
|
|
42956
|
+
const text = tryReadFile2(fileName, readFile2 || ((fileName2) => sys.readFile(fileName2)));
|
|
42957
42957
|
if (!isString(text)) {
|
|
42958
42958
|
errors.push(text);
|
|
42959
42959
|
return;
|
|
@@ -43123,7 +43123,7 @@ ${lanes.join("\n")}
|
|
|
43123
43123
|
watchOptionsToExtend
|
|
43124
43124
|
);
|
|
43125
43125
|
}
|
|
43126
|
-
function
|
|
43126
|
+
function readConfigFile2(fileName, readFile2) {
|
|
43127
43127
|
const textOrDiagnostic = tryReadFile2(fileName, readFile2);
|
|
43128
43128
|
return isString(textOrDiagnostic) ? parseConfigFileTextToJson2(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic };
|
|
43129
43129
|
}
|
|
@@ -43629,7 +43629,7 @@ ${lanes.join("\n")}
|
|
|
43629
43629
|
}
|
|
43630
43630
|
return value;
|
|
43631
43631
|
}
|
|
43632
|
-
function
|
|
43632
|
+
function parseJsonConfigFileContent2(json2, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {
|
|
43633
43633
|
return parseJsonConfigFileContentWorker(
|
|
43634
43634
|
json2,
|
|
43635
43635
|
/*sourceFile*/
|
|
@@ -125259,7 +125259,7 @@ ${lanes.join("\n")}
|
|
|
125259
125259
|
function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) {
|
|
125260
125260
|
if (mapOptions.inlineSourceMap) {
|
|
125261
125261
|
const sourceMapText = sourceMapGenerator.toString();
|
|
125262
|
-
const base64SourceMapText = base64encode(
|
|
125262
|
+
const base64SourceMapText = base64encode(sys, sourceMapText);
|
|
125263
125263
|
return `data:application/json;base64,${base64SourceMapText}`;
|
|
125264
125264
|
}
|
|
125265
125265
|
const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath)));
|
|
@@ -131059,7 +131059,7 @@ ${lanes.join("\n")}
|
|
|
131059
131059
|
}
|
|
131060
131060
|
};
|
|
131061
131061
|
}
|
|
131062
|
-
function createCompilerHostWorker2(options8, setParentNodes, system =
|
|
131062
|
+
function createCompilerHostWorker2(options8, setParentNodes, system = sys) {
|
|
131063
131063
|
const existingDirectories = /* @__PURE__ */ new Map();
|
|
131064
131064
|
const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames);
|
|
131065
131065
|
function directoryExists(directoryPath) {
|
|
@@ -137963,7 +137963,7 @@ ${lanes.join("\n")}
|
|
|
137963
137963
|
}
|
|
137964
137964
|
});
|
|
137965
137965
|
function createDiagnosticReporter2(system, pretty) {
|
|
137966
|
-
const host = system ===
|
|
137966
|
+
const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : {
|
|
137967
137967
|
getCurrentDirectory: () => system.getCurrentDirectory(),
|
|
137968
137968
|
getNewLine: () => system.newLine,
|
|
137969
137969
|
getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames)
|
|
@@ -138407,7 +138407,7 @@ ${lanes.join("\n")}
|
|
|
138407
138407
|
}
|
|
138408
138408
|
return 0;
|
|
138409
138409
|
}
|
|
138410
|
-
function createWatchHost2(system =
|
|
138410
|
+
function createWatchHost2(system = sys, reportWatchStatus2) {
|
|
138411
138411
|
const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter2(system);
|
|
138412
138412
|
return {
|
|
138413
138413
|
onWatchStatusChange,
|
|
@@ -138524,7 +138524,7 @@ ${lanes.join("\n")}
|
|
|
138524
138524
|
now: maybeBind(system, system.now)
|
|
138525
138525
|
};
|
|
138526
138526
|
}
|
|
138527
|
-
function createWatchCompilerHost(system =
|
|
138527
|
+
function createWatchCompilerHost(system = sys, createProgram22, reportDiagnostic, reportWatchStatus2) {
|
|
138528
138528
|
const write = (s) => system.write(s + system.newLine);
|
|
138529
138529
|
const result = createProgramHost2(system, createProgram22);
|
|
138530
138530
|
copyProperties(result, createWatchHost2(system, reportWatchStatus2));
|
|
@@ -138589,7 +138589,7 @@ ${lanes.join("\n")}
|
|
|
138589
138589
|
return host;
|
|
138590
138590
|
}
|
|
138591
138591
|
function performIncrementalCompilation2(input) {
|
|
138592
|
-
const system = input.system ||
|
|
138592
|
+
const system = input.system || sys;
|
|
138593
138593
|
const host = input.host || (input.host = createIncrementalCompilerHost2(input.options, system));
|
|
138594
138594
|
const builderProgram = createIncrementalProgram2(input);
|
|
138595
138595
|
const exitStatus = emitFilesAndReportErrorsAndGetExitStatus2(
|
|
@@ -138607,10 +138607,10 @@ ${lanes.join("\n")}
|
|
|
138607
138607
|
"src/compiler/watch.ts"() {
|
|
138608
138608
|
"use strict";
|
|
138609
138609
|
init_ts2();
|
|
138610
|
-
sysFormatDiagnosticsHost =
|
|
138611
|
-
getCurrentDirectory: () =>
|
|
138612
|
-
getNewLine: () =>
|
|
138613
|
-
getCanonicalFileName: createGetCanonicalFileName(
|
|
138610
|
+
sysFormatDiagnosticsHost = sys ? {
|
|
138611
|
+
getCurrentDirectory: () => sys.getCurrentDirectory(),
|
|
138612
|
+
getNewLine: () => sys.newLine,
|
|
138613
|
+
getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames)
|
|
138614
138614
|
} : void 0;
|
|
138615
138615
|
screenStartingMessageCodes2 = [
|
|
138616
138616
|
Diagnostics.Starting_compilation_in_watch_mode.code,
|
|
@@ -138660,7 +138660,7 @@ ${lanes.join("\n")}
|
|
|
138660
138660
|
return void 0;
|
|
138661
138661
|
return createBuilderProgramUsingProgramBuildInfo2(buildInfo, buildInfoPath, host);
|
|
138662
138662
|
}
|
|
138663
|
-
function createIncrementalCompilerHost2(options8, system =
|
|
138663
|
+
function createIncrementalCompilerHost2(options8, system = sys) {
|
|
138664
138664
|
const host = createCompilerHostWorker2(
|
|
138665
138665
|
options8,
|
|
138666
138666
|
/*setParentNodes*/
|
|
@@ -139466,12 +139466,12 @@ ${lanes.join("\n")}
|
|
|
139466
139466
|
host.now = maybeBind(system, system.now);
|
|
139467
139467
|
return host;
|
|
139468
139468
|
}
|
|
139469
|
-
function createSolutionBuilderHost2(system =
|
|
139469
|
+
function createSolutionBuilderHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) {
|
|
139470
139470
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
139471
139471
|
host.reportErrorSummary = reportErrorSummary2;
|
|
139472
139472
|
return host;
|
|
139473
139473
|
}
|
|
139474
|
-
function createSolutionBuilderWithWatchHost2(system =
|
|
139474
|
+
function createSolutionBuilderWithWatchHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {
|
|
139475
139475
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
139476
139476
|
const watchHost = createWatchHost2(system, reportWatchStatus2);
|
|
139477
139477
|
copyProperties(host, watchHost);
|
|
@@ -141600,11 +141600,11 @@ ${lanes.join("\n")}
|
|
|
141600
141600
|
}
|
|
141601
141601
|
});
|
|
141602
141602
|
function hasArgument2(argumentName) {
|
|
141603
|
-
return
|
|
141603
|
+
return sys.args.includes(argumentName);
|
|
141604
141604
|
}
|
|
141605
141605
|
function findArgument2(argumentName) {
|
|
141606
|
-
const index =
|
|
141607
|
-
return index >= 0 && index <
|
|
141606
|
+
const index = sys.args.indexOf(argumentName);
|
|
141607
|
+
return index >= 0 && index < sys.args.length - 1 ? sys.args[index + 1] : void 0;
|
|
141608
141608
|
}
|
|
141609
141609
|
function nowString2() {
|
|
141610
141610
|
const d4 = /* @__PURE__ */ new Date();
|
|
@@ -141661,12 +141661,12 @@ ${lanes.join("\n")}
|
|
|
141661
141661
|
return nodeCoreModules.has(moduleName) ? "node" : moduleName;
|
|
141662
141662
|
}
|
|
141663
141663
|
function loadSafeList(host, safeListPath) {
|
|
141664
|
-
const result =
|
|
141664
|
+
const result = readConfigFile2(safeListPath, (path13) => host.readFile(path13));
|
|
141665
141665
|
return new Map(Object.entries(result.config));
|
|
141666
141666
|
}
|
|
141667
141667
|
function loadTypesMap(host, typesMapPath) {
|
|
141668
141668
|
var _a3;
|
|
141669
|
-
const result =
|
|
141669
|
+
const result = readConfigFile2(typesMapPath, (path13) => host.readFile(path13));
|
|
141670
141670
|
if ((_a3 = result.config) == null ? void 0 : _a3.simpleMap) {
|
|
141671
141671
|
return new Map(Object.entries(result.config.simpleMap));
|
|
141672
141672
|
}
|
|
@@ -141746,7 +141746,7 @@ ${lanes.join("\n")}
|
|
|
141746
141746
|
let manifestTypingNames;
|
|
141747
141747
|
if (host.fileExists(manifestPath)) {
|
|
141748
141748
|
filesToWatch2.push(manifestPath);
|
|
141749
|
-
manifest =
|
|
141749
|
+
manifest = readConfigFile2(manifestPath, (path13) => host.readFile(path13)).config;
|
|
141750
141750
|
manifestTypingNames = flatMap([manifest.dependencies, manifest.devDependencies, manifest.optionalDependencies, manifest.peerDependencies], getOwnKeys);
|
|
141751
141751
|
addInferredTypings(manifestTypingNames, `Typing names in '${manifestPath}' dependencies`);
|
|
141752
141752
|
}
|
|
@@ -141781,7 +141781,7 @@ ${lanes.join("\n")}
|
|
|
141781
141781
|
log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
|
|
141782
141782
|
for (const manifestPath2 of dependencyManifestNames) {
|
|
141783
141783
|
const normalizedFileName = normalizePath(manifestPath2);
|
|
141784
|
-
const result2 =
|
|
141784
|
+
const result2 = readConfigFile2(normalizedFileName, (path13) => host.readFile(path13));
|
|
141785
141785
|
const manifest2 = result2.config;
|
|
141786
141786
|
if (!manifest2.name) {
|
|
141787
141787
|
continue;
|
|
@@ -148396,7 +148396,7 @@ ${lanes.join("\n")}
|
|
|
148396
148396
|
if (match) {
|
|
148397
148397
|
if (match[1]) {
|
|
148398
148398
|
const base64Object = match[1];
|
|
148399
|
-
return convertDocumentToSourceMapper(host, base64decode(
|
|
148399
|
+
return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);
|
|
148400
148400
|
}
|
|
148401
148401
|
mapFileName = void 0;
|
|
148402
148402
|
}
|
|
@@ -157304,8 +157304,8 @@ ${newComment.split("\n").map((c4) => ` * ${c4}`).join("\n")}
|
|
|
157304
157304
|
return node && node.parent && node.parent.kind === 212 && node.parent.argumentExpression === node;
|
|
157305
157305
|
}
|
|
157306
157306
|
function getDefaultLibFilePath(options8) {
|
|
157307
|
-
if (
|
|
157308
|
-
return combinePaths(getDirectoryPath(normalizePath(
|
|
157307
|
+
if (sys) {
|
|
157308
|
+
return combinePaths(getDirectoryPath(normalizePath(sys.getExecutingFilePath())), getDefaultLibFileName(options8));
|
|
157309
157309
|
}
|
|
157310
157310
|
throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ");
|
|
157311
157311
|
}
|
|
@@ -201456,7 +201456,7 @@ ${e3.message}`;
|
|
|
201456
201456
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
201457
201457
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
201458
201458
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
201459
|
-
parseJsonConfigFileContent: () =>
|
|
201459
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
201460
201460
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
201461
201461
|
parseJsonText: () => parseJsonText,
|
|
201462
201462
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -201509,7 +201509,7 @@ ${e3.message}`;
|
|
|
201509
201509
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
201510
201510
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
201511
201511
|
readBuilderProgram: () => readBuilderProgram2,
|
|
201512
|
-
readConfigFile: () =>
|
|
201512
|
+
readConfigFile: () => readConfigFile2,
|
|
201513
201513
|
readHelper: () => readHelper2,
|
|
201514
201514
|
readJson: () => readJson2,
|
|
201515
201515
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -201664,7 +201664,7 @@ ${e3.message}`;
|
|
|
201664
201664
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
201665
201665
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
201666
201666
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
201667
|
-
sys: () =>
|
|
201667
|
+
sys: () => sys,
|
|
201668
201668
|
sysLog: () => sysLog2,
|
|
201669
201669
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
201670
201670
|
takeWhile: () => takeWhile,
|
|
@@ -203860,7 +203860,7 @@ ${e3.message}`;
|
|
|
203860
203860
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
203861
203861
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
203862
203862
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
203863
|
-
parseJsonConfigFileContent: () =>
|
|
203863
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
203864
203864
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
203865
203865
|
parseJsonText: () => parseJsonText,
|
|
203866
203866
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -203913,7 +203913,7 @@ ${e3.message}`;
|
|
|
203913
203913
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
203914
203914
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
203915
203915
|
readBuilderProgram: () => readBuilderProgram2,
|
|
203916
|
-
readConfigFile: () =>
|
|
203916
|
+
readConfigFile: () => readConfigFile2,
|
|
203917
203917
|
readHelper: () => readHelper2,
|
|
203918
203918
|
readJson: () => readJson2,
|
|
203919
203919
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -204068,7 +204068,7 @@ ${e3.message}`;
|
|
|
204068
204068
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
204069
204069
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
204070
204070
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
204071
|
-
sys: () =>
|
|
204071
|
+
sys: () => sys,
|
|
204072
204072
|
sysLog: () => sysLog2,
|
|
204073
204073
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
204074
204074
|
takeWhile: () => takeWhile,
|
|
@@ -463632,7 +463632,7 @@ var environmentPlugin = (data) => ({
|
|
|
463632
463632
|
|
|
463633
463633
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
463634
463634
|
var import_tsup = __toESM(require_dist6());
|
|
463635
|
-
var
|
|
463635
|
+
var import_typescript = __toESM(require_typescript());
|
|
463636
463636
|
|
|
463637
463637
|
// packages/workspace-tools/src/base/get-tsup-config.ts
|
|
463638
463638
|
var import_devkit = __toESM(require_devkit());
|
|
@@ -463856,8 +463856,8 @@ ${options8.banner}
|
|
|
463856
463856
|
}
|
|
463857
463857
|
};
|
|
463858
463858
|
function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
463859
|
-
const config =
|
|
463860
|
-
const tsConfig =
|
|
463859
|
+
const config = import_typescript.default.readConfigFile(options8.tsConfig, import_typescript.default.sys.readFile).config;
|
|
463860
|
+
const tsConfig = import_typescript.default.parseJsonConfigFileContent(
|
|
463861
463861
|
{
|
|
463862
463862
|
...config,
|
|
463863
463863
|
compilerOptions: {
|
|
@@ -463880,7 +463880,7 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
|
463880
463880
|
declarationDir: (0, import_devkit2.joinPathFragments)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
463881
463881
|
}
|
|
463882
463882
|
},
|
|
463883
|
-
|
|
463883
|
+
import_typescript.default.sys,
|
|
463884
463884
|
(0, import_node_path5.dirname)(options8.tsConfig)
|
|
463885
463885
|
);
|
|
463886
463886
|
tsConfig.options.pathsBasePath = workspaceRoot;
|