angular-docs-cn/packages/core
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
..
schematics refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
src refactor(core): rename ngDirectiveDef to ɵdir (#33110) 2019-10-14 16:20:11 +00:00
test refactor(core): rename ngDirectiveDef to ɵdir (#33110) 2019-10-14 16:20:11 +00:00
testing refactor(core): rename ngDirectiveDef to ɵdir (#33110) 2019-10-14 16:20:11 +00:00
BUILD.bazel refactor(ivy): remove `i18nLocalize` instruction (#31609) 2019-08-30 12:53:26 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json feat: change tslib from direct dependency to peerDependency (#32167) 2019-10-14 16:34:47 +00:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00