angular/packages/core/schematics/migrations.json
Matthieu Riegler d16d624b90 refactor(core): run control-flow migration by default (#64136)
After adding the control flow migration as optional in v20, we enable it by default in v21.

PR Close #64136
2025-10-01 11:51:33 -04:00

35 lines
1.5 KiB
JSON

{
"schematics": {
"control-flow-migration": {
"version": "21.0.0",
"description": "Converts the entire application to block control flow syntax",
"factory": "./bundles/control-flow-migration.cjs#migrate"
},
"router-current-navigation": {
"version": "21.0.0",
"description": "Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal",
"factory": "./bundles/router-current-navigation.cjs#migrate",
"optional": true
},
"router-last-successful-navigation": {
"version": "21.0.0",
"description": "Ensures that the Router.lastSuccessfulNavigation signal is now invoked",
"factory": "./bundles/router-last-successful-navigation.cjs#migrate"
},
"application-config-core": {
"version": "21.0.0",
"description": "Moves imports of `ApplicationConfig` from `@angular/platform-browser` to `@angular/core`",
"factory": "./bundles/application-config-core.cjs#migrate"
},
"add-bootstrap-context-to-server-main": {
"version": "21.0.0",
"description": "Adds `BootstrapContext` to `bootstrapApplication` calls in `main.server.ts` to support server rendering.",
"factory": "./bundles/add-bootstrap-context-to-server-main.cjs#migrate"
},
"bootstrap-options-migration": {
"version": "21.0.0",
"description": "Migrates deprecated bootstrap options to providers.",
"factory": "./bundles/bootstrap-options-migration.cjs#migrate"
}
}
}