mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Code: fix ts langserver launch cwd and its version
This commit is contained in:
parent
d13c15b862
commit
25042bde23
3 changed files with 14 additions and 5 deletions
|
@ -140,7 +140,7 @@
|
|||
"dependencies": {
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/eui": "6.0.1",
|
||||
"@elastic/javascript-typescript-langserver": "^0.1.7",
|
||||
"@elastic/javascript-typescript-langserver": "^0.1.8",
|
||||
"@elastic/lsp-extension": "^0.1.1",
|
||||
"@elastic/node-crypto": "0.1.2",
|
||||
"@elastic/numeral": "2.3.2",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
import { spawn } from 'child_process';
|
||||
import getPort from 'get-port';
|
||||
import { resolve } from 'path';
|
||||
import { ServerOptions } from '../server_options';
|
||||
import { LoggerFactory } from '../utils/log_factory';
|
||||
import { promiseTimeout } from '../utils/timeout';
|
||||
|
@ -55,6 +56,7 @@ export class TypescriptServerLauncher implements ILanguageServerLauncher {
|
|||
{
|
||||
detached: false,
|
||||
stdio: 'inherit',
|
||||
cwd: resolve(installationPath, '../..'),
|
||||
}
|
||||
);
|
||||
this.isRunning = true;
|
||||
|
|
15
yarn.lock
15
yarn.lock
|
@ -842,13 +842,15 @@
|
|||
oppsy "2.x.x"
|
||||
pumpify "1.3.x"
|
||||
|
||||
"@elastic/javascript-typescript-langserver@^0.1.7":
|
||||
version "0.1.7"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/javascript-typescript-langserver/-/javascript-typescript-langserver-0.1.7.tgz#6489a2f9e3f1dd79a4634ee960581956e6bc9d7c"
|
||||
integrity sha512-w2DqyUnlmLFzNtCN0V/FRU6LpLvu95KR4qQWgyX7RrVmPPgdfJbgnf2HVwP45dZ/Xd7UqBNzMV8tijJrF/Z0SQ==
|
||||
"@elastic/javascript-typescript-langserver@^0.1.8":
|
||||
version "0.1.8"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/javascript-typescript-langserver/-/javascript-typescript-langserver-0.1.8.tgz#45f4eb6b97820bc51722501e67dffc0c8754bc19"
|
||||
integrity sha512-qRqN+Ch92OZSep43NI5mZ8nik2fxW78ukyf1ppcgA/9/ftoieYeK5uoTstm+LWQSzQ0bU1M3V9PhKQdjHKjEpg==
|
||||
dependencies:
|
||||
"@elastic/lsp-extension" "^0.1.1"
|
||||
javascript-typescript-langserver "^2.11.1"
|
||||
rxjs "^5.5.0"
|
||||
typescript "^3.2.2"
|
||||
|
||||
"@elastic/lsp-extension@^0.1.1":
|
||||
version "0.1.1"
|
||||
|
@ -22303,6 +22305,11 @@ typescript@^3.0.3, typescript@~3.0.3:
|
|||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"
|
||||
integrity sha512-kk80vLW9iGtjMnIv11qyxLqZm20UklzuR2tL0QAnDIygIUIemcZMxlMWudl9OOt76H3ntVzcTiddQ1/pAAJMYg==
|
||||
|
||||
typescript@^3.2.2:
|
||||
version "3.2.2"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
|
||||
integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
|
||||
|
||||
ua-parser-js@^0.7.18, ua-parser-js@^0.7.9:
|
||||
version "0.7.18"
|
||||
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue