angular-cn/packages/core/schematics/utils
Paul Gschwendtner 364250e7a6 refactor(core): static-query migration should not fail for test files (#30034)
Currently when someone runs `ng update` with the static-query migration,
the migration can fail with an error saying that the `AOT` compiler could not
be created. This can happen if the CLI project contains a test `tsconfig.json`
that is picked up by the schematic.

Due to the fact that spec tsconfig files cannot be ran with NGC (e.g. test
components are not part of a module; not all source files are guaranteed to
be included), test `tsconfig` projects will now use a new `test` migration
strategy where all queries within tests are left untouched and a TODO is added.

PR Close #30034
2019-04-23 08:32:35 -07:00
..
tslint feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
typescript fix(core): resolve ts compile issues due to lenient tsconfig (#29843) 2019-04-11 11:04:07 -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 refactor(core): migrations do not properly handle multiple templates in source file (#29841) 2019-04-15 11:13:39 -07:00
ng_decorators.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -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