mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
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>
110 lines
2.4 KiB
JSON
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": {
|
|
}
|
|
}
|