@storm-software/workspace-tools 1.62.24 → 1.62.25
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/index.js +34 -43
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +31 -40
- package/src/executors/tsup-browser/executor.js +31 -40
- package/src/executors/tsup-neutral/executor.js +31 -40
- package/src/executors/tsup-node/executor.js +31 -40
- package/src/utils/index.js +34 -44
|
@@ -761,7 +761,7 @@ var require_util = __commonJS({
|
|
|
761
761
|
return path14;
|
|
762
762
|
}
|
|
763
763
|
exports2.normalize = normalize2;
|
|
764
|
-
function
|
|
764
|
+
function join3(aRoot, aPath) {
|
|
765
765
|
if (aRoot === "") {
|
|
766
766
|
aRoot = ".";
|
|
767
767
|
}
|
|
@@ -793,7 +793,7 @@ var require_util = __commonJS({
|
|
|
793
793
|
}
|
|
794
794
|
return joined;
|
|
795
795
|
}
|
|
796
|
-
exports2.join =
|
|
796
|
+
exports2.join = join3;
|
|
797
797
|
exports2.isAbsolute = function(aPath) {
|
|
798
798
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
799
799
|
};
|
|
@@ -966,7 +966,7 @@ var require_util = __commonJS({
|
|
|
966
966
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
sourceURL =
|
|
969
|
+
sourceURL = join3(urlGenerate(parsed), sourceURL);
|
|
970
970
|
}
|
|
971
971
|
return normalize2(sourceURL);
|
|
972
972
|
}
|
|
@@ -315541,7 +315541,7 @@ ${frame}`;
|
|
|
315541
315541
|
},
|
|
315542
315542
|
/*istanbul ignore start*/
|
|
315543
315543
|
/*istanbul ignore end*/
|
|
315544
|
-
join: function
|
|
315544
|
+
join: function join22(chars) {
|
|
315545
315545
|
return chars.join("");
|
|
315546
315546
|
}
|
|
315547
315547
|
};
|
|
@@ -319811,7 +319811,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
319811
319811
|
var hardline3 = [hardlineWithoutBreakParent3, breakParent3];
|
|
319812
319812
|
var literalline2 = [literallineWithoutBreakParent2, breakParent3];
|
|
319813
319813
|
var cursor3 = { type: DOC_TYPE_CURSOR3 };
|
|
319814
|
-
function
|
|
319814
|
+
function join3(separator, docs) {
|
|
319815
319815
|
assertDoc3(separator);
|
|
319816
319816
|
assertDocArray3(docs);
|
|
319817
319817
|
const parts = [];
|
|
@@ -320209,7 +320209,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
320209
320209
|
return mapDoc3(doc, (currentDoc) => cleanDocFn3(currentDoc));
|
|
320210
320210
|
}
|
|
320211
320211
|
function replaceEndOfLine2(doc, replacement = literalline2) {
|
|
320212
|
-
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ?
|
|
320212
|
+
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ? join3(replacement, currentDoc.split("\n")) : currentDoc);
|
|
320213
320213
|
}
|
|
320214
320214
|
function canBreakFn2(doc) {
|
|
320215
320215
|
if (doc.type === DOC_TYPE_LINE3) {
|
|
@@ -320784,7 +320784,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
320784
320784
|
};
|
|
320785
320785
|
}
|
|
320786
320786
|
var builders2 = {
|
|
320787
|
-
join:
|
|
320787
|
+
join: join3,
|
|
320788
320788
|
line: line3,
|
|
320789
320789
|
softline: softline2,
|
|
320790
320790
|
hardline: hardline3,
|
|
@@ -346319,7 +346319,7 @@ var require_util3 = __commonJS({
|
|
|
346319
346319
|
return path14;
|
|
346320
346320
|
});
|
|
346321
346321
|
exports2.normalize = normalize2;
|
|
346322
|
-
function
|
|
346322
|
+
function join3(aRoot, aPath) {
|
|
346323
346323
|
if (aRoot === "") {
|
|
346324
346324
|
aRoot = ".";
|
|
346325
346325
|
}
|
|
@@ -346351,7 +346351,7 @@ var require_util3 = __commonJS({
|
|
|
346351
346351
|
}
|
|
346352
346352
|
return joined;
|
|
346353
346353
|
}
|
|
346354
|
-
exports2.join =
|
|
346354
|
+
exports2.join = join3;
|
|
346355
346355
|
exports2.isAbsolute = function(aPath) {
|
|
346356
346356
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
346357
346357
|
};
|
|
@@ -346524,7 +346524,7 @@ var require_util3 = __commonJS({
|
|
|
346524
346524
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
346525
346525
|
}
|
|
346526
346526
|
}
|
|
346527
|
-
sourceURL =
|
|
346527
|
+
sourceURL = join3(urlGenerate(parsed), sourceURL);
|
|
346528
346528
|
}
|
|
346529
346529
|
return normalize2(sourceURL);
|
|
346530
346530
|
}
|
|
@@ -350216,14 +350216,14 @@ var require_path2 = __commonJS({
|
|
|
350216
350216
|
return normalize2(path15.slice(0, endIndex));
|
|
350217
350217
|
}
|
|
350218
350218
|
exports2.dirname = dirname4;
|
|
350219
|
-
function
|
|
350219
|
+
function join3(p12, ...others) {
|
|
350220
350220
|
if (others.length > 0) {
|
|
350221
350221
|
return normalize2((p12 ? p12 + exports2.NormalizedSep : "") + others.join(exports2.NormalizedSep));
|
|
350222
350222
|
} else {
|
|
350223
350223
|
return p12;
|
|
350224
350224
|
}
|
|
350225
350225
|
}
|
|
350226
|
-
exports2.join =
|
|
350226
|
+
exports2.join = join3;
|
|
350227
350227
|
function isAbsolute(p4) {
|
|
350228
350228
|
return p4.startsWith(exports2.NormalizedSep);
|
|
350229
350229
|
}
|
|
@@ -350258,7 +350258,7 @@ var require_path2 = __commonJS({
|
|
|
350258
350258
|
if (isAbsolute(p22)) {
|
|
350259
350259
|
return p22;
|
|
350260
350260
|
} else {
|
|
350261
|
-
return
|
|
350261
|
+
return join3(p12, p22);
|
|
350262
350262
|
}
|
|
350263
350263
|
}
|
|
350264
350264
|
exports2.resolve = resolve3;
|
|
@@ -367655,7 +367655,7 @@ var require_buffer_list = __commonJS({
|
|
|
367655
367655
|
}
|
|
367656
367656
|
}, {
|
|
367657
367657
|
key: "join",
|
|
367658
|
-
value: function
|
|
367658
|
+
value: function join3(s) {
|
|
367659
367659
|
if (this.length === 0)
|
|
367660
367660
|
return "";
|
|
367661
367661
|
var p4 = this.head;
|
|
@@ -405613,7 +405613,7 @@ var require_util7 = __commonJS({
|
|
|
405613
405613
|
var normalize2 = createSafeHandler((url2) => {
|
|
405614
405614
|
});
|
|
405615
405615
|
exports2.normalize = normalize2;
|
|
405616
|
-
function
|
|
405616
|
+
function join3(aRoot, aPath) {
|
|
405617
405617
|
const pathType = getURLType(aPath);
|
|
405618
405618
|
const rootType = getURLType(aRoot);
|
|
405619
405619
|
aRoot = ensureDirectory(aRoot);
|
|
@@ -405639,7 +405639,7 @@ var require_util7 = __commonJS({
|
|
|
405639
405639
|
const newPath = withBase(aPath, withBase(aRoot, base));
|
|
405640
405640
|
return computeRelativeURL(base, newPath);
|
|
405641
405641
|
}
|
|
405642
|
-
exports2.join =
|
|
405642
|
+
exports2.join = join3;
|
|
405643
405643
|
function relative(rootURL, targetURL) {
|
|
405644
405644
|
const result = relativeIfPossible(rootURL, targetURL);
|
|
405645
405645
|
return typeof result === "string" ? result : normalize2(targetURL);
|
|
@@ -405669,9 +405669,9 @@ var require_util7 = __commonJS({
|
|
|
405669
405669
|
}
|
|
405670
405670
|
let url2 = normalize2(sourceURL || "");
|
|
405671
405671
|
if (sourceRoot)
|
|
405672
|
-
url2 =
|
|
405672
|
+
url2 = join3(sourceRoot, url2);
|
|
405673
405673
|
if (sourceMapURL)
|
|
405674
|
-
url2 =
|
|
405674
|
+
url2 = join3(trimFilename(sourceMapURL), url2);
|
|
405675
405675
|
return url2;
|
|
405676
405676
|
}
|
|
405677
405677
|
exports2.computeSourceURL = computeSourceURL;
|
|
@@ -407437,7 +407437,7 @@ var require_source_map3 = __commonJS({
|
|
|
407437
407437
|
var require_native = __commonJS({
|
|
407438
407438
|
"node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js"(exports2, module2) {
|
|
407439
407439
|
var { existsSync } = require("node:fs");
|
|
407440
|
-
var { join:
|
|
407440
|
+
var { join: join3 } = require("node:path");
|
|
407441
407441
|
var { platform, arch, report } = require("node:process");
|
|
407442
407442
|
var isMusl = () => !report.getReport().header.glibcVersionRuntime;
|
|
407443
407443
|
var bindingsByPlatformAndArch = {
|
|
@@ -407511,7 +407511,7 @@ If this is important to you, please consider supporting Rollup to make a native
|
|
|
407511
407511
|
}
|
|
407512
407512
|
};
|
|
407513
407513
|
var { parse: parse6, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
|
|
407514
|
-
existsSync(
|
|
407514
|
+
existsSync(join3(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
|
407515
407515
|
);
|
|
407516
407516
|
module2.exports.parse = parse6;
|
|
407517
407517
|
module2.exports.parseAsync = parseAsync;
|
|
@@ -447060,26 +447060,16 @@ ${options8.banner}
|
|
|
447060
447060
|
};
|
|
447061
447061
|
function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
|
|
447062
447062
|
const config = (0, import_typescript.readConfigFile)(options8.tsConfig, import_typescript.sys.readFile).config;
|
|
447063
|
-
const tsConfig = (0, import_typescript.parseJsonConfigFileContent)(
|
|
447064
|
-
|
|
447065
|
-
|
|
447066
|
-
|
|
447067
|
-
|
|
447068
|
-
|
|
447069
|
-
|
|
447070
|
-
|
|
447071
|
-
|
|
447072
|
-
|
|
447073
|
-
emitDeclarationOnly: true,
|
|
447074
|
-
declaration: true,
|
|
447075
|
-
declarationMap: true,
|
|
447076
|
-
declarationDir: (0, import_devkit2.joinPathFragments)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
447077
|
-
},
|
|
447078
|
-
include: ["**/*"]
|
|
447079
|
-
},
|
|
447080
|
-
import_typescript.sys,
|
|
447081
|
-
(0, import_node_path.dirname)(options8.tsConfig)
|
|
447082
|
-
);
|
|
447063
|
+
const tsConfig = (0, import_typescript.parseJsonConfigFileContent)(config, import_typescript.sys, (0, import_node_path.dirname)(options8.tsConfig), {
|
|
447064
|
+
outDir: outputPath,
|
|
447065
|
+
noEmit: false,
|
|
447066
|
+
esModuleInterop: true,
|
|
447067
|
+
noUnusedLocals: false,
|
|
447068
|
+
emitDeclarationOnly: true,
|
|
447069
|
+
declaration: true,
|
|
447070
|
+
declarationMap: true,
|
|
447071
|
+
declarationDir: (0, import_node_path.join)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
447072
|
+
});
|
|
447083
447073
|
tsConfig.options.pathsBasePath = workspaceRoot;
|
|
447084
447074
|
if ((config.compilerOptions?.incremental || tsConfig.options.incremental) && !tsConfig.options.tsBuildInfoFile) {
|
|
447085
447075
|
tsConfig.options.tsBuildInfoFile = (0, import_devkit2.joinPathFragments)(outputPath, "tsconfig.tsbuildinfo");
|
|
@@ -453645,6 +453635,7 @@ ${externalDependencies.map((dep) => {
|
|
|
453645
453635
|
(0, import_devkit3.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.js"),
|
|
453646
453636
|
(0, import_devkit3.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.jsx")
|
|
453647
453637
|
]);
|
|
453638
|
+
options8.verbose = options8.verbose || getLogLevel(config?.logLevel) >= LogLevel.DEBUG;
|
|
453648
453639
|
await Promise.allSettled(
|
|
453649
453640
|
files.map(
|
|
453650
453641
|
async (file) => (0, import_fs_extra.writeFile)(
|
package/src/utils/index.js
CHANGED
|
@@ -215,7 +215,7 @@ var require_util = __commonJS({
|
|
|
215
215
|
return path13;
|
|
216
216
|
}
|
|
217
217
|
exports2.normalize = normalize;
|
|
218
|
-
function
|
|
218
|
+
function join3(aRoot, aPath) {
|
|
219
219
|
if (aRoot === "") {
|
|
220
220
|
aRoot = ".";
|
|
221
221
|
}
|
|
@@ -247,7 +247,7 @@ var require_util = __commonJS({
|
|
|
247
247
|
}
|
|
248
248
|
return joined;
|
|
249
249
|
}
|
|
250
|
-
exports2.join =
|
|
250
|
+
exports2.join = join3;
|
|
251
251
|
exports2.isAbsolute = function(aPath) {
|
|
252
252
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
253
253
|
};
|
|
@@ -420,7 +420,7 @@ var require_util = __commonJS({
|
|
|
420
420
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
sourceURL =
|
|
423
|
+
sourceURL = join3(urlGenerate(parsed), sourceURL);
|
|
424
424
|
}
|
|
425
425
|
return normalize(sourceURL);
|
|
426
426
|
}
|
|
@@ -209929,7 +209929,7 @@ var require_TransformerError = __commonJS({
|
|
|
209929
209929
|
TransformerError2.from = function(method) {
|
|
209930
209930
|
return function(errors) {
|
|
209931
209931
|
var body = errors.map(function(e3) {
|
|
209932
|
-
var subject = e3.explore.object === null ? "" :
|
|
209932
|
+
var subject = e3.explore.object === null ? "" : join3(e3.explore.object)(e3.explore.property);
|
|
209933
209933
|
var type2 = "".concat(subject.length ? "".concat(subject, ": ") : "").concat(e3.name);
|
|
209934
209934
|
return "- ".concat(type2, "\n").concat(e3.messages.map(function(msg) {
|
|
209935
209935
|
return " - ".concat(msg);
|
|
@@ -209941,7 +209941,7 @@ var require_TransformerError = __commonJS({
|
|
|
209941
209941
|
});
|
|
209942
209942
|
};
|
|
209943
209943
|
};
|
|
209944
|
-
var
|
|
209944
|
+
var join3 = function(object) {
|
|
209945
209945
|
return function(key2) {
|
|
209946
209946
|
if (key2 === null)
|
|
209947
209947
|
return object.name;
|
|
@@ -216041,13 +216041,13 @@ var require_application_object = __commonJS({
|
|
|
216041
216041
|
// swagger can't express patternProperties
|
|
216042
216042
|
"x-typia-additionalProperties": extraProps.additionalProperties,
|
|
216043
216043
|
"x-typia-patternProperties": extraProps.patternProperties,
|
|
216044
|
-
additionalProperties:
|
|
216044
|
+
additionalProperties: join3(options8)(components)(extraMeta)
|
|
216045
216045
|
} : {});
|
|
216046
216046
|
};
|
|
216047
216047
|
};
|
|
216048
216048
|
};
|
|
216049
216049
|
};
|
|
216050
|
-
var
|
|
216050
|
+
var join3 = function(options8) {
|
|
216051
216051
|
return function(components) {
|
|
216052
216052
|
return function(extra) {
|
|
216053
216053
|
var _a3;
|
|
@@ -337921,7 +337921,7 @@ ${frame}`;
|
|
|
337921
337921
|
},
|
|
337922
337922
|
/*istanbul ignore start*/
|
|
337923
337923
|
/*istanbul ignore end*/
|
|
337924
|
-
join: function
|
|
337924
|
+
join: function join22(chars) {
|
|
337925
337925
|
return chars.join("");
|
|
337926
337926
|
}
|
|
337927
337927
|
};
|
|
@@ -342191,7 +342191,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
342191
342191
|
var hardline3 = [hardlineWithoutBreakParent3, breakParent3];
|
|
342192
342192
|
var literalline2 = [literallineWithoutBreakParent2, breakParent3];
|
|
342193
342193
|
var cursor3 = { type: DOC_TYPE_CURSOR3 };
|
|
342194
|
-
function
|
|
342194
|
+
function join3(separator, docs) {
|
|
342195
342195
|
assertDoc3(separator);
|
|
342196
342196
|
assertDocArray3(docs);
|
|
342197
342197
|
const parts = [];
|
|
@@ -342589,7 +342589,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
342589
342589
|
return mapDoc3(doc, (currentDoc) => cleanDocFn3(currentDoc));
|
|
342590
342590
|
}
|
|
342591
342591
|
function replaceEndOfLine2(doc, replacement = literalline2) {
|
|
342592
|
-
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ?
|
|
342592
|
+
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ? join3(replacement, currentDoc.split("\n")) : currentDoc);
|
|
342593
342593
|
}
|
|
342594
342594
|
function canBreakFn2(doc) {
|
|
342595
342595
|
if (doc.type === DOC_TYPE_LINE3) {
|
|
@@ -343164,7 +343164,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
343164
343164
|
};
|
|
343165
343165
|
}
|
|
343166
343166
|
var builders2 = {
|
|
343167
|
-
join:
|
|
343167
|
+
join: join3,
|
|
343168
343168
|
line: line3,
|
|
343169
343169
|
softline: softline2,
|
|
343170
343170
|
hardline: hardline3,
|
|
@@ -368699,7 +368699,7 @@ var require_util4 = __commonJS({
|
|
|
368699
368699
|
return path13;
|
|
368700
368700
|
});
|
|
368701
368701
|
exports2.normalize = normalize;
|
|
368702
|
-
function
|
|
368702
|
+
function join3(aRoot, aPath) {
|
|
368703
368703
|
if (aRoot === "") {
|
|
368704
368704
|
aRoot = ".";
|
|
368705
368705
|
}
|
|
@@ -368731,7 +368731,7 @@ var require_util4 = __commonJS({
|
|
|
368731
368731
|
}
|
|
368732
368732
|
return joined;
|
|
368733
368733
|
}
|
|
368734
|
-
exports2.join =
|
|
368734
|
+
exports2.join = join3;
|
|
368735
368735
|
exports2.isAbsolute = function(aPath) {
|
|
368736
368736
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
368737
368737
|
};
|
|
@@ -368904,7 +368904,7 @@ var require_util4 = __commonJS({
|
|
|
368904
368904
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
368905
368905
|
}
|
|
368906
368906
|
}
|
|
368907
|
-
sourceURL =
|
|
368907
|
+
sourceURL = join3(urlGenerate(parsed), sourceURL);
|
|
368908
368908
|
}
|
|
368909
368909
|
return normalize(sourceURL);
|
|
368910
368910
|
}
|
|
@@ -372596,14 +372596,14 @@ var require_path2 = __commonJS({
|
|
|
372596
372596
|
return normalize(path14.slice(0, endIndex));
|
|
372597
372597
|
}
|
|
372598
372598
|
exports2.dirname = dirname4;
|
|
372599
|
-
function
|
|
372599
|
+
function join3(p12, ...others) {
|
|
372600
372600
|
if (others.length > 0) {
|
|
372601
372601
|
return normalize((p12 ? p12 + exports2.NormalizedSep : "") + others.join(exports2.NormalizedSep));
|
|
372602
372602
|
} else {
|
|
372603
372603
|
return p12;
|
|
372604
372604
|
}
|
|
372605
372605
|
}
|
|
372606
|
-
exports2.join =
|
|
372606
|
+
exports2.join = join3;
|
|
372607
372607
|
function isAbsolute(p4) {
|
|
372608
372608
|
return p4.startsWith(exports2.NormalizedSep);
|
|
372609
372609
|
}
|
|
@@ -372638,7 +372638,7 @@ var require_path2 = __commonJS({
|
|
|
372638
372638
|
if (isAbsolute(p22)) {
|
|
372639
372639
|
return p22;
|
|
372640
372640
|
} else {
|
|
372641
|
-
return
|
|
372641
|
+
return join3(p12, p22);
|
|
372642
372642
|
}
|
|
372643
372643
|
}
|
|
372644
372644
|
exports2.resolve = resolve3;
|
|
@@ -390035,7 +390035,7 @@ var require_buffer_list = __commonJS({
|
|
|
390035
390035
|
}
|
|
390036
390036
|
}, {
|
|
390037
390037
|
key: "join",
|
|
390038
|
-
value: function
|
|
390038
|
+
value: function join3(s) {
|
|
390039
390039
|
if (this.length === 0)
|
|
390040
390040
|
return "";
|
|
390041
390041
|
var p4 = this.head;
|
|
@@ -427993,7 +427993,7 @@ var require_util8 = __commonJS({
|
|
|
427993
427993
|
var normalize = createSafeHandler((url2) => {
|
|
427994
427994
|
});
|
|
427995
427995
|
exports2.normalize = normalize;
|
|
427996
|
-
function
|
|
427996
|
+
function join3(aRoot, aPath) {
|
|
427997
427997
|
const pathType = getURLType(aPath);
|
|
427998
427998
|
const rootType = getURLType(aRoot);
|
|
427999
427999
|
aRoot = ensureDirectory(aRoot);
|
|
@@ -428019,7 +428019,7 @@ var require_util8 = __commonJS({
|
|
|
428019
428019
|
const newPath = withBase(aPath, withBase(aRoot, base));
|
|
428020
428020
|
return computeRelativeURL(base, newPath);
|
|
428021
428021
|
}
|
|
428022
|
-
exports2.join =
|
|
428022
|
+
exports2.join = join3;
|
|
428023
428023
|
function relative(rootURL, targetURL) {
|
|
428024
428024
|
const result = relativeIfPossible(rootURL, targetURL);
|
|
428025
428025
|
return typeof result === "string" ? result : normalize(targetURL);
|
|
@@ -428049,9 +428049,9 @@ var require_util8 = __commonJS({
|
|
|
428049
428049
|
}
|
|
428050
428050
|
let url2 = normalize(sourceURL || "");
|
|
428051
428051
|
if (sourceRoot)
|
|
428052
|
-
url2 =
|
|
428052
|
+
url2 = join3(sourceRoot, url2);
|
|
428053
428053
|
if (sourceMapURL)
|
|
428054
|
-
url2 =
|
|
428054
|
+
url2 = join3(trimFilename(sourceMapURL), url2);
|
|
428055
428055
|
return url2;
|
|
428056
428056
|
}
|
|
428057
428057
|
exports2.computeSourceURL = computeSourceURL;
|
|
@@ -429817,7 +429817,7 @@ var require_source_map3 = __commonJS({
|
|
|
429817
429817
|
var require_native = __commonJS({
|
|
429818
429818
|
"node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js"(exports2, module2) {
|
|
429819
429819
|
var { existsSync } = require("node:fs");
|
|
429820
|
-
var { join:
|
|
429820
|
+
var { join: join3 } = require("node:path");
|
|
429821
429821
|
var { platform, arch, report } = require("node:process");
|
|
429822
429822
|
var isMusl = () => !report.getReport().header.glibcVersionRuntime;
|
|
429823
429823
|
var bindingsByPlatformAndArch = {
|
|
@@ -429891,7 +429891,7 @@ If this is important to you, please consider supporting Rollup to make a native
|
|
|
429891
429891
|
}
|
|
429892
429892
|
};
|
|
429893
429893
|
var { parse: parse6, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
|
|
429894
|
-
existsSync(
|
|
429894
|
+
existsSync(join3(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
|
429895
429895
|
);
|
|
429896
429896
|
module2.exports.parse = parse6;
|
|
429897
429897
|
module2.exports.parseAsync = parseAsync;
|
|
@@ -457326,26 +457326,16 @@ ${options8.banner}
|
|
|
457326
457326
|
};
|
|
457327
457327
|
function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
|
|
457328
457328
|
const config = (0, import_typescript.readConfigFile)(options8.tsConfig, import_typescript.sys.readFile).config;
|
|
457329
|
-
const tsConfig = (0, import_typescript.parseJsonConfigFileContent)(
|
|
457330
|
-
|
|
457331
|
-
|
|
457332
|
-
|
|
457333
|
-
|
|
457334
|
-
|
|
457335
|
-
|
|
457336
|
-
|
|
457337
|
-
|
|
457338
|
-
|
|
457339
|
-
emitDeclarationOnly: true,
|
|
457340
|
-
declaration: true,
|
|
457341
|
-
declarationMap: true,
|
|
457342
|
-
declarationDir: (0, import_devkit2.joinPathFragments)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
457343
|
-
},
|
|
457344
|
-
include: ["**/*"]
|
|
457345
|
-
},
|
|
457346
|
-
import_typescript.sys,
|
|
457347
|
-
(0, import_node_path2.dirname)(options8.tsConfig)
|
|
457348
|
-
);
|
|
457329
|
+
const tsConfig = (0, import_typescript.parseJsonConfigFileContent)(config, import_typescript.sys, (0, import_node_path2.dirname)(options8.tsConfig), {
|
|
457330
|
+
outDir: outputPath,
|
|
457331
|
+
noEmit: false,
|
|
457332
|
+
esModuleInterop: true,
|
|
457333
|
+
noUnusedLocals: false,
|
|
457334
|
+
emitDeclarationOnly: true,
|
|
457335
|
+
declaration: true,
|
|
457336
|
+
declarationMap: true,
|
|
457337
|
+
declarationDir: (0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
457338
|
+
});
|
|
457349
457339
|
tsConfig.options.pathsBasePath = workspaceRoot;
|
|
457350
457340
|
if ((config.compilerOptions?.incremental || tsConfig.options.incremental) && !tsConfig.options.tsBuildInfoFile) {
|
|
457351
457341
|
tsConfig.options.tsBuildInfoFile = (0, import_devkit2.joinPathFragments)(outputPath, "tsconfig.tsbuildinfo");
|