mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cfc509c48a
With this change we remove no longer needed migrations. These migrations are no longer accessible following a change angular/angular-cli#21986 in the Angular CLI. The CLI now shows an error message when users try to update `@angular/` and `@nguniversal/` packages across multiple major versions. Example to update from version 11 to version 13 the recommand approach is to run the following commands ``` ng update @angular/core@12 ng update @angular/core@13 (which is the same as ng update @angular/core) ``` NB: It is recommand that when update from one major to another, users verify that their applications is working as expected. PR Close #43947
15 lines
705 B
JSON
15 lines
705 B
JSON
{
|
|
"schematics": {
|
|
"migration-v13-router-link-empty-expression": {
|
|
"version": "13.0.0-beta",
|
|
"description": "Migrates `[routerLink]=\"\"` in templates to `[routerLink]=\"[]\"` because these links are likely intended to route to the current page with updated fragment/query params.",
|
|
"factory": "./migrations/router-link-empty-expression/index"
|
|
},
|
|
"migration-v13-testbed-teardown": {
|
|
"version": "13.0.0-beta",
|
|
"description": "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.",
|
|
"factory": "./migrations/testbed-teardown/index"
|
|
}
|
|
}
|
|
}
|