angular/packages/core/schematics/collection.json
Matthieu Riegler e40b5c9ebd refactor(core): run the control flow migration during ng update (#60492)
The migration had to be run manually before this change. It is now part of the update process when migrating to v20.

PR Close #60492
2025-03-28 15:46:41 +00:00

56 lines
2.6 KiB
JSON

{
"schematics": {
"standalone-migration": {
"description": "Converts the entire application or a part of it to standalone",
"factory": "./bundles/standalone-migration#migrate",
"schema": "./ng-generate/standalone-migration/schema.json",
"aliases": ["standalone"]
},
"inject-migration": {
"description": "Converts usages of constructor-based injection to the inject() function",
"factory": "./bundles/inject-migration#migrate",
"schema": "./ng-generate/inject-migration/schema.json",
"aliases": ["inject"]
},
"route-lazy-loading-migration": {
"description": "Updates route definitions to use lazy-loading of components instead of eagerly referencing them",
"factory": "./bundles/route-lazy-loading#migrate",
"schema": "./ng-generate/route-lazy-loading/schema.json",
"aliases": ["route-lazy-loading"]
},
"signal-input-migration": {
"description": "Updates `@Input` declarations to signal inputs, while also migrating all relevant references.",
"factory": "./bundles/signal-input-migration#migrate",
"schema": "./ng-generate/signal-input-migration/schema.json",
"aliases": ["signal-inputs", "signal-input"]
},
"signal-queries-migration": {
"description": "Updates query declarations to signal queries, while also migrating all relevant references.",
"factory": "./bundles/signal-queries-migration#migrate",
"schema": "./ng-generate/signal-queries-migration/schema.json",
"aliases": ["signal-queries", "signal-query", "signal-query-migration"]
},
"output-migration": {
"description": "Updates @output declarations to the functional equivalent, while also migrating all relevant references.",
"factory": "./bundles/output-migration#migrate",
"schema": "./ng-generate/output-migration/schema.json",
"aliases": ["outputs"]
},
"signals": {
"description": "Combines all signals-related migrations into a single migration",
"factory": "./bundles/signals#migrate",
"schema": "./ng-generate/signals/schema.json"
},
"cleanup-unused-imports": {
"description": "Removes unused imports from standalone components.",
"factory": "./bundles/cleanup-unused-imports#migrate",
"schema": "./ng-generate/cleanup-unused-imports/schema.json"
},
"self-closing-tags-migration": {
"description": "Updates the components templates to use self-closing tags where possible",
"factory": "./bundles/self-closing-tags-migration#migrate",
"schema": "./ng-generate/self-closing-tags-migration/schema.json",
"aliases": ["self-closing-tag"]
}
}
}