angular.courses

NG update Migrations — Angular 13

Migrations available with the ng update Angular CLI command for Angular 13. Details and example diffs below.

drop-ie-polyfills

angular-cli13.0.0

Remove polyfills required only for Internet Explorer which is no longer supported.

No example diff available for this migration yet.

router-link-empty-expression

angular13.0.0

Migrates `[routerLink]=""` in templates to `[routerLink]="[]"` because these links are likely intended to route to the current page with updated fragment/query params.

No example diff available for this migration yet.

schematic-options-13

angular-cli13.0.0

Remove no longer valid Angular schematic options from `angular.json`.

No example diff available for this migration yet.

testbed-teardown

angular13.0.0

In Angular version 13, the `teardown` flag in `TestBed` will be enabled by default. This migration automatically opts out existing apps from the new teardown behavior.

No example diff available for this migration yet.

update-angular-config-v13

angular-cli13.0.0

Remove deprecated options from 'angular.json' that are no longer present in v13.

No example diff available for this migration yet.

update-gitignore

angular-cli13.0.0

Updating '.gitignore' to include '.angular/cache'.

No example diff available for this migration yet.

update-libraries-v13

angular-cli13.0.0

Update library projects to be published in partial mode and removed deprecated options from ng-packagr configuration.

No example diff available for this migration yet.

entry-components

angularIntroduced 13.1.0

As of Angular version 13, `entryComponents` are no longer necessary.

No example diff available for this migration yet.