mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
A user reported that their proxy ZScaller has issues with Electron's fetch. More research needs to be done to understand why this is not playing nice wholistically... ... but, to unblock GitHub scenarios like Copilot, we add this setting to change the implementation of fetch used. At some point, we need to have http.useElectronFetch setting be enabled by default and when that happens, this setting can be removed in favor of that. cc @chrmarti @alexdima
94 lines
2.5 KiB
JSON
94 lines
2.5 KiB
JSON
{
|
|
"name": "github-authentication",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"version": "0.0.2",
|
|
"engines": {
|
|
"vscode": "^1.41.0"
|
|
},
|
|
"icon": "images/icon.png",
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"api": "none",
|
|
"extensionKind": [
|
|
"ui",
|
|
"workspace"
|
|
],
|
|
"enabledApiProposals": [
|
|
"authIssuers",
|
|
"authProviderSpecific"
|
|
],
|
|
"activationEvents": [],
|
|
"capabilities": {
|
|
"virtualWorkspaces": true,
|
|
"untrustedWorkspaces": {
|
|
"supported": "limited",
|
|
"restrictedConfigurations": [
|
|
"github-enterprise.uri"
|
|
]
|
|
}
|
|
},
|
|
"contributes": {
|
|
"authentication": [
|
|
{
|
|
"label": "GitHub",
|
|
"id": "github",
|
|
"authorizationServerGlobs": [
|
|
"https://github.com/login/oauth"
|
|
]
|
|
},
|
|
{
|
|
"label": "GitHub Enterprise Server",
|
|
"id": "github-enterprise",
|
|
"authorizationServerGlobs": [
|
|
"*"
|
|
]
|
|
}
|
|
],
|
|
"configuration": [{
|
|
"title": "%config.github-enterprise.title%",
|
|
"properties": {
|
|
"github-enterprise.uri": {
|
|
"type": "string",
|
|
"markdownDescription": "%config.github-enterprise.uri.description%",
|
|
"pattern": "^(?:$|(https?)://(?!github\\.com).*)"
|
|
},
|
|
"github-authentication.useElectronFetch": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"scope": "application",
|
|
"markdownDescription": "%config.github-authentication.useElectronFetch.description%"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
|
|
"main": "./out/extension.js",
|
|
"browser": "./dist/browser/extension.js",
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:github-authentication",
|
|
"compile-web": "npx webpack-cli --config extension-browser.webpack.config --mode none",
|
|
"watch": "gulp watch-extension:github-authentication",
|
|
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch --info-verbosity verbose",
|
|
"vscode:prepublish": "npm run compile"
|
|
},
|
|
"dependencies": {
|
|
"node-fetch": "2.6.7",
|
|
"@vscode/extension-telemetry": "^0.9.8",
|
|
"vscode-tas-client": "^0.1.84"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/node": "22.x",
|
|
"@types/node-fetch": "^2.5.7"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode.git"
|
|
}
|
|
}
|