diff options
author | Alex Dima <alexdima@microsoft.com> | 2018-11-17 01:21:02 +0300 |
---|---|---|
committer | Alex Dima <alexdima@microsoft.com> | 2018-11-17 01:21:02 +0300 |
commit | 66f4c5be3a19cc47fa4ce226530379391bd378e8 (patch) | |
tree | 823d271e3c721720bd958a0693737bd28ea20002 /.vscode/cgmanifest.schema.json | |
parent | 976cfe3aa76551d8465b4f42c5002c7012de00d7 (diff) |
Adopt OSS tool
Diffstat (limited to '.vscode/cgmanifest.schema.json')
-rw-r--r-- | .vscode/cgmanifest.schema.json | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/.vscode/cgmanifest.schema.json b/.vscode/cgmanifest.schema.json new file mode 100644 index 00000000000..843dbfe36d3 --- /dev/null +++ b/.vscode/cgmanifest.schema.json @@ -0,0 +1,75 @@ +{ + "type": "object", + "properties": { + "registrations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "component": { + "oneOf": [ + { + "type": "object", + "required": [ "type", "git" ], + "properties": { + "type": { "type": "string", "enum": [ "git" ] }, + "git": { + "type": "object", + "required": [ "name", "repositoryUrl", "commitHash" ], + "properties": { + "name": { "type": "string" }, + "repositoryUrl": { "type": "string" }, + "commitHash": { "type": "string" } + } + } + } + }, + { + "type": "object", + "required": [ "type", "npm" ], + "properties": { + "type": { "type": "string", "enum": [ "npm" ] }, + "npm": { + "type": "object", + "required": [ "name", "version" ], + "properties": { + "name": { "type": "string" }, + "version": { "type": "string" } + } + } + } + } + ] + }, + "repositoryUrl": { + "type": "string", + "description": "The git url of the component" + }, + "version": { + "type": "string", + "description": "The version of the component" + }, + "license": { + "type": "string", + "description": "The name of the license" + }, + "isOnlyDevelopmentDependency": { + "type": "boolean", + "description": "This component is inlined in the vscode repo and **is not shipped**." + }, + "isOnlyProductionDependency": { + "type": "boolean", + "description": "This component is shipped and **is not inlined in the vscode repo**." + }, + "licenseDetail": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The license text" + } + } + } + } + } +}
\ No newline at end of file |