Move vscode from dependencies to devDependencies (#7864)

* Update package.json

Move vscode out of dependencies

* Change extensions.js
This commit is contained in:
Amir Omidi
2019-10-21 14:20:46 -07:00
committed by GitHub
parent 143b70c6a8
commit a646af2ad2
3 changed files with 4 additions and 7 deletions

View File

@@ -200,8 +200,7 @@ const sqlBuiltInExtensions = [
'dacpac', 'dacpac',
'schema-compare', 'schema-compare',
'cms', 'cms',
'query-history', 'query-history'
'resource-deployment'
]; ];
const builtInExtensions = process.env['VSCODE_QUALITY'] === 'stable' ? require('../builtInExtensions.json') : require('../builtInExtensions-insiders.json'); const builtInExtensions = process.env['VSCODE_QUALITY'] === 'stable' ? require('../builtInExtensions.json') : require('../builtInExtensions-insiders.json');
// {{SQL CARBON EDIT}} - End // {{SQL CARBON EDIT}} - End

View File

@@ -230,15 +230,13 @@ const sqlBuiltInExtensions = [
// the extension will be excluded from SQLOps package and will have separate vsix packages // the extension will be excluded from SQLOps package and will have separate vsix packages
'admin-tool-ext-win', 'admin-tool-ext-win',
'agent', 'agent',
'big-data-cluster',
'import', 'import',
'profiler', 'profiler',
'admin-pack', 'admin-pack',
'dacpac', 'dacpac',
'schema-compare', 'schema-compare',
'cms', 'cms',
'query-history', 'query-history'
'resource-deployment'
]; ];
interface IBuiltInExtension { interface IBuiltInExtension {

View File

@@ -340,7 +340,6 @@
"dependencies": { "dependencies": {
"promisify-child-process": "^3.1.1", "promisify-child-process": "^3.1.1",
"sudo-prompt": "^9.0.0", "sudo-prompt": "^9.0.0",
"vscode": "^1.1.26",
"vscode-nls": "^4.0.0", "vscode-nls": "^4.0.0",
"yamljs": "^0.3.0" "yamljs": "^0.3.0"
}, },
@@ -348,6 +347,7 @@
"@types/yamljs": "0.2.30", "@types/yamljs": "0.2.30",
"mocha-junit-reporter": "^1.17.0", "mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7", "mocha-multi-reporters": "^1.1.7",
"typemoq": "^2.1.0" "typemoq": "^2.1.0",
"vscode": "^1.1.26"
} }
} }