Files
azuredatastudio/extensions/data-workspace/package.json
Charles Gagnon eb880834fb Update ads-extension-telemetry (#21468)
* Update ads-extension-telemetry

* undo
2022-12-22 09:26:54 -08:00

195 lines
5.4 KiB
JSON

{
"name": "data-workspace",
"displayName": "Data Workspace",
"description": "Additional common functionality for database projects",
"version": "0.4.0",
"publisher": "Microsoft",
"preview": true,
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
"icon": "images/extension.png",
"aiKey": "29a207bb14f84905966a8f22524cb730-25407f35-11b6-4d4e-8114-ab9e843cb52f-7380",
"engines": {
"vscode": ">=1.48.0",
"azdata": ">=1.25.0"
},
"activationEvents": [
"*"
],
"main": "./out/main",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/azuredatastudio.git"
},
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": true
}
},
"extensionDependencies": [],
"contributes": {
"configuration": [
{
"title": "Projects",
"properties": {
"dataworkspace.excludedProjects": {
"type": "array",
"default": [],
"description": "%projects.excludedProjectsDescription%"
},
"projects.defaultProjectSaveLocation": {
"type": "string",
"description": "%projects.defaultProjectSaveLocation%"
},
"projects.showNotAddedProjectsInWorkspacePrompt": {
"type": "boolean",
"description": "%projects.showNotAddedProjectsInWorkspacePrompt%",
"default": true
}
}
}
],
"commands": [
{
"command": "projects.new",
"title": "%new-command%",
"category": "%data-workspace-view-container-name%",
"icon": "$(add)"
},
{
"command": "projects.openExisting",
"title": "%open-existing-command%",
"category": "%data-workspace-view-container-name%",
"icon": "$(folder-opened)"
},
{
"command": "dataworkspace.refresh",
"title": "%refresh-workspace-command%",
"category": "%data-workspace-view-container-name%",
"icon": "$(refresh)"
},
{
"command": "dataworkspace.close",
"title": "%close-workspace-command%",
"category": "",
"icon": "$(close)"
},
{
"command": "projects.removeProject",
"title": "%remove-project-command%"
},
{
"command": "projects.manageProject",
"title": "%manage-project-command%"
}
],
"menus": {
"view/title": [
{
"command": "dataworkspace.refresh",
"when": "view == dataworkspace.views.main",
"group": "navigation"
},
{
"command": "dataworkspace.close",
"when": "view == dataworkspace.views.main && workbenchState == workspace",
"group": "1_commands"
},
{
"command": "projects.new",
"when": "view == dataworkspace.views.main",
"group": "navigation"
},
{
"command": "projects.openExisting",
"when": "view == dataworkspace.views.main",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "projects.new"
},
{
"command": "dataworkspace.refresh",
"when": "false"
},
{
"command": "dataworkspace.close",
"when": "false"
},
{
"command": "projects.removeProject",
"when": "false"
},
{
"command": "projects.openExisting"
},
{
"command": "projects.manageProject",
"when": "false"
}
],
"view/item/context": [
{
"command": "projects.manageProject",
"when": "view == dataworkspace.views.main && viewItem =~ /^(databaseProject.itemType.project|databaseProject.itemType.legacyProject)$/ && azdataAvailable",
"group": "0_projectsFirst@1"
},
{
"command": "projects.removeProject",
"when": "view == dataworkspace.views.main && viewItem =~ /^(databaseProject.itemType.project|databaseProject.itemType.legacyProject)$/",
"group": "9_dbProjectsLast@9"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "dataworkspace",
"title": "%data-workspace-view-container-name%",
"icon": "images/data-workspace.svg"
}
]
},
"views": {
"dataworkspace": [
{
"id": "dataworkspace.views.main",
"name": "%main-view-name%",
"contextualTitle": "%data-workspace-view-container-name%",
"icon": "images/data-workspace.svg",
"when": "isProjectProviderAvailable"
}
]
},
"viewsWelcome": [
{
"view": "dataworkspace.views.main",
"contents": "%projects-view-no-workspace-content%",
"when": "workbenchState != workspace"
},
{
"view": "dataworkspace.views.main",
"contents": "%projects-view-no-project-content%",
"when": "workbenchState == workspace && isProjectsViewEmpty"
}
]
},
"dependencies": {
"fast-glob": "^3.2.7",
"@microsoft/ads-extension-telemetry": "^1.3.2",
"vscode-nls": "^4.0.0"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/sinon": "^9.0.4",
"mocha": "^7.1.1",
"should": "^13.2.3",
"sinon": "^9.0.2",
"typemoq": "^2.1.0",
"@microsoft/vscodetestcover": "^1.2.1",
"@microsoft/azdata-test": "^2.0.3"
}
}