@xylabs/ts-scripts-yarn3 5.1.3 → 5.1.4
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/fix.mjs +12 -135
- package/dist/actions/fix.mjs.map +1 -1
- package/dist/actions/index.mjs +5 -7
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/lint-clean.mjs +12 -135
- package/dist/actions/lint-clean.mjs.map +1 -1
- package/dist/actions/lint.mjs +5 -7
- package/dist/actions/lint.mjs.map +1 -1
- package/dist/bin/xy-ts.mjs +8 -38
- package/dist/bin/xy-ts.mjs.map +1 -1
- package/dist/bin/xy.mjs +8 -38
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -7
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +8 -38
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +8 -38
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyLintCommands.mjs +8 -38
- package/dist/xy/xyLintCommands.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/lint.ts +3 -4
package/dist/index.mjs
CHANGED
|
@@ -1046,18 +1046,16 @@ var lintPackage = /* @__PURE__ */ __name(async ({ pkg, fix: fix2 }) => {
|
|
|
1046
1046
|
}, "lintPackage");
|
|
1047
1047
|
var lintAll = /* @__PURE__ */ __name(async ({ fix: fix2 }) => {
|
|
1048
1048
|
const workspace = yarnWorkspaces();
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
});
|
|
1054
|
-
}
|
|
1049
|
+
return (await Promise.all(workspace.map((ws) => lintPackage({
|
|
1050
|
+
pkg: ws.name,
|
|
1051
|
+
fix: fix2
|
|
1052
|
+
})))).reduce((prev, curr) => prev + curr, 0);
|
|
1055
1053
|
}, "lintAll");
|
|
1056
1054
|
var lint = /* @__PURE__ */ __name(async ({ pkg, verbose, incremental, fix: fix2 } = {}) => {
|
|
1057
1055
|
return pkg ? await lintPackage({
|
|
1058
1056
|
pkg,
|
|
1059
1057
|
fix: fix2
|
|
1060
|
-
}) :
|
|
1058
|
+
}) : lintAll({
|
|
1061
1059
|
verbose,
|
|
1062
1060
|
incremental,
|
|
1063
1061
|
fix: fix2
|