[Code] update lsp related dependencies (#28099)

This commit is contained in:
Fuyao Zhao 2019-01-04 14:44:39 -05:00 committed by GitHub
parent 4d1bf85ffd
commit 1163efbe02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 26 deletions

View file

@ -140,6 +140,8 @@
"dependencies": {
"@elastic/datemath": "5.0.2",
"@elastic/eui": "6.0.1",
"@elastic/javascript-typescript-langserver": "^0.1.7",
"@elastic/lsp-extension": "^0.1.1",
"@elastic/node-crypto": "0.1.2",
"@elastic/node-phantom-simple": "2.2.4",
"@elastic/numeral": "2.3.2",
@ -183,8 +185,6 @@
"dataloader": "^1.4.0",
"dedent": "^0.7.0",
"dragselect": "1.8.1",
"elastic-javascript-typescript-langserver": "0.1.5",
"elastic-lsp-extension": "^0.1.0",
"elasticsearch": "^15.2.0",
"extract-zip": "1.5.0",
"file-saver": "^1.3.8",

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { SymbolLocator } from 'elastic-lsp-extension';
import { SymbolLocator } from '@elastic/lsp-extension';
import { TextDocumentPositionParams } from 'vscode-languageserver';
import {
Definition,

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { DetailSymbolInformation } from 'elastic-lsp-extension';
import { DetailSymbolInformation } from '@elastic/lsp-extension';
import { IRange } from 'monaco-editor';
import { Repository, SourceHit } from '../model';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { DetailSymbolInformation } from 'elastic-lsp-extension';
import { DetailSymbolInformation } from '@elastic/lsp-extension';
import { kfetch } from 'ui/kfetch';
import { Location } from 'vscode-languageserver';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { SymbolLocator } from 'elastic-lsp-extension';
import { SymbolLocator } from '@elastic/lsp-extension';
import { editor, languages } from 'monaco-editor';
import { Location } from 'vscode-languageserver-types';
import { LspRestClient, TextDocumentMethods } from '../../../common/lsp_client';

View file

@ -26,7 +26,7 @@ export const TYPESCRIPT: LanguageServerDefinition = {
launcher: TypescriptServerLauncher,
installationType: InstallationType.Embed,
embedPath: path.join(
path.dirname(require.resolve('elastic-javascript-typescript-langserver/package.json')),
path.dirname(require.resolve('@elastic/javascript-typescript-langserver/package.json')),
'lib/language-server.js'
),
};

View file

@ -13,8 +13,7 @@ import path from 'path';
import { ResponseMessage } from 'vscode-jsonrpc/lib/messages';
import { Hover, Location, TextDocumentPositionParams } from 'vscode-languageserver';
import { Full } from 'elastic-lsp-extension';
import { DetailSymbolInformation } from 'elastic-lsp-extension';
import { DetailSymbolInformation, Full } from '@elastic/lsp-extension';
import { RepositoryUtils } from '../../common/repository_utils';
import { parseLspUrl } from '../../common/uri_util';

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { DetailSymbolInformation } from 'elastic-lsp-extension';
import { DetailSymbolInformation } from '@elastic/lsp-extension';
import { SymbolSearchRequest, SymbolSearchResult } from '../../model';
import { SymbolIndexNamePrefix } from '../indexer/schema';

View file

@ -981,6 +981,22 @@
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==
dependencies:
"@elastic/lsp-extension" "^0.1.1"
javascript-typescript-langserver "^2.11.1"
"@elastic/lsp-extension@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@elastic/lsp-extension/-/lsp-extension-0.1.1.tgz#b1f252e266986a181b8f1669ddde393a2a004624"
integrity sha512-4HsihoA0lGKH1euMueelnzkFVo3WHN01aBTFBAI8r9D2st3T3nveRjMkWrznAhZ6vfby8U61ssQf4+NjBB019g==
dependencies:
vscode-languageserver "^4.2.1"
vscode-languageserver-types "^3.10.0"
"@elastic/node-crypto@0.1.2":
version "0.1.2"
resolved "https://registry.yarnpkg.com/@elastic/node-crypto/-/node-crypto-0.1.2.tgz#c18ac282f635e88f041cc1555d806e492ca8f3b1"
@ -7840,22 +7856,6 @@ ejs@^2.2.4, ejs@^2.3.1:
resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.5.7.tgz#cc872c168880ae3c7189762fd5ffc00896c9518a"
integrity sha1-zIcsFoiArjxxiXYv1f/ACJbJUYo=
elastic-javascript-typescript-langserver@0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/elastic-javascript-typescript-langserver/-/elastic-javascript-typescript-langserver-0.1.5.tgz#547027436ba8e9990c102476a2afe6012419ff98"
integrity sha512-mhlIK+A7M9Im23JdIGxN8TQkbc3e9qUexoStDMxd4QnfqqLP1u4yUc0kLO8vKM2VYftUF4MnbDUuogcg0X49fA==
dependencies:
elastic-lsp-extension "^0.1.0"
javascript-typescript-langserver "^2.11.1"
elastic-lsp-extension@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/elastic-lsp-extension/-/elastic-lsp-extension-0.1.0.tgz#535ea7b380107b6142ea6d24ff353fa677d4f62b"
integrity sha512-BAUaLto2rkpWM0eZesFUrScmd7KdfR1M8YUH40uTSSqh7QhPOZezFubQ3Ll8bOqy7a07aIrSJOtc3aaDsTAvrw==
dependencies:
vscode-languageserver "^4.2.1"
vscode-languageserver-types "^3.10.0"
elasticsearch-browser@^15.2.0:
version "15.2.0"
resolved "https://registry.yarnpkg.com/elasticsearch-browser/-/elasticsearch-browser-15.2.0.tgz#3af0d4b6ffbd125842c7082bbdd99ae4afcba27b"