https://github.com/angular/angular
Raw File
Tip revision: 05657cfde4514671570a674a4be83989729e2740 authored by Jessica Janiuk on 19 July 2023, 19:30:17 UTC
release: cut the v16.2.0-next.3 release
Tip revision: 05657cf
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