Skip to content

Commit

Permalink
WIP: Update to monaco-vscode-api 1.81.0 and monaco-editor 0.41.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Aug 9, 2023
1 parent 0de4ffe commit 2e9275e
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 189 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ The following table describes which version of **monaco-languageclient** and **m

| monaco-languageclient | monaco-vscode-api | monaco-editor | comment |
| :---- | :---- | :--- | :--- |
| 6.4.0 | 1.81.0 | 0.41.0 | Released 2023-08-1x |
| 6.3.0 | 1.80.2 | 0.40.0 | Released 2023-08-04 |
| 6.2.0 | 1.79.3 | 0.39.0 | Released 2023-06-16 |
| 6.1.0 | 1.79.1 | 0.38.0 | Released 2023-06-12 |
Expand Down Expand Up @@ -251,7 +252,7 @@ loader.config({ monaco });
If you use pnpm, you have to add `vscode` / `monaco-vscode-api` as direct dependency (see the [following table](#monaco-editor--monaco-vscode-api-compatibility-table)), otherwise the installation will fail.

```json
"vscode": "npm:@codingame/monaco-vscode-api@~1.80.2"
"vscode": "npm:@codingame/monaco-vscode-api@~1.81.0"
```

## Licenses
Expand Down
338 changes: 163 additions & 175 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

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

## [6.3.0] - 2023-08-0x
## [6.4.0] - 2023-08-1x

- Update to `monaco-editor` `0.41.0` and `monaco-vscode-api` `1.81.0` [#51x](https://github.com/TypeFox/monaco-languageclient/pull/51x)

## [6.3.0] - 2023-08-04

- Update to `monaco-editor` `0.40.0` and `monaco-vscode-api` `1.80.2` [#513](https://github.com/TypeFox/monaco-languageclient/pull/513)
- vscode api services have been cleaned-up and fully aligned with `monaco-vscode-api
Expand Down
10 changes: 5 additions & 5 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monaco-languageclient",
"version": "6.3.0",
"version": "6.4.0-next.0",
"description": "Monaco Language client implementation",
"author": {
"name": "TypeFox GmbH",
Expand Down Expand Up @@ -48,14 +48,14 @@
"License.txt"
],
"dependencies": {
"monaco-editor": "~0.40.0",
"vscode": "npm:@codingame/monaco-vscode-api@1.80.2",
"monaco-editor": "~0.41.0",
"vscode": "npm:@codingame/monaco-vscode-api@1.81.0-next.0",
"vscode-jsonrpc": "~8.1.0",
"vscode-languageclient": "~8.1.0"
},
"peerDependencies": {
"monaco-editor": "~0.40.0",
"vscode": "npm:@codingame/monaco-vscode-api@1.80.2"
"monaco-editor": "~0.41.0",
"vscode": "npm:@codingame/monaco-vscode-api@1.81.0-next.0"
},
"peerDependenciesMeta": {
"monaco-editor": {
Expand Down
3 changes: 3 additions & 0 deletions packages/client/src/monaco-vscode-api-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export type InitializeServiceConfig = {
enableDialogService?: boolean;
enableNotificationService?: boolean;
enableModelService?: boolean;
/**
* editor service is the default. If you want to use the views service, set enableViewsService to true.
*/
configureEditorOrViewsServiceConfig?: {
enableViewsService?: boolean;
openEditorFunc?: OpenEditor
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"langium": "~1.2.1",
"langium-statemachine-dsl": "~1.2.0",
"monaco-editor-workers": "0.40.0",
"monaco-languageclient": "~6.3.0",
"monaco-languageclient": "6.4.0-next.0",
"normalize-url": "~8.0.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
Expand Down
6 changes: 3 additions & 3 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.3.0",
"monaco-editor": "~0.40.0",
"vscode": "npm:@codingame/monaco-vscode-api@~1.80.2"
"monaco-languageclient": "6.4.0-next.0",
"monaco-editor": "~0.41.0",
"vscode": "npm:@codingame/monaco-vscode-api@1.81.0-next.0"
},
"devDependencies": {
"shx": "~0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/verify/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"dependencies": {
"monaco-editor-workers": "0.40.0",
"monaco-languageclient": "~6.3.0",
"monaco-languageclient": "6.4.0-next.0",
"examples-main": "../../examples/main",
"vscode-ws-jsonrpc": "3.0.0",
"normalize-url": "~8.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/verify/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"dependencies": {
"monaco-editor-workers": "0.40.0",
"monaco-languageclient": "~6.3.0",
"monaco-languageclient": "6.4.0-next.0",
"examples-main": "../../examples/main",
"vscode-ws-jsonrpc": "3.0.0",
"normalize-url": "~8.0.0"
Expand Down
2 changes: 1 addition & 1 deletion 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.3.0"
"monaco-languageclient": "6.4.0-next.0"
},
"devDependencies": {
"shx": "~0.3.4"
Expand Down

0 comments on commit 2e9275e

Please sign in to comment.