@adecore/lsp 0.24.2 → 0.25.0
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/dist/index.d.ts +5 -6
- package/dist/index.js +5 -6
- package/package.json +1 -1
- package/src/index.ts +5 -24
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
export { ErrorCodes,
|
|
1
|
+
export { ErrorCodes, LspError, StaleResultError, type RequestHandler } from './connection.ts';
|
|
2
2
|
export { applyCompletionDefaults } from './completion-defaults.ts';
|
|
3
3
|
export { LspDocument } from './document.ts';
|
|
4
|
-
export { applyContentChanges, applyTextEdits,
|
|
4
|
+
export { applyContentChanges, applyTextEdits, minimalChange, planWorkspaceEdit, type DocumentSnapshot, type PlannedDocumentEdit } from './edits.ts';
|
|
5
5
|
export { planWorkspaceOperations, type PlannedCreateStep, type PlannedDeleteStep, type PlannedRenameStep, type PlannedTextStep, type ResourceOperationKind, type WorkspaceEditPlan, type WorkspaceEditSource, type WorkspaceEditStep, type WorkspaceEditText } from './workspace-operations.ts';
|
|
6
|
-
export {
|
|
6
|
+
export { type CreatedFile, type DeletedFile, type RenamedFile } from './file-operations.ts';
|
|
7
7
|
export { watchesFile, type FileChangeType } from './watched-files.ts';
|
|
8
8
|
export { LspSession, type LspSessionOptions, type SessionState } from './session.ts';
|
|
9
9
|
export { TextMirror } from './text-mirror.ts';
|
|
10
10
|
export type { DiagnosticsReport, LanguageDocument, LanguageRequestOptions, LanguageService } from './service.ts';
|
|
11
|
-
export {
|
|
12
|
-
export { globMatch } from './glob.ts';
|
|
11
|
+
export { connectWebSocket, createStreamTransport, type ByteStream, type WebSocketTransportOptions } from './transport.ts';
|
|
13
12
|
export { fileUriToPath, pathToFileUri } from './uris.ts';
|
|
14
|
-
export { bridgeVueTypeScript,
|
|
13
|
+
export { bridgeVueTypeScript, vueServerOrder, type VueServer } from './vue.ts';
|
|
15
14
|
export type * from './protocol.ts';
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export { ErrorCodes,
|
|
1
|
+
export { ErrorCodes, LspError, StaleResultError } from './connection.js';
|
|
2
2
|
export { applyCompletionDefaults } from './completion-defaults.js';
|
|
3
3
|
export { LspDocument } from './document.js';
|
|
4
|
-
export { applyContentChanges, applyTextEdits,
|
|
4
|
+
export { applyContentChanges, applyTextEdits, minimalChange, planWorkspaceEdit } from './edits.js';
|
|
5
5
|
export { planWorkspaceOperations } from './workspace-operations.js';
|
|
6
|
-
export {
|
|
6
|
+
export {} from './file-operations.js';
|
|
7
7
|
export { watchesFile } from './watched-files.js';
|
|
8
8
|
export { LspSession } from './session.js';
|
|
9
9
|
export { TextMirror } from './text-mirror.js';
|
|
10
|
-
export {
|
|
11
|
-
export { globMatch } from './glob.js';
|
|
10
|
+
export { connectWebSocket, createStreamTransport } from './transport.js';
|
|
12
11
|
export { fileUriToPath, pathToFileUri } from './uris.js';
|
|
13
|
-
export { bridgeVueTypeScript,
|
|
12
|
+
export { bridgeVueTypeScript, vueServerOrder } from './vue.js';
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
export { ErrorCodes,
|
|
1
|
+
export { ErrorCodes, LspError, StaleResultError, type RequestHandler } from './connection.ts';
|
|
2
2
|
export { applyCompletionDefaults } from './completion-defaults.ts';
|
|
3
3
|
export { LspDocument } from './document.ts';
|
|
4
|
-
export {
|
|
5
|
-
applyContentChanges,
|
|
6
|
-
applyTextEdits,
|
|
7
|
-
endPosition,
|
|
8
|
-
minimalChange,
|
|
9
|
-
offsetAt,
|
|
10
|
-
planWorkspaceEdit,
|
|
11
|
-
positionAt,
|
|
12
|
-
type DocumentSnapshot,
|
|
13
|
-
type PlannedDocumentEdit
|
|
14
|
-
} from './edits.ts';
|
|
4
|
+
export { applyContentChanges, applyTextEdits, minimalChange, planWorkspaceEdit, type DocumentSnapshot, type PlannedDocumentEdit } from './edits.ts';
|
|
15
5
|
export {
|
|
16
6
|
planWorkspaceOperations,
|
|
17
7
|
type PlannedCreateStep,
|
|
@@ -24,21 +14,12 @@ export {
|
|
|
24
14
|
type WorkspaceEditStep,
|
|
25
15
|
type WorkspaceEditText
|
|
26
16
|
} from './workspace-operations.ts';
|
|
27
|
-
export {
|
|
17
|
+
export { type CreatedFile, type DeletedFile, type RenamedFile } from './file-operations.ts';
|
|
28
18
|
export { watchesFile, type FileChangeType } from './watched-files.ts';
|
|
29
19
|
export { LspSession, type LspSessionOptions, type SessionState } from './session.ts';
|
|
30
20
|
export { TextMirror } from './text-mirror.ts';
|
|
31
21
|
export type { DiagnosticsReport, LanguageDocument, LanguageRequestOptions, LanguageService } from './service.ts';
|
|
32
|
-
export {
|
|
33
|
-
ContentLengthDecoder,
|
|
34
|
-
connectWebSocket,
|
|
35
|
-
createMemoryTransportPair,
|
|
36
|
-
createStreamTransport,
|
|
37
|
-
encodeMessage,
|
|
38
|
-
type ByteStream,
|
|
39
|
-
type WebSocketTransportOptions
|
|
40
|
-
} from './transport.ts';
|
|
41
|
-
export { globMatch } from './glob.ts';
|
|
22
|
+
export { connectWebSocket, createStreamTransport, type ByteStream, type WebSocketTransportOptions } from './transport.ts';
|
|
42
23
|
export { fileUriToPath, pathToFileUri } from './uris.ts';
|
|
43
|
-
export { bridgeVueTypeScript,
|
|
24
|
+
export { bridgeVueTypeScript, vueServerOrder, type VueServer } from './vue.ts';
|
|
44
25
|
export type * from './protocol.ts';
|