250 строки
9.7 KiB
JSON
250 строки
9.7 KiB
JSON
{
|
|
"name": "vscode-azurevirtualmachines",
|
|
"displayName": "Azure Virtual Machines",
|
|
"description": "%extension.description%",
|
|
"version": "0.5.1-alpha.3",
|
|
"publisher": "ms-azuretools",
|
|
"icon": "resources/azure-vm.png",
|
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
|
"engines": {
|
|
"vscode": "^1.57.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode-azurevirtualmachines"
|
|
},
|
|
"galleryBanner": {
|
|
"color": "#3a3d41",
|
|
"theme": "dark"
|
|
},
|
|
"homepage": "https://github.com/Microsoft/vscode-azurevirtualmachines/blob/main/README.md",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"categories": [
|
|
"Azure"
|
|
],
|
|
"extensionKind": [
|
|
"ui",
|
|
"workspace"
|
|
],
|
|
"keywords": [
|
|
"Azure",
|
|
"Virtual Machines",
|
|
"VMs",
|
|
"SSH",
|
|
"Remote",
|
|
"multi-root ready"
|
|
],
|
|
"preview": true,
|
|
"activationEvents": [
|
|
"onCommand:azureVirtualMachines.addSshKey",
|
|
"onCommand:azureVirtualMachines.createVirtualMachine",
|
|
"onCommand:azureVirtualMachines.createVirtualMachineAdvanced",
|
|
"onCommand:azureVirtualMachines.deleteVirtualMachine",
|
|
"onCommand:azureVirtualMachines.openInPortal",
|
|
"onCommand:azureVirtualMachines.refresh",
|
|
"onCommand:azureVirtualMachines.reportIssue",
|
|
"onCommand:azureVirtualMachines.restartVirtualMachine",
|
|
"onCommand:azureVirtualMachines.startVirtualMachine",
|
|
"onCommand:azureVirtualMachines.stopVirtualMachine",
|
|
"onCommand:azureVirtualMachines.viewProperties"
|
|
],
|
|
"main": "./main.js",
|
|
"contributes": {
|
|
"x-azResources": {
|
|
"activation": {
|
|
"onFetch": [
|
|
"microsoft.compute/virtualmachines"
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
|
"title": "%azureVirtualMachines.createVirtualMachine%",
|
|
"type": "microsoft.compute/virtualmachines",
|
|
"detail": "%azureVirtualMachines.createVirtualMachineDetail%"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "azureVirtualMachines.addSshKey",
|
|
"title": "%azureVirtualMachines.addSshKey%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.copyIpAddress",
|
|
"title": "%azureVirtualMachines.copyIpAddress%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
|
"title": "%azureVirtualMachines.createVirtualMachine%",
|
|
"category": "Azure Virtual Machines",
|
|
"icon": "$(add)"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.createVirtualMachineAdvanced",
|
|
"title": "%azureVirtualMachines.createVirtualMachineAdvanced%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.deleteVirtualMachine",
|
|
"title": "%azureVirtualMachines.deleteVirtualMachine%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.openInRemoteSsh",
|
|
"title": "%azureVirtualMachines.openInRemoteSsh%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.reportIssue",
|
|
"title": "%azureVirtualMachines.reportIssue%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.restartVirtualMachine",
|
|
"title": "%azureVirtualMachines.restartVirtualMachine%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.startVirtualMachine",
|
|
"title": "%azureVirtualMachines.startVirtualMachine%",
|
|
"category": "Azure Virtual Machines"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.stopVirtualMachine",
|
|
"title": "%azureVirtualMachines.stopVirtualMachine%",
|
|
"category": "Azure Virtual Machines"
|
|
}
|
|
],
|
|
"menus": {
|
|
"view/item/context": [
|
|
{
|
|
"command": "azureVirtualMachines.createVirtualMachine",
|
|
"when": "view == azureResourceGroups && viewItem =~ /azureResourceTypeGroup.*microsoft.compute/virtualmachines/",
|
|
"group": "1@1"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.createVirtualMachineAdvanced",
|
|
"when": "view == azureResourceGroups && viewItem =~ /azureResourceTypeGroup.*microsoft.compute/virtualmachines/",
|
|
"group": "1@2"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.copyIpAddress",
|
|
"when": "view == azureResourceGroups && viewItem =~ /VirtualMachine$/",
|
|
"group": "1@2"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.startVirtualMachine",
|
|
"when": "view == azureResourceGroups && viewItem =~ /VirtualMachine$/",
|
|
"group": "2@1"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.restartVirtualMachine",
|
|
"when": "view == azureResourceGroups && viewItem =~ /VirtualMachine$/",
|
|
"group": "2@2"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.stopVirtualMachine",
|
|
"when": "view == azureResourceGroups && viewItem =~ /VirtualMachine$/",
|
|
"group": "2@3"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.deleteVirtualMachine",
|
|
"when": "view == azureResourceGroups && viewItem =~ /VirtualMachine$/",
|
|
"group": "2@4"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.openInRemoteSsh",
|
|
"when": "view == azureResourceGroups && viewItem =~ /linuxVirtualMachine/",
|
|
"group": "1@1"
|
|
},
|
|
{
|
|
"command": "azureVirtualMachines.addSshKey",
|
|
"when": "view == azureResourceGroups && viewItem =~ /linuxVirtualMachine/",
|
|
"group": "1@3"
|
|
}
|
|
],
|
|
"explorer/context": [],
|
|
"editor/context": []
|
|
},
|
|
"configuration": [
|
|
{
|
|
"title": "Azure Virtual Machines",
|
|
"properties": {
|
|
"azureVirtualMachines.enableOutputTimestamps": {
|
|
"type": "boolean",
|
|
"description": "%azureVirtualMachines.enableOutputTimestamps%",
|
|
"default": true
|
|
},
|
|
"azureVirtualMachines.promptForPassphrase": {
|
|
"type": "boolean",
|
|
"description": "%azureVirtualMachines.promptForPassphrase%",
|
|
"default": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run webpack-prod",
|
|
"build": "tsc",
|
|
"cleanReadme": "gulp cleanReadme",
|
|
"compile": "tsc -watch",
|
|
"package": "vsce package --githubBranch main",
|
|
"lint": "eslint --ext .ts .",
|
|
"lint-fix": "eslint --ext .ts . --fix",
|
|
"pretest": "npm run webpack-prod && gulp preTest",
|
|
"test": "node ./out/test/runTest.js",
|
|
"webpack": "npm run build && gulp webpack-dev",
|
|
"webpack-prod": "npm run build && gulp webpack-prod",
|
|
"webpack-profile": "webpack --profile --json --mode production > webpack-stats.json && echo Use http://webpack.github.io/analyse to analyze the stats",
|
|
"all": "npm i && npm run lint && npm test"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/eslint-config-azuretools": "^0.1.0",
|
|
"@microsoft/vscode-azext-dev": "^0.1.2",
|
|
"@types/fs-extra": "^8.1.1",
|
|
"@types/gulp": "^4.0.8",
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/node": "^14.0.0",
|
|
"@types/vscode": "1.57.0",
|
|
"@types/which": "^1.3.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
|
"eslint": "^7.19.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"glob": "^7.1.6",
|
|
"gulp": "^4.0.2",
|
|
"husky": "^7.0.2",
|
|
"mocha": "^8.3.2",
|
|
"mocha-junit-reporter": "^2.0.0",
|
|
"mocha-multi-reporters": "^1.5.1",
|
|
"ts-node": "^7.0.1",
|
|
"typescript": "^4.3.5",
|
|
"vsce": "^1.87.1",
|
|
"vscode-test": "^1.5.2",
|
|
"webpack": "^5.28.0",
|
|
"webpack-cli": "^4.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@azure/arm-compute": "^17.1.0",
|
|
"@azure/arm-network": "^26.0.0",
|
|
"@azure/arm-network-profile-2020-09-01-hybrid": "^1.0.0",
|
|
"@azure/arm-resources": "^5.0.0",
|
|
"@azure/arm-resources-profile-2020-09-01-hybrid": "^1.0.0",
|
|
"@microsoft/vscode-azext-azureutils": "^0.2.0",
|
|
"@microsoft/vscode-azext-utils": "^0.2.4",
|
|
"fs-extra": "^8.1.0",
|
|
"open": "^8.0.4",
|
|
"semver": "^5.7.0",
|
|
"ssh-config": "^4.0.5",
|
|
"vscode-nls": "^4.1.0",
|
|
"which": "^2.0.2"
|
|
},
|
|
"extensionDependencies": [
|
|
"ms-vscode.azure-account",
|
|
"ms-azuretools.vscode-azureresourcegroups"
|
|
]
|
|
}
|