Catching Dependency Cycles in Rust and TypeScript: A Homemade Module Scanner With Layering Rules in CI
My 18 backend packages had several dependency cycles tracked only by memory, so I wrote a compile-free scanner for a clickable architecture map and CI layering rules, then cleared 23 violations in one day.