typescript-language-server
Advanced tools
Comparing version 4.2.0 to 4.3.0
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
## [4.3.0](https://github.com/typescript-language-server/typescript-language-server/compare/v4.2.0...v4.3.0) (2024-01-08) | ||
### Features | ||
* support specifying language IDs in plugins ([#834](https://github.com/typescript-language-server/typescript-language-server/issues/834)) ([e9c0b11](https://github.com/typescript-language-server/typescript-language-server/commit/e9c0b117a9a5e273eb517dc0d337ecdf973f3dac)) | ||
### Bug Fixes | ||
* avoid sending window/workDoneProgress/create before init ([#846](https://github.com/typescript-language-server/typescript-language-server/issues/846)) ([625048f](https://github.com/typescript-language-server/typescript-language-server/commit/625048fac8533bccdeda82ee140d4f7792d9fb04)) | ||
## [4.2.0](https://github.com/typescript-language-server/typescript-language-server/compare/v4.1.3...v4.2.0) (2023-12-09) | ||
@@ -5,0 +17,0 @@ |
{ | ||
"name": "typescript-language-server", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "Language Server Protocol (LSP) implementation for TypeScript using tsserver", | ||
@@ -22,10 +22,9 @@ "author": "TypeFox and others", | ||
"scripts": { | ||
"dev": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript --watch", | ||
"build": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript", | ||
"clean": "rimraf lib *.tsbuildinfo", | ||
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules CONSOLE_LOG_LEVEL=warning jest", | ||
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules CONSOLE_LOG_LEVEL=warning jest --watch", | ||
"test": "cross-env CONSOLE_LOG_LEVEL=warning vitest", | ||
"test:commit": "cross-env CONSOLE_LOG_LEVEL=warning vitest run", | ||
"lint": "eslint --ext \".js,.ts\" src", | ||
"fix": "eslint --ext \".js,.ts\" --fix src", | ||
"build": "concurrently -n compile,lint -c blue,green \"yarn compile\" \"yarn lint\"", | ||
"compile": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript", | ||
"watch": "rimraf lib && rollup --config rollup.config.ts --configPlugin typescript --watch", | ||
"size": "yarn build && yarn size-limit", | ||
@@ -40,3 +39,3 @@ "postversion": "git push --follow-tags", | ||
"hooks": { | ||
"pre-commit": "yarn lint && yarn test && yarn build", | ||
"pre-commit": "concurrently -n build,lint,test \"yarn build\" \"yarn lint\" \"yarn test:commit\"", | ||
"post-merge": "yarn" | ||
@@ -46,4 +45,2 @@ } | ||
"devDependencies": { | ||
"@babel/core": "^7.23.5", | ||
"@babel/preset-env": "^7.23.5", | ||
"@rollup/plugin-commonjs": "^25.0.7", | ||
@@ -54,11 +51,8 @@ "@rollup/plugin-node-resolve": "^15.2.3", | ||
"@size-limit/file": "^11.0.1", | ||
"@types/deepmerge": "^2.2.0", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^18.19.3", | ||
"@types/node": "^18.19.5", | ||
"@types/semver": "^7.5.6", | ||
"@types/which": "^3.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"babel-jest": "^29.7.0", | ||
"@typescript-eslint/eslint-plugin": "^6.18.0", | ||
"@typescript-eslint/parser": "^6.18.0", | ||
"commander": "^11.1.0", | ||
@@ -68,11 +62,10 @@ "concurrently": "^8.2.2", | ||
"deepmerge": "^4.3.1", | ||
"eslint": "^8.55.0", | ||
"eslint-plugin-jest": "^27.6.0", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-vitest": "^0.3.20", | ||
"fs-extra": "^11.2.0", | ||
"husky": "4.x", | ||
"jest": "^29.7.0", | ||
"p-debounce": "^4.0.0", | ||
"pkg-up": "^4.0.0", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.7.0", | ||
"rollup": "^4.9.4", | ||
"semver": "^7.5.4", | ||
@@ -82,6 +75,4 @@ "size-limit": "^11.0.1", | ||
"tempy": "^3.1.0", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.2", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.1.3", | ||
"vscode-jsonrpc": "^8.2.0", | ||
@@ -92,4 +83,5 @@ "vscode-languageserver": "^9.0.1", | ||
"vscode-uri": "^3.0.8", | ||
"which": "^4.0.0" | ||
"which": "^4.0.0", | ||
"why-is-node-running": "^2.2.2" | ||
} | ||
} |
@@ -34,4 +34,4 @@ [![Discord][discord-src]][discord-href] | ||
- [Build](#build) | ||
- [Dev](#dev) | ||
- [Test](#test) | ||
- [Watch](#watch) | ||
- [Publishing](#publishing) | ||
@@ -281,18 +281,20 @@ | ||
```sh | ||
yarn | ||
yarn build | ||
``` | ||
### Dev | ||
Build and rebuild on change. | ||
```sh | ||
yarn dev | ||
``` | ||
### Test | ||
- `yarn test` - run all tests | ||
- `yarn test:watch` - run all tests and enable watch mode for developing | ||
- `yarn test` - run all tests in watch mode for developing | ||
- `yarn test:commit` - run all tests once | ||
By default only console logs of level `warning` and higher are printed to the console. You can override the `CONSOLE_LOG_LEVEL` level in `package.json` to either `log`, `info`, `warning` or `error` to log other levels. | ||
### Watch | ||
```sh | ||
yarn watch | ||
``` | ||
### Publishing | ||
@@ -299,0 +301,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2232692
36
21809
308