azuredatastudio-postgresql/package.json

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

2018-01-10 23:30:50 +03:00
{
2019-03-15 05:22:04 +03:00
"name": "azuredatastudio-postgresql",
"displayName": "PostgreSQL",
2020-03-23 22:36:40 +03:00
"version": "0.2.5",
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",
2018-01-10 23:30:50 +03:00
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
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": [
"*"
],
2018-03-30 22:33:25 +03:00
"engines": {
"vscode": "*",
2020-03-23 22:36:40 +03:00
"azdata": ">=1.16.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",
2019-03-14 07:03:12 +03:00
"package-offline": "gulp package:offline",
2019-06-10 07:06:07 +03:00
"postinstall": "node ./node_modules/vscode/bin/install && node ./node_modules/azdata/bin/install"
2018-01-10 23:30:50 +03:00
},
"contributes": {
"languages": [
{
"id": "sql",
"extensions": [
".sql"
],
"aliases": [
"SQL"
2018-03-30 22:33:25 +03:00
]
2018-01-10 23:30:50 +03:00
}
],
"outputChannels": [
"PGSQL"
],
"snippets": [
{
"language": "sql",
"path": "./snippets/pgsql.json"
}
],
"configuration": {
"type": "object",
"title": "PGSQL configuration",
"properties": {
"pgsql.logDebugInfo": {
"type": "boolean",
"default": false,
"description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)"
},
"pgsql.enabled": {
"type": "boolean",
"default": true,
"description": "[Optional] Enable PostgreSQL support (currently in development)"
},
"pgsql.debugSourcePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "[Optional] Path to the source directory of the PostgreSQL Tools Service, for debugging"
},
"pgsql.useDebugSource": {
"type": "boolean",
"default": false,
"description": "[Optional] Enable running the PGSQL extension via the path set in pgsql.debugSourcePath"
},
"pgsql.enableStartupDebugging": {
"type": "boolean",
"default": false,
"description": "[Optional] Whether to make the PostgreSQL Tools Service wait for a debugger to attach when starting"
},
"pgsql.debugServerPort": {
"type": "number",
"default": 3000,
"description": "[Optional] The port to run the PostgreSQL Tools Service remote debugger on (default 3000)"
},
"pgsql.defaultDatabase": {
"type": "string",
"default": "postgres",
"description": "The default database to use when creating a new PostgreSQL connection"
},
"pgsql.format.keywordCase": {
"type": [
"string",
"null"
],
"description": "[Optional] Changes how keywords are formatted. Allowed values are 'upper', 'lower' and 'capitalize'.",
"default": null,
"enum": [
null,
"upper",
"lower",
"capitalize"
]
},
"pgsql.format.identifierCase": {
"type": [
"string",
"null"
],
"description": "[Optional] Changes how identifiers are formatted. Allowed values are 'upper', 'lower' and 'capitalize'.",
"default": null,
"enum": [
null,
"upper",
"lower",
"capitalize"
]
},
"pgsql.format.stripComments": {
"type": "boolean",
"default": false,
"description": "[Optional] If true comments are removed from the statements"
},
"pgsql.format.reindent": {
"type": "boolean",
"default": true,
"description": "[Optional] If true the indentations of the statements are changed."
}
}
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": "Name (optional)",
"description": "Custom name of the connection",
"groupName": "Source",
"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": "Server name",
"description": "Name of the PostgreSQL instance",
"valueType": "string",
2018-03-30 22:33:25 +03:00
"specialValueType": "serverName",
"isIdentity": true,
"isRequired": true,
2018-11-13 22:34:19 +03:00
"groupName": "Source",
"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": "Authentication type",
"description": "How to authenticate with server",
"groupName": "Security",
"valueType": "category",
"defaultValue": "SqlLogin",
"objectType": null,
"categoryValues": [
{
"displayName": "Password",
"name": "SqlLogin"
},
{
"displayName": "Azure Active Directory",
"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": "Database name",
2018-03-30 22:33:25 +03:00
"description": "The name of the initial catalog or database int the data source",
"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": "Source",
"defaultValue": "postgres"
2018-03-30 22:33:25 +03:00
},
{
"name": "user",
"displayName": "User name",
"description": "Indicates the user ID to be used when connecting to the data source",
"valueType": "string",
2018-03-31 04:40:44 +03:00
"specialValueType": "userName",
"isIdentity": true,
2018-03-30 22:33:25 +03:00
"isRequired": true,
2018-03-31 04:40:44 +03:00
"groupName": "Security"
2018-03-30 22:33:25 +03:00
},
{
"name": "password",
"displayName": "Password",
"description": "Indicates the password to be used when connecting to the data source",
"valueType": "password",
2018-03-31 04:40:44 +03:00
"specialValueType": "password",
"isIdentity": true,
2018-03-30 22:33:25 +03:00
"isRequired": true,
2018-03-31 04:40:44 +03:00
"groupName": "Security"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "hostaddr",
"displayName": "Host IP address",
"description": "IP address of the server",
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "Server",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "port",
"displayName": "Port",
"description": "Port number for the server",
2019-02-01 07:07:14 +03:00
"valueType": "number",
"groupName": "Server",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
"name": "connectTimeout",
"displayName": "Connect timeout",
2018-03-31 04:40:44 +03:00
"description": "Seconds to wait before timing out when connecting",
2018-03-30 22:33:25 +03:00
"valueType": "number",
2018-03-31 04:40:44 +03:00
"groupName": "Client",
"defaultValue": "15"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "clientEncoding",
"displayName": "Client encoding",
"description": "The client encoding for the connection",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "Client",
"defaultValue": null
2018-03-31 04:40:44 +03:00
},
{
"name": "options",
"displayName": "Command-line options",
"description": "Command-line options to send to the server when the connection starts",
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "Server",
"defaultValue": null
2018-03-31 04:40:44 +03:00
},
{
"name": "applicationName",
"displayName": "Application name",
"description": "Value for the 'application_name' configuration parameter",
"valueType": "string",
"groupName": "Client",
"specialValueType": "appName"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "sslmode",
"displayName": "SSL mode",
"description": "The SSL mode to use when connecting",
2018-03-30 22:33:25 +03:00
"valueType": "category",
2018-03-31 04:40:44 +03:00
"groupName": "SSL",
2018-03-30 22:33:25 +03:00
"categoryValues": [
{
2018-03-31 04:40:44 +03:00
"displayName": "Disable",
"name": "disable"
},
{
"displayName": "Allow",
"name": "allow"
},
{
"displayName": "Prefer",
"name": "prefer"
},
{
"displayName": "Require",
"name": "require"
},
{
"displayName": "Verify-CA",
"name": "verify-ca"
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"displayName": "Verify-Full",
"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": "Use SSL compression",
"description": "Whether to compress SSL connections",
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": "SSL certificate filename",
"description": "The filename of the SSL certificate to use",
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": "SSL key filename",
"description": "The filename of the key to use for the SSL certificate",
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": "SSL root certificate filename",
"description": "The filename of the SSL root CA certificate to use",
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": "SSL CRL filename",
"description": "The filename of the SSL certificate revocation list to use",
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": "Require peer",
"description": "The required username of the server process",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "Server",
"defaultValue": null
2018-03-30 22:33:25 +03:00
},
{
2018-03-31 04:40:44 +03:00
"name": "service",
"displayName": "Service name",
"description": "The service name in pg_service.conf to use for connection parameters",
2018-03-30 22:33:25 +03:00
"valueType": "string",
2019-02-01 07:07:14 +03:00
"groupName": "Client",
"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",
2019-10-16 23:20:44 +03:00
"title": "Build all PostgreSQL projects",
"category": "PostgreSQLProject"
},
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.build.current",
2019-10-16 23:20:44 +03:00
"title": "Build PostgreSQL project",
"category": "PostgreSQLProject"
},
{
2019-10-22 03:01:33 +03:00
"command": "pgproj.add.new",
2019-12-11 03:06:21 +03:00
"title": "New PostgreSQL Project",
2019-10-22 03:01:33 +03:00
"category": "PostgreSQLProject"
},
{
"command": "pgproj.deploy.current",
"title": "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": {
2018-11-13 22:34:19 +03:00
"applicationinsights": "1.0.1",
2019-06-10 07:06:07 +03:00
"azdata": "^1.0.0",
2018-03-30 22:33:25 +03:00
"crypto": "^1.0.1",
2019-06-10 07:06:07 +03:00
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#0.3.0",
2018-03-30 22:33:25 +03:00
"decompress": "4.2.0 ",
"diagnostic-channel": "0.2.0",
"diagnostic-channel-publishers": "0.2.1",
"eventemitter2": "5.0.1 ",
"http-proxy-agent": "2.1.0 ",
"https-proxy-agent": "2.2.1 ",
"mkdirp": "0.5.1 ",
"opener": "^1.4.3",
"readable-stream": "2.3.0",
2018-11-13 22:34:19 +03:00
"service-downloader": "github:anthonydresser/service-downloader#0.1.5",
2018-03-30 22:33:25 +03:00
"tmp": "0.0.33 ",
2018-11-13 22:34:19 +03:00
"vscode-extension-telemetry": "0.0.18",
2018-03-30 22:33:25 +03:00
"vscode-jsonrpc": "3.5.0",
"vscode-languageclient": "3.5.0",
"vscode-languageserver-protocol": "3.5.0",
"vscode-languageserver-types": "3.5.0",
2019-10-16 23:20:44 +03:00
"zone.js": "0.7.6",
"which": "^1.3.1",
"compare-versions": "^3.5.1",
"xml2js": "^0.4.22",
"vscode-nls": "^4.1.1"
2018-03-30 22:33:25 +03:00
},
2018-01-10 23:30:50 +03:00
"devDependencies": {
"@types/node": "^8.0.53",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"decache": "^4.1.0",
"del": "^2.2.1",
"glob": "7.1.2",
2018-01-10 23:30:50 +03:00
"gulp": "github:gulpjs/gulp#4.0",
2018-03-30 22:33:25 +03:00
"gulp-chmod": "2.0.0",
2018-01-10 23:30:50 +03:00
"gulp-clean-css": "^2.0.13",
"gulp-concat": "^2.6.0",
"gulp-filter": "^5.0.0",
"gulp-gunzip": "1.0.0",
2018-01-10 23:30:50 +03:00
"gulp-install": "^0.6.0",
"gulp-istanbul-report": "0.0.1",
"gulp-json-editor": "^2.2.1",
2018-03-30 22:33:25 +03:00
"gulp-remote-src": "0.4.3",
2018-01-10 23:30:50 +03:00
"gulp-rename": "^1.2.2",
"gulp-shell": "^0.5.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-tslint": "^6.0.2",
"gulp-typescript": "^3.1.4",
"gulp-uglify": "^2.0.0",
"gulp-untar": "0.0.6",
"gulp-vinyl-zip": "2.1.0",
2018-01-10 23:30:50 +03:00
"istanbul": "^0.4.5",
"jasmine-core": "~2.4.1",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-htmlfile-reporter": "^0.3.4",
"karma-jasmine": "^1.0.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-junit-reporter": "^1.1.0",
"karma-remap-istanbul": "^0.2.1",
"mocha": "4.1.0",
2018-01-10 23:30:50 +03:00
"pm-mocha-jenkins-reporter": "^0.2.6",
"remap-istanbul": "^0.6.4",
"request": "2.85.0",
"source-map-support": "0.5.4",
2018-01-10 23:30:50 +03:00
"systemjs-builder": "^0.15.32",
"tslint": "^3.14.0",
"typemoq": "^1.7.0",
2018-03-30 22:33:25 +03:00
"typescript": "^2.8.1",
2018-01-10 23:30:50 +03:00
"uglify-js": "mishoo/UglifyJS2#harmony-v2.8.22",
"url-parse": "1.2.0",
2018-01-10 23:30:50 +03:00
"vscode": "1.0.1",
"xmldom": "^0.1.27",
"yargs": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz",
"vscode-nls-dev": "^3.3.1"
2018-01-10 23:30:50 +03:00
},
2018-03-30 22:33:25 +03:00
"resolutions": {
"vscode-jsonrpc": "3.5.0",
"vscode-languageclient": "3.5.0",
"vscode-languageserver-protocol": "3.5.0",
"vscode-languageserver-types": "3.5.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
}