@xylabs/ts-scripts-yarn3 6.0.0 → 6.0.1
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 +2 -0
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/index.mjs +2 -0
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/lint.mjs +2 -0
- package/dist/actions/package/lint.mjs.map +1 -1
- package/dist/bin/package/fix.mjs +2 -0
- package/dist/bin/package/fix.mjs.map +1 -1
- package/dist/bin/package/lint.mjs +2 -0
- package/dist/bin/package/lint.mjs.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/lint.ts +2 -0
package/dist/actions/index.mjs
CHANGED
|
@@ -2161,6 +2161,7 @@ function getFiles(dir, ignoreFolders) {
|
|
|
2161
2161
|
}
|
|
2162
2162
|
__name(getFiles, "getFiles");
|
|
2163
2163
|
var packageLint = /* @__PURE__ */ __name(async (fix2 = 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,7 @@ var packageLint = /* @__PURE__ */ __name(async (fix2 = false) => {
|
|
|
2181
2182
|
warnIgnored: false
|
|
2182
2183
|
});
|
|
2183
2184
|
const files = getFiles(cwd4(), ignoreFolders);
|
|
2185
|
+
console.log(chalk29.green(`Linting ${pkg} [${files.length}]`));
|
|
2184
2186
|
const lintResults = await engine.lintFiles(files);
|
|
2185
2187
|
dumpMessages2(lintResults);
|
|
2186
2188
|
if (fix2) {
|