@xylabs/ts-scripts-yarn3 6.2.1 → 6.3.0

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.
Files changed (50) hide show
  1. package/dist/actions/build.mjs +12 -1
  2. package/dist/actions/build.mjs.map +1 -1
  3. package/dist/actions/cycle.mjs +164 -21
  4. package/dist/actions/cycle.mjs.map +1 -1
  5. package/dist/actions/index.mjs +185 -85
  6. package/dist/actions/index.mjs.map +1 -1
  7. package/dist/actions/package/compile/compile.mjs +0 -1
  8. package/dist/actions/package/compile/compile.mjs.map +1 -1
  9. package/dist/actions/package/compile/compileTypes.mjs +0 -1
  10. package/dist/actions/package/compile/compileTypes.mjs.map +1 -1
  11. package/dist/actions/package/compile/index.mjs +0 -1
  12. package/dist/actions/package/compile/index.mjs.map +1 -1
  13. package/dist/actions/package/compile/packageCompileTsup.mjs +0 -1
  14. package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
  15. package/dist/actions/package/cycle.mjs +47 -0
  16. package/dist/actions/package/cycle.mjs.map +1 -0
  17. package/dist/actions/package/index.mjs +42 -1
  18. package/dist/actions/package/index.mjs.map +1 -1
  19. package/dist/actions/package/recompile.mjs +0 -1
  20. package/dist/actions/package/recompile.mjs.map +1 -1
  21. package/dist/bin/package/build-only.mjs +0 -1
  22. package/dist/bin/package/build-only.mjs.map +1 -1
  23. package/dist/bin/package/build.mjs +0 -1
  24. package/dist/bin/package/build.mjs.map +1 -1
  25. package/dist/bin/package/compile-only.mjs +0 -1
  26. package/dist/bin/package/compile-only.mjs.map +1 -1
  27. package/dist/bin/package/compile-tsup.mjs +0 -1
  28. package/dist/bin/package/compile-tsup.mjs.map +1 -1
  29. package/dist/bin/package/compile-types.mjs +0 -1
  30. package/dist/bin/package/compile-types.mjs.map +1 -1
  31. package/dist/bin/package/compile.mjs +0 -1
  32. package/dist/bin/package/compile.mjs.map +1 -1
  33. package/dist/bin/package/cycle.mjs +60 -0
  34. package/dist/bin/package/cycle.mjs.map +1 -0
  35. package/dist/bin/package/recompile.mjs +0 -1
  36. package/dist/bin/package/recompile.mjs.map +1 -1
  37. package/dist/bin/xy.mjs +125 -68
  38. package/dist/bin/xy.mjs.map +1 -1
  39. package/dist/index.d.ts +18 -2
  40. package/dist/index.mjs +198 -98
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/xy/index.mjs +125 -68
  43. package/dist/xy/index.mjs.map +1 -1
  44. package/dist/xy/xy.mjs +125 -68
  45. package/dist/xy/xy.mjs.map +1 -1
  46. package/dist/xy/xyBuildCommands.mjs +12 -1
  47. package/dist/xy/xyBuildCommands.mjs.map +1 -1
  48. package/dist/xy/xyLintCommands.mjs +88 -42
  49. package/dist/xy/xyLintCommands.mjs.map +1 -1
  50. package/package.json +16 -14
package/dist/xy/xy.mjs CHANGED
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
 
4
4
  // src/xy/xy.ts
5
- import chalk21 from "chalk";
5
+ import chalk22 from "chalk";
6
6
 
7
7
  // src/actions/build.ts
8
8
  import chalk7 from "chalk";
