zed/extensions/astro
Fabian a0d687c24a
astro: Ensure Typescript is present (#14849)
The current Astro Extension fails to load properly if it can't find a
`tsserver.js` file in the current workspaces' `node_modules` folder.
This happens pretty frequently, either if `typescript` is not installed
in the project (which it isn't by default), or if `node_modules` is not
in the workspace root.

This PR adds a fallback method of installing `typescript` alongside the
extensions' language server if it is not found in the workspaces'
`node_modules`, as well as correctly setting the `tsdk` path in the
initialization options.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-07-23 10:39:25 -04:00
..
languages/astro astro: Fix Tailwind LS not working in attributes (#12741) 2024-06-06 18:57:10 +02:00
src astro: Ensure Typescript is present (#14849) 2024-07-23 10:39:25 -04:00
Cargo.toml astro: Ensure Typescript is present (#14849) 2024-07-23 10:39:25 -04:00
extension.toml astro: Ensure Typescript is present (#14849) 2024-07-23 10:39:25 -04:00
LICENSE-APACHE Extract Astro support into an extension (#9835) 2024-03-26 18:50:08 -04:00