@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/actions/index.mjs +4 -1
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/knip.mjs +2 -1
- package/dist/actions/knip.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/bin/package/relint.mjs +2 -0
- package/dist/bin/package/relint.mjs.map +1 -1
- package/dist/bin/xy.mjs +2 -1
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/actions/package/lint.d.ts.map +1 -1
- package/dist/xy/index.mjs +2 -1
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +2 -1
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyLintCommands.mjs +2 -1
- package/dist/xy/xyLintCommands.mjs.map +1 -1
- package/package.json +8 -8
package/dist/actions/index.mjs
CHANGED
|
@@ -1198,7 +1198,8 @@ var knip = /* @__PURE__ */ __name(() => {
|
|
|
1198
1198
|
"yarn",
|
|
1199
1199
|
[
|
|
1200
1200
|
"knip",
|
|
1201
|
-
"--dependencies"
|
|
1201
|
+
"--dependencies",
|
|
1202
|
+
"--no-exit-code"
|
|
1202
1203
|
]
|
|
1203
1204
|
]
|
|
1204
1205
|
]);
|
|
@@ -2102,6 +2103,7 @@ function getFiles(dir, ignoreFolders) {
|
|
|
2102
2103
|
}
|
|
2103
2104
|
__name(getFiles, "getFiles");
|
|
2104
2105
|
var packageLint = /* @__PURE__ */ __name(async (fix2 = false, verbose = false, cache = true) => {
|
|
2106
|
+
const start = Date.now();
|
|
2105
2107
|
const pkg = process.env.INIT_CWD;
|
|
2106
2108
|
const configPath = await getRootESLintConfig();
|
|
2107
2109
|
const { default: eslintConfig } = await import(configPath.href);
|
|
@@ -2132,6 +2134,7 @@ var packageLint = /* @__PURE__ */ __name(async (fix2 = false, verbose = false, c
|
|
|
2132
2134
|
if (fix2) {
|
|
2133
2135
|
await ESLint2.outputFixes(lintResults);
|
|
2134
2136
|
}
|
|
2137
|
+
console.log(chalk28.green(`Linted ${files.length} files in ${Date.now() - start}ms`));
|
|
2135
2138
|
return lintResults.reduce((prev, lintResult) => prev + lintResult.errorCount, 0);
|
|
2136
2139
|
}, "packageLint");
|
|
2137
2140
|
|