forked from EclipseFdn/publish-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextensions-schema.json
35 lines (35 loc) · 1.16 KB
/
extensions-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"type": "object",
"properties": {
"$schema": {
"type": "string"
}
},
"additionalProperties": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "Repository URL to clone and publish from. If the extension publishes `.vsix` files as release artifacts, this will determine the repo to fetch the releases from."
},
"location": {
"type": "string",
"description": "Location of the extension's package.json in the repository (defaults to the repository's root directory)"
},
"prepublish": {
"type": "string",
"description": "Extra commands to run just before publishing to Open VSX (i.e. after 'yarn/npm install', but before 'vscode:prepublish')"
},
"extensionFile": {
"type": "string",
"description": "Relative path of the extension vsix file inside the git repo (i.e. when it is built by prepublish commands"
},
"timeout": {
"type": "number",
"description": "Timeout to build the extension vsix from sources."
}
},
"required": ["repository"],
"additionalProperties": false
}
}