From 27cb3a04188372d1ce50c10eab31a915b8643bb9 Mon Sep 17 00:00:00 2001 From: Jonathan Cammisuli Date: Tue, 6 Sep 2022 17:29:00 -0400 Subject: [PATCH] fix build and clean imports --- apps/nxls/src/main.ts | 10 ++-------- apps/vscode/src/main.ts | 1 + 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/apps/nxls/src/main.ts b/apps/nxls/src/main.ts index 0b8ebc9d7b..76b924386e 100644 --- a/apps/nxls/src/main.ts +++ b/apps/nxls/src/main.ts @@ -16,13 +16,8 @@ import { mergeArrays, setLspLogger, } from '@nx-console/language-server/utils'; -import { - ClientCapabilities, - CompletionList, - getLanguageService, - LanguageService, - TextDocument, -} from 'vscode-json-languageservice'; +import { nxWorkspace } from '@nx-console/workspace'; +import { CompletionList, TextDocument } from 'vscode-json-languageservice'; import { createConnection, InitializeResult, @@ -32,7 +27,6 @@ import { TextDocumentSyncKind, } from 'vscode-languageserver/node'; import { URI, Utils } from 'vscode-uri'; -import { nxWorkspace } from '@nx-console/workspace'; let WORKING_PATH: string | undefined = undefined; diff --git a/apps/vscode/src/main.ts b/apps/vscode/src/main.ts index ddbb4b36e3..b0536e2f55 100644 --- a/apps/vscode/src/main.ts +++ b/apps/vscode/src/main.ts @@ -39,6 +39,7 @@ import { getOutputChannel, getTelemetry, initTelemetry, + outputLogger, teardownTelemetry, watchFile, } from '@nx-console/vscode/utils';