angular/packages/compiler-cli/test/compliance/test_cases
Alex Rickabaugh 78c76cecf9 perf(compiler-cli): optimize NgModule emit for standalone components (#49837)
NgModules which import standalone components currently list those components
in their injector definitions, because we assume that any standalone
component may export providers from its own imports.

This commit adds an optimization for that emit, which attempts to statically
analyze the NgModule imports and determine which standalone components, if
any are present, do not export providers and thus can be omitted.

This analysis is imperfect, because some imported components may be declared
outside of the current compilation, or transitively import types which are
declared outside the compilation. These types are therefore _assumed_ to
carry providers and so the optimization isn't applied to them.

PR Close #49837
2023-04-17 14:51:58 +00:00
..
r3_compiler_compliance perf(compiler-cli): optimize NgModule emit for standalone components (#49837) 2023-04-17 14:51:58 +00:00
r3_view_compiler feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_bindings feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_di/di feat(core): add support for TypeScript 5.0 (#49126) 2023-02-28 08:24:47 -08:00
r3_view_compiler_directives feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_i18n feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_input_outputs feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_listener feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_providers feat(core): add support for TypeScript 5.0 (#49126) 2023-02-28 08:24:47 -08:00
r3_view_compiler_styling feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
r3_view_compiler_template feat(core): add support for TypeScript 5.0 (#49126) 2023-02-28 08:24:47 -08:00
source_mapping feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
BUILD.bazel test: refactor compiler-cli compliance test to work on windows (#45431) 2022-03-25 12:18:34 -07:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
test_case_schema.json test(compiler-cli): improve compliance test compile mode filtering (#39939) 2020-12-07 16:21:04 -08:00