Files
react-native-devtools-frontend/scripts/json_validator/module.schema.json
T
Tim van der Lippe c33de4fd55 Add support for skip_rollup in module.json
For folders that already have a `devtools_entrypoint` target, we
should skip Rollup as part of `build_release_applications.py`. To
remove the hardcoded list of skipped folders and enable
parallelization of a fixit to migrate all folders, we have to put
the information in the `module.json` instead.

Once all folders are migrated to `devtools_entrypoint`, we can remove
the field and the Rollup logic in `build_release_applications.py`.

R=aerotwist@chromium.org

Bug: 1101738
Change-Id: Ibadab13e87cf28622c40896a56f6ed18cc34bea2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2284838
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
2020-07-10 08:49:48 +00:00

110 lines
2.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"extensions": {
"type": "array",
"description": "Extension points",
"items": {
"properties": {
"type": {"type": "string"},
"order": {"type": "number"},
"title": {"type": "string"},
"options": {
"type": "array",
"items": {
"properties": {
"title": {"type": "string"},
"category": {"type": "string"}
}
}
}
},
"if": {
"properties": {"type": {"const": "action"}}
},
"then": {
"properties": {
"bindings": {
"type": "array",
"items": {
"required": ["shortcut"],
"properties": {
"shortcut": {
"type": "string",
"pattern": "^[\\S]+(\\s[\\S]+)?$"
},
"platform": {"type": "string"},
"keybindSets": {
"type": "array",
"items": {
"type": "string",
"enum": ["devToolsDefault", "vsCode"]
}
}
}
}
}
},
"anyOf": [
{
"required": ["title"]
},
{
"required": ["options"],
"properties": {
"options": {
"minItems": 1,
"items": {
"required": ["title"]
}
}
}
}
],
"required": ["category"]
}
}
},
"dependencies": {
"type": "array",
"items": {
"type": "string"
}
},
"scripts": {
"type": "array",
"items": {
"type": "string"
}
},
"modules": {
"type": "array",
"items": {
"type": "string"
}
},
"resources": {
"type": "array",
"items": {
"type": "string"
}
},
"skip_compilation": {
"type": "array",
"items": {
"type": "string"
}
},
"experiment": {
"type": "string"
},
"skip_rollup": {
"type": "boolean"
}
},
"definitions": {
}
}