Open iuioiua opened 6 months ago
Why limit it to deno publish
? I would like to check for circular imports in my CI and fail the pipeline if any are found. I think making it a rule in deno lint
would be really awesome, if that's possible. Or if not, maybe something like deno graph --circular src
(I tried using madge but it's outdated and not designed for Deno.)
Currently,
deno publish
checks for circular dependencies between packages within the same workspace project. It'd be nice ifdeno publish --dry-run
did this too. Instd
, we compensate for this lack of functionality indeno publish --dry-run
by using our own circular dependencies check.