Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLSP-1022: Update dependencies #163

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ yarn-error.log

examples/browser-app/src-gen/
examples/browser-app/gen-webpack.config.js
examples/browser-app/gen-webpack.node.config.js

examples/**/server/**
!examples/**/server/download.ts
Expand Down
24 changes: 12 additions & 12 deletions examples/browser-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
},
"dependencies": {
"@eclipse-glsp-examples/workflow-theia": "1.1.0-next",
"@theia/core": "1.37.1",
"@theia/editor": "1.37.1",
"@theia/filesystem": "1.37.1",
"@theia/markers": "1.37.1",
"@theia/messages": "1.37.1",
"@theia/monaco": "1.37.1",
"@theia/navigator": "1.37.1",
"@theia/preferences": "1.37.1",
"@theia/process": "1.37.1",
"@theia/terminal": "1.37.1",
"@theia/workspace": "1.37.1"
"@theia/core": "1.39.0-next.20",
"@theia/editor": "1.39.0-next.20",
"@theia/filesystem": "1.39.0-next.20",
"@theia/markers": "1.39.0-next.20",
"@theia/messages": "1.39.0-next.20",
"@theia/monaco": "1.39.0-next.20",
"@theia/navigator": "1.39.0-next.20",
"@theia/preferences": "1.39.0-next.20",
"@theia/process": "1.39.0-next.20",
"@theia/terminal": "1.39.0-next.20",
"@theia/workspace": "1.39.0-next.20"
},
"devDependencies": {
"@theia/cli": "1.37.1"
"@theia/cli": "1.39.0-next.20"
},
"theia": {
"target": "browser"
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
"watch": "lerna run --parallel watch"
},
"devDependencies": {
"@eclipse-glsp/dev": "1.1.0-next.7026c40.129",
"@eclipse-glsp/dev": "next",
"@types/node": "16.x",
"typescript": "^4.9.3"
"lerna": "^6.6.2",
"typescript": "^5.1.3"
},
"engines": {
"node": ">=16.11.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/theia-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
"@types/ws": "^8.5.4"
},
"peerDependencies": {
"@theia/core": "^1.34.0",
"@theia/filesystem": "^1.34.0",
"@theia/messages": "^1.34.0",
"@theia/monaco": "^1.34.0"
"@theia/core": "^1.39.x",
"@theia/filesystem": "^1.39.x",
"@theia/messages": "^1.39.x",
"@theia/monaco": "^1.39.x"
},
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ export abstract class GLSPDiagramManager extends WidgetOpenHandler<GLSPDiagramWi
protected widgetCount = 0;

@postConstruct()
protected async initialize(): Promise<void> {
this._diagramConnector = await this.connectorProvider(this.diagramType);
if (!this._diagramConnector) {
throw new Error(`No diagram connector is registered for diagramType: ${this.diagramType}!`);
}
protected initialize(): void {
this.connectorProvider(this.diagramType)
.then(connector => (this._diagramConnector = connector))
.catch(_err => {
throw new Error(`No diagram connector is registered for diagramType: ${this.diagramType}!`);
});
}

override async doOpen(widget: GLSPDiagramWidget, maybeOptions?: WidgetOpenerOptions): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class ConfigurableGLSPDiagramManager extends GLSPDiagramManager {
this.initialize();
}

protected override async initialize(): Promise<void> {
protected override initialize(): void {
if (this._diagramType) {
return super.initialize();
}
Expand Down
2,183 changes: 1,101 additions & 1,082 deletions yarn.lock

Large diffs are not rendered by default.