@xylabs/ts-scripts-yarn3 6.0.1 → 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.
- package/dist/actions/index.mjs +4 -2
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/index.mjs +4 -2
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/lint.mjs +4 -2
- package/dist/actions/package/lint.mjs.map +1 -1
- package/dist/bin/package/fix.mjs +4 -2
- package/dist/bin/package/fix.mjs.map +1 -1
- package/dist/bin/package/lint.mjs +4 -2
- package/dist/bin/package/lint.mjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/lint.ts +4 -2
package/dist/actions/index.mjs
CHANGED
|
@@ -2160,7 +2160,7 @@ 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
2164
|
const pkg = process.env.INIT_CWD;
|
|
2165
2165
|
const configPath = await getRootESLintConfig();
|
|
2166
2166
|
const { default: eslintConfig } = await import(configPath.href);
|
|
@@ -2182,7 +2182,9 @@ var packageLint = /* @__PURE__ */ __name(async (fix2 = false) => {
|
|
|
2182
2182
|
warnIgnored: false
|
|
2183
2183
|
});
|
|
2184
2184
|
const files = getFiles(cwd4(), ignoreFolders);
|
|
2185
|
-
|
|
2185
|
+
if (verbose) {
|
|
2186
|
+
console.log(chalk29.green(`Linting ${pkg} [files = ${files.length}]`));
|
|
2187
|
+
}
|
|
2186
2188
|
const lintResults = await engine.lintFiles(files);
|
|
2187
2189
|
dumpMessages2(lintResults);
|
|
2188
2190
|
if (fix2) {
|