NG update Migrations — Angular 10
Migrations available with the ng update Angular CLI command for Angular 10. Details and example diffs below.
Missing @Injectable and incomplete provider definition migration. As of 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.
ModuleWithProviders migration. As of Angular 10, the ModuleWithProviders type requires a generic. This migration adds the generic where it is missing. Read more about this here: https://v10.angular.io/guide/migration-module-with-providers
No example diff available for this migration yet.
Undecorated classes with Angular features migration. In version 10, classes that use Angular features and do not have an Angular decorator are no longer supported. Read more about this here: https://v10.angular.io/guide/migration-undecorated-classes
No example diff available for this migration yet.
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.
Update Browserslist configuration file name to '.browserslistrc' from deprecated 'browserslist'.
No example diff available for this migration yet.
Replace deprecated and removed 'styleext' and 'spec' Angular schematic options with 'style' and 'skipTests', respectively.
No example diff available for this migration yet.
Add "Solution Style" TypeScript configuration file support. This improves developer experience using editors powered by TypeScript’s language server. Read more about this here: https://v10.angular.io/guide/migration-solution-style-tsconfig
No example diff available for this migration yet.
Add the tslint deprecation rule to tslint JSON configuration files.
No example diff available for this migration yet.
Update tslint to version 6 and adjust rules to maintain existing behavior.
No example diff available for this migration yet.
Remove deprecated options from 'angular.json' that are no longer present in v10.
No example diff available for this migration yet.
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 '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.
Update workspace dependencies to match a new v10 project.
No example diff available for this migration yet.
Removing "Solution Style" TypeScript configuration file support.
No example diff available for this migration yet.