angular-cn/tools/circular_dependency_test
Paul Gschwendtner fd3cfbb678 build: create bazel marco to test for circular dependencies (#34774)
Creates a Bazel macro that can be used to test packages for
circular dependencies. We face one limitation with Bazel:

 * Built packages use module imports, and not relative source file
 paths. This means we need custom resolution.

Fortunately, tools like `madge` support custom resolution.

Also removes the outdated `check-cycles` gulp task that
didn't catch circular dependencies. It seems like the test
became broken when we switched the packages-dist output to Bazel. It
breaks because the Bazel output doesn't use relative paths, but uses
the module imports. This will be handled in the new Bazel macro/rule.

PR Close #34774
2020-01-23 11:36:40 -08:00
..
BUILD.bazel build: create bazel marco to test for circular dependencies (#34774) 2020-01-23 11:36:40 -08:00
index.bzl build: create bazel marco to test for circular dependencies (#34774) 2020-01-23 11:36:40 -08:00
madge-resolve.config.js build: create bazel marco to test for circular dependencies (#34774) 2020-01-23 11:36:40 -08:00