angular.courses

NG update Migrations — Angular 10

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

missing-injectable

angularIntroduced 9.0.0

Missing @Injectable and incomplete provider definition migration. In Angular 9, enforcement of @Injectable decorators for DI is a bit stricter and incomplete provider definitions behave differently. Read more about this here: https://v9.angular.io/guide/migration-injectable

No example diff available for this migration yet.

module-with-providers

angularIntroduced 9.0.0

ModuleWithProviders migration. In Angular 9, the ModuleWithProviders type without a generic has been deprecated. This migration adds the generic where it is missing. Read more about this here: https://v9.angular.io/guide/migration-module-with-providers

No example diff available for this migration yet.

undecorated-classes-with-decorated-fields

angularIntroduced 9.0.0

Undecorated classes with decorated fields migration. As of Angular 9, it is no longer supported to have Angular field decorators on a class that does not have an Angular decorator. Read more about this here: https://v9.angular.io/guide/migration-undecorated-classes

No example diff available for this migration yet.

remove-es5-browser-support-option

angular-cli10.0.0

Remove deprecated 'es5BrowserSupport' browser builder option. The inclusion for ES5 polyfills will be determined from the browsers listed in the browserslist configuration.

No example diff available for this migration yet.

rename-browserslist-config

angular-cli10.0.0

Update Browserslist configuration file name to '.browserslistrc' from deprecated 'browserslist'.

No example diff available for this migration yet.

schematic-options-10

angular-cli10.0.0

Replace deprecated and removed 'styleext' and 'spec' Angular schematic options with 'style' and 'skipTests', respectively.

No example diff available for this migration yet.

tslint-add-deprecation-rule

angular-cli10.0.0

Add the tslint deprecation rule to tslint JSON configuration files.

No example diff available for this migration yet.

tslint-version-6

angular-cli10.0.0

Update tslint to version 6 and adjust rules to maintain existing behavior.

No example diff available for this migration yet.

update-angular-config

angular-cli10.0.0

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

No example diff available for this migration yet.

update-libraries-tslib

angular-cli10.0.0

Update library projects to use tslib version 2 as a direct dependency. Read more about this here: https://v10.angular.io/guide/migration-update-libraries-tslib

No example diff available for this migration yet.

update-workspace-dependencies

angular-cli10.0.0

Update workspace dependencies to match a new v10 project.

No example diff available for this migration yet.

update-module-and-target-compiler-options

angular-cli10.0.1

Update 'module' and 'target' TypeScript compiler options. Read more about this here: https://v10.angular.io/guide/migration-update-module-and-target-compiler-options

No example diff available for this migration yet.

remove-solution-style-tsconfig

angular-cli10.1.0

Removing "Solution Style" TypeScript configuration file support.

No example diff available for this migration yet.