Use common TS install for both the TS Extension and Html Extension (#21578)

* Use common TS install for both the TS Extension and Html Extension

**Bug**
At least two version of Typescript are shipped in our extensions: one in the typescript extension and one for the html extension. This adds about 5MB to package install size and also results in inconsistent behavior

**Fix**
Change the TypeScript extension to also use the common version of TypeScript. Bump this version up to 2.2.1

* Don't hardcode paths for typescript
This commit is contained in:
Matt Bierner
2017-03-01 18:34:04 -08:00
committed by GitHub
parent 6b74e23c53
commit 434def671b
8 changed files with 20 additions and 61 deletions

View File

@@ -13,15 +13,13 @@
"dependencies": {
"semver": "4.3.6",
"vscode-extension-telemetry": "^0.0.6",
"vscode-nls": "^2.0.1",
"typescript": "typescript@2.2.1"
"vscode-nls": "^2.0.1"
},
"devDependencies": {
"@types/node": "^7.0.4",
"@types/semver": "^5.3.30"
},
"scripts": {
"postinstall": "node ./bin/postinstall",
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:typescript ./tsconfig.json",
"update-grammars": "node ./build/update-grammars.js"
},