@codingame/monaco-languageclient-wrapper 1.3.2 → 1.6.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.
@@ -1,11 +1,9 @@
1
- import { DocumentSelector, LanguageClientOptions } from '@codingame/monaco-languageclient';
2
- export interface LanguageServerConfig {
3
- documentSelector: DocumentSelector;
4
- synchronizeConfigurationSection?: string | string[];
5
- initializationOptions?: unknown | (() => unknown);
6
- }
7
- export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'>;
1
+ import { LanguageClientOptions } from '@codingame/monaco-languageclient';
2
+ export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'> & {
3
+ vscodeExtensionIds?: string[];
4
+ mutualizable: boolean;
5
+ };
8
6
  declare type LanguageClientOptionsById<T extends string> = Record<T, StaticLanguageClientOptions>;
9
- declare const staticOptions: LanguageClientOptionsById<"angular" | "bash" | "c" | "cpp" | "csharp" | "clojure" | "cobol" | "dart" | "go" | "groovy" | "java" | "javascript" | "kotlin" | "lua" | "php-serenata" | "php" | "python" | "r" | "react" | "ruby" | "rust" | "scala" | "sql" | "swift" | "typescript" | "vue">;
7
+ declare const staticOptions: LanguageClientOptionsById<"angular" | "bash" | "c" | "cpp" | "csharp" | "clojure" | "cobol" | "dart" | "go" | "groovy" | "java" | "javascript" | "kotlin" | "lua" | "mysql" | "sql" | "ocaml" | "php-serenata" | "php" | "postgresql" | "python" | "r" | "react" | "ruby" | "rust" | "scala" | "swift" | "typescript" | "vue">;
10
8
  export declare type LanguageClientId = keyof typeof staticOptions;
11
9
  export default staticOptions;
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@codingame/monaco-languageclient-wrapper",
3
- "version": "1.3.2",
3
+ "version": "1.6.0",
4
4
  "private": false,
5
5
  "description": "Enhanced Monaco editor with TextMate grammars and more",
6
6
  "scripts": {
7
7
  "build": "rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
8
+ "prepublishOnly": "npm run build",
8
9
  "generate-types": "tsc --project tsconfig.types.json"
9
10
  },
10
11
  "repository": {
@@ -20,33 +21,33 @@
20
21
  ],
21
22
  "types": "dist/index.d.ts",
22
23
  "dependencies": {
23
- "@codingame/monaco-editor-wrapper": "^1.1.4",
24
+ "@codingame/monaco-editor-wrapper": "^1.5.0",
24
25
  "once": "^1.4.0",
25
26
  "sweetalert": "^2.1.2"
26
27
  },
27
28
  "devDependencies": {
28
- "@babel/core": "7.16.7",
29
+ "@babel/core": "7.17.5",
29
30
  "@babel/plugin-proposal-class-properties": "7.16.7",
30
31
  "@babel/plugin-proposal-optional-chaining": "7.16.7",
31
- "@babel/preset-env": "7.16.7",
32
+ "@babel/preset-env": "7.16.11",
32
33
  "@babel/preset-typescript": "7.16.7",
33
- "@babel/runtime": "7.16.7",
34
+ "@babel/runtime": "7.17.2",
34
35
  "@codingame/monaco-jsonrpc": "^0.3.1",
35
- "@codingame/monaco-languageclient": "^0.17.3",
36
+ "@codingame/monaco-languageclient": "^0.17.4",
36
37
  "@rollup/plugin-alias": "3.1.9",
37
38
  "@rollup/plugin-babel": "5.3.0",
38
39
  "@rollup/plugin-commonjs": "21.0.1",
39
40
  "@rollup/plugin-eslint": "8.0.1",
40
41
  "@rollup/plugin-json": "4.1.0",
41
- "@rollup/plugin-node-resolve": "13.1.2",
42
+ "@rollup/plugin-node-resolve": "13.1.3",
42
43
  "@rollup/plugin-typescript": "^8.3.0",
43
44
  "@types/once": "^1.4.0",
44
45
  "@types/rollup-plugin-node-builtins": "^2.1.2",
45
- "@types/vscode": "^1.63.1",
46
- "@typescript-eslint/eslint-plugin": "5.8.1",
47
- "@typescript-eslint/parser": "5.8.1",
46
+ "@types/vscode": "^1.64.0",
47
+ "@typescript-eslint/eslint-plugin": "5.12.1",
48
+ "@typescript-eslint/parser": "5.12.1",
48
49
  "babel-eslint": "10.1.0",
49
- "eslint": "8.6.0",
50
+ "eslint": "8.9.0",
50
51
  "eslint-config-standard": "16.0.3",
51
52
  "eslint-config-standard-jsx": "10.0.0",
52
53
  "eslint-plugin-import": "2.25.4",
@@ -55,13 +56,13 @@
55
56
  "eslint-plugin-standard": "5.0.0",
56
57
  "eslint-plugin-unused-imports": "2.0.0",
57
58
  "proxy-polyfill": "^0.3.2",
58
- "rollup": "2.62.0",
59
+ "rollup": "2.68.0",
59
60
  "rollup-plugin-node-builtins": "^2.1.2",
60
61
  "rollup-plugin-postcss": "4.0.2",
61
- "rollup-plugin-visualizer": "5.5.2",
62
+ "rollup-plugin-visualizer": "5.5.4",
62
63
  "rollup-plugin-web-worker-loader": "1.6.1",
63
64
  "tslib": "^2.3.1",
64
- "typescript": "4.5.4",
65
+ "typescript": "4.5.5",
65
66
  "vscode-languageserver-protocol": "^3.16.0"
66
67
  },
67
68
  "browserslist": [
@@ -71,5 +72,9 @@
71
72
  "safari >= 12",
72
73
  "not IE 11",
73
74
  "not IE_Mob 11"
74
- ]
75
+ ],
76
+ "volta": {
77
+ "node": "16.14.0",
78
+ "npm": "8.5.0"
79
+ }
75
80
  }