azuredatastudio-postgresql/package.json

455 строки
14 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-26 19:57:07 +03:00
"version": "0.2.6",
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": [
"*"
],
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-04-17 17:57:52 +03:00
"package-offline": "gulp package:offline"
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": "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",
2021-10-01 22:59:15 +03:00
"isIdentity": true,
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",
2021-10-01 22:59:15 +03:00
"isIdentity": true,
2019-02-01 07:07:14 +03:00
"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": {
2023-04-20 21:10:28 +03:00
"@microsoft/ads-service-downloader": "^1.1.0",
"@microsoft/ads-extension-telemetry": "^1.3.4",
2018-03-30 22:33:25 +03:00
"crypto": "^1.0.1",
2023-04-20 21:10:28 +03:00
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#1.3.1",
2023-04-20 01:14:19 +03:00
"tmp": "0.2.1 ",
"vscode-languageclient": "5.2.1",
"which": "^1.3.1",
"compare-versions": "^3.5.1",
"xml2js": "^0.5.0",
2023-04-20 21:10:28 +03:00
"vscode-nls": "^5.0.0"
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-18 21:43:47 +03:00
"@types/vscode": "^1.77.0",
"@types/azdata": "^1.43.0",
2023-04-20 01:14:19 +03:00
"del": "^6.1.1",
"gulp": "github:gulpjs/gulp#4.0.2",
2018-01-10 23:30:50 +03:00
"gulp-istanbul-report": "0.0.1",
2023-04-20 01:14:19 +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",
"gulp-untar": "0.0.8",
"tslint": "^6.1.3",
"typescript": "^4.3.5",
2023-04-21 20:52:37 +03:00
"vscode-nls-dev": "^3.3.1"
2018-01-10 23:30:50 +03:00
},
2018-03-30 22:33:25 +03:00
"resolutions": {
2023-04-20 01:14:19 +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
}