https://github.com/angular/angular
Raw File
Tip revision: 0dd5c4781119489758c6634102d73c268a38681e authored by Andrew Scott on 22 March 2023, 20:23:45 UTC
release: cut the v16.0.0-next.4 release
Tip revision: 0dd5c47
schema.json
{
  "$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": "./"
    }
  }
}
back to top