typescript-language-server 4.2.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +12 -10
- package/lib/cli.mjs +68 -37
- package/lib/cli.mjs.map +1 -1
- package/package.json +16 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-language-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Language Server Protocol (LSP) implementation for TypeScript using tsserver",
|
|
5
5
|
"author": "TypeFox and others",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,14 +19,13 @@
|
|
|
19
19
|
"typescript-language-server": "./lib/cli.mjs"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
+
"dev": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript --watch",
|
|
23
|
+
"build": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript",
|
|
22
24
|
"clean": "rimraf lib *.tsbuildinfo",
|
|
23
|
-
"test": "cross-env
|
|
24
|
-
"test:
|
|
25
|
+
"test": "cross-env CONSOLE_LOG_LEVEL=warning vitest",
|
|
26
|
+
"test:commit": "cross-env CONSOLE_LOG_LEVEL=warning vitest run",
|
|
25
27
|
"lint": "eslint --ext \".js,.ts\" src",
|
|
26
28
|
"fix": "eslint --ext \".js,.ts\" --fix src",
|
|
27
|
-
"build": "concurrently -n compile,lint -c blue,green \"yarn compile\" \"yarn lint\"",
|
|
28
|
-
"compile": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript",
|
|
29
|
-
"watch": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript --watch",
|
|
30
29
|
"size": "yarn build && yarn size-limit",
|
|
31
30
|
"postversion": "git push --follow-tags",
|
|
32
31
|
"prepare": "cd test-data/jsx && yarn"
|
|
@@ -36,53 +35,46 @@
|
|
|
36
35
|
],
|
|
37
36
|
"husky": {
|
|
38
37
|
"hooks": {
|
|
39
|
-
"pre-commit": "
|
|
38
|
+
"pre-commit": "concurrently -n build,lint,test \"yarn build\" \"yarn lint\" \"yarn test:commit\"",
|
|
40
39
|
"post-merge": "yarn"
|
|
41
40
|
}
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
|
-
"@babel/core": "^7.23.5",
|
|
45
|
-
"@babel/preset-env": "^7.23.5",
|
|
46
43
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
47
44
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
48
45
|
"@rollup/plugin-terser": "^0.4.4",
|
|
49
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
46
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
50
47
|
"@size-limit/file": "^11.0.1",
|
|
51
|
-
"@types/deepmerge": "^2.2.0",
|
|
52
48
|
"@types/fs-extra": "^11.0.4",
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/node": "^18.19.3",
|
|
49
|
+
"@types/node": "^18.19.6",
|
|
55
50
|
"@types/semver": "^7.5.6",
|
|
56
51
|
"@types/which": "^3.0.3",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
58
|
-
"@typescript-eslint/parser": "^6.
|
|
59
|
-
"babel-jest": "^29.7.0",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
53
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
60
54
|
"commander": "^11.1.0",
|
|
61
55
|
"concurrently": "^8.2.2",
|
|
62
56
|
"cross-env": "^7.0.3",
|
|
63
57
|
"deepmerge": "^4.3.1",
|
|
64
|
-
"eslint": "^8.
|
|
65
|
-
"eslint-plugin-
|
|
58
|
+
"eslint": "^8.56.0",
|
|
59
|
+
"eslint-plugin-vitest": "^0.3.20",
|
|
66
60
|
"fs-extra": "^11.2.0",
|
|
67
61
|
"husky": "4.x",
|
|
68
|
-
"jest": "^29.7.0",
|
|
69
62
|
"p-debounce": "^4.0.0",
|
|
70
63
|
"pkg-up": "^4.0.0",
|
|
71
64
|
"rimraf": "^5.0.5",
|
|
72
|
-
"rollup": "^4.
|
|
65
|
+
"rollup": "^4.9.5",
|
|
73
66
|
"semver": "^7.5.4",
|
|
74
67
|
"size-limit": "^11.0.1",
|
|
75
68
|
"source-map-support": "^0.5.21",
|
|
76
69
|
"tempy": "^3.1.0",
|
|
77
|
-
"ts-jest": "^29.1.1",
|
|
78
|
-
"ts-node": "^10.9.2",
|
|
79
|
-
"tslib": "^2.6.2",
|
|
80
70
|
"typescript": "^5.3.3",
|
|
71
|
+
"vitest": "^1.2.0",
|
|
81
72
|
"vscode-jsonrpc": "^8.2.0",
|
|
82
73
|
"vscode-languageserver": "^9.0.1",
|
|
83
74
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
84
75
|
"vscode-languageserver-textdocument": "1.0.11",
|
|
85
76
|
"vscode-uri": "^3.0.8",
|
|
86
|
-
"which": "^4.0.0"
|
|
77
|
+
"which": "^4.0.0",
|
|
78
|
+
"why-is-node-running": "^2.2.2"
|
|
87
79
|
}
|
|
88
80
|
}
|