@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.
@@ -1764,7 +1764,7 @@ var packageCycle = /* @__PURE__ */ __name(async ({ verbose = false }) => {
1764
1764
  ruleSet: {
1765
1765
  forbidden: [
1766
1766
  {
1767
- name: "no-cycles",
1767
+ name: "no-circular",
1768
1768
  severity: "error",
1769
1769
  comment: "This dependency creates a circular reference",
1770
1770
  from: {},
@@ -1774,14 +1774,17 @@ var packageCycle = /* @__PURE__ */ __name(async ({ verbose = false }) => {
1774
1774
  }
1775
1775
  ]
1776
1776
  },
1777
- doNotFollow: {
1778
- path: "node_modules"
1779
- },
1777
+ validate: true,
1778
+ doNotFollow: [
1779
+ "node_modules",
1780
+ "packages"
1781
+ ],
1780
1782
  tsPreCompilationDeps: false,
1781
1783
  combinedDependencies: true,
1782
1784
  outputType: verbose ? "text" : "err"
1783
1785
  };
1784
1786
  const target = `${pkg}/src`;
1787
+ console.log(`Checking for circular dependencies in ${target}...`);
1785
1788
  const result = await cruise([
1786
1789
  target
1787
1790
  ], cruiseOptions);