@kerebron/extension-codemirror 0.0.2 → 0.0.3

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.
@@ -1,6 +1,7 @@
1
1
  import * as cmView from '@codemirror/view';
2
+ import * as cmState from '@codemirror/state';
2
3
  import { YSyncConfig } from './y-sync.js';
3
- export declare const yRemoteSelectionsTheme: any;
4
+ export declare const yRemoteSelectionsTheme: cmState.Extension;
4
5
  export declare class YRemoteSelectionsPluginValue {
5
6
  conf: YSyncConfig;
6
7
  private _listener;
@@ -10,5 +11,5 @@ export declare class YRemoteSelectionsPluginValue {
10
11
  destroy(): void;
11
12
  update(update: cmView.ViewUpdate): void;
12
13
  }
13
- export declare const yRemoteSelections: any;
14
+ export declare const yRemoteSelections: cmView.ViewPlugin<YRemoteSelectionsPluginValue>;
14
15
  //# sourceMappingURL=y-remote-selections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"y-remote-selections.d.ts","sourceRoot":"","sources":["../src/y-remote-selections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAS3C,OAAO,EAAE,WAAW,EAAc,MAAM,aAAa,CAAC;AAEtD,eAAO,MAAM,sBAAsB,KAuDjC,CAAC;AA8CH,qBAAa,4BAA4B;IACvC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,SAAS,CAQP;IACV,OAAO,CAAC,UAAU,CAA8B;IAChD,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC;gBAEtB,IAAI,EAAE,MAAM,CAAC,UAAU;IAiBnC,OAAO;IAIP,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU;CA8HjC;AAED,eAAO,MAAM,iBAAiB,KAK7B,CAAC"}
1
+ {"version":3,"file":"y-remote-selections.d.ts","sourceRoot":"","sources":["../src/y-remote-selections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAO7C,OAAO,EAAE,WAAW,EAAc,MAAM,aAAa,CAAC;AAEtD,eAAO,MAAM,sBAAsB,mBAuDjC,CAAC;AA8CH,qBAAa,4BAA4B;IACvC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,SAAS,CAQP;IACV,OAAO,CAAC,UAAU,CAA8B;IAChD,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC;gBAEtB,IAAI,EAAE,MAAM,CAAC,UAAU;IAiBnC,OAAO;IAIP,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU;CA8HjC;AAED,eAAO,MAAM,iBAAiB,iDAK7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerebron/extension-codemirror",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "module": "./esm/ExtensionCodeMirror.js",
6
6
  "exports": {
@@ -12,10 +12,32 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
+ "@codemirror/autocomplete": "6.18.6",
16
+ "@codemirror/commands": "6.8.1",
17
+ "@codemirror/lang-cpp": "latest",
18
+ "@codemirror/lang-css": "latest",
19
+ "@codemirror/lang-html": "latest",
20
+ "@codemirror/lang-java": "latest",
21
+ "@codemirror/lang-javascript": "6.2.3",
22
+ "@codemirror/lang-json": "latest",
23
+ "@codemirror/lang-lezer": "latest",
24
+ "@codemirror/lang-markdown": "latest",
25
+ "@codemirror/lang-php": "latest",
26
+ "@codemirror/lang-python": "latest",
27
+ "@codemirror/lang-rust": "latest",
28
+ "@codemirror/lang-sql": "latest",
29
+ "@codemirror/lang-wast": "latest",
30
+ "@codemirror/lang-xml": "latest",
31
+ "@codemirror/language": "6.11.0",
32
+ "@codemirror/legacy-modes": "6.5.0",
33
+ "@codemirror/search": "6.5.10",
34
+ "@codemirror/state": "6.5.2",
35
+ "@codemirror/view": "6.36.5",
15
36
  "lib0": "0.2.42",
16
37
  "prosemirror-model": "1.24.1",
17
38
  "prosemirror-state": "1.4.3",
18
39
  "prosemirror-view": "1.33.6",
40
+ "thememirror": "2.0.1",
19
41
  "y-protocols": "1.0.6"
20
42
  },
21
43
  "devDependencies": {