angular-cn/packages/core/schematics/migrations
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
..
abstract-control-parent feat(router): add migration for ActivatedRouteSnapshot.fragment (#41092) 2021-03-23 11:18:00 -07:00
activated-route-snapshot-fragment feat(router): add migration for ActivatedRouteSnapshot.fragment (#41092) 2021-03-23 11:18:00 -07:00
can-activate-with-redirect-to feat(core): Add schematic to fix invalid `Route` configs (#40067) 2021-01-05 10:09:28 -08:00
deep-shadow-piercing-selector fix(migrations): add migration to replace `/deep/` with `::ng-deep` (#42214) 2021-05-21 22:13:29 +00:00
dynamic-queries fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
google3 feat(router): add migration for ActivatedRouteSnapshot.fragment (#41092) 2021-03-23 11:18:00 -07:00
initial-navigation fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
missing-injectable fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
module-with-providers fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
move-document fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
native-view-encapsulation fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
navigation-extras-omissions fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
relative-link-resolution fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
renderer-to-renderer2 feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
router-preserve-query-params fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
static-queries refactor(migrations): remove rxjs usage within static queries migration (#38657) 2021-01-21 14:04:20 -08:00
template-var-assignment fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
undecorated-classes-with-decorated-fields fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
undecorated-classes-with-di fix(core): migration error if program contains files outside of the project (#39790) 2020-11-20 12:51:19 -08:00
wait-for-async feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
xhr-factory feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00