angular/integration/ng-modules-importability
Paul Gschwendtner 54e785683a build: prepare for compiler-cli to be using ts_project (#61181)
Prepare the compiler-cli package for being ready for migration
to `ts_project`.

PR Close #61181
2025-05-09 15:59:46 +00:00
..
BUILD.bazel build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
find-all-modules.ts test: add integration test to ensure all exported modules can be imported (#60489) 2025-03-20 12:32:36 -07:00
index.bzl test: ng-modules-importability test should import every module in isolation (#60503) 2025-03-21 14:36:27 -07:00
index.ts build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
README.md test: add integration test to ensure all exported modules can be imported (#60489) 2025-03-20 12:32:36 -07:00

This test is a safety check, ensuring that all @NgModule's exported by Angular framework packages can be imported in user code without causing any build errors.

Occasionally, an @NgModule might re-export another module. This is fine, but there are cases, especially with relative imports being used, where the compiler (in consuming projects) is not able to find a working import to these re-exported symbols.

The re-exported symbols simply need to be re-exported from the entry-point. For more details on this, see: https://github.com/angular/components/pull/30667.