angular-cn/packages/core/schematics
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
..
migrations refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
test refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
utils refactor(core): add `createMigrationCompilerHost` (#32827) 2019-10-04 11:45:35 -07:00
BUILD.bazel feat(core): add dynamic queries schematic (#32231) 2019-09-11 19:14:03 -04:00
migrations.json fix(core): set migration schematic versions to valid semver versions (#32991) 2019-10-04 13:54:39 -07:00
tsconfig.json feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00