angular-cn/packages/core/schematics/test
Paul Gschwendtner c1d5fbd0ad refactor(core): static-query template strategy should not parse stylesheets (#29876)
Currently the `template-strategy` for the static query migration uses the
Angular compiler in order to determine the query timing. This is problematic
as the AngularCompilerProgram also collects metadata for referenced
component stylesheets which aren't necessarily present. e.g. in a CLI
project the component can reference a Sass file. It's not guaranteed
that the standalone Angular compiler plugin supports Sass without
custom logic that is brought in by the Angular CLI webpack plugin.

In order to avoid any failures for invalid stylesheets, we just disable
normalizing of all referenced stylesheets.

PR Close #29876
2019-04-18 18:22:09 -07:00
..
google3 refactor(core): static-query schematic should check templates (#29713) 2019-04-11 08:22:44 -07:00
BUILD.bazel build(bazel): fix deps of test (#29799) 2019-04-17 13:02:03 -07:00
line_mappings_spec.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
project_tsconfig_paths_spec.ts refactor(core): static-query schematic should not run multiple times (#29133) 2019-03-12 12:28:14 -07:00
static_queries_migration_template_spec.ts refactor(core): static-query template strategy should not parse stylesheets (#29876) 2019-04-18 18:22:09 -07:00
static_queries_migration_usage_spec.ts refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00
template_var_assignment_migration_spec.ts refactor(core): migrations do not properly handle multiple templates in source file (#29841) 2019-04-15 11:13:39 -07:00