@xylabs/ts-scripts-yarn3 6.5.12 → 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 +5 -5
- package/dist/actions/index.mjs.map +1 -1
- package/dist/bin/xy.mjs +5 -5
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.mjs +5 -5
- 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/bin/xy.mjs
CHANGED
|
@@ -393,18 +393,18 @@ var build = async ({
|
|
|
393
393
|
pkg
|
|
394
394
|
}) => {
|
|
395
395
|
const start = Date.now();
|
|
396
|
-
const pkgOptions = pkg ? [
|
|
396
|
+
const pkgOptions = pkg === void 0 ? [] : [pkg];
|
|
397
397
|
const incrementalOptions = incremental ? ["-i"] : [];
|
|
398
398
|
const verboseOptions = verbose ? ["-v"] : [];
|
|
399
|
-
const targetOptions = target ? ["-t", target]
|
|
400
|
-
const jobsOptions = jobs ? ["-j", `${jobs}`]
|
|
401
|
-
if (jobs) {
|
|
399
|
+
const targetOptions = target === void 0 ? [] : ["-t", target];
|
|
400
|
+
const jobsOptions = jobs === void 0 ? [] : ["-j", `${jobs}`];
|
|
401
|
+
if (jobs !== void 0) {
|
|
402
402
|
console.log(chalk7.blue(`Jobs set to [${jobs}]`));
|
|
403
403
|
}
|
|
404
404
|
const result = await runStepsAsync(`Build${incremental ? "-Incremental" : ""} [${pkg ?? "All"}]`, [
|
|
405
405
|
["yarn", ["xy", "compile", ...pkgOptions, ...targetOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions, "--types", "tsup"]],
|
|
406
406
|
["yarn", ["xy", "publint", ...pkgOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions]],
|
|
407
|
-
["yarn", ["xy", "
|
|
407
|
+
["yarn", ["xy", "deplint", ...pkgOptions, ...verboseOptions, ...jobsOptions, ...incrementalOptions]],
|
|
408
408
|
["yarn", ["xy", "lint", ...pkgOptions, ...verboseOptions, ...incrementalOptions]]
|
|
409
409
|
]);
|
|
410
410
|
console.log(`${chalk7.gray("Built in")} [${chalk7.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk7.gray("seconds")}`);
|