vscode-azureresourcegroups/package.json

731 строка
30 KiB
JSON

{
"name": "vscode-azureresourcegroups",
"displayName": "Azure Resources",
"description": "%azureResourceGroups.description%",
"version": "0.9.9",
"publisher": "ms-azuretools",
"icon": "resources/resourceGroup.png",
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
"engines": {
"vscode": "^1.82.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-azureresourcegroups"
},
"galleryBanner": {
"color": "#3a3d41",
"theme": "dark"
},
"homepage": "https://github.com/Microsoft/vscode-azureresourcegroups/blob/main/README.md",
"license": "SEE LICENSE IN LICENSE.md",
"categories": [
"Azure"
],
"keywords": [
"Azure",
"Resource Groups",
"multi-root ready"
],
"preview": true,
"activationEvents": [
"onFileSystem:azureResourceGroups",
"onWalkthrough:azure-get-started",
"onTerminalProfile:azureResourceGroups.cloudShellBash",
"onTerminalProfile:azureResourceGroups.cloudShellPowerShell"
],
"main": "./main.js",
"contributes": {
"terminal": {
"profiles": [
{
"id": "azureResourceGroups.cloudShellBash",
"title": "%azureResourceGroups.cloudShellBash%",
"icon": "$(azure)"
},
{
"id": "azureResourceGroups.cloudShellPowerShell",
"title": "%azureResourceGroups.cloudShellPowerShell%",
"icon": "$(azure)"
}
]
},
"x-azResources": {
"commands": [
{
"command": "azureResourceGroups.createResourceGroup",
"title": "%azureResourceGroups.createResourceGroup%",
"detail": "%azureResourceGroups.createResourceGroupDetail%",
"type": "ResourceGroup"
}
]
},
"commands": [
{
"command": "azureResourceGroups.uploadFileCloudConsole",
"title": "%azureResourceGroups.uploadToCloudShell%",
"category": "Azure"
},
{
"command": "azureResourceGroups.maintainCloudShellConnection",
"title": "Maintain Cloud Shell connection",
"category": "Azure"
},
{
"command": "azureResourceGroups.signInToTenant",
"title": "%azureResourceGroups.signInToTenant%",
"category": "Azure"
},
{
"command": "azureFocusView.refreshTree",
"title": "Refresh",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureFocusView.refresh",
"title": "Refresh",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureResourceGroups.focusGroup",
"title": "%azureResourceGroups.focusGroup%",
"category": "Azure",
"icon": "$(zoom-in)"
},
{
"command": "azureResourceGroups.unfocusGroup",
"title": "%azureResourceGroups.unfocusGroup%",
"category": "Azure",
"icon": "$(close)"
},
{
"command": "azureResourceGroups.logIn",
"title": "%azureResourceGroups.logIn%",
"category": "Azure"
},
{
"command": "azureResourceGroups.selectSubscriptions",
"title": "%azureResourceGroups.selectSubscriptions%",
"category": "Azure",
"icon": "$(filter)"
},
{
"command": "azureResourceGroups.createResourceGroup",
"title": "%azureResourceGroups.createResourceGroup%",
"category": "Azure"
},
{
"command": "azureResourceGroups.installExtension",
"title": "Install Azure extension",
"icon": "$(extensions)",
"category": "Azure"
},
{
"command": "azureResourceGroups.createResource",
"title": "Create Resource...",
"category": "Azure",
"icon": "$(add)"
},
{
"command": "azureResourceGroups.deleteResourceGroupV2",
"title": "%azureResourceGroups.deleteResourceGroup%",
"category": "Azure"
},
{
"command": "azureResourceGroups.editTags",
"title": "%azureResourceGroups.editTags%",
"category": "Azure"
},
{
"command": "azureResourceGroups.loadMore",
"title": "%azureResourceGroups.loadMore%",
"category": "Azure"
},
{
"command": "azureResourceGroups.openInPortal",
"title": "%azureResourceGroups.openInPortal%",
"category": "Azure"
},
{
"command": "azureResourceGroups.refreshTree",
"title": "%azureResourceGroups.refresh%",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureResourceGroups.refresh",
"title": "%azureResourceGroups.refresh%",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureResourceGroups.revealResource",
"title": "%azureResourceGroups.revealResource%",
"category": "Azure"
},
{
"command": "azureResourceGroups.viewProperties",
"title": "%azureResourceGroups.viewProperties%",
"category": "Azure"
},
{
"command": "azureResourceGroups.reportIssue",
"title": "%azureResourceGroups.reportIssue%",
"category": "Azure"
},
{
"command": "ms-azuretools.getStarted",
"title": "%ms-azuretools.getStarted%",
"category": "Azure"
},
{
"command": "ms-azuretools.reportIssue",
"title": "%ms-azuretools.reportIssue%",
"category": "Azure"
},
{
"command": "ms-azuretools.reviewIssues",
"title": "%ms-azuretools.reviewIssues%",
"category": "Azure"
},
{
"command": "azureResourceGroups.groupBy.resourceGroup",
"title": "%azureResourceGroups.groupBy.resourceGroup%",
"category": "Azure",
"icon": "$(gear)"
},
{
"command": "azureResourceGroups.groupBy.resourceType",
"title": "%azureResourceGroups.groupBy.resourceType%",
"category": "Azure",
"icon": "$(gear)"
},
{
"command": "azureResourceGroups.groupBy.location",
"title": "%azureResourceGroups.groupBy.location%",
"category": "Azure",
"icon": "$(gear)"
},
{
"command": "azureResourceGroups.groupBy.armTag",
"title": "%azureResourceGroups.groupBy.armTag%",
"category": "Azure",
"icon": "$(gear)"
},
{
"command": "azureWorkspace.refresh",
"title": "%azureResourceGroups.refresh%",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureWorkspace.refreshTree",
"title": "%azureResourceGroups.refresh%",
"category": "Azure",
"icon": "$(refresh)"
},
{
"command": "azureResourceGroups.clearActivities",
"title": "%azureResourceGroups.clearActivities%",
"category": "Azure",
"icon": "$(clear-all)"
},
{
"command": "azureResourceGroups.showGroupOptions",
"title": "%azureResourceGroups.showGroupOptions%",
"category": "Azure"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "azure",
"title": "Azure",
"icon": "$(azure)"
}
],
"panel": [
{
"id": "azurePanel",
"title": "Azure",
"icon": "$(azure)"
}
]
},
"views": {
"azure": [
{
"id": "azureFocusView",
"name": "Focused Resources",
"visibility": "hidden",
"when": "ms-azuretools.vscode-azureresourcegroups.hasFocusedGroup == true"
},
{
"id": "azureResourceGroups",
"name": "Resources",
"visibility": "visible"
},
{
"id": "azureWorkspace",
"name": "Workspace",
"visibility": "visible"
},
{
"id": "ms-azuretools.helpAndFeedback",
"name": "%ms-azuretools.helpAndFeedback%",
"visibility": "collapsed"
}
],
"azurePanel": [
{
"id": "azureActivityLog",
"name": "Activity Log",
"visibility": "collapsed",
"icon": "$(azure)",
"type": "tree"
}
]
},
"viewsWelcome": [
{
"view": "azureActivityLog",
"contents": "View all of your recent activities and quickly access resources you've recently created. \n [Create an Azure resource](command:azureResourceGroups.createResource)"
},
{
"view": "azureWorkspace",
"contents": "No local workspace resources exist.",
"when": "azureWorkspace.state == 'noWorkspaceResources'"
},
{
"view": "azureWorkspace",
"contents": "No local workspace resource providers exist.",
"when": "azureWorkspace.state == 'noWorkspaceResourceProviders'"
}
],
"menus": {
"explorer/context": [
{
"command": "azureResourceGroups.uploadFileCloudConsole",
"when": "resourceScheme == file && !explorerResourceIsFolder && isWorkspaceTrusted && azureResourcesOpenCloudConsoleCount && azureResourcesOpenCloudConsoleCount != 0",
"group": "999_cloudConsole"
}
],
"editor/title/context": [
{
"command": "azureResourceGroups.uploadFileCloudConsole",
"when": "resourceScheme == file && isWorkspaceTrusted && azureResourcesOpenCloudConsoleCount && azureResourcesOpenCloudConsoleCount != 0",
"group": "999_cloudConsole"
}
],
"view/title": [
{
"command": "azureResourceGroups.createResource",
"when": "view == azureResourceGroups",
"group": "navigation@1"
},
{
"command": "azureResourceGroups.unfocusGroup",
"when": "view == azureFocusView",
"group": "navigation@4"
},
{
"submenu": "azureResourceGroups.groupBy",
"when": "view == azureResourceGroups",
"group": "navigation@2"
},
{
"command": "azureFocusView.refreshTree",
"when": "view == azureFocusView",
"group": "navigation@3"
},
{
"command": "azureResourceGroups.refreshTree",
"when": "view == azureResourceGroups",
"group": "navigation@3"
},
{
"command": "azureWorkspace.refreshTree",
"when": "view == azureWorkspace",
"group": "navigation@10"
},
{
"command": "azureResourceGroups.clearActivities",
"when": "view == azureActivityLog",
"group": "navigation@1"
},
{
"submenu": "azureWorkspaceCreate",
"when": "view == azureWorkspace",
"group": "navigation@1"
}
],
"view/item/context": [
{
"command": "azureResourceGroups.focusGroup",
"when": "view == azureResourceGroups && viewItem =~ /canFocus/",
"group": "inline"
},
{
"command": "azureResourceGroups.selectSubscriptions",
"when": "view == azureResourceGroups && viewItem == azureextensionui.azureSubscription",
"group": "inline"
},
{
"command": "azureResourceGroups.createResource",
"when": "view == azureResourceGroups && viewItem == azureextensionui.azureSubscription",
"group": "1@1"
},
{
"command": "azureResourceGroups.openInPortal",
"when": "view == azureResourceGroups && viewItem == azureextensionui.azureSubscription",
"group": "9@1"
},
{
"command": "azureResourceGroups.refresh",
"when": "view == azureResourceGroups && viewItem == azureextensionui.azureSubscription",
"group": "9@2"
},
{
"command": "azureResourceGroups.deleteResourceGroupV2",
"when": "view == azureResourceGroups && viewItem =~ /azureResourceGroup/",
"group": "1@1"
},
{
"command": "azureResourceGroups.editTags",
"when": "view =~ /azureResourceGroups|azureFocusView/ && viewItem =~ /azureResourceGroup/",
"group": "2@1"
},
{
"command": "azureResourceGroups.openInPortal",
"when": "view =~ /azureResourceGroups|azureFocusView/ && viewItem =~ /hasPortalUrl/",
"group": "9@2"
},
{
"command": "azureResourceGroups.refresh",
"when": "view =~ /azureResourceGroups/ && viewItem =~ /azureResource/",
"group": "9@3"
},
{
"command": "azureFocusView.refresh",
"when": "view =~ /azureFocusView/ && viewItem =~ /azureResource/",
"group": "9@3"
},
{
"command": "azureResourceGroups.editTags",
"when": "view =~ /azureResourceGroups|azureFocusView/ && viewItem =~ /azureResource(?!Group)(?!Type)/",
"group": "8@1"
},
{
"command": "azureResourceGroups.viewProperties",
"when": "view =~ /azureResourceGroups|azureFocusView/ && viewItem =~ /hasProperties/",
"group": "9@1"
},
{
"command": "azureResourceGroups.viewProperties",
"when": "view =~ /azureResourceGroups|azureFocusView/ && viewItem =~ /azureResourceGroup/",
"group": "9@1"
}
],
"commandPalette": [
{
"command": "azureResourceGroups.uploadFileCloudConsole",
"when": "isWorkspaceTrusted"
},
{
"command": "azureResourceGroups.maintainCloudShellConnection",
"when": "never"
},
{
"command": "azureResourceGroups.showGroupOptions",
"when": "never"
},
{
"command": "azureResourceGroups.refresh",
"when": "never"
},
{
"command": "azureWorkspace.refresh",
"when": "never"
},
{
"command": "azureFocusView.refreshTree",
"when": "never"
},
{
"command": "azureResourceGroups.loadMore",
"when": "never"
},
{
"command": "azureResourceGroups.revealResource",
"when": "never"
},
{
"command": "azureResourceGroups.installExtension",
"when": "never"
}
],
"azureResourceGroups.groupBy": [
{
"command": "azureResourceGroups.groupBy.resourceGroup",
"group": "1_default@1"
},
{
"command": "azureResourceGroups.groupBy.resourceType",
"group": "1_default@2"
},
{
"command": "azureResourceGroups.groupBy.location",
"group": "1_default@3"
},
{
"command": "azureResourceGroups.groupBy.armTag",
"group": "1_default@4"
}
]
},
"submenus": [
{
"id": "azureResourceGroups.groupBy",
"label": "Group By",
"icon": "$(group-by-ref-type)"
},
{
"id": "azureWorkspaceCreate",
"icon": "$(add)",
"label": "Add..."
}
],
"keybindings": [
{
"command": "workbench.view.extension.azure",
"win": "ctrl+shift+a",
"mac": "cmd+shift+a",
"linux": "shift+alt+a"
}
],
"configuration": [
{
"title": "Azure",
"properties": {
"azureResourceGroups.enableOutputTimestamps": {
"type": "boolean",
"description": "%azureResourceGroups.enableOutputTimestamps%",
"default": true
},
"azureResourceGroups.deleteConfirmation": {
"type": "string",
"enum": [
"EnterName",
"ClickButton"
],
"description": "%azureResourceGroups.deleteConfirmation%",
"enumDescriptions": [
"%azureResourceGroups.deleteConfirmation.EnterName%",
"%azureResourceGroups.deleteConfirmation.ClickButton%"
],
"default": "EnterName",
"scope": "machine"
},
"azureResourceGroups.showHiddenTypes": {
"type": "boolean",
"description": "%azureResourceGroups.showHiddenTypes%",
"default": false
},
"azureResourceGroups.groupBy": {
"type": "string",
"description": "%azureResourceGroups.groupBy%",
"default": "resourceType",
"scope": "machine"
},
"azureResourceGroups.suppressActivityNotifications": {
"type": "boolean",
"description": "%azureResourceGroups.suppressActivityNotifications%",
"default": true
},
"azureResourceGroups.autoOpenActivityPanel": {
"type": "boolean",
"description": "%azureResourceGroups.autoOpenActivityPanel%",
"default": true
},
"azureResourceGroups.selectedSubscriptions": {
"type": "array",
"description": "%azureResourceGroups.selectedSubscriptions%",
"items": {
"type": "string"
}
}
}
}
],
"walkthroughs": [
{
"id": "vscodeDevWalkthrough",
"when": "isWeb",
"title": "Deploy your application with VS Code for the Web - Azure",
"description": "**Note:** your work will not be saved unless you commit your code to GitHub. Follow the 'Saving your work' step for more information.",
"steps": [
{
"id": "deploy",
"title": "Deploy your template",
"description": "This environment includes the [Azure Developer CLI](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview), you can use it to run, debug, and deploy Azure applications. Your app has been initialized for you already (``azd init``).\nProvision and deploy your app to Azure (``azd up``) by right clicking your azure.yaml file and selecting up from the context menu (pictured) or by clicking the button below.\n[One-click provision + deploy](command:azure-dev.commands.cli.up)\nTip: You can also run the ``azd up`` command in the [Command Palette](command:workbench.action.quickOpen?%5B%22%3E%20Azure%20Developer%20CLI%20%28azd%29%3A%20up%22%5D) or your terminal to provision and deploy your app.",
"media": {
"svg": "resources/vscode-dev-walkthrough/azdUp.svg",
"altText": "Right click azure.yaml to deploy"
}
},
{
"id": "chatWithCopilot",
"title": "Chat with Copilot",
"description": "Ask Copilot general programming questions with chat. Copilot can also fix problems, scaffold tests, or refactor your code. Type ``/`` while in Copilot to view all available chat commands.\n[Chat with GitHub Copilot](command:workbench.panel.chat.view.copilot.focus)\nTip: You can use [GitHub Copilot for Azure](https://aka.ms/GetGitHubCopilotForAzure) (``@azure``) to view and manage your Azure resources from within GitHub Copilot.",
"media": {
"svg": "resources/vscode-dev-walkthrough/chatWithCopilot.svg",
"altText": "Chat with Copilot"
}
},
{
"id": "azureExtensions",
"title": "Leverage Azure extensions",
"description": "The environment is fully equipped with Azure VS Code extensions. These extensions make Azure development easier to create, run and deploy your applications.\n[View Azure Extensions](command:workbench.view.extension.azure)",
"media": {
"svg": "resources/vscode-dev-walkthrough/azureExtensions.svg",
"altText": "Chat with Copilot"
}
},
{
"id": "github",
"title": "Saving your work",
"description": "In order to pick up where you left off, commit your code to GitHub. Through GitHub, you can share your project easily and collaborate with others.\n[Publish to GitHub](command:workbench.view.scm)",
"media": {
"svg": "resources/vscode-dev-walkthrough/publishToGitHub.svg",
"altText": "Chat with Copilot"
}
}
]
},
{
"id": "azure-get-started",
"title": "Get Started with Azure in VS Code",
"description": "Setup your account and get to know the Azure extension view.",
"when": "false",
"steps": [
{
"id": "sign-in",
"title": "Sign into your Azure account",
"description": "Sign in or create an Azure Account to see all of the resources within your Azure subscription.\n[Sign In](command:azureResourceGroups.logIn)\n",
"media": {
"svg": "resources/walkthrough/signin.svg",
"altText": "Sign into your Azure Account."
}
},
{
"id": "azure-view",
"title": "The Azure view & manage resources",
"description": "Use the Resources explorer to create and manage Azure resources. Use the Workspace explorer to create files and deploy.\n[Open the Azure view](command:workbench.view.extension.azure)\n",
"media": {
"svg": "resources/walkthrough/sidebarview.svg",
"altText": "The Azure Sidebar view."
}
},
{
"id": "grouping",
"title": "Grouping your resources",
"description": "Change the way resources are grouped to fit your workflow.\n[Show grouping options](command:azureResourceGroups.showGroupOptions)",
"media": {
"svg": "resources/walkthrough/groupby.svg",
"altText": "Group resources."
}
},
{
"id": "activity-log",
"title": "The Azure activity log",
"description": "View all of your recent activities and quickly access resources you've recently created.\n[Show the Activity Log](command:azureActivityLog.focus)",
"media": {
"svg": "resources/walkthrough/activitylog.svg",
"altText": "The Azure Activity Log."
}
},
{
"id": "create-resource",
"title": "Create an Azure resource",
"description": "Create an Azure resource from your installed extensions directly in VS Code.\n[Create a resource](command:azureResourceGroups.createResource)",
"completionEvents": [
""
],
"media": {
"svg": "resources/walkthrough/createresource.svg",
"altText": "Create Azure resources."
}
}
]
}
]
},
"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",
"listIcons": "gulp listIcons",
"test": "node ./out/test/runTest.js",
"pretest": "webpack",
"webpack": "tsc && 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",
"api-extractor": "tsc -p ./api && api-extractor run -c ./api/api-extractor.json"
},
"devDependencies": {
"@azure/arm-resources-subscriptions": "^2.1.0",
"@azure/identity": "^4.2.1",
"@microsoft/api-extractor": "^7.33.8",
"@microsoft/eslint-config-azuretools": "^0.2.1",
"@microsoft/vscode-azext-dev": "^2.0.4",
"@types/gulp": "^4.0.6",
"@types/mocha": "^7.0.2",
"@types/node": "18.19.x",
"@types/request-promise": "^4.1.51",
"@types/semver": "^7.3.12",
"@types/uuid": "^9.0.1",
"@types/vscode": "^1.81.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.19.0",
"chokidar": "^3.6.0",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.42.0",
"eslint-plugin-import": "^2.27.5",
"glob": "^7.1.6",
"gulp": "^5.0.0",
"mocha": "^10.1.0",
"mocha-junit-reporter": "^1.23.1",
"mocha-multi-reporters": "^1.1.7",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^5.1.3",
"webpack": "^5.76.0",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"@azure/arm-resources": "^5.2.0",
"@azure/arm-resources-profile-2020-09-01-hybrid": "^2.1.0",
"@azure/ms-rest-js": "^2.7.0",
"@microsoft/vscode-azext-azureauth": "^2.5.0",
"@microsoft/vscode-azext-azureutils": "^3.1.1",
"@microsoft/vscode-azext-utils": "^2.5.7",
"buffer": "^6.0.3",
"jsonc-parser": "^2.2.1",
"node-fetch": "^3.3.2",
"request-promise": "^4.2.6",
"uuid": "^9.0.0",
"vscode-nls": "^5.0.1",
"vscode-uri": "^3.0.7",
"ws": "^8.17.1"
}
}