vscode-mssql/package.json

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

2016-06-26 21:49:47 +03:00
{
"name": "mssql",
"displayName": "mssql",
"version": "1.1.0",
"description": "Develop Microsoft SQL Server, Azure SQL Database and SQL Data Warehouse everywhere",
"publisher": "ms-mssql",
"preview": false,
2016-07-14 02:25:29 +03:00
"license": "SEE LICENSE IN LICENSE.txt",
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
2016-06-26 21:49:47 +03:00
"icon": "images/sqlserver.png",
"galleryBanner": {
"color": "#2F2F2F",
"theme": "dark"
2016-06-26 21:49:47 +03:00
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-mssql.git"
2016-06-26 21:49:47 +03:00
},
"bugs": {
2016-07-19 03:15:30 +03:00
"url": "https://github.com/Microsoft/vscode-mssql/issues"
2016-07-14 02:25:29 +03:00
},
"homepage": "https://github.com/Microsoft/vscode-mssql/blob/master/README.md",
2016-06-26 21:49:47 +03:00
"engines": {
"vscode": "^1.9.0"
2016-06-26 21:49:47 +03:00
},
"categories": [
"Languages"
2016-06-26 21:49:47 +03:00
],
"keywords": [
2016-07-14 02:25:29 +03:00
"SQL",
"MSSQL",
2016-07-14 02:25:29 +03:00
"SQL Server",
"Azure SQL Database",
"Azure SQL Data Warehouse"
],
"activationEvents": [
"onLanguage:sql",
"onCommand:extension.connect",
"onCommand:extension.runQuery",
"onCommand:extension.runCurrentStatement",
"onCommand:extension.disconnect",
"onCommand:extension.manageProfiles",
"onCommand:extension.chooseDatabase",
"onCommand:extension.cancelQuery",
"onCommand:extension.showGettingStarted",
"onCommand:extension.newQuery",
"onCommand:extension.rebuildIntelliSenseCache"
2016-06-26 21:49:47 +03:00
],
"main": "./out/src/extension",
"extensionDependencies": [
"vscode.sql"
],
"devDependencies": {
"chai": "^3.5.0",
2016-12-06 05:13:15 +03:00
"coveralls": "^2.11.15",
Support code coverage for our VSCode extension. (#273) - Included a new launch config that supports running with code coverage. - Coverage is stored in a coverage folder as both LCOV file and HTML report (in sub folder) - Added new scripts in our build machine to run with code coverage. Will enable a run that uses code coverage once this is merged - To view code coverage while developing, install the LCOV VSCode extension, enable it and then hit F1 -> LCOV Menu -> Enable Decorations. This will highlight covered / missed lines in green and red. Note: The HTMLContent codebase is not currently covered. With recent changes to minify this it breaks the remapping tool we use. Detailed notes - Coverage uses a config file to load settings. This is copied at the start of each task - If tests fail, the process exit code will be 1. We should still write out code coverage in these cases as this is a useful detail even on runs with some test failures. - On Windows, the extension is loaded (pulling in all source files via require) before the test runner is configured. Since instrumentation happens by hooking the require call, this meant that instrumentation never happened on Windows. To resolve this, we invalidate the Module cache for our source files so they are reloaded the next time anything requires them. At this point they are instrumented as expected. There is a minor risk to this if we had some global state or deeper integration test, but this doesn't impact any existing unit tests and is needed to unblock code coverage * Skip coverage of HTMLContent due to crash - With the latest HTMLContent changes to minify & uglify the code, the remap-istanbul component responsible for js -> ts remapping crashes trying to parse the sourceMap entries in the file. This is due to lack of whitespace between code which it expects - basically, it's not set up to run against such compact code - Disabling coverage of this part of the code until this issue is resolved
2016-11-07 23:56:10 +03:00
"decache": "^4.1.0",
"del": "^2.2.1",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-clean-css": "^2.0.13",
"gulp-concat": "^2.6.0",
"gulp-filter": "^5.0.0",
"gulp-install": "^0.6.0",
"gulp-istanbul-report": "0.0.1",
"gulp-json-editor": "^2.2.1",
Merge from master (#763) * SqlToolsService 0.3.0 release target * Copy should not add new line at end (#717) - Fixes #715. Should not copy & paste with newline at the end since this overwrites cells in Excel * Telemetry fix: promise.all not receiving promises (#723) - Promise.all requires either an array of PromiseLike objects or objects of type T. A change when upgrading to Typescript 2.1.5 caused us to pass in the functions, rather than the promises returned by those functions as previously happened. This meant that Promises.all returned immediately as it thought it was returning an array of functions. - Fix is to explicitly define the promise return types, and go back to calling the methods so that we get promises back to wait on. * SqlToolsService update to 0.3.0.1 * Target Download Center for 0.3.0 release * Fixing regression where null cells are copied as blank strings (#736) - Fixes #734, a regression where null cells are copied as blank strings - To fix checksum issue on installing chrome for unit testing, now ignoring checksums * SqlToolsService 0.3.0.2 Update * Fix CI test runs broken by gulp-remote-src (#743) - gulp-remote-src v0.4.2 breaks the vscode test runner due to https://github.com/ddliu/gulp-remote-src/issues/11. This fixes the issue for us by explicitly binding to 0.4.1 which still works * Fix #711 MSSQL Extension will not run (#744) - Fixes #711 MSSQL Extension will not run - Update GetWindowsArchitecture to use new, simpler and more reliable method taken from the Omnisharp-VSCode implementation - Fixed issues where we were not returning promises as expected, and where we were accessing the _connectionManager even though it was not defined yet, since the extension was still initializing. This will help with overall reliability - Added test to verify handling of null ConnectionManager * SqlToolsService 0.3.0.4 * SqlToolsService 0.3.0.5 * Fix changelog open broken by VSCode 1.10.0 (#750) - Opening a local file in the HTML Preview pan is broken in 1.10. It looks like this is a bug in VSCode that isn't in the Insiders build - Moving to opening the Master changelog.md in the users default browser instead. This is consistent with our GettingStarted action. * Fix dates in changelog * SqlToolsService 0.3.0-alpha.14
2017-03-07 04:50:47 +03:00
"gulp-remote-src": "0.4.1",
"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",
"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",
2016-08-20 02:38:35 +03:00
"pm-mocha-jenkins-reporter": "^0.2.6",
"remap-istanbul": "^0.6.4",
"systemjs-builder": "^0.15.32",
"tslint": "^3.14.0",
"typemoq": "^1.7.0",
"typescript": "2.3.4",
"uglify-js": "mishoo/UglifyJS2#harmony-v2.8.22",
"vscode": "^1.0.5",
"vscode-nls-dev": "https://github.com/Raymondd/vscode-nls-dev/releases/download/2.0.2/build.tar.gz",
"xmldom": "^0.1.27",
"yargs": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz"
2016-07-14 02:25:29 +03:00
},
2016-06-26 21:49:47 +03:00
"dependencies": {
2016-12-06 05:13:15 +03:00
"applicationinsights": "^0.15.9",
"body-parser": "^1.15.2",
"comment-json": "^1.1.3",
"copy-paste": "^1.3.0",
"decompress": "^4.0.0",
2016-07-14 02:25:29 +03:00
"ejs": "^2.4.2",
2016-08-20 04:38:56 +03:00
"error-ex": "^1.3.0",
2016-07-14 02:25:29 +03:00
"express": "^4.13.3",
2016-08-20 04:38:56 +03:00
"figures": "^1.4.0",
"fs-extra-promise": "^0.3.1",
"getmac": "1.2.1",
"http-proxy-agent": "^1.0.0",
"https-proxy-agent": "^1.0.0",
"jsonc-parser": "^1.0.0",
"opener": "1.4.2",
"plist": "^2.1.0",
"pretty-data": "^0.40.0",
"request": "^2.73.0",
"semver": "https://registry.npmjs.org/semver/-/semver-5.0.3.tgz",
"tmp": "^0.0.28",
"underscore": "^1.8.3",
"vscode-extension-telemetry": "^0.0.5",
"vscode-languageclient": "^2.5.0",
"vscode-nls": "^2.0.2",
"ws": "^1.1.1"
2016-06-26 21:49:47 +03:00
},
2016-07-14 02:25:29 +03:00
"contributes": {
2016-06-26 21:49:47 +03:00
"languages": [
{
"id": "sql",
"extensions": [
".sql"
],
"aliases": [
"SQL"
],
"configuration": "./syntaxes/sql.configuration.json"
}
],
"grammars": [
{
"language": "sql",
"scopeName": "source.sql",
"path": "./syntaxes/SQL.plist"
}
],
"outputChannels": [
"MSSQL"
],
"snippets": [
{
"language": "sql",
"path": "./snippets/mssql.json"
}
],
"menus": {
"editor/context": [
{
"command": "extension.runQuery",
"when": "editorLangId == sql"
}
]
},
2016-06-26 21:49:47 +03:00
"commands": [
{
"command": "extension.runQuery",
"title": "Execute Query",
"category": "MS SQL"
2016-06-26 21:49:47 +03:00
},
{
"command": "extension.runCurrentStatement",
"title": "Execute Current Statement",
"category": "MS SQL"
},
{
"command": "extension.cancelQuery",
"title": "Cancel Query",
"category": "MS SQL"
},
2016-06-26 21:49:47 +03:00
{
"command": "extension.connect",
"title": "Connect",
"category": "MS SQL"
2016-06-26 21:49:47 +03:00
},
{
"command": "extension.disconnect",
"title": "Disconnect",
"category": "MS SQL"
},
{
"command": "extension.manageProfiles",
"title": "Manage Connection Profiles",
"category": "MS SQL"
},
{
"command": "extension.chooseDatabase",
"title": "Use Database",
"category": "MS SQL"
},
{
"command": "extension.showGettingStarted",
"title": "Getting Started Guide",
"category": "MS SQL"
},
{
"command": "extension.newQuery",
2017-03-10 02:24:51 +03:00
"title": "New Query",
"category": "MS SQL"
},
{
"command": "extension.rebuildIntelliSenseCache",
"title": "Refresh IntelliSense Cache",
"category": "MS SQL"
2016-06-26 21:49:47 +03:00
}
],
"keybindings": [
{
"command": "extension.runQuery",
"key": "ctrl+shift+e",
"mac": "cmd+shift+e",
"when": "editorTextFocus && editorLangId == 'sql'"
},
{
"command": "extension.connect",
"key": "ctrl+shift+c",
"mac": "cmd+shift+c",
"when": "editorTextFocus && editorLangId == 'sql'"
},
{
"command": "extension.disconnect",
"key": "ctrl+shift+d",
"mac": "cmd+shift+d",
"when": "editorTextFocus && editorLangId == 'sql'"
}
],
"configuration": {
"type": "object",
"title": "MSSQL configuration",
2016-07-14 02:25:29 +03:00
"properties": {
"mssql.logDebugInfo": {
2016-06-26 21:49:47 +03:00
"type": "boolean",
"default": false,
"description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)"
},
"mssql.maxRecentConnections": {
"type": "number",
"default": 5,
"description": "The maximum number of recently used connections to store in the connection list."
},
"mssql.connections": {
2016-06-26 21:49:47 +03:00
"type": "array",
2016-07-14 02:25:29 +03:00
"default": [
2016-06-26 21:49:47 +03:00
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": "{{put-password-here}}"
}
],
"description": "Connection profiles defined in 'User Settings' are shown under 'MS SQL: Connect' command in the command palette.",
2016-07-14 02:25:29 +03:00
"items": {
2016-06-26 21:49:47 +03:00
"type": "object",
2016-07-14 02:25:29 +03:00
"properties": {
"server": {
2016-06-26 21:49:47 +03:00
"type": "string",
"default": "{{put-server-name-here}}",
"description": "[Required] Specify the server name to connect to. Use 'hostname\\instance' or '<server>.database.windows.net' for Azure SQL Database."
2016-06-26 21:49:47 +03:00
},
2016-07-14 02:25:29 +03:00
"database": {
2016-06-26 21:49:47 +03:00
"type": "string",
"default": "{{put-database-name-here}}",
"description": "[Optional] Specify the database name to connect to. If database is not specified, the default user database setting is used, typically 'master'."
2016-06-26 21:49:47 +03:00
},
2016-07-14 02:25:29 +03:00
"user": {
2016-06-26 21:49:47 +03:00
"type": "string",
"default": "{{put-username-here}}",
"description": "[Optional] Specify the user name for SQL Server authentication. If user name is not specified, when you connect, you will be asked again."
},
2016-07-14 02:25:29 +03:00
"password": {
2016-06-26 21:49:47 +03:00
"type": "string",
"default": "{{put-password-here}}",
"description": "[Optional] Specify the password for SQL Server authentication. If password is not specified or already saved, when you connect, you will be asked again."
2016-06-26 21:49:47 +03:00
},
"authenticationType": {
"type": "string",
"default": "SqlLogin",
"enum": [
"Integrated",
"SqlLogin"
],
"description": "[Optional] Specify the SQL Server authentication type."
},
"port": {
"type": "number",
"default": 1433,
"description": "[Optional] Specify the port number to connect to."
},
"encrypt": {
"type": "boolean",
"default": false,
"description": "[Optional] When set to 'true', SQL Server uses SSL encryption for data sent between the client and the server if the server has a certificate installed. Set 'true' for Azure SQL Database connection."
},
"trustServerCertificate": {
"type": "boolean",
"default": false,
"description": "[Optional] When set to 'true', the SQL Server SSL certificate is automatically trusted when the communication layer is encrypted using SSL. Set 'false' for Azure SQL Database connection."
},
"persistSecurityInfo": {
"type": "boolean",
"default": false,
"description": "[Optional] When set to false, security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state."
},
"connectTimeout": {
"type": "number",
"default": 15,
"description": "[Optional] Specify the length of time in seconds to wait for a connection to the server before it times out. The default timeout value for Azure SQL Database is 30."
},
"connectRetryCount": {
2016-06-26 21:49:47 +03:00
"type": "number",
"default": 1,
"description": "[Optional] Specify the number of attempts to restore connection."
2016-06-26 21:49:47 +03:00
},
"connectRetryInterval": {
2016-06-26 21:49:47 +03:00
"type": "number",
"default": 10,
"description": "[Optional] Specify the delay between attempts to restore connection."
},
"applicationName": {
"type": "string",
"default": "vscode-mssql",
"description": "[Optional] Specify the name of the application used for SQL Server to log (default: 'vscode-mssql')."
},
"workstationId": {
"type": "string",
"default": "",
"description": "[Optional] Specify the name of the workstation connecting to SQL Server."
},
"applicationIntent": {
"type": "string",
"default": "ReadWrite",
"enum": [
"ReadWrite",
"ReadOnly"
],
"description": "[Optional] Declares the application workload type when connecting to SQL Server such as ReadWrite or ReadOnly. Refer to SQL Server AlwaysOn for more detail."
},
"currentLanguage": {
"type": "string",
"default": "",
"description": "[Optional] Indicates the SQL Server language settings."
},
"pooling": {
"type": "boolean",
"default": false,
"description": "[Optional] When set to 'true', the connection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool."
},
"maxPoolSize": {
"type": "number",
"default": 100,
"description": "[Optional] Specify the maximum number of connections allowed in the pool."
},
"minPoolSize": {
"type": "number",
"default": 0,
"description": "[Optional] Specify the minimum number of connections allowed in the pool."
},
"loadBalanceTimeout": {
"type": "number",
"default": 0,
"description": "[Optional] Specify the minimum amount of time in seconds for this connection to live in the pool before being removed/deleted."
},
"replication": {
"type": "boolean",
"default": true,
"description": "[Optional] Used by SQL Server in replication."
},
"attachDbFilename": {
"type": "string",
"default": "",
"description": "[Optional] Specify the name of the primary file, including the full path name, of an attachable database."
},
"failoverPartner": {
"type": "string",
"default": "",
"description": "[Optional] Specify the name or network address of the instance of SQL Server that acts as a failover partner."
},
"multiSubnetFailover": {
"type": "boolean",
"default": true,
"description": "[Optional] When set to 'true', the detection and connection to the active server is faster if AlwaysOn Availability Group is configured on different subnets."
},
"multipleActiveResultSets": {
"type": "boolean",
"default": false,
"description": "[Optional] When set to 'true', multiple result sets can be returned and read from on connection."
},
"packetSize": {
"type": "number",
"default": 8192,
"description": "[Optional] Specify the size in bytes of the network packets to communicate with SQL Server."
},
"typeSystemVersion": {
"type": "string",
"enum": [
"Latest"
],
"description": "[Optional] Indicates which server type the provider will expose through the DataReader."
},
"connectionString": {
"type": "string",
"default": "",
"description": "[Optional] The ADO.NET connection string to use for the connection. Overrides any other options given in this connection."
},
"profileName": {
"type": "string",
"description": "[Optional] Specify a custom name for this connection profile to easily browse and search in the command palette of Visual Studio Code."
},
"savePassword": {
"type": "boolean",
"description": "[Optional] When set to 'true', the password for SQL Server authentication is saved in the secure store of your operating system such as KeyChain in MacOS or Secure Store in Windows."
},
"emptyPasswordInput": {
"type": "boolean",
"description": "[Optional] Indicates whether this profile has an empty password explicitly set."
2016-06-26 21:49:47 +03:00
}
}
}
},
"mssql.shortcuts": {
"type": "object",
"description": "Shortcuts related to the results window",
"default": {
"_comment": "Short cuts must follow the format (ctrl)+(shift)+(alt)+[key]",
"event.toggleResultPane": "ctrl+alt+r",
"event.toggleMessagePane": "ctrl+alt+y",
"event.prevGrid": "ctrl+up",
"event.nextGrid": "ctrl+down",
"event.copySelection": "ctrl+c",
"event.copyWithHeaders": "",
"event.maximizeGrid": "",
"event.selectAll": "",
"event.saveAsJSON": "",
"event.saveAsCSV": "",
"event.saveAsExcel": ""
}
},
"mssql.messagesDefaultOpen": {
"type": "boolean",
"description": "True for the messages pane to be open by default; false for closed",
"default": true
},
"mssql.resultsFontFamily": {
"type": "string",
"description": "Set the font family for the results grid; set to blank to use the editor font",
"default": "-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif"
},
"mssql.resultsFontSize": {
"type": "number",
"description": "Set the font size for the results grid; set to blank to use the editor size",
"default": 13
},
"mssql.saveAsCsv.includeHeaders": {
"type": "boolean",
"description": "[Optional] When true, column headers are included when saving results as CSV",
"default": true
},
"mssql.copyIncludeHeaders": {
"type": "boolean",
"description": "[Optional] Configuration options for copying results from the Results View",
"default": false
},
"mssql.copyRemoveNewLine": {
"type": "boolean",
"description": "[Optional] Configuration options for copying multi-line results from the Results View",
"default": true
},
"mssql.showBatchTime": {
"type": "boolean",
"description": "[Optional] Should execution time be shown for individual batches",
"default": false
},
"mssql.splitPaneSelection": {
"type": "string",
"description": "[Optional] Configuration options for which column new result panes should open in",
"default": "next",
"enum": [
"next",
"current",
"end"
]
},
"mssql.format.alignColumnDefinitionsInColumns": {
"type": "boolean",
"description": "Should column definitions be aligned?",
"default": false
},
"mssql.format.datatypeCasing": {
"type": "string",
"description": "Should data types be formatted as UPPERCASE, lowercase, or none (not formatted)",
"default": "none",
"enum": [
"none",
"uppercase",
"lowercase"
]
},
"mssql.format.keywordCasing": {
"type": "string",
"description": "Should keywords be formatted as UPPERCASE, lowercase, or none (not formatted)",
"default": "none",
"enum": [
"none",
"uppercase",
"lowercase"
]
},
"mssql.format.placeCommasBeforeNextStatement": {
"type": "boolean",
"description": "should commas be placed at the beginning of each statement in a list e.g. ', mycolumn2' instead of at the end e.g. 'mycolumn1,'",
"default": false
},
"mssql.format.placeSelectStatementReferencesOnNewLine": {
"type": "boolean",
"description": "Should references to objects in a select statements be split into separate lines? E.g. for 'SELECT C1, C2 FROM T1' both C1 and C2 will be on separate lines",
"default": false
},
"mssql.applyLocalization": {
"type": "boolean",
"description": "[Optional] Configuration options for localizing into VSCode's configured locale (must restart VSCode for settings to take effect)",
"default": false
},
"mssql.query.displayBitAsNumber": {
"type": "boolean",
"default": true,
"description": "Should BIT columns be displayed as numbers (1 or 0)? If false, BIT columns will be displayed as 'true' or 'false'"
},
"mssql.intelliSense.enableIntelliSense": {
"type": "boolean",
"default": true,
"description": "Should IntelliSense be enabled"
},
"mssql.intelliSense.enableErrorChecking": {
"type": "boolean",
"default": true,
"description": "Should IntelliSense error checking be enabled"
},
"mssql.intelliSense.enableSuggestions": {
"type": "boolean",
"default": true,
"description": "Should IntelliSense suggestions be enabled"
},
"mssql.intelliSense.enableQuickInfo": {
"type": "boolean",
"default": true,
"description": "Should IntelliSense quick info be enabled"
},
"mssql.intelliSense.lowerCaseSuggestions": {
"type": "boolean",
"default": false,
"description": "Should IntelliSense suggestions be lowercase"
2016-06-26 21:49:47 +03:00
}
}
}
},
"scripts": {
2016-07-23 00:47:21 +03:00
"postinstall": "node ./node_modules/vscode/bin/install",
"install-packages": "npm install github:gulpjs/gulp#4.0 && npm install gulp-install && gulp --gulpfile install.js install"
2016-06-26 21:49:47 +03:00
}
}