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

Upgrade to latest LSP client implementation and improve typescript configuration #370

Merged
merged 7 commits into from
Mar 27, 2024

Conversation

DavyLandman
Copy link
Member

@DavyLandman DavyLandman commented Mar 27, 2024

This PR does a few things that we've been delaying:

  • finish upgrade to node 18 (more and more of our dependencies stopped working on node 16, and VS Code was now running node 18 as well)
  • simplify our typescript config
  • upgrade to latest lsp library
  • we could drop node-fetch dependency as java 18 has fetch build in.
  • switch to esbuild for both faster compilation and less configuration (webpack required quite some extra config)

As a side effect this has to increase our minimal VS Code version to 1.82.0 (which was released in June 2023). Since most users are frequently updating VS Code, this should be fine.

This fixes #348 , we could not switch to ESM, as VS Code does not support that, but we could switch to a newer module system, just so we can use the new lsp library.

@jurgenvinju
Copy link
Member

Thanks for this upgrade!

Copy link

sonarcloud bot commented Mar 27, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@DavyLandman DavyLandman merged commit 796b53a into main Mar 27, 2024
11 checks passed
@DavyLandman DavyLandman deleted the node-18-esm-upgrade branch March 28, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to ESM & node 18 & newer version of VS Code
2 participants