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 feat(forms): add migration for AbstractControl.parent accesses (#39009) 2020-10-06 13:55:25 -07:00
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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
can_activate_with_redirect_migration_spec.ts feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
helpers.ts fix(migrations): do not incorrectly add todo for @Injectable or @Pipe (#37732) 2020-06-25 14:22:08 -07:00
initial_navigation_migration_spec.ts feat(core): add initialNavigation schematic (#36926) 2020-10-14 12:01:07 -07:00
line_mappings_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
missing_injectable_migration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
module_with_providers_migration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
move_document_migration_spec.ts build: update to @angular/cli@11.0.0-rc.0 (#39432) 2020-10-29 13:47:12 -07:00
native_view_encapsulation_migration_spec.ts feat(core): add automated migration to replace ViewEncapsulation.Native (#38882) 2020-10-08 11:56:03 -07:00
navigation_extras_omissions_migration_spec.ts feat(router): add migration to update calls to navigateByUrl and createUrlTree with invalid parameters (#38825) 2020-09-16 15:16:18 -07:00
preserve_query_params_migration_spec.ts fix(router): migration incorrectly replacing deprecated key (#39763) 2020-11-19 09:08:10 -08:00
project_tsconfig_paths_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
relative_link_resolution_spec.ts fix(core): migrate relative link resolution with single quotes (#39102) 2020-10-08 10:10:07 -07:00
renderer_to_renderer2_migration_spec.ts feat(router): add migration to update calls to navigateByUrl and createUrlTree with invalid parameters (#38825) 2020-09-16 15:16:18 -07:00
static_queries_migration_template_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
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 build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
undecorated_classes_with_decorated_fields_migration_spec.ts fix(migrations): do not incorrectly add todo for @Injectable or @Pipe (#37732) 2020-06-25 14:22:08 -07:00
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 feat(core): add automated migration to replace async with waitForAsync (#39212) 2020-10-13 09:55:34 -07:00
xhr_factory_spec.ts feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00