mirror of
https://github.com/gluon-lang/gluon_language-server.git
synced 2025-08-04 18:18:18 +00:00
chore: Bump typescript to 2.0.0 and the language server to 3.0.0
This commit is contained in:
parent
a96d2931eb
commit
b62145bd54
6 changed files with 36 additions and 38 deletions
|
@ -1,16 +1,12 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=759670
|
||||
// for the documentation about the jsconfig.json format
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"jspm_packages",
|
||||
"tmp",
|
||||
"temp"
|
||||
]
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"lib": [
|
||||
"es6"
|
||||
]
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
|
14
package.json
14
package.json
|
@ -7,7 +7,7 @@
|
|||
"publisher": "Marwes",
|
||||
"repository": "https://github.com/gluon-lang/gluon_language-server",
|
||||
"engines": {
|
||||
"vscode": "^0.10.10"
|
||||
"vscode": "^1.8.1"
|
||||
},
|
||||
"categories": [
|
||||
"Other"
|
||||
|
@ -95,16 +95,18 @@
|
|||
]
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
|
||||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
||||
"vscode:prepublish": "tsc -p ./",
|
||||
"compile": "tsc -watch -p ./",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^1.8.9"
|
||||
"typescript": "^2.0.3",
|
||||
"@types/node": "^6.0.40",
|
||||
"vscode": "^1.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"vscode-debugadapter": "^1.13.1",
|
||||
"vscode-languageclient": "^2.6.3",
|
||||
"vscode": "^0.11.0"
|
||||
"vscode-languageclient": "^3.0.3",
|
||||
"vscode": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,12 +54,12 @@ let from f : (Int -> Option a) -> Stream a =
|
|||
#[test]
|
||||
fn simple_hover() {
|
||||
let hover: Hover = support::send_rpc(|mut stdin| {
|
||||
|
||||
support::did_open(stdin, "test", "123");
|
||||
let uri = "file:///c%3A/test/test.glu";
|
||||
support::did_open(stdin, uri, "123");
|
||||
|
||||
hover(stdin,
|
||||
2,
|
||||
"test",
|
||||
uri,
|
||||
Position {
|
||||
line: 0,
|
||||
character: 2,
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES5",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "out/src",
|
||||
"noLib": true,
|
||||
"sourceMap": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"server"
|
||||
]
|
||||
}
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"outDir": "out",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": "."
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".vscode-test"
|
||||
]
|
||||
}
|
||||
|
|
1
typings/node.d.ts
vendored
1
typings/node.d.ts
vendored
|
@ -1 +0,0 @@
|
|||
/// <reference path="../node_modules/vscode/typings/node.d.ts" />
|
1
typings/vscode-typings.d.ts
vendored
1
typings/vscode-typings.d.ts
vendored
|
@ -1 +0,0 @@
|
|||
/// <reference path="../node_modules/vscode/typings/index.d.ts" />
|
Loading…
Add table
Add a link
Reference in a new issue