angular.courses

NG update Migrations — Angular 14

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

entry-components

angularIntroduced 13.1.0

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

No example diff available for this migration yet.

path-match-type

angular14.0.0

In Angular version 14, the `pathMatch` property of `Routes` was updated to be a strict union of the two valid options: `'full'|'prefix'`. `Routes` and `Route` variables need an explicit type so TypeScript does not infer the property as the looser `string`.

No example diff available for this migration yet.

remove-default-project-option

angular-cliIntroduced 14.0.0

Remove 'defaultProject' option from workspace configuration. The project to use will be determined from the current working directory.

No example diff available for this migration yet.

remove-show-circular-dependencies-option

angular-cli14.0.0

Remove 'showCircularDependencies' option from browser and server builders.

No example diff available for this migration yet.

replace-default-collection-option

angular-cliIntroduced 14.0.0

Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'.

No example diff available for this migration yet.

typed-forms

angular14.0.0

As of Angular version 14, Forms model classes accept a type parameter, and existing usages must be opted out to preserve backwards-compatibility.

No example diff available for this migration yet.

update-angular-packages-version-prefix

angular-cli14.0.0

Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'.

No example diff available for this migration yet.

update-libraries-secondary-entrypoints

angular-cli14.0.0

Remove 'package.json' files from library projects secondary entrypoints.

No example diff available for this migration yet.

update-tsconfig-target

angular-cli14.0.0

Update TypeScript compilation target to 'ES2020'.

No example diff available for this migration yet.