angular-docs-cn/packages/core/schematics/utils
Paul Gschwendtner 4c12d742dc fix(core): static-query migration should not prompt if no queries are used (#30254)
Currently we always prompt when the static-query migration runs. This is not
always needed because some applications do not even use `ViewChild` or
`ContentChild` queries and it just causes confusion if developers need to
decide on a migration strategy while there is nothing to migrate.

In order to avoid this confusion, we no longer prompt for a strategy
if there are no queries declared within the project.

PR Close #30254
2019-05-08 09:22:48 -07:00
..
tslint feat(ivy): add injectable-pipe schematic (#29847) 2019-04-23 15:12:19 -07:00
typescript fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
BUILD.bazel refactor(core): static-query schematic should check templates (#29713) 2019-04-11 08:22:44 -07:00
line_mappings.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
ng_component_template.ts fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
ng_decorators.ts feat(ivy): add injectable-pipe schematic (#29847) 2019-04-23 15:12:19 -07:00
parse_html.ts refactor(core): static-query schematic should check templates (#29713) 2019-04-11 08:22:44 -07:00
project_tsconfig_paths.ts refactor(core): static-query migration should not fail for test files (#30034) 2019-04-23 08:32:35 -07:00
schematics_prompt.ts refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00