@storm-software/workspace-tools 1.60.10 → 1.60.11
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 +12 -0
- package/executors.json +0 -5
- package/index.js +60 -60
- package/meta.json +1 -1
- package/package.json +2 -4
- 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
|
@@ -13096,7 +13096,7 @@ ${lanes.join("\n")}
|
|
|
13096
13096
|
function isEnabled() {
|
|
13097
13097
|
return enabled;
|
|
13098
13098
|
}
|
|
13099
|
-
function enable(system =
|
|
13099
|
+
function enable(system = sys) {
|
|
13100
13100
|
var _a3;
|
|
13101
13101
|
if (!enabled) {
|
|
13102
13102
|
enabled = true;
|
|
@@ -16313,21 +16313,21 @@ ${lanes.join("\n")}
|
|
|
16313
16313
|
}
|
|
16314
16314
|
}
|
|
16315
16315
|
}
|
|
16316
|
-
function patchWriteFileEnsuringDirectory2(
|
|
16317
|
-
const originalWriteFile =
|
|
16318
|
-
|
|
16316
|
+
function patchWriteFileEnsuringDirectory2(sys2) {
|
|
16317
|
+
const originalWriteFile = sys2.writeFile;
|
|
16318
|
+
sys2.writeFile = (path14, data, writeBom) => writeFileEnsuringDirectories(
|
|
16319
16319
|
path14,
|
|
16320
16320
|
data,
|
|
16321
16321
|
!!writeBom,
|
|
16322
|
-
(path22, data2, writeByteOrderMark) => originalWriteFile.call(
|
|
16323
|
-
(path22) =>
|
|
16324
|
-
(path22) =>
|
|
16322
|
+
(path22, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path22, data2, writeByteOrderMark),
|
|
16323
|
+
(path22) => sys2.createDirectory(path22),
|
|
16324
|
+
(path22) => sys2.directoryExists(path22)
|
|
16325
16325
|
);
|
|
16326
16326
|
}
|
|
16327
16327
|
function setSys2(s) {
|
|
16328
|
-
|
|
16328
|
+
sys = s;
|
|
16329
16329
|
}
|
|
16330
|
-
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2,
|
|
16330
|
+
var FileWatcherEventKind2, PollingInterval2, missingFileModifiedTime2, defaultChunkLevels, pollingChunkSize, unchangedPollThresholds2, ignoredPaths2, curSysLog, FileSystemEntryKind2, sys;
|
|
16331
16331
|
var init_sys = __esm2({
|
|
16332
16332
|
"src/compiler/sys.ts"() {
|
|
16333
16333
|
"use strict";
|
|
@@ -16355,7 +16355,7 @@ ${lanes.join("\n")}
|
|
|
16355
16355
|
FileSystemEntryKind22[FileSystemEntryKind22["Directory"] = 1] = "Directory";
|
|
16356
16356
|
return FileSystemEntryKind22;
|
|
16357
16357
|
})(FileSystemEntryKind2 || {});
|
|
16358
|
-
|
|
16358
|
+
sys = (() => {
|
|
16359
16359
|
const byteOrderMarkIndicator = "\uFEFF";
|
|
16360
16360
|
function getNodeSystem() {
|
|
16361
16361
|
const nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
|
|
@@ -16798,23 +16798,23 @@ ${lanes.join("\n")}
|
|
|
16798
16798
|
return hash.digest("hex");
|
|
16799
16799
|
}
|
|
16800
16800
|
}
|
|
16801
|
-
let
|
|
16801
|
+
let sys2;
|
|
16802
16802
|
if (isNodeLikeSystem()) {
|
|
16803
|
-
|
|
16803
|
+
sys2 = getNodeSystem();
|
|
16804
16804
|
}
|
|
16805
|
-
if (
|
|
16806
|
-
patchWriteFileEnsuringDirectory2(
|
|
16805
|
+
if (sys2) {
|
|
16806
|
+
patchWriteFileEnsuringDirectory2(sys2);
|
|
16807
16807
|
}
|
|
16808
|
-
return
|
|
16808
|
+
return sys2;
|
|
16809
16809
|
})();
|
|
16810
|
-
if (
|
|
16811
|
-
setCustomPollingValues(
|
|
16810
|
+
if (sys && sys.getEnvironmentVariable) {
|
|
16811
|
+
setCustomPollingValues(sys);
|
|
16812
16812
|
Debug.setAssertionLevel(
|
|
16813
|
-
/^development$/i.test(
|
|
16813
|
+
/^development$/i.test(sys.getEnvironmentVariable("NODE_ENV")) ? 1 : 0
|
|
16814
16814
|
/* None */
|
|
16815
16815
|
);
|
|
16816
16816
|
}
|
|
16817
|
-
if (
|
|
16817
|
+
if (sys && sys.debugMode) {
|
|
16818
16818
|
Debug.isDebugging = true;
|
|
16819
16819
|
}
|
|
16820
16820
|
}
|
|
@@ -21787,7 +21787,7 @@ ${lanes.join("\n")}
|
|
|
21787
21787
|
function getNodeFlags(node) {
|
|
21788
21788
|
return node.flags;
|
|
21789
21789
|
}
|
|
21790
|
-
function validateLocaleAndSetLanguage(locale,
|
|
21790
|
+
function validateLocaleAndSetLanguage(locale, sys2, errors) {
|
|
21791
21791
|
const lowerCaseLocale = locale.toLowerCase();
|
|
21792
21792
|
const matchResult = /^([a-z]+)([_-]([a-z]+))?$/.exec(lowerCaseLocale);
|
|
21793
21793
|
if (!matchResult) {
|
|
@@ -21808,19 +21808,19 @@ ${lanes.join("\n")}
|
|
|
21808
21808
|
}
|
|
21809
21809
|
setUILocale(locale);
|
|
21810
21810
|
function trySetLanguageAndTerritory(language2, territory2, errors2) {
|
|
21811
|
-
const compilerFilePath = normalizePath(
|
|
21811
|
+
const compilerFilePath = normalizePath(sys2.getExecutingFilePath());
|
|
21812
21812
|
const containingDirectoryPath = getDirectoryPath(compilerFilePath);
|
|
21813
21813
|
let filePath = combinePaths(containingDirectoryPath, language2);
|
|
21814
21814
|
if (territory2) {
|
|
21815
21815
|
filePath = filePath + "-" + territory2;
|
|
21816
21816
|
}
|
|
21817
|
-
filePath =
|
|
21818
|
-
if (!
|
|
21817
|
+
filePath = sys2.resolvePath(combinePaths(filePath, "diagnosticMessages.generated.json"));
|
|
21818
|
+
if (!sys2.fileExists(filePath)) {
|
|
21819
21819
|
return false;
|
|
21820
21820
|
}
|
|
21821
21821
|
let fileContents = "";
|
|
21822
21822
|
try {
|
|
21823
|
-
fileContents =
|
|
21823
|
+
fileContents = sys2.readFile(filePath);
|
|
21824
21824
|
} catch (e3) {
|
|
21825
21825
|
if (errors2) {
|
|
21826
21826
|
errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath));
|
|
@@ -49082,7 +49082,7 @@ ${lanes.join("\n")}
|
|
|
49082
49082
|
}
|
|
49083
49083
|
}
|
|
49084
49084
|
function parseResponseFile(fileName) {
|
|
49085
|
-
const text = tryReadFile2(fileName, readFile3 || ((fileName2) =>
|
|
49085
|
+
const text = tryReadFile2(fileName, readFile3 || ((fileName2) => sys.readFile(fileName2)));
|
|
49086
49086
|
if (!isString(text)) {
|
|
49087
49087
|
errors.push(text);
|
|
49088
49088
|
return;
|
|
@@ -49252,7 +49252,7 @@ ${lanes.join("\n")}
|
|
|
49252
49252
|
watchOptionsToExtend
|
|
49253
49253
|
);
|
|
49254
49254
|
}
|
|
49255
|
-
function
|
|
49255
|
+
function readConfigFile2(fileName, readFile3) {
|
|
49256
49256
|
const textOrDiagnostic = tryReadFile2(fileName, readFile3);
|
|
49257
49257
|
return isString(textOrDiagnostic) ? parseConfigFileTextToJson2(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic };
|
|
49258
49258
|
}
|
|
@@ -49758,7 +49758,7 @@ ${lanes.join("\n")}
|
|
|
49758
49758
|
}
|
|
49759
49759
|
return value;
|
|
49760
49760
|
}
|
|
49761
|
-
function
|
|
49761
|
+
function parseJsonConfigFileContent2(json2, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {
|
|
49762
49762
|
return parseJsonConfigFileContentWorker(
|
|
49763
49763
|
json2,
|
|
49764
49764
|
/*sourceFile*/
|
|
@@ -131388,7 +131388,7 @@ ${lanes.join("\n")}
|
|
|
131388
131388
|
function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) {
|
|
131389
131389
|
if (mapOptions.inlineSourceMap) {
|
|
131390
131390
|
const sourceMapText = sourceMapGenerator.toString();
|
|
131391
|
-
const base64SourceMapText = base64encode(
|
|
131391
|
+
const base64SourceMapText = base64encode(sys, sourceMapText);
|
|
131392
131392
|
return `data:application/json;base64,${base64SourceMapText}`;
|
|
131393
131393
|
}
|
|
131394
131394
|
const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath)));
|
|
@@ -137188,7 +137188,7 @@ ${lanes.join("\n")}
|
|
|
137188
137188
|
}
|
|
137189
137189
|
};
|
|
137190
137190
|
}
|
|
137191
|
-
function createCompilerHostWorker2(options8, setParentNodes, system =
|
|
137191
|
+
function createCompilerHostWorker2(options8, setParentNodes, system = sys) {
|
|
137192
137192
|
const existingDirectories = /* @__PURE__ */ new Map();
|
|
137193
137193
|
const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames);
|
|
137194
137194
|
function directoryExists(directoryPath) {
|
|
@@ -144092,7 +144092,7 @@ ${lanes.join("\n")}
|
|
|
144092
144092
|
}
|
|
144093
144093
|
});
|
|
144094
144094
|
function createDiagnosticReporter2(system, pretty) {
|
|
144095
|
-
const host = system ===
|
|
144095
|
+
const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : {
|
|
144096
144096
|
getCurrentDirectory: () => system.getCurrentDirectory(),
|
|
144097
144097
|
getNewLine: () => system.newLine,
|
|
144098
144098
|
getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames)
|
|
@@ -144536,7 +144536,7 @@ ${lanes.join("\n")}
|
|
|
144536
144536
|
}
|
|
144537
144537
|
return 0;
|
|
144538
144538
|
}
|
|
144539
|
-
function createWatchHost2(system =
|
|
144539
|
+
function createWatchHost2(system = sys, reportWatchStatus2) {
|
|
144540
144540
|
const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter2(system);
|
|
144541
144541
|
return {
|
|
144542
144542
|
onWatchStatusChange,
|
|
@@ -144653,7 +144653,7 @@ ${lanes.join("\n")}
|
|
|
144653
144653
|
now: maybeBind(system, system.now)
|
|
144654
144654
|
};
|
|
144655
144655
|
}
|
|
144656
|
-
function createWatchCompilerHost(system =
|
|
144656
|
+
function createWatchCompilerHost(system = sys, createProgram22, reportDiagnostic, reportWatchStatus2) {
|
|
144657
144657
|
const write = (s) => system.write(s + system.newLine);
|
|
144658
144658
|
const result = createProgramHost2(system, createProgram22);
|
|
144659
144659
|
copyProperties(result, createWatchHost2(system, reportWatchStatus2));
|
|
@@ -144718,7 +144718,7 @@ ${lanes.join("\n")}
|
|
|
144718
144718
|
return host;
|
|
144719
144719
|
}
|
|
144720
144720
|
function performIncrementalCompilation2(input) {
|
|
144721
|
-
const system = input.system ||
|
|
144721
|
+
const system = input.system || sys;
|
|
144722
144722
|
const host = input.host || (input.host = createIncrementalCompilerHost2(input.options, system));
|
|
144723
144723
|
const builderProgram = createIncrementalProgram2(input);
|
|
144724
144724
|
const exitStatus = emitFilesAndReportErrorsAndGetExitStatus2(
|
|
@@ -144736,10 +144736,10 @@ ${lanes.join("\n")}
|
|
|
144736
144736
|
"src/compiler/watch.ts"() {
|
|
144737
144737
|
"use strict";
|
|
144738
144738
|
init_ts2();
|
|
144739
|
-
sysFormatDiagnosticsHost =
|
|
144740
|
-
getCurrentDirectory: () =>
|
|
144741
|
-
getNewLine: () =>
|
|
144742
|
-
getCanonicalFileName: createGetCanonicalFileName(
|
|
144739
|
+
sysFormatDiagnosticsHost = sys ? {
|
|
144740
|
+
getCurrentDirectory: () => sys.getCurrentDirectory(),
|
|
144741
|
+
getNewLine: () => sys.newLine,
|
|
144742
|
+
getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames)
|
|
144743
144743
|
} : void 0;
|
|
144744
144744
|
screenStartingMessageCodes2 = [
|
|
144745
144745
|
Diagnostics.Starting_compilation_in_watch_mode.code,
|
|
@@ -144789,7 +144789,7 @@ ${lanes.join("\n")}
|
|
|
144789
144789
|
return void 0;
|
|
144790
144790
|
return createBuilderProgramUsingProgramBuildInfo2(buildInfo, buildInfoPath, host);
|
|
144791
144791
|
}
|
|
144792
|
-
function createIncrementalCompilerHost2(options8, system =
|
|
144792
|
+
function createIncrementalCompilerHost2(options8, system = sys) {
|
|
144793
144793
|
const host = createCompilerHostWorker2(
|
|
144794
144794
|
options8,
|
|
144795
144795
|
/*setParentNodes*/
|
|
@@ -145595,12 +145595,12 @@ ${lanes.join("\n")}
|
|
|
145595
145595
|
host.now = maybeBind(system, system.now);
|
|
145596
145596
|
return host;
|
|
145597
145597
|
}
|
|
145598
|
-
function createSolutionBuilderHost2(system =
|
|
145598
|
+
function createSolutionBuilderHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) {
|
|
145599
145599
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
145600
145600
|
host.reportErrorSummary = reportErrorSummary2;
|
|
145601
145601
|
return host;
|
|
145602
145602
|
}
|
|
145603
|
-
function createSolutionBuilderWithWatchHost2(system =
|
|
145603
|
+
function createSolutionBuilderWithWatchHost2(system = sys, createProgram22, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {
|
|
145604
145604
|
const host = createSolutionBuilderHostBase(system, createProgram22, reportDiagnostic, reportSolutionBuilderStatus);
|
|
145605
145605
|
const watchHost = createWatchHost2(system, reportWatchStatus2);
|
|
145606
145606
|
copyProperties(host, watchHost);
|
|
@@ -147729,11 +147729,11 @@ ${lanes.join("\n")}
|
|
|
147729
147729
|
}
|
|
147730
147730
|
});
|
|
147731
147731
|
function hasArgument2(argumentName) {
|
|
147732
|
-
return
|
|
147732
|
+
return sys.args.includes(argumentName);
|
|
147733
147733
|
}
|
|
147734
147734
|
function findArgument2(argumentName) {
|
|
147735
|
-
const index =
|
|
147736
|
-
return index >= 0 && index <
|
|
147735
|
+
const index = sys.args.indexOf(argumentName);
|
|
147736
|
+
return index >= 0 && index < sys.args.length - 1 ? sys.args[index + 1] : void 0;
|
|
147737
147737
|
}
|
|
147738
147738
|
function nowString2() {
|
|
147739
147739
|
const d4 = /* @__PURE__ */ new Date();
|
|
@@ -147790,12 +147790,12 @@ ${lanes.join("\n")}
|
|
|
147790
147790
|
return nodeCoreModules.has(moduleName) ? "node" : moduleName;
|
|
147791
147791
|
}
|
|
147792
147792
|
function loadSafeList(host, safeListPath) {
|
|
147793
|
-
const result =
|
|
147793
|
+
const result = readConfigFile2(safeListPath, (path14) => host.readFile(path14));
|
|
147794
147794
|
return new Map(Object.entries(result.config));
|
|
147795
147795
|
}
|
|
147796
147796
|
function loadTypesMap(host, typesMapPath) {
|
|
147797
147797
|
var _a3;
|
|
147798
|
-
const result =
|
|
147798
|
+
const result = readConfigFile2(typesMapPath, (path14) => host.readFile(path14));
|
|
147799
147799
|
if ((_a3 = result.config) == null ? void 0 : _a3.simpleMap) {
|
|
147800
147800
|
return new Map(Object.entries(result.config.simpleMap));
|
|
147801
147801
|
}
|
|
@@ -147875,7 +147875,7 @@ ${lanes.join("\n")}
|
|
|
147875
147875
|
let manifestTypingNames;
|
|
147876
147876
|
if (host.fileExists(manifestPath)) {
|
|
147877
147877
|
filesToWatch2.push(manifestPath);
|
|
147878
|
-
manifest =
|
|
147878
|
+
manifest = readConfigFile2(manifestPath, (path14) => host.readFile(path14)).config;
|
|
147879
147879
|
manifestTypingNames = flatMap([manifest.dependencies, manifest.devDependencies, manifest.optionalDependencies, manifest.peerDependencies], getOwnKeys);
|
|
147880
147880
|
addInferredTypings(manifestTypingNames, `Typing names in '${manifestPath}' dependencies`);
|
|
147881
147881
|
}
|
|
@@ -147910,7 +147910,7 @@ ${lanes.join("\n")}
|
|
|
147910
147910
|
log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);
|
|
147911
147911
|
for (const manifestPath2 of dependencyManifestNames) {
|
|
147912
147912
|
const normalizedFileName = normalizePath(manifestPath2);
|
|
147913
|
-
const result2 =
|
|
147913
|
+
const result2 = readConfigFile2(normalizedFileName, (path14) => host.readFile(path14));
|
|
147914
147914
|
const manifest2 = result2.config;
|
|
147915
147915
|
if (!manifest2.name) {
|
|
147916
147916
|
continue;
|
|
@@ -154525,7 +154525,7 @@ ${lanes.join("\n")}
|
|
|
154525
154525
|
if (match2) {
|
|
154526
154526
|
if (match2[1]) {
|
|
154527
154527
|
const base64Object = match2[1];
|
|
154528
|
-
return convertDocumentToSourceMapper(host, base64decode(
|
|
154528
|
+
return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);
|
|
154529
154529
|
}
|
|
154530
154530
|
mapFileName = void 0;
|
|
154531
154531
|
}
|
|
@@ -163433,8 +163433,8 @@ ${newComment.split("\n").map((c4) => ` * ${c4}`).join("\n")}
|
|
|
163433
163433
|
return node && node.parent && node.parent.kind === 212 && node.parent.argumentExpression === node;
|
|
163434
163434
|
}
|
|
163435
163435
|
function getDefaultLibFilePath(options8) {
|
|
163436
|
-
if (
|
|
163437
|
-
return combinePaths(getDirectoryPath(normalizePath(
|
|
163436
|
+
if (sys) {
|
|
163437
|
+
return combinePaths(getDirectoryPath(normalizePath(sys.getExecutingFilePath())), getDefaultLibFileName(options8));
|
|
163438
163438
|
}
|
|
163439
163439
|
throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ");
|
|
163440
163440
|
}
|
|
@@ -207585,7 +207585,7 @@ ${e3.message}`;
|
|
|
207585
207585
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
207586
207586
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
207587
207587
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
207588
|
-
parseJsonConfigFileContent: () =>
|
|
207588
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
207589
207589
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
207590
207590
|
parseJsonText: () => parseJsonText,
|
|
207591
207591
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -207638,7 +207638,7 @@ ${e3.message}`;
|
|
|
207638
207638
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
207639
207639
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
207640
207640
|
readBuilderProgram: () => readBuilderProgram2,
|
|
207641
|
-
readConfigFile: () =>
|
|
207641
|
+
readConfigFile: () => readConfigFile2,
|
|
207642
207642
|
readHelper: () => readHelper2,
|
|
207643
207643
|
readJson: () => readJson2,
|
|
207644
207644
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -207793,7 +207793,7 @@ ${e3.message}`;
|
|
|
207793
207793
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
207794
207794
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
207795
207795
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
207796
|
-
sys: () =>
|
|
207796
|
+
sys: () => sys,
|
|
207797
207797
|
sysLog: () => sysLog2,
|
|
207798
207798
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
207799
207799
|
takeWhile: () => takeWhile,
|
|
@@ -209989,7 +209989,7 @@ ${e3.message}`;
|
|
|
209989
209989
|
parseIsolatedEntityName: () => parseIsolatedEntityName,
|
|
209990
209990
|
parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,
|
|
209991
209991
|
parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,
|
|
209992
|
-
parseJsonConfigFileContent: () =>
|
|
209992
|
+
parseJsonConfigFileContent: () => parseJsonConfigFileContent2,
|
|
209993
209993
|
parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent2,
|
|
209994
209994
|
parseJsonText: () => parseJsonText,
|
|
209995
209995
|
parseListTypeOption: () => parseListTypeOption2,
|
|
@@ -210042,7 +210042,7 @@ ${e3.message}`;
|
|
|
210042
210042
|
rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,
|
|
210043
210043
|
rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,
|
|
210044
210044
|
readBuilderProgram: () => readBuilderProgram2,
|
|
210045
|
-
readConfigFile: () =>
|
|
210045
|
+
readConfigFile: () => readConfigFile2,
|
|
210046
210046
|
readHelper: () => readHelper2,
|
|
210047
210047
|
readJson: () => readJson2,
|
|
210048
210048
|
readJsonConfigFile: () => readJsonConfigFile2,
|
|
@@ -210197,7 +210197,7 @@ ${e3.message}`;
|
|
|
210197
210197
|
symbolToDisplayParts: () => symbolToDisplayParts2,
|
|
210198
210198
|
syntaxMayBeASICandidate: () => syntaxMayBeASICandidate2,
|
|
210199
210199
|
syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI2,
|
|
210200
|
-
sys: () =>
|
|
210200
|
+
sys: () => sys,
|
|
210201
210201
|
sysLog: () => sysLog2,
|
|
210202
210202
|
tagNamesAreEquivalent: () => tagNamesAreEquivalent,
|
|
210203
210203
|
takeWhile: () => takeWhile,
|
|
@@ -458734,7 +458734,7 @@ var environmentPlugin = (data) => ({
|
|
|
458734
458734
|
|
|
458735
458735
|
// packages/workspace-tools/src/utils/run-tsup-build.ts
|
|
458736
458736
|
var import_tsup = __toESM(require_dist7());
|
|
458737
|
-
var
|
|
458737
|
+
var import_typescript = __toESM(require_typescript());
|
|
458738
458738
|
|
|
458739
458739
|
// packages/workspace-tools/src/base/get-tsup-config.ts
|
|
458740
458740
|
var import_devkit = __toESM(require_devkit());
|
|
@@ -458963,8 +458963,8 @@ ${options8.banner}
|
|
|
458963
458963
|
}
|
|
458964
458964
|
};
|
|
458965
458965
|
function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
458966
|
-
const config =
|
|
458967
|
-
const tsConfig =
|
|
458966
|
+
const config = import_typescript.default.readConfigFile(options8.tsConfig, import_typescript.default.sys.readFile).config;
|
|
458967
|
+
const tsConfig = import_typescript.default.parseJsonConfigFileContent(
|
|
458968
458968
|
{
|
|
458969
458969
|
...config,
|
|
458970
458970
|
compilerOptions: {
|
|
@@ -458987,7 +458987,7 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
|
|
|
458987
458987
|
declarationDir: (0, import_devkit2.joinPathFragments)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
458988
458988
|
}
|
|
458989
458989
|
},
|
|
458990
|
-
|
|
458990
|
+
import_typescript.default.sys,
|
|
458991
458991
|
(0, import_node_path4.dirname)(options8.tsConfig)
|
|
458992
458992
|
);
|
|
458993
458993
|
tsConfig.options.pathsBasePath = workspaceRoot;
|