diff --git a/templates/basic/scripts/circular.mjs b/templates/basic/scripts/circular.mjs deleted file mode 100644 index 809e3f1..0000000 --- a/templates/basic/scripts/circular.mjs +++ /dev/null @@ -1,23 +0,0 @@ -/* eslint-disable no-undef */ -import * as glob from "glob" -import madge from "madge" - -madge( - glob.globSync("packages/*/src/**/*.ts", { - ignore: ["packages/sql-sqlite-bun/**"] - }), - { - detectiveOptions: { - ts: { - skipTypeImports: true - } - } - } -).then((res) => { - const circular = res.circular() - if (circular.length) { - console.error("Circular dependencies found") - console.error(circular) - process.exit(1) - } -})