-
Notifications
You must be signed in to change notification settings - Fork 211
/
extensions-schema.json
51 lines (51 loc) · 2.48 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"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"
},
"custom": {
"type": "array",
"description": "Build using a custom script. Must output an `extension.vsix` file in the `location` directory (can be changed using `extensionFile`)."
},
"timeout": {
"type": "number",
"description": "Timeout to build the extension vsix from sources."
},
"pythonVersion": {
"type": "string",
"description": "Python version to use with this build."
},
"msMarketplaceIdOverride": {
"type": "string",
"description": "A property to set a different lookup ID when querying the Microsoft Marketplace. Please do not ever use if not absolutely necessary."
},
"target": {
"type": "object",
"description": "An object containing the ids of platforms to target while publishing. If unspecified, a universal extension will be published in case of building from source and if the vsix is resolved from GitHub Releases, all of the attached platform-specific assets will be published. The value of the key should be either `true` or an object specifying environment variables to be applied while packaging inside of `env`."
}
},
"required": ["repository"],
"additionalProperties": false
}
}