@xylabs/ts-scripts-yarn3 6.1.0 → 6.1.2

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/index.mjs CHANGED
@@ -1292,7 +1292,8 @@ var knip = /* @__PURE__ */ __name(() => {
1292
1292
  "yarn",
1293
1293
  [
1294
1294
  "knip",
1295
- "--dependencies"
1295
+ "--dependencies",
1296
+ "--no-exit-code"
1296
1297
  ]
1297
1298
  ]
1298
1299
  ]);
@@ -2196,6 +2197,7 @@ function getFiles(dir, ignoreFolders) {
2196
2197
  }
2197
2198
  __name(getFiles, "getFiles");
2198
2199
  var packageLint = /* @__PURE__ */ __name(async (fix2 = false, verbose = false, cache = true) => {
2200
+ const start = Date.now();
2199
2201
  const pkg = process.env.INIT_CWD;
2200
2202
  const configPath = await getRootESLintConfig();
2201
2203
  const { default: eslintConfig } = await import(configPath.href);
@@ -2226,6 +2228,7 @@ var packageLint = /* @__PURE__ */ __name(async (fix2 = false, verbose = false, c
2226
2228
  if (fix2) {
2227
2229
  await ESLint2.outputFixes(lintResults);
2228
2230
  }
2231
+ console.log(chalk29.green(`Linted ${files.length} files in ${Date.now() - start}ms`));
2229
2232
  return lintResults.reduce((prev, lintResult) => prev + lintResult.errorCount, 0);
2230
2233
  }, "packageLint");
2231
2234