Skip to content

Commit

Permalink
Use types directive in client
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Jun 12, 2020
1 parent 7c1c32e commit 60f25b0
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ vscode-languageserver-types*.tgz
vscode-languageserver-textdocument*.tgz
vscode-jsonrpc*.tgz
vscode-languageserver-protocol*.tgz
vscode-languageserver*.tgz
vscode-languageserver*.tgz
vscode-languageclient*.tgz
10 changes: 5 additions & 5 deletions client/.npmignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.vscode/
lib/test/
lib/**/test/
.vscode-test/
lib/*.map
lib/tsconfig.tsbuildInfo
lib/tsconfig-watch.tsbuildInfo
lib/**/*.map
lib/**/*.tsbuildInfo
src/
test/
bin/
.eslintrc*
.eslintignore
.mocharc*
.gitignore
gulpfile.js
tsd.json
tsconfig.json
tsconfig*.json
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prepublishOnly": "npm run clean && node ./bin/updateVSCode.js && npm run compile && npm test",
"postpublish": "node ../build/npm/post-publish.js",
"compile": "node ../build/bin/tsc -b ./tsconfig.json && shx cp src/node/terminateProcess.sh lib/node/terminateProcess.sh",
"watch": "node ../build/bin/tsc -b ./tsconfig.json -w",
"watch": "node ../build/bin/tsc -b ./tsconfig-watch.json -w",
"test": "cd ../client-node-tests && npm test && cd ../client",
"clean": "node ../node_modules/rimraf/bin.js lib",
"preversion": "npm test"
Expand Down
2 changes: 1 addition & 1 deletion client/src/browser/tsconfig-watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"noUnusedLocals": false,
"noUnusedParameters": false,
"assumeChangesOnlyAffectDirectDependencies": true,
"tsBuildInfoFile":"../../lib/browser-watch.tsbuildInfo"
"tsBuildInfoFile":"../../lib/browser/watch.tsbuildInfo"
},
"references": [
{ "path": "../common/tsconfig-watch.json" },
Expand Down
2 changes: 1 addition & 1 deletion client/src/browser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"tsBuildInfoFile":"../../lib/browser.tsbuildInfo",
"tsBuildInfoFile":"../../lib/browser/compile.tsbuildInfo",
"rootDir": ".",
"outDir": "../../lib/browser",
"lib": [ "es2017", "webworker"]
Expand Down
2 changes: 1 addition & 1 deletion client/src/common/tsconfig-watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"noUnusedLocals": false,
"noUnusedParameters": false,
"assumeChangesOnlyAffectDirectDependencies": true,
"tsBuildInfoFile":"../../lib/common-watch.tsbuildInfo"
"tsBuildInfoFile":"../../lib/common/watch.tsbuildInfo"
},
"references": [
{ "path": "../../../protocol/src/common/tsconfig-watch.json" }
Expand Down
2 changes: 1 addition & 1 deletion client/src/common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"tsBuildInfoFile":"../../lib/common.tsbuildInfo",
"tsBuildInfoFile":"../../lib/common/compile.tsbuildInfo",
"rootDir": ".",
"outDir": "../../lib/common"
},
Expand Down
14 changes: 0 additions & 14 deletions client/src/node/package-lock.json

This file was deleted.

18 changes: 0 additions & 18 deletions client/src/node/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion client/src/node/tsconfig-watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"noUnusedLocals": false,
"noUnusedParameters": false,
"assumeChangesOnlyAffectDirectDependencies": true,
"tsBuildInfoFile":"../../lib/node-watch.tsbuildInfo"
"tsBuildInfoFile":"../../lib/node/watch.tsbuildInfo"
},
"references": [
{ "path": "../common/tsconfig-watch.json" },
Expand Down
7 changes: 5 additions & 2 deletions client/src/node/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"tsBuildInfoFile":"../../lib/node.tsbuildInfo",
"tsBuildInfoFile":"../../lib/node/compile.tsbuildInfo",
"rootDir": ".",
"outDir": "../../lib/node"
"outDir": "../../lib/node",
"types": [
"node"
]
},
"include": [
"."
Expand Down

0 comments on commit 60f25b0

Please sign in to comment.