@xylabs/ts-scripts-yarn3 5.0.22 → 5.0.24
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 -12
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +11 -12
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +11 -12
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +21 -66
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/index.mjs +11 -12
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +11 -12
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +11 -12
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +11 -12
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +11 -12
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +23 -68
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +11 -12
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +11 -12
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/index.mjs +11 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
- package/src/actions/package/compile/packageCompileTsup.ts +7 -10
package/dist/actions/index.mjs
CHANGED
|
@@ -1520,16 +1520,6 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
|
|
|
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
|
-
}
|
|
1533
1523
|
const optionsList = (await Promise.all((Array.isArray(optionsResult) ? optionsResult : [
|
|
1534
1524
|
optionsResult
|
|
1535
1525
|
]).flatMap(async (options2) => {
|
|
@@ -1541,12 +1531,21 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
|
|
|
1541
1531
|
];
|
|
1542
1532
|
}))).flat();
|
|
1543
1533
|
await Promise.all(optionsList.map((options2) => build2(options2)));
|
|
1534
|
+
if (types === "tsc") {
|
|
1535
|
+
const errors = packageCompileTscTypes(folder, {
|
|
1536
|
+
verbose
|
|
1537
|
+
}, {
|
|
1538
|
+
outDir
|
|
1539
|
+
});
|
|
1540
|
+
if (errors) {
|
|
1541
|
+
return errors;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
1544
|
return 0;
|
|
1545
1545
|
}, "compileFolder");
|
|
1546
1546
|
var packageCompileTsup = /* @__PURE__ */ __name(async (config2, types = "tsup") => {
|
|
1547
1547
|
console.warn("packageCompileTsup-types", types);
|
|
1548
1548
|
const compile2 = config2?.compile;
|
|
1549
|
-
const publint2 = config2?.publint ?? true;
|
|
1550
1549
|
const verbose = config2?.verbose ?? false;
|
|
1551
1550
|
if (verbose) {
|
|
1552
1551
|
console.log(`Compiling with TSUP [Depth: ${compile2?.depth}]`);
|
|
@@ -1623,7 +1622,7 @@ var packageCompileTsup = /* @__PURE__ */ __name(async (config2, types = "tsup")
|
|
|
1623
1622
|
...compile2?.tsup?.options,
|
|
1624
1623
|
...typeof options === "object" ? options : {}
|
|
1625
1624
|
}, types, verbose) : 0;
|
|
1626
|
-
}))).reduce((prev, value) => prev + value, 0) ||
|
|
1625
|
+
}))).reduce((prev, value) => prev + value, 0) || 0;
|
|
1627
1626
|
}, "packageCompileTsup");
|
|
1628
1627
|
|
|
1629
1628
|
// src/actions/package/compile/compile.ts
|