vscode/extensions/github/package.json

181 lines
4.6 KiB
JSON
Raw Normal View History

2020-05-18 12:13:08 +00:00
{
"name": "github",
"displayName": "%displayName%",
"description": "%description%",
"publisher": "vscode",
"license": "MIT",
2020-05-18 12:13:08 +00:00
"version": "0.0.1",
"engines": {
"vscode": "^1.41.0"
},
"icon": "images/icon.png",
2020-05-18 12:13:08 +00:00
"categories": [
"Other"
],
"activationEvents": [
"*"
2020-05-18 12:13:08 +00:00
],
2020-05-18 12:37:53 +00:00
"extensionDependencies": [
"vscode.git-base"
2020-05-18 12:37:53 +00:00
],
2020-05-18 12:13:08 +00:00
"main": "./out/extension.js",
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": true
}
2021-04-19 09:58:10 +00:00
},
"enabledApiProposals": [
"contribShareMenu",
"contribEditorLineNumberMenu",
"contribEditSessions"
],
2020-05-18 12:59:22 +00:00
"contributes": {
"commands": [
{
"command": "github.publish",
"title": "Publish to GitHub"
},
{
"command": "github.copyVscodeDevLink",
"title": "Copy vscode.dev Link"
},
{
"command": "github.copyVscodeDevLinkFile",
"title": "Copy vscode.dev Link"
},
{
"command": "github.copyVscodeDevLinkWithoutRange",
"title": "Copy vscode.dev Link"
},
{
"command": "github.openOnVscodeDev",
"title": "Open in vscode.dev",
"icon": "$(globe)"
}
],
"continueEditSession": [
{
"command": "github.openOnVscodeDev",
"when": "github.hasGitHubRepo",
"qualifiedName": "Continue Working in vscode.dev",
2023-02-23 23:29:30 +00:00
"category": "Remote Repositories",
"remoteGroup": "virtualfs_44_vscode-vfs_2_web@2"
2020-05-18 12:59:22 +00:00
}
2020-05-18 13:51:15 +00:00
],
"menus": {
"commandPalette": [
{
"command": "github.publish",
"when": "git-base.gitEnabled && remoteName != 'codespaces'"
},
{
"command": "github.copyVscodeDevLink",
"when": "false"
},
{
"command": "github.copyVscodeDevLinkFile",
"when": "false"
},
{
"command": "github.copyVscodeDevLinkWithoutRange",
"when": "false"
},
{
"command": "github.openOnVscodeDev",
"when": "false"
}
],
"file/share": [
{
"command": "github.copyVscodeDevLinkFile",
"when": "github.hasGitHubRepo",
"group": "0_vscode@0"
}
],
"editor/context/share": [
{
"command": "github.copyVscodeDevLink",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "0_vscode@0"
}
],
"explorer/context/share": [
{
"command": "github.copyVscodeDevLinkWithoutRange",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "0_vscode@0"
}
],
"editor/lineNumber/context": [
{
"command": "github.copyVscodeDevLink",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "1_cutcopypaste@2"
}
],
"editor/title/context/share": [
{
"command": "github.copyVscodeDevLinkWithoutRange",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "0_vscode@0"
}
]
},
2020-05-18 19:04:29 +00:00
"configuration": [
{
"title": "GitHub",
"properties": {
"github.gitAuthentication": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%config.gitAuthentication%"
},
"github.gitProtocol": {
"type": "string",
"enum": [
"https",
"ssh"
],
"default": "https",
"description": "%config.gitProtocol%"
2020-05-18 19:04:29 +00:00
}
}
}
],
2020-05-18 13:51:15 +00:00
"viewsWelcome": [
{
"view": "scm",
"contents": "%welcome.publishFolder%",
"when": "config.git.enabled && git.state == initialized && workbenchState == folder && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
2020-05-19 09:57:34 +00:00
},
{
"view": "scm",
"contents": "%welcome.publishWorkspaceFolder%",
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
2020-05-18 13:51:15 +00:00
}
],
"markdown.previewStyles": [
"./markdown.css"
2020-05-18 12:59:22 +00:00
]
},
2020-05-18 12:13:08 +00:00
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "gulp compile-extension:github",
"watch": "gulp watch-extension:github"
},
"dependencies": {
2022-09-08 07:29:58 +00:00
"@octokit/rest": "19.0.4",
"tunnel": "^0.0.6"
2020-05-18 12:13:08 +00:00
},
"devDependencies": {
"@types/node": "16.x"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
2020-05-18 12:13:08 +00:00
}
}