Skip to content

Commit

Permalink
extension: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Jun 17, 2024
1 parent b94bfca commit bcd736b
Show file tree
Hide file tree
Showing 5 changed files with 465 additions and 1,300 deletions.
25 changes: 8 additions & 17 deletions extension/osgiviz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "osgiviz",
"displayName": "OSGiViz VSCode",
"description": "KIELER OSGiViz extension for VSCode",
"version": "0.0.1",
"version": "0.3.0",
"publisher": "kieler",
"author": "KIELER <kieler@rtsys.informatik.uni-kiel.de>",
"license": "EPL-2.0",
"repository": {"type": "git", "url": "https://github.com/kieler/osgiviz"},
"engines": {
"vscode": "^1.70.0"
"vscode": "^1.89.1"
},
"categories": [
"Visualization"
Expand Down Expand Up @@ -52,26 +52,17 @@
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"package": "vsce package --yarn",
"distribute": "vsce publish --yarn && ovsx publish --yarn"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@vscode/test-electron": "2.1.5",
"eslint": "^8.22.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.7.4",
"vsce": "^2.10.2",
"ovsx": "^0.5.1"
"@types/vscode": "^1.89.1",
"@types/node": "^20.14.2",
"typescript": "^5.4.5",
"vsce": "^2.15.0",
"ovsx": "^0.9.1"
},
"dependencies": {
"vscode-languageclient": "^5.2.1"
"vscode-languageclient": "^9.0.1"
}
}
10 changes: 5 additions & 5 deletions extension/osgiviz/src/error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://rtsys.informatik.uni-kiel.de/kieler
*
* Copyright 2021 by
* Copyright 2021-2024 by
* + Kiel University
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
Expand All @@ -17,9 +17,9 @@

import { window } from "vscode";
import {
CloseAction,
ErrorAction,
CloseHandlerResult,
ErrorHandler,
ErrorHandlerResult,
Message,
} from "vscode-languageclient";

Expand All @@ -30,14 +30,14 @@ import {
export class KeithErrorHandler implements ErrorHandler {
constructor(private defaultHandler: ErrorHandler) {}

error(error: Error, message: Message, count: number): ErrorAction {
error(error: Error, message: Message, count: number): ErrorHandlerResult | Promise<ErrorHandlerResult> {
window.showErrorMessage("Connection to KIELER OSGiViz Language Server produced an error!");
console.error(error);

return this.defaultHandler.error(error, message, count);
}

closed(): CloseAction {
closed(): CloseHandlerResult | Promise<CloseHandlerResult> {
window.showErrorMessage("Connection to KIELER OSGiViz Language Server got closed!");

return this.defaultHandler.closed();
Expand Down
4 changes: 2 additions & 2 deletions extension/osgiviz/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://rtsys.informatik.uni-kiel.de/kieler
*
* Copyright 2021-2023 by
* Copyright 2021-2024 by
* + Kiel University
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
Expand All @@ -20,7 +20,7 @@ import {
ServerOptions,
LanguageClientOptions,
StreamInfo,
} from "vscode-languageclient";
} from "vscode-languageclient/node";
import { connect, NetConnectOpts, Socket } from "net";
import { KeithErrorHandler } from "./error-handler";

Expand Down
4 changes: 2 additions & 2 deletions extension/osgiviz/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"target": "es2022",
"outDir": "out",
"lib": [
"es6"
"es2022"
],
"sourceMap": true,
"rootDir": "src",
Expand Down
Loading

0 comments on commit bcd736b

Please sign in to comment.