azuredatastudio-postgresql/package.json

468 строки
15 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

2018-01-10 23:30:50 +03:00
{
2019-03-15 05:22:04 +03:00
"name": "azuredatastudio-postgresql",
"displayName": "PostgreSQL",
2023-09-14 20:20:02 +03:00
"version": "0.6.0",
2018-01-10 23:30:50 +03:00
"publisher": "Microsoft",
2018-11-14 03:47:01 +03:00
"description": "PostgreSQL extension for Azure Data Studio",
2020-06-06 05:10:01 +03:00
"aiKey": "c2c974c2-f342-42c8-b85b-b79436a86603",
2018-03-31 04:40:44 +03:00
"icon": "images/extension-icon.png",
2018-11-29 02:36:02 +03:00
"repository": {
2019-03-14 07:03:12 +03:00
"url": "https://github.com/Microsoft/azuredatastudio-postgresql"
2018-11-29 02:36:02 +03:00
},
"license": "MIT",
2018-01-10 23:30:50 +03:00
"activationEvents": [
"*"
],
2023-04-26 22:23:25 +03:00
"engines":{
2018-03-30 22:33:25 +03:00
"vscode": "*",
2023-05-27 00:38:12 +03:00
"azdata": ">=1.40.0"
2018-03-30 22:33:25 +03:00
},
2018-03-31 01:19:49 +03:00
"main": "./out/main",
2018-01-10 23:30:50 +03:00
"extensionDependencies": [
"vscode.sql"
],
"scripts": {
"compile": "gulp build",
"package": "gulp package:online",
2023-05-26 21:13:03 +03:00
"package-offline": "gulp package:offline",
"package-offline-osx": "gulp package:offline-osx",
2023-05-26 23:24:59 +03:00
"package-offline-osx-arm64": "gulp package:offline-osx-arm64",
2023-06-20 07:23:02 +03:00
"package-offline-windows": "gulp package:offline-windows",
2023-06-22 23:31:21 +03:00
"package-offline-linux": "gulp package:offline-linux",
"package-offline-ubuntu": "gulp package:offline-ubuntu"
2018-01-10 23:30:50 +03:00
},
"contributes": {
"grammars": [
2018-01-10 23:30:50 +03:00
{
"injectTo": [ "source.sql" ],
"scopeName": "source.pgsql-injection.sql",
"path": "./syntaxes/pgsql-injection.json"
2018-01-10 23:30:50 +03:00
}
],
"outputChannels": [
"PGSQL"
],
"snippets": [
{
"language": "sql",
"path": "./snippets/pgsql.json"
}
],
"configuration": {
"type": "object",
"title": "%postgres.configuration.title%",
2018-01-10 23:30:50 +03:00
"properties": {
"pgsql.logDebugInfo": {
"type": "boolean",
"default": false,
"description": "%postgres.logDebugInfo.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.enabled": {
"type": "boolean",
"default": true,
"description": "%postgres.enabled.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.debugSourcePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "%postgres.debugSourcePath.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.useDebugSource": {
"type": "boolean",
"default": false,
"description": "%postgres.useDebugSource.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.enableStartupDebugging": {
"type": "boolean",
"default": false,
"description": "%postgres.enableStartupDebugging.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.debugServerPort": {
"type": "number",
"default": 3000,
"description": "%postgres.debugServerPort.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.defaultDatabase": {
"type": "string",
"default": "postgres",
"description": "%postgres.defaultDatabase.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.format.keywordCase": {
"type": [
"string",
"null"
],
"description": "%postgres.format.keywordCase.description%",
2018-01-10 23:30:50 +03:00
"default": null,
"enum": [
null,
"upper",
"lower",
"capitalize"
]
},
"pgsql.format.identifierCase": {
"type": [
"string",
"null"
],
"description": "%postgres.format.identifierCase.description%",
2018-01-10 23:30:50 +03:00
"default": null,
"enum": [
null,
"upper",
"lower",
"capitalize"
]
},
"pgsql.format.stripComments": {
"type": "boolean",
"default": false,
"description": "%postgres.format.stripComments.description%"
2018-01-10 23:30:50 +03:00
},
"pgsql.format.reindent": {
"type": "boolean",
"default": true,
"description": "%postgres.format.reindent.description%"
2018-01-10 23:30:50 +03:00
}
}
2018-03-30 22:33:25 +03:00
},
"connectionProvider": {
2018-03-31 04:40:44 +03:00
"protocolVersion": "1.0",
"providerName": "PGSQL",
2018-03-30 22:33:25 +03:00
"providerId": "PGSQL",
2018-12-19 03:44:13 +03:00
"displayName": "PostgreSQL",
"azureResource": "OssRdbms",
2018-03-30 22:33:25 +03:00
"connectionOptions": [
2018-11-14 03:47:01 +03:00
{
"specialValueType": "connectionName",
"isIdentity": true,
"name": "connectionName",
"displayName": "%postgres.connectionOptions.connectionName.displayName%",
"description": "%postgres.connectionOptions.connectionName.description%",
"groupName": "%postgres.connectionOptions.groupName.source%",
2018-11-14 03:47:01 +03:00
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
2018-03-30 22:33:25 +03:00
{
2018-03-31 04:40:44 +03:00
"name": "host",
"displayName": "%postgres.connectionOptions.host.displayName%",
"description": "%postgres.connectionOptions.host.description%",
2018-03-31 04:40:44 +03:00
"valueType": "string",
2018-03-30 22:33:25 +03:00
"specialValueType": "serverName",
"isIdentity": true,
"isRequired": true,
"groupName": "%postgres.connectionOptions.groupName.source%",
2018-11-13 22:34:19 +03:00
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isArray": false
2018-03-30 22:33:25 +03:00
},
2020-03-23 22:36:40 +03:00
{
"specialValueType": "authType",
"isIdentity": true,
"name": "authenticationType",
"displayName": "%postgres.connectionOptions.authenticationType.displayName%",
"description": "%postgres.connectionOptions.authenticationType.description%",
"groupName": "%postgres.connectionOptions.groupName.security%",
2020-03-23 22:36:40 +03:00
"valueType": "category",
"defaultValue": "SqlLogin",
"objectType": null,
"categoryValues": [
{
"displayName": "%postgres.connectionOptions.user.displayName%",
2020-03-23 22:36:40 +03:00
"name": "SqlLogin"
},
{
"displayName": "%postgres.connectionOptions.authenticationType.azuremfaanduser%",
2020-03-23 22:36:40 +03:00
"name": "AzureMFAAndUser"
}
],
"isRequired": true,
"isArray": false
},
2018-03-30 22:33:25 +03:00
{
2018-03-31 04:40:44 +03:00
"name": "dbname",
"displayName": "%postgres.connectionOptions.dbname.displayName%",
"description": "%postgres.connectionOptions.dbname.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2018-03-31 04:40:44 +03:00
"specialValueType": "databaseName",
2018-03-30 22:33:25 +03:00
"isIdentity": true,
2018-03-31 04:40:44 +03:00
"isRequired": false,
"groupName": "%postgres.connectionOptions.groupName.source%",
2018-03-31 04:40:44 +03:00
"defaultValue": "postgres"
2018-03-30 22:33:25 +03:00
},
{
"name": "user",
"displayName": "%postgres.connectionOptions.user.displayName%",
"description": "%postgres.connectionOptions.user.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2018-03-31 04:40:44 +03:00
"specialValueType": "userName",
"isIdentity": true,
2018-03-30 22:33:25 +03:00
"isRequired": true,
"groupName": "%postgres.connectionOptions.groupName.security%"
2018-03-30 22:33:25 +03:00
},
{
"name": "password",
"displayName": "%postgres.connectionOptions.password.displayName%",
"description": "%postgres.connectionOptions.password.description%",
2018-03-30 22:33:25 +03:00
"valueType": "password",
2018-03-31 04:40:44 +03:00
"specialValueType": "password",
"isIdentity": true,
2018-03-30 22:33:25 +03:00
"isRequired": true,
"groupName": "%postgres.connectionOptions.groupName.security%"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "hostaddr",
"displayName": "%postgres.connectionOptions.hostIp.displayName%",
"description": "%postgres.connectionOptions.hostIp.description%",
2018-03-31 04:40:44 +03:00
"valueType": "string",
2021-10-01 22:59:15 +03:00
"isIdentity": true,
"groupName": "%postgres.connectionOptions.groupName.server%",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "port",
"displayName": "%postgres.connectionOptions.port.displayName%",
"description": "%postgres.connectionOptions.port.description%",
2019-02-01 07:07:14 +03:00
"valueType": "number",
2021-10-01 22:59:15 +03:00
"isIdentity": true,
"groupName": "%postgres.connectionOptions.groupName.server%",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
"name": "connectTimeout",
"displayName": "%postgres.connectionOptions.connectTimeout.displayName%",
"description": "%postgres.connectionOptions.connectTimeout.description%",
2018-03-30 22:33:25 +03:00
"valueType": "number",
"groupName": "%postgres.connectionOptions.groupName.client%",
2018-03-31 04:40:44 +03:00
"defaultValue": "15"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "clientEncoding",
"displayName": "%postgres.connectionOptions.clientEncoding.displayName%",
"description": "%postgres.connectionOptions.clientEncoding.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
"groupName": "%postgres.connectionOptions.groupName.client%",
"defaultValue": null
2018-03-31 04:40:44 +03:00
},
{
"name": "options",
"displayName": "%postgres.connectionOptions.options.displayName%",
"description": "%postgres.connectionOptions.options.description%",
2018-03-31 04:40:44 +03:00
"valueType": "string",
"groupName": "%postgres.connectionOptions.groupName.server%",
"defaultValue": null
2018-03-31 04:40:44 +03:00
},
{
"name": "applicationName",
"displayName": "%postgres.connectionOptions.applicationName.displayName%",
"description": "%postgres.connectionOptions.applicationName.description%",
2018-03-31 04:40:44 +03:00
"valueType": "string",
"groupName": "%postgres.connectionOptions.groupName.client%",
2018-03-31 04:40:44 +03:00
"specialValueType": "appName"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslmode",
"displayName": "%postgres.connectionOptions.ssl.displayName%",
"description": "%postgres.connectionOptions.ssl.description%",
2018-03-30 22:33:25 +03:00
"valueType": "category",
"groupName": "%postgres.connectionOptions.groupName.ssl%",
2018-03-30 22:33:25 +03:00
"categoryValues": [
{
"displayName": "%postgres.connectionOptions.ssl.mode.disable%",
2018-03-31 04:40:44 +03:00
"name": "disable"
},
{
"displayName": "%postgres.connectionOptions.ssl.mode.allow%",
2018-03-31 04:40:44 +03:00
"name": "allow"
},
{
"displayName": "%postgres.connectionOptions.ssl.mode.prefer%",
2018-03-31 04:40:44 +03:00
"name": "prefer"
},
{
"displayName": "%postgres.connectionOptions.ssl.mode.require%",
2018-03-31 04:40:44 +03:00
"name": "require"
},
{
"displayName": "%postgres.connectionOptions.ssl.mode.verify_ca%",
"name": "verify_ca"
2018-03-30 22:33:25 +03:00
},
{
"displayName": "%postgres.connectionOptions.ssl.mode.verify_full%",
2018-03-31 04:40:44 +03:00
"name": "verify-full"
2018-03-30 22:33:25 +03:00
}
],
2018-03-31 04:40:44 +03:00
"defaultValue": "prefer"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslcompression",
"displayName": "%postgres.connectionOptions.ssl.compression.displayName%",
"description": "%postgres.connectionOptions.ssl.compression.description%",
2018-03-30 22:33:25 +03:00
"valueType": "boolean",
2018-03-31 04:40:44 +03:00
"groupName": "SSL"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslcert",
"displayName": "%postgres.connectionOptions.ssl.cert.displayName%",
"description": "%postgres.connectionOptions.ssl.cert.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "SSL",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslkey",
"displayName": "%postgres.connectionOptions.ssl.key.displayName%",
"description": "%postgres.connectionOptions.ssl.key.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "SSL",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslrootcert",
"displayName": "%postgres.connectionOptions.ssl.rootcert.displayName%",
"description": "%postgres.connectionOptions.ssl.rootcert.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "SSL",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslcrl",
"displayName": "%postgres.connectionOptions.ssl.crl.displayName%",
"description": "%postgres.connectionOptions.ssl.crl.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "SSL",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "requirepeer",
"displayName": "%postgres.connectionOptions.requirepeer.displayName%",
"description": "%postgres.connectionOptions.requirepeer.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
"groupName": "%postgres.connectionOptions.groupName.server%",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "service",
"displayName": "%postgres.connectionOptions.service.displayName%",
"description": "%postgres.connectionOptions.service.description%",
2018-03-30 22:33:25 +03:00
"valueType": "string",
"groupName": "%postgres.connectionOptions.groupName.client%",
2019-02-01 07:07:14 +03:00
"defaultValue": null
2018-03-30 22:33:25 +03:00
}
]
2019-10-16 23:20:44 +03:00
},
"commands": [
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.all",
"title": "%postgres.command.buildAll%",
2019-10-16 23:20:44 +03:00
"category": "PostgreSQLProject"
},
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.current",
"title": "%postgres.command.buildCurrent%",
2019-10-16 23:20:44 +03:00
"category": "PostgreSQLProject"
},
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.add.new",
"title": "%postgres.command.newProject%",
2019-10-22 03:01:33 +03:00
"category": "PostgreSQLProject"
},
{
"command": "pgproj.deploy.current",
"title": "%postgres.command.deploy%",
"category": "PostgreSQLProject"
2019-10-16 23:20:44 +03:00
}
],
"menus": {
"commandPalette": [
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.current",
2019-10-16 23:20:44 +03:00
"when": "resourceExtname == .pgproj"
},
{
"command": "pgproj.deploy.current",
"when": "resourceExtname == .pgproj"
},
{
"command": "pgproj.add.new",
"when": "false"
2019-10-16 23:20:44 +03:00
}
],
"explorer/context": [
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.current",
2019-10-16 23:20:44 +03:00
"when": "resourceExtname == .pgproj"
},
{
"command": "pgproj.deploy.current",
"when": "resourceExtname == .pgproj"
},
2019-10-16 23:20:44 +03:00
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.add.new",
2019-10-16 23:20:44 +03:00
"when": "explorerResourceIsFolder"
}
],
"editor/context": [
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.current",
2019-10-16 23:20:44 +03:00
"when": "resourceExtname == .pgproj"
},
{
"command": "pgproj.deploy.current",
"when": "resourceExtname == .pgproj"
2019-10-16 23:20:44 +03:00
}
]
2018-01-10 23:30:50 +03:00
}
},
2018-03-30 22:33:25 +03:00
"dependencies": {
"@microsoft/ads-service-downloader": "^1.2.1",
2023-09-21 20:58:59 +03:00
"@microsoft/ads-extension-telemetry": "^3.0.1",
2018-03-30 22:33:25 +03:00
"crypto": "^1.0.1",
2023-04-28 03:26:25 +03:00
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#1.3.1",
"tmp": "0.2.1 ",
2023-04-20 01:14:19 +03:00
"vscode-languageclient": "5.2.1",
"which": "^1.3.1",
"compare-versions": "^3.5.1",
"xml2js": "^0.5.0",
2023-04-26 22:23:25 +03:00
"vscode-nls": "^5.0.0",
2023-04-28 03:26:25 +03:00
"fstream": "^1.0.12",
"block-stream": "^0.0.9",
"graceful-fs": "4.2.4",
"eventemitter2": "^5.0.1"
2018-03-30 22:33:25 +03:00
},
2018-01-10 23:30:50 +03:00
"devDependencies": {
2021-08-04 09:52:16 +03:00
"@types/node": "^12.11.7",
2023-04-28 03:26:25 +03:00
"@types/vscode": "^1.77.0",
"@types/azdata": "^1.43.0",
"del": "^6.1.1",
2023-09-13 21:19:37 +03:00
"event-stream": "^4.0.1",
2023-04-28 03:26:25 +03:00
"gulp": "github:gulpjs/gulp#4.0.2",
2018-01-10 23:30:50 +03:00
"gulp-istanbul-report": "0.0.1",
2023-04-28 03:26:25 +03:00
"gulp-json-editor": "^2.5.6",
"gulp-rename": "^2.0.0",
"gulp-shell": "^0.8.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-tslint": "^8.1.4",
"gulp-typescript": "^5.0.1",
"tslint": "^6.1.3",
"typescript": "^4.3.5",
2023-09-12 18:10:59 +03:00
"vscode-nls-dev": "^4.0.0"
2018-01-10 23:30:50 +03:00
},
2018-03-30 22:33:25 +03:00
"resolutions": {
2023-04-28 03:26:25 +03:00
"gulp-cli": "2.3.0"
2019-10-16 23:20:44 +03:00
},
"requiredDotNetCoreSDK": "2.1.0",
"projectTemplateNugetId": "Microsoft.DataTools.PostgreSql.ProjectTemplate",
2019-11-01 00:13:10 +03:00
"minSupportedPostgreSQLProjectSDK": "0.1.0",
"maxSupportedPostgreSQLProjectSDK": "0.1.0"
2018-04-03 04:18:50 +03:00
}