All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.schematics.ng-generate.standalone-migration.schema.json Maven / Gradle / Ivy

There is a newer version: 18.2.5
Show newest version
{
  "$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": "./"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy