Files
zed/extensions
Marshall Bowers be1ff8aee9 vue: Install a global version of TypeScript if not present in the project (#14747)
This PR updates the Vue extension with support for installing and using
its own copy of TypeScript if it can't find one in the project.

The way we resolve `typescript` is as follows:

- We check the project's `package.json` for `typescript` in either the
`devDependencies` or `dependencies`
- If found, we set the `typescript.tsdk` to
`node_modules/typescript/lib` to use the project's copy of TypeScript
- If not found, we install the latest version of `typescript` (if not
already downloaded) to the extension's `package.json` and use that
version for `typescript.tsdk`

This should resolve instances where Vue projects that do not have an
explicit `typescript` dependency—such as those using Vue with plain
JavaScript—fail to load the language server due to TypeScript not being
found.

Release Notes:

- N/A
2024-07-18 11:32:46 -04:00
..
2024-07-08 11:29:07 -04:00
2024-04-16 15:49:16 -04:00
2024-07-11 11:48:04 +02:00
2024-07-13 21:10:36 +03:00
2024-07-17 11:14:52 -04:00
2024-05-15 21:27:37 +02:00
2024-04-18 11:57:21 -04:00
2024-05-21 18:36:47 +02:00
2024-07-05 14:17:53 -04:00
2024-07-05 10:10:54 -04:00
2024-07-17 09:40:00 -04:00
2024-07-02 10:18:36 -04:00
2024-04-23 13:31:21 -04:00
2024-07-18 08:13:36 -04:00
2024-04-23 13:31:21 -04:00
2024-06-24 00:39:42 +02:00
2024-07-17 10:20:50 -04:00
2024-07-18 04:38:44 +00:00
2024-07-17 10:41:12 -04:00