angular.courses

Angular CLI Migrations

Explore available Angular CLI migration scripts and their availability across versions.

router-testing-module

Convert deprecated RouterTestingModule usages to the recommended modern APIs.

Introduced: 21.0.0
ngstyle-to-style

Convert NgStyle directive usages to style bindings .

Introduced: 21.0.0
ngclass-to-class

Convert ngClass directive usages to class bindings.

Introduced: 21.0.0
self-closing-tags

Convert component selectors in the templates to self-closing tags.

Introduced: 19.2.0View Doc
unused-imports

Removes all unused standalone imports across the entire project.

Introduced: 19.1.0View Doc
signal-queries

Convert decorator queries to signal queries.

Introduced: 19.0.0View Doc
output

Convert outputs from the decorator version to the output function.

Introduced: 19.0.0View Doc
signal-input

Convert `@Input()` declarations to signal inputs.

Introduced: 19.0.0View Doc
route-lazy-loading

Convert eagerly loaded component routes to lazy-loaded routes.

Introduced: 18.2.0View Doc
inject

Converts classes using constructor-based injection to the inject function.

Introduced: 18.2.0View Doc
control-flow

Replaces the existing usages of *ngIf, *ngFor, and *ngSwitch to their equivalent block syntax.

Introduced: 17.0.0View Doc
standalone

Convert an application to standalone components, directives, and pipes.

Introduced: 15.2.0View Doc