language-tools
language-tools copied to clipboard
svelte-check breaking changes v4
Loose collection of things we should do for v4:
- make TypeScript a peer dependency
Timing:
- after we investigated Volar
- with Svelte 5?
Potentially https://github.com/sveltejs/language-tools/issues/2391
- Possibly chokidar v4 is out by then and we should check whether or not to switch to it. By the looks of it it will be ESM only, so we need change our output to be ESM, too. But that sounds like a good thing to do either way; and likely harmless since
svelte-checkis meant to be used as a command line tool where that doesn't matter. - Checks which minimum Node version to support. Probably 18
#2420
Idea for svelte-preprocess (would address #2391):
- keep it in language-server, but load it through
awaitwith try-catch - make it external in rollup build config in svelte-check, which means the fallback doesn't kick in when using svelte-check
PR's related to major:
- #2401
- #2433
- #1860