Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin and test all vscode packages (#899)
* test stated version compatibility this commit adds a new testing mode whereby the extension is tested against the stated minimum vscode compatibility this test fails in this commit due to a minimum @types/vscode requirement of the lsp packages that breaks during runtime Signed-off-by: Lukas Bockstaller <[email protected]> * pins vscode and lsp package versions coherently the compatibility tests (and using the plugin with any version <1.82.0) currently fails with Error: The language client requires VS Code version ^1.82.0 but received version 1.63.1 This commit pins the versions so that doesn't occur anymore. Rationale for the versions: We need at least @types/vscode=~1.67.0 to use the newer client start api: const client: LanguageClient = ...; await client.start(); instead of const client: LanguageClient = ...; client.start(); await client.onReady(); and the LanguageClient#dispose method. But @types/vscode=~1.67.0 has an issue where running tests modifies the package.json (microsoft/vscode#148975) which is fixed in ~1.71.0. The LSP packages are then selected to keep backwards compatibility with ~1.71.0 Signed-off-by: Lukas Bockstaller <[email protected]> * adds missing sinon types Signed-off-by: Lukas Bockstaller <[email protected]> * Remove svg image links Signed-off-by: Zabil Cheriya Maliackal <[email protected]> * bumps version for release Signed-off-by: Lukas Bockstaller <[email protected]> * removes direct dependency to vscode-jsonrpc and vscode-languageclient-protocol Signed-off-by: Lukas Bockstaller <[email protected]> * bumps test timeout Signed-off-by: Lukas Bockstaller <[email protected]> * De-duplicate transitive dependencies Signed-off-by: Chad Wilson <[email protected]> * Simplify dependabot grouping rules Signed-off-by: Chad Wilson <[email protected]> --------- Signed-off-by: Lukas Bockstaller <[email protected]> Signed-off-by: Zabil Cheriya Maliackal <[email protected]> Signed-off-by: Chad Wilson <[email protected]> Co-authored-by: Zabil Cheriya Maliackal <[email protected]> Co-authored-by: Chad Wilson <[email protected]>
- Loading branch information