PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/nx/schemas

Просмотр файла: workspace-schema.json

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://nx.dev",
  "title": "JSON schema for Nx workspaces",
  "type": "object",
  "properties": {
    "version": {
      "type": "number",
      "enum": [1, 2]
    }
  },
  "allOf": [
    {
      "if": {
        "properties": { "version": { "const": 2 } },
        "required": ["version"]
      },
      "then": {
        "properties": {
          "projects": {
            "type": "object",
            "additionalProperties": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "properties": {
                    "targets": {
                      "type": "object",
                      "description": "Configures all the targets which define what tasks you can run against the project",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "executor": {
                            "description": "The function that Nx will invoke when you run this target",
                            "type": "string"
                          },
                          "options": {
                            "type": "object"
                          },
                          "outputs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "configurations": {
                            "type": "object",
                            "description": "provides extra sets of values that will be merged into the options map",
                            "additionalProperties": {
                              "type": "object"
                            }
                          },
                          "dependsOn": {
                            "type": "array",
                            "description": "Target dependency.",
                            "items": {
                              "oneOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "projects": {
                                      "type": "string",
                                      "description": "The projects that the targets belong to.",
                                      "enum": ["self", "dependencies"]
                                    },
                                    "target": {
                                      "type": "string",
                                      "description": "The name of the target."
                                    },
                                    "params": {
                                      "type": "string",
                                      "description": "Configuration for params handling.",
                                      "enum": ["ignore", "forward"],
                                      "default": "ignore"
                                    }
                                  },
                                  "additionalProperties": false,
                                  "required": ["projects", "target"]
                                }
                              ]
                            }
                          },
                          "command": {
                            "type": "string",
                            "description": "A shorthand for using the nx:run-commands executor"
                          }
                        }
                      }
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "implicitDependencies": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "else": {
        "properties": {
          "projects": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "architect": {
                  "type": "object",
                  "description": "Configures all the targets which define what tasks you can run against the project",
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "builder": {
                        "description": "The function that Nx will invoke when you run this architect",
                        "type": "string"
                      },
                      "options": {
                        "type": "object"
                      },
                      "configurations": {
                        "type": "object",
                        "description": "provides extra sets of values that will be merged into the options map",
                        "additionalProperties": {
                          "type": "object"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  ]
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!