{
  "version": 2,
  "outputCapture": "direct-nodejs",
  "$schema": "http://json-schema.org/draft-07/schema",
  "title": "Schema for an executor which delegates a build.",
  "description": "Delegates the build to a different target while supporting incremental builds.",
  "cli": "nx",
  "type": "object",
  "properties": {
    "buildTarget": {
      "description": "Build target used for building the application after its dependencies have been built.",
      "type": "string"
    },
    "outputPath": {
      "type": "string",
      "description": "The full path for the output directory, relative to the workspace root.",
      "x-completion-type": "directory"
    },
    "tsConfig": {
      "type": "string",
      "description": "The full path for the TypeScript configuration file, relative to the workspace root.",
      "x-completion-type": "file",
      "x-completion-glob": "tsconfig.*.json"
    },
    "watch": {
      "type": "boolean",
      "description": "Whether to run a build when any file changes.",
      "default": false
    }
  },
  "additionalProperties": false,
  "required": ["buildTarget", "outputPath", "tsConfig"],
  "examplesFile": "../../../docs/delegate-build-examples.md"
}
