angular-docs-cn/packages/core/schematics/test
Alan Agius 7f6213a2f4 fix(migrations): add migration to replace `/deep/` with `::ng-deep` (#42214)
With this change we add a migration to replace the deprecated shadow-piercing selector from `/deep/` with deprecated but recommended `::ng-deep`.

The main motivation for this change is that the CSS optimizer CSSNano which is used by the Angular CLI no longer supports this non standard selector and causes build time errors due to the selector being minified incorrectly. However, CSSNano does support the recommended deprecated `::ng-deep` selector.

Closes: #42196

PR Close #42214
2021-05-21 22:13:29 +00:00
..
google3 feat(router): add migration for ActivatedRouteSnapshot.fragment (#41092) 2021-03-23 11:18:00 -07:00
BUILD.bazel fix(migrations): add migration to replace `/deep/` with `::ng-deep` (#42214) 2021-05-21 22:13:29 +00:00
abstract_control_parent_migration_spec.ts
activated_route_snapshot_fragment_migration_spec.ts feat(router): add migration for ActivatedRouteSnapshot.fragment (#41092) 2021-03-23 11:18:00 -07:00
all-migrations.spec.ts
can_activate_with_redirect_migration_spec.ts
deep-shadow-piercing-selector_spec.ts fix(migrations): add migration to replace `/deep/` with `::ng-deep` (#42214) 2021-05-21 22:13:29 +00:00
dynamic_queries_migration_spec.ts
helpers.ts
initial_navigation_migration_spec.ts
line_mappings_spec.ts
missing_injectable_migration_spec.ts
module_with_providers_migration_spec.ts
move_document_migration_spec.ts
native_view_encapsulation_migration_spec.ts
navigation_extras_omissions_migration_spec.ts
preserve_query_params_migration_spec.ts
project_tsconfig_paths_spec.ts
relative_link_resolution_spec.ts
renderer_to_renderer2_migration_spec.ts
static_queries_migration_template_spec.ts
static_queries_migration_usage_spec.ts feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
template_var_assignment_migration_spec.ts
undecorated_classes_with_decorated_fields_migration_spec.ts
undecorated_classes_with_di_migration_spec.ts feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
wait_for_async_migration_spec.ts
xhr_factory_spec.ts feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00