angular-cn/packages/core/schematics/test
Paul Gschwendtner 5557dec120 refactor(core): missing-injectable migration should respect providers of directives and components (#33011)
Currenly the `missing-injectable` migration only migrates providers referenced from
`@NgModule` definitions. The schematic currently does not cover the migration for
providers referenced in `@Directive` or `@Component` definitions.

We need to handle the following keys for directives/components:

- `@Directive` -> `providers`
- `@Component` -> `providers` and `viewProviders`.

This commit ensures that the migration handles providers for these
definitions.

PR Close #33011
2019-10-14 20:24:01 +00:00
..
google3 refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
BUILD.bazel refactor: re-enable dynamic queries migration (#32992) 2019-10-04 13:54:09 -07:00
dynamic_queries_migration_spec.ts refactor: re-enable dynamic queries migration (#32992) 2019-10-04 13:54:09 -07:00
helpers.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
line_mappings_spec.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
missing_injectable_migration_spec.ts refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
move_document_migration_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
project_tsconfig_paths_spec.ts refactor(core): migrations should parse cli workspace config as json5 (#30582) 2019-05-21 17:26:22 -07:00
renderer_to_renderer2_migration_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
static_queries_migration_template_spec.ts refactor(core): static-queries migration should never use ngtsc (#32954) 2019-10-02 14:53:41 -07:00
static_queries_migration_usage_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
template_var_assignment_migration_spec.ts test(core): remove "enableIvy" compiler option from migration tests (#32954) 2019-10-02 14:53:41 -07:00
undecorated_classes_with_decorated_fields_migration_spec.ts feat(core): add undecorated classes with decorated fields schematic (#32130) 2019-08-22 10:05:38 -07:00
undecorated_classes_with_di_migration_spec.ts refactor(core): undecorated-classes-with-di migration should ignore referenced resources (#32953) 2019-10-02 14:54:33 -07:00