angular-cn/packages/core/schematics/migrations/static-queries
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
..
angular refactor(core): add static-query template strategy (#29815) 2019-04-15 10:53:54 -07:00
google3 refactor(core): add static-query template strategy (#29815) 2019-04-15 10:53:54 -07:00
strategies refactor(core): static-query migration should not fail for test files (#30034) 2019-04-23 08:32:35 -07:00
BUILD.bazel refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00
index.ts refactor(core): static-query migration should not fail for test files (#30034) 2019-04-23 08:32:35 -07:00
transform.ts refactor(core): static-query migration should not fail for test files (#30034) 2019-04-23 08:32:35 -07:00