angular/packages/core/schematics/migrations.json
Matthieu Riegler 809a4ed8c1 feat(core): Add migration for zoneless by default. (#63042)
This commit adds a migration that updates applications enable Zone change detection when Angular is zoneless by default.

PR Close #63042
2025-09-16 20:48:29 +00:00

36 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",
"optional": true
},
"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"
}
}
}