@xylabs/ts-scripts-yarn3 5.0.34 → 5.0.36
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 +15 -1
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +15 -1
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +15 -1
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTscTypes.mjs +3 -1
- package/dist/actions/package/compile/packageCompileTscTypes.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +15 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/index.mjs +15 -1
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +15 -1
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +15 -1
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +15 -1
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +15 -1
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +15 -1
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +15 -1
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +15 -1
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/compile/packageCompileTscTypes.ts +2 -0
- package/src/actions/package/compile/packageCompileTsup.ts +15 -0
package/dist/actions/index.mjs
CHANGED
|
@@ -1459,7 +1459,9 @@ var packageCompileTscTypes = /* @__PURE__ */ __name((folder = "src", { verbose }
|
|
|
1459
1459
|
skipLibCheck: true,
|
|
1460
1460
|
sourceMap: false
|
|
1461
1461
|
}),
|
|
1462
|
-
...compilerOptionsParam
|
|
1462
|
+
...compilerOptionsParam,
|
|
1463
|
+
emitDeclarationOnly: true,
|
|
1464
|
+
noEmit: false
|
|
1463
1465
|
};
|
|
1464
1466
|
const files = buildEntries(folder, "all");
|
|
1465
1467
|
const result = createProgramFromConfig2({
|
|
@@ -1503,6 +1505,9 @@ var packageCompileTscTypes = /* @__PURE__ */ __name((folder = "src", { verbose }
|
|
|
1503
1505
|
// src/actions/package/compile/packageCompileTsup.ts
|
|
1504
1506
|
var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single", options, types = "tsc", verbose) => {
|
|
1505
1507
|
const outDir = options?.outDir ?? "dist";
|
|
1508
|
+
if (verbose) {
|
|
1509
|
+
console.log(`compileFolder [${folder}]`);
|
|
1510
|
+
}
|
|
1506
1511
|
const entry = buildEntries(folder, entryMode);
|
|
1507
1512
|
const optionsResult = defineConfig({
|
|
1508
1513
|
bundle: true,
|
|
@@ -1530,8 +1535,17 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
|
|
|
1530
1535
|
result
|
|
1531
1536
|
];
|
|
1532
1537
|
}))).flat();
|
|
1538
|
+
if (verbose) {
|
|
1539
|
+
console.log(`TSUP:build:start [${folder}] ${types}`);
|
|
1540
|
+
}
|
|
1533
1541
|
await Promise.all(optionsList.map((options2) => build2(options2)));
|
|
1542
|
+
if (verbose) {
|
|
1543
|
+
console.log(`TSUP:build:stop [${folder}] ${types}`);
|
|
1544
|
+
}
|
|
1534
1545
|
if (types === "tsc") {
|
|
1546
|
+
if (verbose) {
|
|
1547
|
+
console.log(`Calling packageCompileTscTypes [${folder}] ${types}`);
|
|
1548
|
+
}
|
|
1535
1549
|
const errors = packageCompileTscTypes(folder, {
|
|
1536
1550
|
verbose
|
|
1537
1551
|
}, {
|