Skip to content

Commit

Permalink
Update to monaco-vscode-api 1.79.3-next.2 and monaco-editor-workers 0…
Browse files Browse the repository at this point in the history
….39.1
  • Loading branch information
kaisalmen committed Jun 14, 2023
1 parent bf663a7 commit dd9bc8a
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 21 deletions.
28 changes: 17 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
],
"dependencies": {
"monaco-editor": "~0.39.0",
"vscode": "npm:@codingame/monaco-vscode-api@~1.79.2",
"vscode": "npm:@codingame/monaco-vscode-api@1.79.3-next.2",
"vscode-jsonrpc": "~8.1.0",
"vscode-languageclient": "~8.1.0"
},
"peerDependencies": {
"monaco-editor": "~0.39.0",
"vscode": "npm:@codingame/monaco-vscode-api@~1.79.2"
"vscode": "npm:@codingame/monaco-vscode-api@1.79.3-next.2"
},
"peerDependenciesMeta": {
"monaco-editor": {
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/monaco-vscode-api-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { editor, Environment, Uri } from 'monaco-editor/esm/vs/editor/editor.api
import { initialize as initializeMonacoService } from 'vscode/services';
import { initialize as initializeVscodeExtensions } from 'vscode/extensions';
import type { OpenEditor } from 'vscode/service-override/editor';
import { ITerminalBackend } from 'vscode/service-override/terminal';
import { ITerminalBackend, SimpleTerminalBackend } from 'vscode/service-override/terminal';

interface MonacoEnvironmentEnhanced extends Environment {
vscodeApiInitialised: boolean;
Expand Down Expand Up @@ -37,7 +37,7 @@ export type InitializeServiceConfig = {
enableQuickaccessService?: boolean;
enableOutputService?: boolean;
configureTerminalServiceConfig?: {
backendImpl: ITerminalBackend
backendImpl: SimpleTerminalBackend | ITerminalBackend
}
enableSearchService?: boolean;
enableMarkersService?: boolean;
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 @@ -22,7 +22,7 @@
"express": "~4.18.2",
"langium": "~1.2.0",
"langium-statemachine-dsl": "~1.2.0",
"monaco-editor-workers": "0.38.0",
"monaco-editor-workers": "0.39.1",
"monaco-languageclient": "6.1.1",
"normalize-url": "~8.0.0",
"react": "~18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/main/src/langium/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ try {
enablePreferencesService: true,
enableSnippetsService: true,
enableQuickaccessService: true,
enableOutputService: false,
enableSearchService: false,
enableMarkersService: false,
enableOutputService: true,
enableSearchService: true,
enableMarkersService: true,
userServices: {
// manually add the files service
...getFileServiceOverride()
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 @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"dependencies": {
"monaco-editor-workers": "0.38.0",
"monaco-editor-workers": "0.39.1",
"monaco-languageclient": "6.1.1",
"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 @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"dependencies": {
"monaco-editor-workers": "0.38.0",
"monaco-editor-workers": "0.39.1",
"monaco-languageclient": "6.1.1",
"vscode-ws-jsonrpc": "3.0.0",
"normalize-url": "~8.0.0"
Expand Down

0 comments on commit dd9bc8a

Please sign in to comment.