Skip to content

Commit

Permalink
Updated to monaco-vscode-api 1.83.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Oct 16, 2023
1 parent 130acd4 commit b5948dd
Show file tree
Hide file tree
Showing 13 changed files with 203 additions and 144 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ The following table describes which version of **monaco-languageclient** and **@

| monaco-languageclient | @codingame/monaco-vscode-api | monaco-editor | comment |
| :---- | :---- | :--- | :--- |
| 6.6.0 | 1.83.0 | 0.44.0 | Released 2023-10-1x |
| 6.5.3 | 1.82.5 | 0.43.0 | Released 2023-10-11 |
| 6.5.2 | 1.82.4 | 0.43.0 | Released 2023-10-07 |
| 6.5.1 | 1.82.3 | 0.43.0 | Released 2023-10-04 |
Expand Down
240 changes: 145 additions & 95 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"type": "module",
"devDependencies": {
"@types/vscode": "~1.82.0",
"@types/vscode": "~1.83.0",
"@typescript-eslint/eslint-plugin": "~6.7.4",
"@typescript-eslint/parser": "~6.7.4",
"editorconfig": "~2.0.0",
Expand All @@ -17,8 +17,8 @@
"vite": "~4.4.11"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"scripts": {
"clean": "npm run clean --workspaces",
Expand Down
6 changes: 5 additions & 1 deletion packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

All notable changes to this npm module are documented in this file.

## [6.6.0] - 2023-10-1x

- Updated to `monaco-editor` `0.44.0` and `monaco-vscode-api` `1.83.0`.

## [6.5.3] - 2023-10-11

- Updated to `monaco-vscode-api` `1.82.5`. Fixes requirung `"skipLibCheck": true` with previous versions of 1.82.
- Updated to `monaco-vscode-api` `1.82.5`. Fixes requirung `"skipLibCheck": true` with previous versions of 1.82.x.

## [6.5.2] - 2023-10-07

Expand Down
20 changes: 10 additions & 10 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monaco-languageclient",
"version": "6.5.3",
"version": "6.6.0-next.0",
"description": "Monaco Language client implementation",
"author": {
"name": "TypeFox GmbH",
Expand Down Expand Up @@ -37,8 +37,8 @@
"npm": ">=9.0.0"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"files": [
"lib",
Expand All @@ -48,16 +48,16 @@
"License.txt"
],
"dependencies": {
"monaco-editor": "~0.43.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.82.5 <1.83.0",
"@codingame/monaco-vscode-editor-service-override": "~1.82.5",
"@codingame/monaco-vscode-languages-service-override": "~1.82.5",
"@codingame/monaco-vscode-model-service-override": "~1.82.5",
"monaco-editor": "~0.44.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.83.0-next.0 <1.84.0",
"@codingame/monaco-vscode-editor-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-languages-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-model-service-override": "~1.83.0-next.0",
"vscode-languageclient": "~8.1.0"
},
"peerDependencies": {
"monaco-editor": "~0.43.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.82.5 <1.83.0"
"monaco-editor": "~0.44.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.83.0-next.0 <1.84.0"
},
"peerDependenciesMeta": {
"monaco-editor": {
Expand Down
4 changes: 4 additions & 0 deletions packages/examples/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this npm module are documented in this file.

## [6.6.0] - 2023-10-1x

- Updated to `[email protected]`

## [6.5.3] - 2023-10-11

- Updated to `[email protected]`
Expand Down
28 changes: 14 additions & 14 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monaco-languageclient-examples",
"version": "6.5.3",
"version": "6.6.0-next.0",
"description": "Monaco Language client examples",
"author": {
"name": "TypeFox GmbH",
Expand Down Expand Up @@ -43,25 +43,25 @@
}
},
"dependencies": {
"@codingame/monaco-vscode-configuration-service-override": "~1.82.5",
"@codingame/monaco-vscode-editor-service-override": "~1.82.5",
"@codingame/monaco-vscode-files-service-override": "~1.82.5",
"@codingame/monaco-vscode-json-default-extension": "~1.82.5",
"@codingame/monaco-vscode-keybindings-service-override": "~1.82.5",
"@codingame/monaco-vscode-python-default-extension": "~1.82.5",
"@codingame/monaco-vscode-textmate-service-override": "~1.82.5",
"@codingame/monaco-vscode-theme-defaults-default-extension": "~1.82.5",
"@codingame/monaco-vscode-theme-service-override": "~1.82.5",
"@codingame/monaco-vscode-configuration-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-editor-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-files-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-json-default-extension": "~1.83.0-next.0",
"@codingame/monaco-vscode-keybindings-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-python-default-extension": "~1.83.0-next.0",
"@codingame/monaco-vscode-textmate-service-override": "~1.83.0-next.0",
"@codingame/monaco-vscode-theme-defaults-default-extension": "~1.83.0-next.0",
"@codingame/monaco-vscode-theme-service-override": "~1.83.0-next.0",
"express": "~4.18.2",
"langium": "~2.0.2",
"langium-statemachine-dsl": "~2.0.0",
"monaco-editor-workers": "~0.43.0",
"monaco-languageclient": "~6.5.3",
"monaco-languageclient": "~6.6.0-next.0",
"pyright": "~1.1.330",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"request-light": "~0.7.0",
"vscode-json-languageservice": "~5.3.6",
"vscode-json-languageservice": "~5.3.7",
"vscode-languageserver": "~8.1.0",
"vscode-uri": "~3.0.8",
"vscode-ws-jsonrpc": "~3.0.0",
Expand All @@ -77,8 +77,8 @@
"vscode-languageserver-types": "~3.17.3"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"files": [
"dist",
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/src/browser/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export const startBrowserEditor = async () => {
return protocolConverter.asCompletionResult(completionList);
},

resolveCompletionItem(item, _token) {
return jsonService.doResolve(codeConverter.asCompletionItem(item)).then(result => protocolConverter.asCompletionItem(result));
async resolveCompletionItem(item, _token) {
return await jsonService.doResolve(codeConverter.asCompletionItem(item)).then(result => protocolConverter.asCompletionItem(result));
}
});

Expand All @@ -80,10 +80,10 @@ export const startBrowserEditor = async () => {
});

languages.registerHoverProvider(languageId, {
provideHover(vscodeDocument, position, _token) {
async provideHover(vscodeDocument, position, _token) {
const document = createDocument(vscodeDocument);
const jsonDocument = jsonService.parseJSONDocument(document);
return jsonService.doHover(document, codeConverter.asPosition(position), jsonDocument).then((hover) => {
return await jsonService.doHover(document, codeConverter.asPosition(position), jsonDocument).then((hover) => {
return protocolConverter.asHover(hover)!;
});
}
Expand Down
10 changes: 5 additions & 5 deletions packages/verify/pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.0",
"private": "true",
"dependencies": {
"monaco-languageclient": "~6.5.3",
"monaco-editor": "~0.43.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.82.5 <1.83.0"
"monaco-languageclient": "~6.6.0-next.0",
"monaco-editor": "~0.44.0",
"vscode": "npm:@codingame/monaco-vscode-api@>=1.83.0-next.0 <1.84.0"
},
"devDependencies": {
"shx": "~0.3.4"
Expand All @@ -15,7 +15,7 @@
"test:treemending": "monaco-treemending"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
}
}
8 changes: 4 additions & 4 deletions packages/verify/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"type": "module",
"dependencies": {
"monaco-editor-workers": "~0.43.0",
"monaco-languageclient": "~6.5.3",
"monaco-languageclient-examples": "~6.5.3",
"monaco-languageclient": "~6.6.0-next.0",
"monaco-languageclient-examples": "~6.6.0-next.0",
"vscode-ws-jsonrpc": "~3.0.0"
},
"devDependencies": {
"http-server": "~14.1.1"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"scripts": {
"clean": "shx rm -fr dist",
Expand Down
8 changes: 4 additions & 4 deletions packages/verify/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "module",
"dependencies": {
"monaco-editor-workers": "~0.43.0",
"monaco-languageclient": "~6.5.3",
"monaco-languageclient-examples": "~6.5.3",
"monaco-languageclient": "~6.6.0-next.0",
"monaco-languageclient-examples": "~6.6.0-next.0",
"vscode-ws-jsonrpc": "~3.0.0"
},
"devDependencies": {
Expand All @@ -18,8 +18,8 @@
"http-server": "~14.1.1"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"scripts": {
"clean": "shx rm -fr dist *.tsbuildinfo",
Expand Down
4 changes: 2 additions & 2 deletions packages/verify/yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": "true",
"dependencies": {
"monaco-languageclient": "~6.5.3"
"monaco-languageclient": "~6.6.0-next.0"
},
"devDependencies": {
"shx": "~0.3.4"
Expand All @@ -13,7 +13,7 @@
"test:treemending": "monaco-treemending"
},
"volta": {
"node": "18.18.0",
"node": "18.18.1",
"yarn": "1.22.19"
}
}
4 changes: 2 additions & 2 deletions packages/vscode-ws-jsonrpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"npm": ">=8.0.0"
},
"volta": {
"node": "18.18.0",
"npm": "9.8.1"
"node": "18.18.1",
"npm": "9.9.0"
},
"files": [
"lib",
Expand Down

0 comments on commit b5948dd

Please sign in to comment.