@xylabs/ts-scripts-yarn3 6.3.0 → 6.3.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 +7 -4
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/cycle.mjs +7 -4
- package/dist/actions/package/cycle.mjs.map +1 -1
- package/dist/actions/package/index.mjs +7 -4
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/bin/package/cycle.mjs +7 -4
- package/dist/bin/package/cycle.mjs.map +1 -1
- package/dist/bin/xy.mjs +3 -1
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +3 -1
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +3 -1
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyLintCommands.mjs +3 -1
- package/dist/xy/xyLintCommands.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1858,7 +1858,7 @@ var packageCycle = /* @__PURE__ */ __name(async ({ verbose = false }) => {
|
|
|
1858
1858
|
ruleSet: {
|
|
1859
1859
|
forbidden: [
|
|
1860
1860
|
{
|
|
1861
|
-
name: "no-
|
|
1861
|
+
name: "no-circular",
|
|
1862
1862
|
severity: "error",
|
|
1863
1863
|
comment: "This dependency creates a circular reference",
|
|
1864
1864
|
from: {},
|
|
@@ -1868,14 +1868,17 @@ var packageCycle = /* @__PURE__ */ __name(async ({ verbose = false }) => {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
]
|
|
1870
1870
|
},
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1871
|
+
validate: true,
|
|
1872
|
+
doNotFollow: [
|
|
1873
|
+
"node_modules",
|
|
1874
|
+
"packages"
|
|
1875
|
+
],
|
|
1874
1876
|
tsPreCompilationDeps: false,
|
|
1875
1877
|
combinedDependencies: true,
|
|
1876
1878
|
outputType: verbose ? "text" : "err"
|
|
1877
1879
|
};
|
|
1878
1880
|
const target = `${pkg}/src`;
|
|
1881
|
+
console.log(`Checking for circular dependencies in ${target}...`);
|
|
1879
1882
|
const result = await cruise([
|
|
1880
1883
|
target
|
|
1881
1884
|
], cruiseOptions);
|
|
@@ -2746,7 +2749,9 @@ var xyLintCommands = /* @__PURE__ */ __name((args) => {
|
|
|
2746
2749
|
}, (argv) => {
|
|
2747
2750
|
const start = Date.now();
|
|
2748
2751
|
if (argv.verbose) console.log("Cycle");
|
|
2749
|
-
process.exitCode = cycle(
|
|
2752
|
+
process.exitCode = cycle({
|
|
2753
|
+
pkg: argv.package
|
|
2754
|
+
});
|
|
2750
2755
|
console.log(chalk32.blue(`Finished in ${Date.now() - start}ms`));
|
|
2751
2756
|
}).command("lint [package]", "Lint - Run Eslint", (yargs2) => {
|
|
2752
2757
|
return packagePositionalParam(yargs2);
|