package.schematics.ng-generate.standalone-migration.schema.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Angular - the core framework
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "AngularStandaloneMigration",
"title": "Angular Standalone Migration Schema",
"type": "object",
"properties": {
"mode": {
"description": "Operation that should be performed by the migrator",
"type": "string",
"enum": ["convert-to-standalone", "prune-ng-modules", "standalone-bootstrap"],
"default": "convert-to-standalone",
"x-prompt": {
"message": "Choose the type of migration:",
"type": "list",
"items": [
{
"value": "convert-to-standalone",
"label": "Convert all components, directives and pipes to standalone"
},
{
"value": "prune-ng-modules",
"label": "Remove unnecessary NgModule classes"
},
{
"value": "standalone-bootstrap",
"label": "Bootstrap the application using standalone APIs"
}
]
}
},
"path": {
"type": "string",
"description": "Path relative to the project root which should be migrated",
"x-prompt": "Which path in your project should be migrated?",
"default": "./"
}
}
}