vscode/extensions/simple-browser/package.json
Matt Bierner d05d85a78b
Move html rewriting for old webviews to (#163367)
The `asWebviewUri` methods was introduced in VS Code 1.38. It's silly that we still force every single webview to pay the cost of trying to rewrite the old style uris we supported in very old versions of VS Code

Instead I've moved this logic into the extension host and disabled it for all extensions that target VS Code 1.60+ or newer. This means it never applies to internal webviews, notebooks, webview views, or custom editors (these public apis were all introduced after the switch to `asWebviewUri`)
2022-10-11 16:08:17 -07:00

82 lines
2.3 KiB
JSON

{
"name": "simple-browser",
"displayName": "%displayName%",
"description": "%description%",
"enabledApiProposals": [
"externalUriOpener"
],
"version": "1.0.0",
"icon": "media/icon.png",
"publisher": "vscode",
"license": "MIT",
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
"engines": {
"vscode": "^1.70.0"
},
"main": "./out/extension",
"browser": "./dist/browser/extension",
"categories": [
"Other"
],
"extensionKind": [
"ui",
"workspace"
],
"activationEvents": [
"onCommand:simpleBrowser.show",
"onCommand:simpleBrowser.api.open",
"onOpenExternalUri:http",
"onOpenExternalUri:https",
"onWebviewPanel:simpleBrowser.view"
],
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"contributes": {
"commands": [
{
"command": "simpleBrowser.show",
"title": "Show",
"category": "Simple Browser"
}
],
"configuration": [
{
"title": "Simple Browser",
"properties": {
"simpleBrowser.focusLockIndicator.enabled": {
"type": "boolean",
"default": true,
"title": "Focus Lock Indicator Enabled",
"description": "%configuration.focusLockIndicator.enabled.description%"
}
}
}
]
},
"scripts": {
"compile": "gulp compile-extension:markdown-language-features && npm run build-preview",
"watch": "npm run build-preview && gulp watch-extension:markdown-language-features",
"vscode:prepublish": "npm run build-ext && npm run build-preview",
"build-ext": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:markdown-language-features ./tsconfig.json",
"build-preview": "node ./esbuild-preview",
"compile-web": "npx webpack-cli --config extension-browser.webpack.config --mode none",
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch --info-verbosity verbose"
},
"dependencies": {
"@vscode/extension-telemetry": "0.6.2",
"vscode-nls": "^5.2.0"
},
"devDependencies": {
"@types/vscode-webview": "^1.57.0",
"vscode-codicons": "^0.0.14"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}