@xylabs/ts-scripts-yarn3 5.0.3 → 5.0.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/dist/actions/index.mjs +11 -8
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +11 -8
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +11 -8
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +11 -8
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/index.mjs +11 -8
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +11 -8
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +11 -8
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +11 -8
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +11 -8
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +11 -8
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +11 -8
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +11 -8
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/compile/packageCompileTsup.ts +7 -4
package/dist/actions/index.mjs
CHANGED
|
@@ -1515,11 +1515,21 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
|
|
|
1515
1515
|
],
|
|
1516
1516
|
outDir,
|
|
1517
1517
|
silent: true,
|
|
1518
|
-
sourcemap:
|
|
1518
|
+
sourcemap: types === "tsup",
|
|
1519
1519
|
splitting: false,
|
|
1520
1520
|
tsconfig: "tsconfig.json",
|
|
1521
1521
|
...options
|
|
1522
1522
|
});
|
|
1523
|
+
if (types === "tsc") {
|
|
1524
|
+
const errors = packageCompileTscTypes(folder, {
|
|
1525
|
+
verbose
|
|
1526
|
+
}, {
|
|
1527
|
+
outDir
|
|
1528
|
+
});
|
|
1529
|
+
if (errors) {
|
|
1530
|
+
return errors;
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1523
1533
|
const optionsList = (await Promise.all((Array.isArray(optionsResult) ? optionsResult : [
|
|
1524
1534
|
optionsResult
|
|
1525
1535
|
]).flatMap(async (options2) => {
|
|
@@ -1531,13 +1541,6 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
|
|
|
1531
1541
|
];
|
|
1532
1542
|
}))).flat();
|
|
1533
1543
|
await Promise.all(optionsList.map((options2) => build2(options2)));
|
|
1534
|
-
if (types === "tsc") {
|
|
1535
|
-
return packageCompileTscTypes(folder, {
|
|
1536
|
-
verbose
|
|
1537
|
-
}, {
|
|
1538
|
-
outDir
|
|
1539
|
-
});
|
|
1540
|
-
}
|
|
1541
1544
|
return 0;
|
|
1542
1545
|
}, "compileFolder");
|
|
1543
1546
|
var packageCompileTsup = /* @__PURE__ */ __name(async (config2, types = "tsup") => {
|