chore(deps): Updated to Theia 1.39.0 (#2144)

- update Theia to `1.39.0`,
 - remove the application packager and fix the security vulnerabilities,
 - bundle the backed application with `webpack`, and
 - enhance the developer docs.

Co-authored-by: Akos Kitta <a.kitta@arduino.cc>
Co-authored-by: per1234 <accounts@perglass.com>

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2023-08-14 12:12:05 +02:00
committed by GitHub
parent 144df893d0
commit 9a6a457bc4
143 changed files with 5011 additions and 8095 deletions

View File

@@ -1,7 +1,11 @@
import { FileUri } from '@theia/core/lib/node/file-uri';
import { injectable } from '@theia/core/shared/inversify';
import { ExecutableService } from '../common/protocol/executable-service';
import { getExecPath } from './exec-util';
import {
arduinoCliPath,
arduinoLanguageServerPath,
clangdPath,
} from './resources';
@injectable()
export class ExecutableServiceImpl implements ExecutableService {
@@ -11,9 +15,9 @@ export class ExecutableServiceImpl implements ExecutableService {
lsUri: string;
}> {
return {
clangdUri: FileUri.create(getExecPath('clangd')).toString(),
cliUri: FileUri.create(getExecPath('arduino-cli')).toString(),
lsUri: FileUri.create(getExecPath('arduino-language-server')).toString(),
clangdUri: FileUri.create(clangdPath).toString(),
cliUri: FileUri.create(arduinoCliPath).toString(),
lsUri: FileUri.create(arduinoLanguageServerPath).toString(),
};
}
}