@xylabs/ts-scripts-yarn3 6.0.4 → 6.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/fix.mjs +1 -7
- package/dist/actions/fix.mjs.map +1 -1
- package/dist/actions/index.mjs +3 -21
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/lint.mjs +1 -7
- package/dist/actions/lint.mjs.map +1 -1
- package/dist/actions/recompile.mjs +1 -7
- package/dist/actions/recompile.mjs.map +1 -1
- package/dist/actions/relint.mjs +1 -7
- package/dist/actions/relint.mjs.map +1 -1
- package/dist/bin/xy.mjs +3 -21
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +3 -21
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +3 -21
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +3 -21
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyBuildCommands.mjs +1 -7
- package/dist/xy/xyBuildCommands.mjs.map +1 -1
- package/dist/xy/xyLintCommands.mjs +2 -14
- package/dist/xy/xyLintCommands.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/lint.ts +1 -5
- package/src/actions/recompile.ts +2 -5
- package/src/actions/relint.ts +1 -3
package/dist/xy/index.mjs
CHANGED
|
@@ -971,21 +971,15 @@ var dupdeps = /* @__PURE__ */ __name(() => {
|
|
|
971
971
|
|
|
972
972
|
// src/actions/lint.ts
|
|
973
973
|
import chalk14 from "chalk";
|
|
974
|
-
var lintPackage = /* @__PURE__ */ __name(({ pkg, fix: fix2
|
|
974
|
+
var lintPackage = /* @__PURE__ */ __name(({ pkg, fix: fix2 }) => {
|
|
975
975
|
console.log(chalk14.gray(`${fix2 ? "Fix" : "Lint"} [All-Packages]`));
|
|
976
976
|
const start = Date.now();
|
|
977
|
-
const verboseOptions = verbose ? [
|
|
978
|
-
"--verbose"
|
|
979
|
-
] : [
|
|
980
|
-
"--no-verbose"
|
|
981
|
-
];
|
|
982
977
|
const result = runSteps(`${fix2 ? "Fix" : "Lint"} [All-Packages]`, [
|
|
983
978
|
[
|
|
984
979
|
"yarn",
|
|
985
980
|
[
|
|
986
981
|
"workspace",
|
|
987
982
|
pkg,
|
|
988
|
-
...verboseOptions,
|
|
989
983
|
"run",
|
|
990
984
|
fix2 ? "package-fix" : "package-lint"
|
|
991
985
|
]
|
|
@@ -1315,23 +1309,17 @@ var recompile = /* @__PURE__ */ __name(async ({ verbose, target, pkg, incrementa
|
|
|
1315
1309
|
verbose
|
|
1316
1310
|
});
|
|
1317
1311
|
}, "recompile");
|
|
1318
|
-
var recompilePackage = /* @__PURE__ */ __name(({
|
|
1312
|
+
var recompilePackage = /* @__PURE__ */ __name(({ target, pkg }) => {
|
|
1319
1313
|
const targetOptions = target ? [
|
|
1320
1314
|
"-t",
|
|
1321
1315
|
target
|
|
1322
1316
|
] : [];
|
|
1323
|
-
const verboseOptions = verbose ? [
|
|
1324
|
-
"--verbose"
|
|
1325
|
-
] : [
|
|
1326
|
-
"--no-verbose"
|
|
1327
|
-
];
|
|
1328
1317
|
return runStepsAsync(`Recompile [${pkg}]`, [
|
|
1329
1318
|
[
|
|
1330
1319
|
"yarn",
|
|
1331
1320
|
[
|
|
1332
1321
|
"workspace",
|
|
1333
1322
|
pkg,
|
|
1334
|
-
...verboseOptions,
|
|
1335
1323
|
"run",
|
|
1336
1324
|
"package-recompile",
|
|
1337
1325
|
...targetOptions
|
|
@@ -1429,21 +1417,15 @@ var reinstall = /* @__PURE__ */ __name(() => {
|
|
|
1429
1417
|
|
|
1430
1418
|
// src/actions/relint.ts
|
|
1431
1419
|
import chalk19 from "chalk";
|
|
1432
|
-
var relintPackage = /* @__PURE__ */ __name(({ pkg
|
|
1420
|
+
var relintPackage = /* @__PURE__ */ __name(({ pkg }) => {
|
|
1433
1421
|
console.log(chalk19.gray(`${"Relint"} [All-Packages]`));
|
|
1434
1422
|
const start = Date.now();
|
|
1435
|
-
const verboseOptions = verbose ? [
|
|
1436
|
-
"--verbose"
|
|
1437
|
-
] : [
|
|
1438
|
-
"--no-verbose"
|
|
1439
|
-
];
|
|
1440
1423
|
const result = runSteps("Relint [All-Packages]", [
|
|
1441
1424
|
[
|
|
1442
1425
|
"yarn",
|
|
1443
1426
|
[
|
|
1444
1427
|
"workspace",
|
|
1445
1428
|
pkg,
|
|
1446
|
-
...verboseOptions,
|
|
1447
1429
|
"run",
|
|
1448
1430
|
"package-relint"
|
|
1449
1431
|
]
|