SIGN IN SIGN UP

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>
F
Fabian committed
a0d687c24a2ed8d335504c83725396aeec17c6c5
Parent: 5f57efb
Committed by GitHub <noreply@github.com> on 7/23/2024, 2:39:25 PM