3003: Remove rollup-typescript r=matklad a=matklad

It seems like just calling typescript directly is simpler and more reliable?


@Veetaha what do you think about this approach?

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-02-03 17:11:36 +00:00 committed by GitHub
commit b090ee5a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 16 deletions

View file

@ -61,16 +61,6 @@
}
}
},
"@rollup/plugin-typescript": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-2.1.0.tgz",
"integrity": "sha512-7lXKGY06aofrceVez/YnN2axttFdHSqlUBpCJ6ebzDfxwLDKMgSV5lD4ykBcdgE7aK3egxuLkD/HKyRB5L8Log==",
"dev": true,
"requires": {
"@rollup/pluginutils": "^3.0.0",
"resolve": "^1.13.1"
}
},
"@rollup/pluginutils": {
"version": "3.0.8",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.8.tgz",

View file

@ -18,9 +18,9 @@
"vscode": "^1.41.0"
},
"scripts": {
"vscode:prepublish": "rollup -c",
"vscode:prepublish": "tsc && rollup -c",
"package": "vsce package",
"watch": "tsc -watch -p ./",
"watch": "tsc --watch",
"fmt": "tsfmt -r && tslint -c tslint.json 'src/**/*.ts' --fix"
},
"dependencies": {
@ -30,7 +30,6 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^2.0.0",
"@types/node": "^12.12.25",
"@types/vscode": "^1.41.0",
"rollup": "^1.31.0",

View file

@ -1,12 +1,10 @@
import typescript from '@rollup/plugin-typescript';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import nodeBuiltins from 'builtin-modules';
export default {
input: 'src/main.ts',
input: 'out/main.js',
plugins: [
typescript(),
resolve({
preferBuiltins: true
}),