2020-05-18 12:13:08 +00:00
|
|
|
{
|
|
|
|
"name": "github",
|
|
|
|
"displayName": "%displayName%",
|
|
|
|
"description": "%description%",
|
|
|
|
"publisher": "vscode",
|
2020-12-18 09:25:58 +00:00
|
|
|
"license": "MIT",
|
2020-05-18 12:13:08 +00:00
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.41.0"
|
|
|
|
},
|
2023-06-19 17:09:45 +00:00
|
|
|
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
|
2021-04-20 19:09:24 +00:00
|
|
|
"icon": "images/icon.png",
|
2020-05-18 12:13:08 +00:00
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2023-01-19 23:13:23 +00:00
|
|
|
"*"
|
2020-05-18 12:13:08 +00:00
|
|
|
],
|
2020-05-18 12:37:53 +00:00
|
|
|
"extensionDependencies": [
|
2021-11-24 19:48:44 +00:00
|
|
|
"vscode.git-base"
|
2020-05-18 12:37:53 +00:00
|
|
|
],
|
2020-05-18 12:13:08 +00:00
|
|
|
"main": "./out/extension.js",
|
2021-04-21 18:54:42 +00:00
|
|
|
"capabilities": {
|
2021-04-22 15:44:42 +00:00
|
|
|
"virtualWorkspaces": false,
|
2021-04-21 18:54:42 +00:00
|
|
|
"untrustedWorkspaces": {
|
2021-06-03 20:51:33 +00:00
|
|
|
"supported": true
|
2021-04-21 18:54:42 +00:00
|
|
|
}
|
2021-04-19 09:58:10 +00:00
|
|
|
},
|
2022-06-27 07:56:36 +00:00
|
|
|
"enabledApiProposals": [
|
2022-07-15 22:51:51 +00:00
|
|
|
"contribShareMenu",
|
2023-05-15 18:37:38 +00:00
|
|
|
"contribEditSessions",
|
2023-05-22 22:32:43 +00:00
|
|
|
"canonicalUriProvider",
|
|
|
|
"shareProvider"
|
2022-06-27 07:56:36 +00:00
|
|
|
],
|
2020-05-18 12:59:22 +00:00
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "github.publish",
|
|
|
|
"title": "Publish to GitHub"
|
2022-06-27 07:56:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLink",
|
|
|
|
"title": "Copy vscode.dev Link"
|
2022-07-15 22:51:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkFile",
|
|
|
|
"title": "Copy vscode.dev Link"
|
|
|
|
},
|
2023-03-16 10:27:25 +00:00
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkWithoutRange",
|
|
|
|
"title": "Copy vscode.dev Link"
|
|
|
|
},
|
2022-07-15 22:51:51 +00:00
|
|
|
{
|
|
|
|
"command": "github.openOnVscodeDev",
|
2023-01-25 22:41:09 +00:00
|
|
|
"title": "Open in vscode.dev",
|
2022-08-18 18:11:41 +00:00
|
|
|
"icon": "$(globe)"
|
2022-07-15 22:51:51 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"continueEditSession": [
|
|
|
|
{
|
|
|
|
"command": "github.openOnVscodeDev",
|
2022-11-29 22:16:39 +00:00
|
|
|
"when": "github.hasGitHubRepo",
|
2023-01-25 22:41:09 +00:00
|
|
|
"qualifiedName": "Continue Working in vscode.dev",
|
2023-02-23 23:29:30 +00:00
|
|
|
"category": "Remote Repositories",
|
2023-02-22 18:31:31 +00:00
|
|
|
"remoteGroup": "virtualfs_44_vscode-vfs_2_web@2"
|
2020-05-18 12:59:22 +00:00
|
|
|
}
|
2020-05-18 13:51:15 +00:00
|
|
|
],
|
2021-11-24 19:48:44 +00:00
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
|
|
|
{
|
|
|
|
"command": "github.publish",
|
2022-09-09 18:22:39 +00:00
|
|
|
"when": "git-base.gitEnabled && remoteName != 'codespaces'"
|
2022-06-27 07:56:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLink",
|
|
|
|
"when": "false"
|
2022-07-01 13:04:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkFile",
|
|
|
|
"when": "false"
|
2022-07-15 22:51:51 +00:00
|
|
|
},
|
2023-03-16 10:27:25 +00:00
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkWithoutRange",
|
|
|
|
"when": "false"
|
|
|
|
},
|
2022-07-15 22:51:51 +00:00
|
|
|
{
|
|
|
|
"command": "github.openOnVscodeDev",
|
|
|
|
"when": "false"
|
2022-06-27 07:56:36 +00:00
|
|
|
}
|
|
|
|
],
|
2023-03-16 10:27:25 +00:00
|
|
|
"file/share": [
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkFile",
|
|
|
|
"when": "github.hasGitHubRepo && remoteName != 'codespaces'",
|
|
|
|
"group": "0_vscode@0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"editor/context/share": [
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLink",
|
2024-02-07 08:05:51 +00:00
|
|
|
"when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'",
|
2023-03-16 10:27:25 +00:00
|
|
|
"group": "0_vscode@0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"explorer/context/share": [
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLinkWithoutRange",
|
2024-02-07 08:05:51 +00:00
|
|
|
"when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'",
|
2023-03-16 10:27:25 +00:00
|
|
|
"group": "0_vscode@0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"editor/lineNumber/context": [
|
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLink",
|
|
|
|
"when": "github.hasGitHubRepo && resourceScheme != untitled && activeEditor == workbench.editors.files.textFileEditor && config.editor.lineNumbers == on && remoteName != 'codespaces'",
|
|
|
|
"group": "1_cutcopypaste@2"
|
|
|
|
},
|
2023-03-05 02:58:31 +00:00
|
|
|
{
|
|
|
|
"command": "github.copyVscodeDevLink",
|
2023-03-16 10:27:25 +00:00
|
|
|
"when": "github.hasGitHubRepo && resourceScheme != untitled && activeEditor == workbench.editor.notebook && remoteName != 'codespaces'",
|
|
|
|
"group": "1_cutcopypaste@2"
|
2023-03-04 05:50:57 +00:00
|
|
|
}
|
|
|
|
],
|
2023-03-16 10:27:25 +00:00
|
|
|
"editor/title/context/share": [
|
2023-03-04 05:50:57 +00:00
|
|
|
{
|
2023-03-16 10:27:25 +00:00
|
|
|
"command": "github.copyVscodeDevLinkWithoutRange",
|
|
|
|
"when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'",
|
2023-03-04 05:50:57 +00:00
|
|
|
"group": "0_vscode@0"
|
|
|
|
}
|
2021-11-24 19:48:44 +00:00
|
|
|
]
|
|
|
|
},
|
2020-05-18 19:04:29 +00:00
|
|
|
"configuration": [
|
|
|
|
{
|
|
|
|
"title": "GitHub",
|
|
|
|
"properties": {
|
2023-04-12 15:42:51 +00:00
|
|
|
"github.branchProtection": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
2023-07-11 13:42:07 +00:00
|
|
|
"default": true,
|
2023-04-12 15:42:51 +00:00
|
|
|
"description": "%config.branchProtection%"
|
|
|
|
},
|
2020-05-18 19:04:29 +00:00
|
|
|
"github.gitAuthentication": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%config.gitAuthentication%"
|
2022-04-05 13:49:50 +00:00
|
|
|
},
|
|
|
|
"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%",
|
2023-06-09 11:19:57 +00:00
|
|
|
"when": "config.git.enabled && git.state == initialized && workbenchState == folder && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0"
|
2020-05-19 09:57:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"view": "scm",
|
|
|
|
"contents": "%welcome.publishWorkspaceFolder%",
|
2023-06-09 11:19:57 +00:00
|
|
|
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0"
|
2020-05-18 13:51:15 +00:00
|
|
|
}
|
2021-12-07 02:06:02 +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": {
|
2023-05-09 11:14:54 +00:00
|
|
|
"@octokit/graphql": "5.0.5",
|
|
|
|
"@octokit/graphql-schema": "14.4.0",
|
2022-09-08 07:29:58 +00:00
|
|
|
"@octokit/rest": "19.0.4",
|
2023-06-19 17:09:45 +00:00
|
|
|
"tunnel": "^0.0.6",
|
2023-11-01 19:51:03 +00:00
|
|
|
"@vscode/extension-telemetry": "^0.9.0"
|
2020-05-18 12:13:08 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-07 12:46:27 +00:00
|
|
|
"@types/node": "18.x"
|
2021-01-29 14:30:45 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/microsoft/vscode.git"
|
2020-05-18 12:13:08 +00:00
|
|
|
}
|
|
|
|
}
|