@xylabs/ts-scripts-yarn3 6.0.0 → 6.0.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.
@@ -2160,7 +2160,8 @@ function getFiles(dir, ignoreFolders) {
2160
2160
  });
2161
2161
  }
2162
2162
  __name(getFiles, "getFiles");
2163
- var packageLint = /* @__PURE__ */ __name(async (fix2 = false) => {
2163
+ var packageLint = /* @__PURE__ */ __name(async (fix2 = false, verbose = false) => {
2164
+ const pkg = process.env.INIT_CWD;
2164
2165
  const configPath = await getRootESLintConfig();
2165
2166
  const { default: eslintConfig } = await import(configPath.href);
2166
2167
  const ignoreFolders = [
@@ -2181,6 +2182,9 @@ var packageLint = /* @__PURE__ */ __name(async (fix2 = false) => {
2181
2182
  warnIgnored: false
2182
2183
  });
2183
2184
  const files = getFiles(cwd4(), ignoreFolders);
2185
+ if (verbose) {
2186
+ console.log(chalk29.green(`Linting ${pkg} [files = ${files.length}]`));
2187
+ }
2184
2188
  const lintResults = await engine.lintFiles(files);
2185
2189
  dumpMessages2(lintResults);
2186
2190
  if (fix2) {