@difizen/libro-language-client 0.3.16 → 1.0.1
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/es/common/codeLens.d.ts +1 -1
- package/es/common/codeLens.d.ts.map +1 -1
- package/es/common/codeLens.js +1 -1
- package/es/common/foldingRange.d.ts +1 -1
- package/es/common/foldingRange.d.ts.map +1 -1
- package/es/common/foldingRange.js +1 -1
- package/es/common/vscodeAdaptor/diagnosticCollection.d.ts +1 -1
- package/es/common/vscodeAdaptor/diagnosticCollection.d.ts.map +1 -1
- package/es/common/vscodeAdaptor/fileWatcher.js +1 -1
- package/es/common/vscodeAdaptor/libroWindow.js +1 -1
- package/es/common/vscodeAdaptor/libroWorkspace.js +1 -1
- package/es/common/vscodeAdaptor/lspEnv.d.ts +2 -2
- package/es/common/vscodeAdaptor/lspEnv.d.ts.map +1 -1
- package/es/common/vscodeAdaptor/lspEnv.js +2 -2
- package/es/common/vscodeAdaptor/monacoLanguages.js +1 -1
- package/es/common/vscodeAdaptor/vscodeAdaptor.d.ts +2 -2
- package/es/common/vscodeAdaptor/vscodeAdaptor.d.ts.map +1 -1
- package/es/common/vscodeAdaptor/vscodeAdaptor.js +1 -1
- package/es/libro-language-client-contribution.d.ts +1 -1
- package/es/libro-language-client-contribution.d.ts.map +1 -1
- package/es/libro-language-client-contribution.js +1 -1
- package/es/libro-language-client-manager.d.ts +1 -1
- package/es/libro-language-client-manager.d.ts.map +1 -1
- package/es/libro-language-client-manager.js +1 -1
- package/es/libro-language-client.js +1 -1
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/package.json +6 -8
- package/src/common/codeLens.ts +1 -1
- package/src/common/foldingRange.ts +1 -1
- package/src/common/vscodeAdaptor/fileWatcher.ts +1 -1
- package/src/common/vscodeAdaptor/libroWindow.ts +1 -1
- package/src/common/vscodeAdaptor/libroWorkspace.ts +1 -1
- package/src/common/vscodeAdaptor/lspEnv.ts +2 -2
- package/src/common/vscodeAdaptor/monacoLanguages.ts +1 -1
- package/src/common/vscodeAdaptor/vscodeAdaptor.ts +2 -2
- package/src/libro-language-client-contribution.ts +1 -1
- package/src/libro-language-client-manager.ts +1 -1
- package/src/libro-language-client.ts +1 -1
- package/src/module.ts +1 -1
package/es/common/codeLens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
1
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
2
2
|
import type { ClientCapabilities, CancellationToken, ServerCapabilities, DocumentSelector, CodeLensOptions, CodeLensRegistrationOptions } from '@difizen/vscode-languageserver-protocol';
|
|
3
3
|
import type { Disposable, TextDocument, ProviderResult, CodeLensProvider, CodeLens as VCodeLens } from 'vscode';
|
|
4
4
|
import type { FeatureClient } from './features.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeLens.d.ts","sourceRoot":"","sources":["../../src/common/codeLens.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"codeLens.d.ts","sourceRoot":"","sources":["../../src/common/codeLens.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,2BAA2B,EAC5B,MAAM,yCAAyC,CAAC;AAMjD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,QAAQ,IAAI,SAAS,EACtB,MAAM,QAAQ,CAAC;AAEhB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAU,MAAM,eAAe,CAAC;AAIpE,MAAM,WAAW,0BAA0B;IACzC,CACE,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f ? Object.g
|
|
|
22
22
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23
23
|
* ------------------------------------------------------------------------------------------ */
|
|
24
24
|
|
|
25
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
25
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
26
26
|
import { CodeLensRequest, CodeLensRefreshRequest, CodeLensResolveRequest } from '@difizen/vscode-languageserver-protocol';
|
|
27
27
|
import { TextDocumentLanguageFeature, ensure } from "./features.js";
|
|
28
28
|
import * as UUID from "./utils/uuid.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
1
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
2
2
|
import type { ClientCapabilities, CancellationToken, ServerCapabilities, DocumentSelector, FoldingRangeRegistrationOptions, FoldingRangeOptions } from '@difizen/vscode-languageserver-protocol';
|
|
3
3
|
import type { Disposable, TextDocument, ProviderResult, FoldingRange as VFoldingRange, FoldingContext, FoldingRangeProvider } from 'vscode';
|
|
4
4
|
import type { FeatureClient } from './features.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foldingRange.d.ts","sourceRoot":"","sources":["../../src/common/foldingRange.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"foldingRange.d.ts","sourceRoot":"","sources":["../../src/common/foldingRange.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAEhB,+BAA+B,EAC/B,mBAAmB,EACpB,MAAM,yCAAyC,CAAC;AAMjD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,IAAI,aAAa,EAC7B,cAAc,EACd,oBAAoB,EACrB,MAAM,QAAQ,CAAC;AAEhB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAU,MAAM,eAAe,CAAC;AAGpE,MAAM,WAAW,4BAA4B;IAC3C,CACE,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,iBAAiB,GACvB,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,8BAA8B;IAC7C,oBAAoB,CAAC,EAAE,CACrB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,iBAAiB,EACxB,IAAI,EAAE,4BAA4B,KAC/B,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC;CACtC;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,uBAAuB,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;CAC7C,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,2BAA2B,CAClE,OAAO,GAAG,mBAAmB,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,CAC/B;gBACa,MAAM,EAAE,aAAa,CAAC,8BAA8B,CAAC;IAI1D,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,GAAG,IAAI;IAgB9D,UAAU,CACf,YAAY,EAAE,kBAAkB,EAChC,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IAiBP,SAAS,CAAC,wBAAwB,CAChC,OAAO,EAAE,+BAA+B,GACvC,CAAC,UAAU,EAAE,yBAAyB,CAAC;CAsD3C"}
|
|
@@ -26,7 +26,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
26
26
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
27
27
|
* ------------------------------------------------------------------------------------------ */
|
|
28
28
|
|
|
29
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
29
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
30
30
|
import { FoldingRangeRequest, FoldingRangeKind, FoldingRangeRefreshRequest } from '@difizen/vscode-languageserver-protocol';
|
|
31
31
|
import { TextDocumentLanguageFeature, ensure } from "./features.js";
|
|
32
32
|
import { languages as Languages } from "./vscodeAdaptor/vscodeAdaptor.js";
|
|
@@ -6,7 +6,7 @@ import * as c2p from '../codeConverter.js';
|
|
|
6
6
|
import { ProtocolToMonacoConverter } from './monaco-converter.js';
|
|
7
7
|
export declare class LibroDiagnosticCollection implements DiagnosticCollection {
|
|
8
8
|
#private;
|
|
9
|
-
readonly onDidChangeDiagnostics: import("@difizen/
|
|
9
|
+
readonly onDidChangeDiagnostics: import("@difizen/libro-common/common").Event<Uri[]>;
|
|
10
10
|
private readonly _maxDiagnosticsPerFile;
|
|
11
11
|
private readonly _maxDiagnosticsTotal;
|
|
12
12
|
protected readonly c2p: c2p.Converter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnosticCollection.d.ts","sourceRoot":"","sources":["../../../src/common/vscodeAdaptor/diagnosticCollection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAI3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAGlE,qBAAa,yBAA0B,YAAW,oBAAoB;;IAEpE,QAAQ,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"diagnosticCollection.d.ts","sourceRoot":"","sources":["../../../src/common/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AAC,QAAQ,CAAC,IAAI,gBAAgB,CACpC;QAAC,GAAG,EAAE,GAAG;QAAE,WAAW,EAAE,SAAS,UAAU,EAAE;KAAC,CAC/C;IAOD,GAAG,CAAC,GAAG,EAAE,GAAG,GAAG,aAAa,CAAC,UAAU,CAAC;IASxC,GAAG,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAKtB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAazC,kBAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,IAAI;IAOjE,OAAO,IAAI,IAAI;CAOhB"}
|
|
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
11
|
import { LibroService } from '@difizen/libro-core';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import { EventEmitter } from "./vscodeAdaptor.js";
|
|
14
14
|
export var LibroFileWatcher = (_dec = singleton(), _dec2 = inject(LibroService), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
15
15
|
function LibroFileWatcher() {
|
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
/* eslint-disable no-console */
|
|
9
|
-
import { noop, singleton } from '@difizen/
|
|
9
|
+
import { noop, singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import { ILibroWindow } from "./services.js";
|
|
11
11
|
import { unsupported } from "./util.js";
|
|
12
12
|
export var LibroWindow = (_dec = singleton({
|
|
@@ -13,7 +13,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { LibroService, ILibroWorkspaceService } from '@difizen/libro-core';
|
|
15
15
|
import { ExecutableNotebookModel } from '@difizen/libro-kernel';
|
|
16
|
-
import { inject, noop, singleton } from '@difizen/
|
|
16
|
+
import { inject, noop, singleton } from '@difizen/libro-common/app';
|
|
17
17
|
import { URI } from 'vscode-uri';
|
|
18
18
|
import { l2c } from "./convertor.js";
|
|
19
19
|
import { Range } from "./extHostTypes.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApplicationContribution } from '@difizen/
|
|
2
|
-
import { Deferred } from '@difizen/
|
|
1
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class LSPEnv implements ApplicationContribution {
|
|
4
4
|
protected readyDefer: Deferred<void>;
|
|
5
5
|
get ready(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lspEnv.d.ts","sourceRoot":"","sources":["../../../src/common/vscodeAdaptor/lspEnv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"lspEnv.d.ts","sourceRoot":"","sources":["../../../src/common/vscodeAdaptor/lspEnv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAa,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAIrD,qBACa,MAAO,YAAW,uBAAuB;IACpD,SAAS,CAAC,UAAU,iBAAwB;IAC5C,IAAI,KAAK,kBAER;IACD,OAAO;CAIR"}
|
|
@@ -5,8 +5,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
import { ApplicationContribution, singleton } from '@difizen/
|
|
9
|
-
import { Deferred } from '@difizen/
|
|
8
|
+
import { ApplicationContribution, singleton } from '@difizen/libro-common/app';
|
|
9
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
10
10
|
import { initLspEnv } from "./vscodeAdaptor.js";
|
|
11
11
|
export var LSPEnv = (_dec = singleton({
|
|
12
12
|
contrib: [ApplicationContribution]
|
|
@@ -14,7 +14,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
14
14
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
|
-
import { singleton } from '@difizen/
|
|
17
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
18
18
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
19
19
|
// import { score } from '@difizen/monaco-editor-core/esm/vs/editor/common/languageSelector.js';
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Emitter } from '@difizen/libro-common/common';
|
|
2
|
+
import type { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
import type { Disposable } from 'vscode';
|
|
5
5
|
import { URI } from 'vscode-uri';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vscodeAdaptor.d.ts","sourceRoot":"","sources":["../../../src/common/vscodeAdaptor/vscodeAdaptor.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"vscodeAdaptor.d.ts","sourceRoot":"","sources":["../../../src/common/vscodeAdaptor/vscodeAdaptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AACtD,OA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E,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACjC,OAAO,CAAC,EAAE,GAAG,GACZ,UAAU;CAOd;AAED,eAAO,MAAM,QAAQ,UAAiB,CAAC;AAEvC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,CAAC;AAEnC,qBAAa,YAAY;IACX,QAAQ,CAAC,GAAG,EAAE,GAAG;gBAAR,GAAG,EAAE,GAAG;CAC9B;AAED,qBAAa,gBAAgB;IAEzB,QAAQ,CAAC,QAAQ,EAAE,GAAG;IACtB,QAAQ,CAAC,QAAQ,EAAE,GAAG;gBADb,QAAQ,EAAE,GAAG,EACb,QAAQ,EAAE,GAAG;CAEzB;AAED,qBAAa,cAAc;IAEvB,QAAQ,CAAC,GAAG,EAAE,GAAG;IACjB,QAAQ,CAAC,QAAQ,EAAE,MAAM;gBADhB,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,MAAM;CAE5B;AAED,oBAAY,QAAQ;IAClB;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,SAAS,IAAI;IAEb;;;;;;OAMG;IACH,YAAY,KAAK;CAClB;AAED,cAAc,mBAAmB,CAAC"}
|
|
@@ -14,7 +14,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
14
14
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
15
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
16
16
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
|
-
import { Emitter } from '@difizen/
|
|
17
|
+
import { Emitter } from '@difizen/libro-common/common';
|
|
18
18
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
19
19
|
import { URI } from 'vscode-uri';
|
|
20
20
|
import { ILibroWindow, ILibroWorkspace, IMonacoLanguages } from "./services.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILibroWorkspaceService, LibroService } from '@difizen/libro-core';
|
|
2
|
-
import { ApplicationContribution } from '@difizen/
|
|
2
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
3
3
|
import { LSPEnv } from './common/vscodeAdaptor/lspEnv.js';
|
|
4
4
|
import { LibroLanguageClientManager } from './libro-language-client-manager.js';
|
|
5
5
|
export declare class LibroLanguageClientContribution implements ApplicationContribution {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-language-client-contribution.d.ts","sourceRoot":"","sources":["../src/libro-language-client-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EACtB,YAAY,EACb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,uBAAuB,EAAqB,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-language-client-contribution.d.ts","sourceRoot":"","sources":["../src/libro-language-client-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EACtB,YAAY,EACb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,uBAAuB,EAAqB,MAAM,2BAA2B,CAAC;AAKvF,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAE1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAGhF,qBACa,+BAAgC,YAAW,uBAAuB;IAE7E,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;IAEjE,SAAS,CAAC,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;IAG1E,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGlC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAExC,WAAW;IAMX,oBAAoB;IAmC1B,iBAAiB;CA4DlB"}
|
|
@@ -17,7 +17,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
17
17
|
import { CellUri } from '@difizen/libro-common';
|
|
18
18
|
import { EditorCellView, ILibroWorkspaceService, LibroService } from '@difizen/libro-core';
|
|
19
19
|
import { ExecutableNotebookModel } from '@difizen/libro-kernel';
|
|
20
|
-
import { ApplicationContribution, inject, singleton } from '@difizen/
|
|
20
|
+
import { ApplicationContribution, inject, singleton } from '@difizen/libro-common/app';
|
|
21
21
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
22
22
|
import { URI } from 'vscode-uri';
|
|
23
23
|
import { CloseAction, ErrorAction } from "./common/api.js";
|
|
@@ -20,7 +20,7 @@ export declare class LibroLanguageClientManager {
|
|
|
20
20
|
getServers(language?: string): Promise<import("@difizen/libro-lsp").TLanguageServerId[]>;
|
|
21
21
|
getServerSpecs(language?: string): Promise<import("@difizen/libro-lsp").TSpecsMap>;
|
|
22
22
|
refreshRunning(): Promise<void>;
|
|
23
|
-
get sessionsChanged(): import("@difizen/
|
|
23
|
+
get sessionsChanged(): import("@difizen/libro-common/app").Event<void>;
|
|
24
24
|
get sessions(): TSessionMap;
|
|
25
25
|
getOrCreateLanguageClient(languageServerId: string, options: LibroLanguageClientOptions): Promise<{
|
|
26
26
|
connection: WebSocket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-language-client-manager.d.ts","sourceRoot":"","sources":["../src/libro-language-client-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO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EAAE,MAAM,EAAE,CAA6C;IAGnF,IAAI;IAIJ,SAAS,CAAC,SAAS,CAAC,gBAAgB,EAAE,MAAM;IAKtC,UAAU,CAAC,QAAQ,SAAW;IAQ9B,cAAc,CAAC,QAAQ,SAAW;IAQlC,cAAc;IAIpB,IAAI,eAAe,oDAElB;IAED,IAAI,QAAQ,gBAQX;IAEK,yBAAyB,CAC7B,gBAAgB,EAAE,MAAM,EACxB,OAAO,EAAE,0BAA0B;;;;IAerC,SAAS,CAAC,oBAAoB,QACvB,MAAM,WACF,0BAA0B;;;OAGnC;IAEI,mBAAmB,CAAC,gBAAgB,EAAE,MAAM;IAO5C,sBAAsB;IAMtB,gBAAgB,CACpB,OAAO,EAAE,cAAc,EACvB,QAAQ,SAAW,GAClB,OAAO,CAAC,OAAO,CAAC;CAuBpB"}
|
|
@@ -14,7 +14,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
14
14
|
import { URL } from '@difizen/libro-common';
|
|
15
15
|
import { PageConfig } from '@difizen/libro-kernel';
|
|
16
16
|
import { ILanguageServerManagerFactory } from '@difizen/libro-lsp';
|
|
17
|
-
import { singleton, inject, postConstruct, getOrigin } from '@difizen/
|
|
17
|
+
import { singleton, inject, postConstruct, getOrigin } from '@difizen/libro-common/app';
|
|
18
18
|
import { LibroLanguageClient } from "./libro-language-client.js";
|
|
19
19
|
|
|
20
20
|
// TODO: type is not complete
|
|
@@ -18,7 +18,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
18
18
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
20
20
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21
|
-
import { Deferred } from '@difizen/
|
|
21
|
+
import { Deferred } from '@difizen/libro-common/common';
|
|
22
22
|
import { BrowserMessageReader, BrowserMessageWriter } from '@difizen/vscode-languageserver-protocol/browser.js';
|
|
23
23
|
import { WebSocketMessageReader, WebSocketMessageWriter, toSocket } from 'vscode-ws-jsonrpc';
|
|
24
24
|
import { BaseLanguageClient } from "./common/client.js";
|
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAUvD,eAAO,MAAM,yBAAyB,YAOlC,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroLSPModule } from '@difizen/libro-lsp';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
import { LibroWindow } from "./common/vscodeAdaptor/libroWindow.js";
|
|
4
4
|
import { LibroWorkspace } from "./common/vscodeAdaptor/libroWorkspace.js";
|
|
5
5
|
import { LSPEnv } from "./common/vscodeAdaptor/lspEnv.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-language-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,13 +32,11 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-core": "^0.
|
|
36
|
-
"@difizen/libro-code-editor": "^0.
|
|
37
|
-
"@difizen/libro-kernel": "^0.
|
|
38
|
-
"@difizen/libro-common": "^0.
|
|
39
|
-
"@difizen/libro-lsp": "^0.
|
|
40
|
-
"@difizen/mana-app": "latest",
|
|
41
|
-
"@difizen/mana-common": "latest",
|
|
35
|
+
"@difizen/libro-core": "^1.0.1",
|
|
36
|
+
"@difizen/libro-code-editor": "^1.0.1",
|
|
37
|
+
"@difizen/libro-kernel": "^1.0.1",
|
|
38
|
+
"@difizen/libro-common": "^1.0.1",
|
|
39
|
+
"@difizen/libro-lsp": "^1.0.1",
|
|
42
40
|
"uuid": "^9.0.0",
|
|
43
41
|
"@difizen/vscode-languageserver-protocol": "^3.17.6-next.2",
|
|
44
42
|
"vscode-ws-jsonrpc": "^3.1.0",
|
package/src/common/codeLens.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
|
|
6
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
6
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
7
7
|
import type {
|
|
8
8
|
ClientCapabilities,
|
|
9
9
|
CancellationToken,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
4
|
* ------------------------------------------------------------------------------------------ */
|
|
5
5
|
|
|
6
|
-
import { Emitter as EventEmitter } from '@difizen/
|
|
6
|
+
import { Emitter as EventEmitter } from '@difizen/libro-common/common';
|
|
7
7
|
import type {
|
|
8
8
|
ClientCapabilities,
|
|
9
9
|
CancellationToken,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroService } from '@difizen/libro-core';
|
|
2
|
-
import { inject, singleton } from '@difizen/
|
|
2
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import type { Event, FileSystemWatcher, GlobPattern, Uri } from 'vscode';
|
|
4
4
|
|
|
5
5
|
import { EventEmitter } from './vscodeAdaptor.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LibroView } from '@difizen/libro-core';
|
|
2
2
|
import { LibroService, ILibroWorkspaceService } from '@difizen/libro-core';
|
|
3
3
|
import { ExecutableNotebookModel } from '@difizen/libro-kernel';
|
|
4
|
-
import { inject, noop, singleton } from '@difizen/
|
|
4
|
+
import { inject, noop, singleton } from '@difizen/libro-common/app';
|
|
5
5
|
import type {
|
|
6
6
|
Uri,
|
|
7
7
|
NotebookDocument,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApplicationContribution, singleton } from '@difizen/
|
|
2
|
-
import { Deferred } from '@difizen/
|
|
1
|
+
import { ApplicationContribution, singleton } from '@difizen/libro-common/app';
|
|
2
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
3
3
|
|
|
4
4
|
import { initLspEnv } from './vscodeAdaptor.js';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { singleton } from '@difizen/
|
|
1
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
2
2
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
3
3
|
// import { score } from '@difizen/monaco-editor-core/esm/vs/editor/common/languageSelector.js';
|
|
4
4
|
import type {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Emitter } from '@difizen/libro-common/common';
|
|
2
|
+
import type { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
import type { Disposable } from 'vscode';
|
|
5
5
|
import { URI } from 'vscode-uri';
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
LibroService,
|
|
6
6
|
} from '@difizen/libro-core';
|
|
7
7
|
import { ExecutableNotebookModel } from '@difizen/libro-kernel';
|
|
8
|
-
import { ApplicationContribution, inject, singleton } from '@difizen/
|
|
8
|
+
import { ApplicationContribution, inject, singleton } from '@difizen/libro-common/app';
|
|
9
9
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
10
10
|
import { URI } from 'vscode-uri';
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@ import { URL } from '@difizen/libro-common';
|
|
|
2
2
|
import { PageConfig } from '@difizen/libro-kernel';
|
|
3
3
|
import type { ILanguageServerManager, TSessionMap } from '@difizen/libro-lsp';
|
|
4
4
|
import { ILanguageServerManagerFactory } from '@difizen/libro-lsp';
|
|
5
|
-
import { singleton, inject, postConstruct, getOrigin } from '@difizen/
|
|
5
|
+
import { singleton, inject, postConstruct, getOrigin } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import type { LibroLanguageClientOptions } from './libro-language-client.js';
|
|
8
8
|
import { LibroLanguageClient } from './libro-language-client.js';
|
package/src/module.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroLSPModule } from '@difizen/libro-lsp';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
|
|
4
4
|
import { LibroWindow } from './common/vscodeAdaptor/libroWindow.js';
|
|
5
5
|
import { LibroWorkspace } from './common/vscodeAdaptor/libroWorkspace.js';
|