@xylabs/ts-scripts-yarn3 6.5.11 → 6.5.13
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/build.mjs +5 -5
- package/dist/actions/build.mjs.map +1 -1
- package/dist/actions/index.mjs +7 -7
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +2 -2
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/compileTypes.mjs +2 -2
- package/dist/actions/package/compile/compileTypes.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +2 -2
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTscTypes.mjs +2 -2
- package/dist/actions/package/compile/packageCompileTscTypes.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +2 -2
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/index.mjs +2 -2
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +2 -2
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +2 -2
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +2 -2
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +2 -2
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +2 -2
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile-types.mjs +2 -2
- package/dist/bin/package/compile-types.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +2 -2
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +2 -2
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/xy.mjs +5 -5
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +5 -5
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +5 -5
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyBuildCommands.mjs +5 -5
- package/dist/xy/xyBuildCommands.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -483,18 +483,18 @@ var build = async ({
|
|
|
483
483
|
pkg
|
|
484
484
|
}) => {
|
|
485
485
|
const start = Date.now();
|
|
486
|
-
const pkgOptions = pkg ? [
|
|
486
|
+
const pkgOptions = pkg === void 0 ? [] : [pkg];
|
|
487
487
|
const incrementalOptions = incremental ? ["-i"] : [];
|
|
488
488
|
const verboseOptions = verbose ? ["-v"] : [];
|
|
489
|
-
const targetOptions = target ? ["-t", target]
|
|
490
|
-
const jobsOptions = jobs ? ["-j", `${jobs}`]
|
|
491
|
-
if (jobs) {
|
|
489
|
+
const targetOptions = target === void 0 ? [] : ["-t", target];
|
|
490
|
+
const jobsOptions = jobs === void 0 ? [] : ["-j", `${jobs}`];
|
|
491
|
+
if (jobs !== void 0) {
|
|
492
492
|
console.log(chalk9.blue(`Jobs set to [${jobs}]`));
|
|
493
493
|
}
|
|
494
494
|
const result = await runStepsAsync(`Build${incremental ? "-Incremental" : ""} [${pkg ?? "All"}]`, [
|
|
495
495
|
["yarn", ["xy", "compile", ...pkgOptions, ...targetOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions, "--types", "tsup"]],
|
|
496
496
|
["yarn", ["xy", "publint", ...pkgOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions]],
|
|
497
|
-
["yarn", ["xy", "
|
|
497
|
+
["yarn", ["xy", "deplint", ...pkgOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions]],
|
|
498
498
|
["yarn", ["xy", "lint", ...pkgOptions, ...verboseOptions, ...incrementalOptions]]
|
|
499
499
|
]);
|
|
500
500
|
console.log(`${chalk9.gray("Built in")} [${chalk9.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk9.gray("seconds")}`);
|
|
@@ -1496,7 +1496,7 @@ var packageCompileTscTypes = (folder = "src", config2 = {}, compilerOptionsParam
|
|
|
1496
1496
|
const compilerOptions = {
|
|
1497
1497
|
...getCompilerOptions({
|
|
1498
1498
|
emitDeclarationOnly: true,
|
|
1499
|
-
outDir: "dist/types",
|
|
1499
|
+
outDir: config2.compile?.tsup?.options?.outDir ?? "dist/types",
|
|
1500
1500
|
removeComments: false,
|
|
1501
1501
|
skipDefaultLibCheck: true,
|
|
1502
1502
|
skipLibCheck: true,
|
|
@@ -1514,7 +1514,7 @@ var packageCompileTscTypes = (folder = "src", config2 = {}, compilerOptionsParam
|
|
|
1514
1514
|
const program = createProgramFromConfig({
|
|
1515
1515
|
basePath: pkg ?? cwd(),
|
|
1516
1516
|
compilerOptions,
|
|
1517
|
-
exclude: ["dist", "docs", "**/*.spec.*", "**/*.stories.*", "src/**/spec/**/*"],
|
|
1517
|
+
exclude: ["build", "dist", "docs", "**/*.spec.*", "**/*.stories.*", "src/**/spec/**/*"],
|
|
1518
1518
|
files
|
|
1519
1519
|
});
|
|
1520
1520
|
const diagnostics = getPreEmitDiagnostics(program);
|