@@ -459,9 +459,10 @@ var build = /* @__PURE__ */ __name(async ({ incremental, jobs, target, verbose,
459
459
  "yarn",
460
460
  [
461
461
  "xy",
462
- "lint",
462
+ "cycle",
463
463
  ...pkgOptions,
464
464
  ...verboseOptions,
465
+ ...jobsOptions,
465
466
  ...incrementalOptions
466
467
  ]
467
468
  ],
@@ -486,6 +487,16 @@ var build = /* @__PURE__ */ __name(async ({ incremental, jobs, target, verbose,
486
487
  ...jobsOptions,
487
488
  ...incrementalOptions
488
489
  ]
490
+ ],
491
+ [
492
+ "yarn",
493
+ [
494
+ "xy",
495
+ "lint",
496
+ ...pkgOptions,
497
+ ...verboseOptions,
498
+ ...incrementalOptions
499
+ ]
489
500
  ]
490
501
  ]);
491
502
  console.log(`${chalk7.gray("Built in")} [${chalk7.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk7.gray("seconds")}`);
@@ -759,30 +770,76 @@ var copyAssets = /* @__PURE__ */ __name(async ({ target, pkg }) => {
759
770
  }, "copyAssets");
760
771
 
761
772
  // src/actions/cycle.ts
762
- import { ESLint } from "eslint";
763
- var cycle = /* @__PURE__ */ __name(async () => {
764
- const eslint = new ESLint({
765
- fix: false,
766
- overrideConfig: {
767
- rules: {
768
- "import-x/no-cycle": [
769
- "error",
770
- {
771
- maxDepth: 10
772
- }
773
- ]
774
- }
775
- }
773
+ import chalk12 from "chalk";
774
+ var cycle = /* @__PURE__ */ __name(({ verbose, pkg, incremental, jobs } = {}) => {
775
+ return pkg ? cyclePackage({
776
+ pkg,
777
+ verbose
778
+ }) : cycleAll({
779
+ incremental,
780
+ verbose,
781
+ jobs
776
782
  });
777
- const results = await eslint.lintFiles([
778
- "src/**/*.ts*",
779
- "packages/**/src/**/*.ts*"
780
- ]);
781
- const formatter = await eslint.loadFormatter("stylish");
782
- const resultText = formatter.format(results);
783
- console.log(resultText);
784
- return results.length;
785
783
  }, "cycle");
784
+ var cyclePackage = /* @__PURE__ */ __name(({ pkg, verbose }) => {
785
+ const verboseOptions = verbose ? [
786
+ "--verbose"
787
+ ] : [
788
+ "--no-verbose"
789
+ ];
790
+ return runSteps(`Cycle [${pkg}]`, [
791
+ [
792
+ "yarn",
793
+ [
794
+ "workspace",
795
+ pkg,
796
+ "run",
797
+ "package-cycle",
798
+ ...verboseOptions
799
+ ]
800
+ ]
801
+ ]);
802
+ }, "cyclePackage");
803
+ var cycleAll = /* @__PURE__ */ __name(({ jobs, verbose, incremental }) => {
804
+ const start = Date.now();
805
+ const verboseOptions = verbose ? [
806
+ "--verbose"
807
+ ] : [
808
+ "--no-verbose"
809
+ ];
810
+ const incrementalOptions = incremental ? [
811
+ "--since",
812
+ "-Ap",
813
+ "--topological-dev"
814
+ ] : [
815
+ "--parallel",
816
+ "-Ap"
817
+ ];
818
+ const jobsOptions = jobs ? [
819
+ "-j",
820
+ `${jobs}`
821
+ ] : [];
822
+ if (jobs) {
823
+ console.log(chalk12.blue(`Jobs set to [${jobs}]`));
824
+ }
825
+ const result = runSteps(`Cycle${incremental ? "-Incremental" : ""} [All]`, [
826
+ [
827
+ "yarn",
828
+ [
829
+ "workspaces",
830
+ "foreach",
831
+ ...incrementalOptions,
832
+ ...jobsOptions,
833
+ ...verboseOptions,
834
+ "run",
835
+ "package-cycle",
836
+ ...verboseOptions
837
+ ]
838
+ ]
839
+ ]);
840
+ console.log(`${chalk12.gray("Cycles Checked in")} [${chalk12.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk12.gray("seconds")}`);
841
+ return result;
842
+ }, "cycleAll");
786
843
 
787
844
  // src/actions/dead.ts
788
845
  var dead = /* @__PURE__ */ __name(() => {
@@ -903,18 +960,18 @@ var deployNext = /* @__PURE__ */ __name(() => {
903
960
  }, "deployNext");
904
961
 
905
962
  // src/actions/dupdeps.ts
906
- import chalk12 from "chalk";
963
+ import chalk13 from "chalk";
907
964
  var dupdeps = /* @__PURE__ */ __name(() => {
908
- console.log(chalk12.green("Checking all Dependencies for Duplicates"));
965
+ console.log(chalk13.green("Checking all Dependencies for Duplicates"));
909
966
  const allDependencies = parsedPackageJSON()?.dependencies;
910
967
  const dependencies = Object.entries(allDependencies).map(([k]) => k);
911
968
  return detectDuplicateDependencies(dependencies);
912
969
  }, "dupdeps");
913
970
 
914
971
  // src/actions/lint.ts
915
- import chalk13 from "chalk";
972
+ import chalk14 from "chalk";
916
973
  var lintPackage = /* @__PURE__ */ __name(({ pkg, fix: fix2 }) => {
917
- console.log(chalk13.gray(`${fix2 ? "Fix" : "Lint"} [${pkg}]`));
974
+ console.log(chalk14.gray(`${fix2 ? "Fix" : "Lint"} [${pkg}]`));
918
975
  const start = Date.now();
919
976
  const result = runSteps(`${fix2 ? "Fix" : "Lint"} [${pkg}]`, [
920
977
  [
@@ -927,7 +984,7 @@ var lintPackage = /* @__PURE__ */ __name(({ pkg, fix: fix2 }) => {
927
984
  ]
928
985
  ]
929
986
  ]);
930
- console.log(chalk13.gray(`${fix2 ? "Fixed in" : "Linted in"} [${chalk13.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk13.gray("seconds")}`));
987
+ console.log(chalk14.gray(`${fix2 ? "Fixed in" : "Linted in"} [${chalk14.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk14.gray("seconds")}`));
931
988
  return result;
932
989
  }, "lintPackage");
933
990
  var lint = /* @__PURE__ */ __name(({ pkg, verbose, incremental, fix: fix2 } = {}) => {
@@ -941,7 +998,7 @@ var lint = /* @__PURE__ */ __name(({ pkg, verbose, incremental, fix: fix2 } = {}
941
998
  });
942
999
  }, "lint");
943
1000
  var lintAllPackages = /* @__PURE__ */ __name(({ fix: fix2 = false } = {}) => {
944
- console.log(chalk13.gray(`${fix2 ? "Fix" : "Lint"} [All-Packages]`));
1001
+ console.log(chalk14.gray(`${fix2 ? "Fix" : "Lint"} [All-Packages]`));
945
1002
  const start = Date.now();
946
1003
  const result = runSteps(`${fix2 ? "Fix" : "Lint"} [All-Packages]`, [
947
1004
  [
@@ -951,7 +1008,7 @@ var lintAllPackages = /* @__PURE__ */ __name(({ fix: fix2 = false } = {}) => {
951
1008
  ]
952
1009
  ]
953
1010
  ]);
954
- console.log(chalk13.gray(`${fix2 ? "Fixed in" : "Linted in"} [${chalk13.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk13.gray("seconds")}`));
1011
+ console.log(chalk14.gray(`${fix2 ? "Fixed in" : "Linted in"} [${chalk14.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk14.gray("seconds")}`));
955
1012
  return result;
956
1013
  }, "lintAllPackages");
957
1014
 
@@ -1016,7 +1073,7 @@ var filename = ".gitignore";
1016
1073
  var gitignoreGen = /* @__PURE__ */ __name((pkg) => generateIgnoreFiles(filename, pkg), "gitignoreGen");
1017
1074
 
1018
1075
  // src/actions/gitlint.ts
1019
- import chalk14 from "chalk";
1076
+ import chalk15 from "chalk";
1020
1077
  import ParseGitConfig from "parse-git-config";
1021
1078
  var gitlint = /* @__PURE__ */ __name(() => {
1022
1079
  console.log(`
@@ -1027,7 +1084,7 @@ Gitlint Start [${process.cwd()}]
1027
1084
  const errors = 0;
1028
1085
  const gitConfig = ParseGitConfig.sync();
1029
1086
  const warn = /* @__PURE__ */ __name((message) => {
1030
- console.warn(chalk14.yellow(`Warning: ${message}`));
1087
+ console.warn(chalk15.yellow(`Warning: ${message}`));
1031
1088
  warnings++;
1032
1089
  }, "warn");
1033
1090
  if (gitConfig.core.ignorecase) {
@@ -1047,13 +1104,13 @@ Gitlint Start [${process.cwd()}]
1047
1104
  }
1048
1105
  const resultMessages = [];
1049
1106
  if (valid > 0) {
1050
- resultMessages.push(chalk14.green(`Passed: ${valid}`));
1107
+ resultMessages.push(chalk15.green(`Passed: ${valid}`));
1051
1108
  }
1052
1109
  if (warnings > 0) {
1053
- resultMessages.push(chalk14.yellow(`Warnings: ${warnings}`));
1110
+ resultMessages.push(chalk15.yellow(`Warnings: ${warnings}`));
1054
1111
  }
1055
1112
  if (errors > 0) {
1056
- resultMessages.push(chalk14.red(` Errors: ${errors}`));
1113
+ resultMessages.push(chalk15.red(` Errors: ${errors}`));
1057
1114
  }
1058
1115
  console.warn(`Gitlint Finish [ ${resultMessages.join(" | ")} ]
1059
1116
  `);
@@ -1062,7 +1119,7 @@ Gitlint Start [${process.cwd()}]
1062
1119
 
1063
1120
  // src/actions/gitlint-fix.ts
1064
1121
  import { execSync as execSync2 } from "node:child_process";
1065
- import chalk15 from "chalk";
1122
+ import chalk16 from "chalk";
1066
1123
  import ParseGitConfig2 from "parse-git-config";
1067
1124
  var gitlintFix = /* @__PURE__ */ __name(() => {
1068
1125
  console.log(`
@@ -1073,19 +1130,19 @@ Gitlint Fix Start [${process.cwd()}]
1073
1130
  execSync2("git config core.ignorecase false", {
1074
1131
  stdio: "inherit"
1075
1132
  });
1076
- console.warn(chalk15.yellow("\nGitlint Fix: Updated core.ignorecase to be false\n"));
1133
+ console.warn(chalk16.yellow("\nGitlint Fix: Updated core.ignorecase to be false\n"));
1077
1134
  }
1078
1135
  if (gitConfig.core.autocrlf !== false) {
1079
1136
  execSync2("git config core.autocrlf false", {
1080
1137
  stdio: "inherit"
1081
1138
  });
1082
- console.warn(chalk15.yellow("\nGitlint Fix: Updated core.autocrlf to be false\n"));
1139
+ console.warn(chalk16.yellow("\nGitlint Fix: Updated core.autocrlf to be false\n"));
1083
1140
  }
1084
1141
  if (gitConfig.core.eol !== "lf") {
1085
1142
  execSync2("git config core.eol lf", {
1086
1143
  stdio: "inherit"
1087
1144
  });
1088
- console.warn(chalk15.yellow('\nGitlint Fix: Updated core.eol to be "lf"\n'));
1145
+ console.warn(chalk16.yellow('\nGitlint Fix: Updated core.eol to be "lf"\n'));
1089
1146
  }
1090
1147
  return 1;
1091
1148
  }, "gitlintFix");
@@ -1105,7 +1162,7 @@ var knip = /* @__PURE__ */ __name(() => {
1105
1162
  }, "knip");
1106
1163
 
1107
1164
  // src/actions/license.ts
1108
- import chalk16 from "chalk";
1165
+ import chalk17 from "chalk";
1109
1166
  import { init } from "license-checker";
1110
1167
  var license = /* @__PURE__ */ __name(async (pkg) => {
1111
1168
  const workspaces = yarnWorkspaces();
@@ -1130,7 +1187,7 @@ var license = /* @__PURE__ */ __name(async (pkg) => {
1130
1187
  "LGPL-3.0-or-later",
1131
1188
  "Python-2.0"
1132
1189
  ]);
1133
- console.log(chalk16.green("License Checker"));
1190
+ console.log(chalk17.green("License Checker"));
1134
1191
  return (await Promise.all(workspaceList.map(({ location, name }) => {
1135
1192
  return new Promise((resolve) => {
1136
1193
  init({
@@ -1138,12 +1195,12 @@ var license = /* @__PURE__ */ __name(async (pkg) => {
1138
1195
  start: location
1139
1196
  }, (error, packages) => {
1140
1197
  if (error) {
1141
- console.error(chalk16.red(`License Checker [${name}] Error`));
1142
- console.error(chalk16.gray(error));
1198
+ console.error(chalk17.red(`License Checker [${name}] Error`));
1199
+ console.error(chalk17.gray(error));
1143
1200
  console.log("\n");
1144
1201
  resolve(1);
1145
1202
  } else {
1146
- console.log(chalk16.green(`License Checker [${name}]`));
1203
+ console.log(chalk17.green(`License Checker [${name}]`));
1147
1204
  let count = 0;
1148
1205
  for (const [name2, info] of Object.entries(packages)) {
1149
1206
  const licenses = Array.isArray(info.licenses) ? info.licenses : [
@@ -1161,7 +1218,7 @@ var license = /* @__PURE__ */ __name(async (pkg) => {
1161
1218
  }
1162
1219
  if (!orLicenseFound) {
1163
1220
  count++;
1164
- console.warn(chalk16.yellow(`${name2}: Package License not allowed [${license2}]`));
1221
+ console.warn(chalk17.yellow(`${name2}: Package License not allowed [${license2}]`));
1165
1222
  }
1166
1223
  }
1167
1224
  }
@@ -1236,7 +1293,7 @@ var rebuild = /* @__PURE__ */ __name(({ target }) => {
1236
1293
  }, "rebuild");
1237
1294
 
1238
1295
  // src/actions/recompile.ts
1239
- import chalk17 from "chalk";
1296
+ import chalk18 from "chalk";
1240
1297
  var recompile = /* @__PURE__ */ __name(async ({ verbose, target, pkg, incremental }) => {
1241
1298
  return pkg ? await recompilePackage({
1242
1299
  pkg,
@@ -1291,7 +1348,7 @@ var recompileAll = /* @__PURE__ */ __name(async ({ jobs, verbose, target, increm
1291
1348
  `${jobs}`
1292
1349
  ] : [];
1293
1350
  if (jobs) {
1294
- console.log(chalk17.blue(`Jobs set to [${jobs}]`));
1351
+ console.log(chalk18.blue(`Jobs set to [${jobs}]`));
1295
1352
  }
1296
1353
  const result = await runStepsAsync(`Recompile${incremental ? "-Incremental" : ""} [All]`, [
1297
1354
  [
@@ -1321,7 +1378,7 @@ var recompileAll = /* @__PURE__ */ __name(async ({ jobs, verbose, target, increm
1321
1378
  ]
1322
1379
  ]
1323
1380
  ]);
1324
- console.log(`${chalk17.gray("Recompiled in")} [${chalk17.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk17.gray("seconds")}`);
1381
+ console.log(`${chalk18.gray("Recompiled in")} [${chalk18.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk18.gray("seconds")}`);
1325
1382
  return result;
1326
1383
  }, "recompileAll");
1327
1384
 
@@ -1355,9 +1412,9 @@ var reinstall = /* @__PURE__ */ __name(() => {
1355
1412
  }, "reinstall");
1356
1413
 
1357
1414
  // src/actions/relint.ts
1358
- import chalk18 from "chalk";
1415
+ import chalk19 from "chalk";
1359
1416
  var relintPackage = /* @__PURE__ */ __name(({ pkg }) => {
1360
- console.log(chalk18.gray(`${"Relint"} [All-Packages]`));
1417
+ console.log(chalk19.gray(`${"Relint"} [All-Packages]`));
1361
1418
  const start = Date.now();
1362
1419
  const result = runSteps("Relint [All-Packages]", [
1363
1420
  [
@@ -1370,7 +1427,7 @@ var relintPackage = /* @__PURE__ */ __name(({ pkg }) => {
1370
1427
  ]
1371
1428
  ]
1372
1429
  ]);
1373
- console.log(chalk18.gray(`${"Relinted in"} [${chalk18.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk18.gray("seconds")}`));
1430
+ console.log(chalk19.gray(`${"Relinted in"} [${chalk19.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk19.gray("seconds")}`));
1374
1431
  return result;
1375
1432
  }, "relintPackage");
1376
1433
  var relint = /* @__PURE__ */ __name(({ pkg, verbose, incremental } = {}) => {
@@ -1382,7 +1439,7 @@ var relint = /* @__PURE__ */ __name(({ pkg, verbose, incremental } = {}) => {
1382
1439
  });
1383
1440
  }, "relint");
1384
1441
  var relintAllPackages = /* @__PURE__ */ __name(({ verbose = true, incremental } = {}) => {
1385
- console.log(chalk18.gray(`${"Relint"} [All-Packages]`));
1442
+ console.log(chalk19.gray(`${"Relint"} [All-Packages]`));
1386
1443
  const start = Date.now();
1387
1444
  const verboseOptions = verbose ? [
1388
1445
  "--verbose"
@@ -1409,7 +1466,7 @@ var relintAllPackages = /* @__PURE__ */ __name(({ verbose = true, incremental }
1409
1466
  ]
1410
1467
  ]
1411
1468
  ]);
1412
- console.log(chalk18.gray(`Relinted in [${chalk18.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk18.gray("seconds")}`));
1469
+ console.log(chalk19.gray(`Relinted in [${chalk19.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk19.gray("seconds")}`));
1413
1470
  return result;
1414
1471
  }, "relintAllPackages");
1415
1472
 
@@ -1449,7 +1506,7 @@ var sonar = /* @__PURE__ */ __name(() => {
1449
1506
  }, "sonar");
1450
1507
 
1451
1508
  // src/actions/statics.ts
1452
- import chalk19 from "chalk";
1509
+ import chalk20 from "chalk";
1453
1510
  var DefaultDependencies = [
1454
1511
  "axios",
1455
1512
  "@xylabs/pixel",
@@ -1460,7 +1517,7 @@ var DefaultDependencies = [
1460
1517
  "@mui/system"
1461
1518
  ];
1462
1519
  var statics = /* @__PURE__ */ __name(() => {
1463
- console.log(chalk19.green("Check Required Static Dependencies"));
1520
+ console.log(chalk20.green("Check Required Static Dependencies"));
1464
1521
  const statics2 = parsedPackageJSON()?.xy?.deps?.statics;
1465
1522
  return detectDuplicateDependencies(statics2, DefaultDependencies);
1466
1523
  }, "statics");
@@ -1806,15 +1863,15 @@ var xyInstallCommands = /* @__PURE__ */ __name((args) => {
1806
1863
  }, "xyInstallCommands");
1807
1864
 
1808
1865
  // src/xy/xyLintCommands.ts
1809
- import chalk20 from "chalk";
1866
+ import chalk21 from "chalk";
1810
1867
  var xyLintCommands = /* @__PURE__ */ __name((args) => {
1811
1868
  return args.command("cycle [package]", "Cycle - Check for dependency cycles", (yargs2) => {
1812
1869
  return packagePositionalParam(yargs2);
1813
- }, async (argv) => {
1870
+ }, (argv) => {
1814
1871
  const start = Date.now();
1815
1872
  if (argv.verbose) console.log("Cycle");
1816
- process.exitCode = await cycle();
1817
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1873
+ process.exitCode = cycle();
1874
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1818
1875
  }).command("lint [package]", "Lint - Run Eslint", (yargs2) => {
1819
1876
  return packagePositionalParam(yargs2);
1820
1877
  }, (argv) => {
@@ -1825,21 +1882,21 @@ var xyLintCommands = /* @__PURE__ */ __name((args) => {
1825
1882
  }) : lint({
1826
1883
  pkg: argv.package
1827
1884
  });
1828
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1885
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1829
1886
  }).command("fix [package]", "Fix - Run Eslint w/fix", (yargs2) => {
1830
1887
  return packagePositionalParam(yargs2);
1831
1888
  }, (argv) => {
1832
1889
  const start = Date.now();
1833
1890
  if (argv.verbose) console.log("Fix");
1834
1891
  process.exitCode = fix();
1835
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1892
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1836
1893
  }).command("relint [package]", "Relint - Clean & Lint", (yargs2) => {
1837
1894
  return packagePositionalParam(yargs2);
1838
1895
  }, (argv) => {
1839
1896
  if (argv.verbose) console.log("Relinting");
1840
1897
  const start = Date.now();
1841
1898
  process.exitCode = relint();
1842
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1899
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1843
1900
  }).command("publint [package]", "Publint - Run Publint", (yargs2) => {
1844
1901
  return packagePositionalParam(yargs2);
1845
1902
  }, async (argv) => {
@@ -1849,21 +1906,21 @@ var xyLintCommands = /* @__PURE__ */ __name((args) => {
1849
1906
  pkg: argv.package,
1850
1907
  verbose: !!argv.verbose
1851
1908
  });
1852
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1909
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1853
1910
  }).command("knip", "Knip - Run Knip", (yargs2) => {
1854
1911
  return packagePositionalParam(yargs2);
1855
1912
  }, (argv) => {
1856
1913
  if (argv.verbose) console.log("Knip");
1857
1914
  const start = Date.now();
1858
1915
  process.exitCode = knip();
1859
- console.log(chalk20.blue(`Knip finished in ${Date.now() - start}ms`));
1916
+ console.log(chalk21.blue(`Knip finished in ${Date.now() - start}ms`));
1860
1917
  }).command("sonar", "Sonar - Run Sonar Check", (yargs2) => {
1861
1918
  return packagePositionalParam(yargs2);
1862
1919
  }, (argv) => {
1863
1920
  const start = Date.now();
1864
1921
  if (argv.verbose) console.log("Sonar Check");
1865
1922
  process.exitCode = sonar();
1866
- console.log(chalk20.blue(`Finished in ${Date.now() - start}ms`));
1923
+ console.log(chalk21.blue(`Finished in ${Date.now() - start}ms`));
1867
1924
  });
1868
1925
  }, "xyLintCommands");
1869
1926
 
@@ -1925,8 +1982,8 @@ var xyParseOptions = /* @__PURE__ */ __name(() => {
1925
1982
  var xy = /* @__PURE__ */ __name(async () => {
1926
1983
  const options = xyParseOptions();
1927
1984
  return await xyBuildCommands(xyCommonCommands(xyInstallCommands(xyDeployCommands(xyLintCommands(options))))).demandCommand(1).command("*", "", () => {
1928
- console.error(chalk21.yellow(`Command not found [${chalk21.magenta(process.argv[2])}]`));
1929
- console.log(chalk21.gray("Try 'yarn xy --help' for list of commands"));
1985
+ console.error(chalk22.yellow(`Command not found [${chalk22.magenta(process.argv[2])}]`));
1986
+ console.log(chalk22.gray("Try 'yarn xy --help' for list of commands"));
1930
1987
  }).version().help().argv;
1931
1988
  }, "xy");
1932
1989
  export {