Skip to content

Install Typescript for the language server#76

Open
jasonlyu123 wants to merge 2 commits into
zed-extensions:mainfrom
jasonlyu123:install-ts
Open

Install Typescript for the language server#76
jasonlyu123 wants to merge 2 commits into
zed-extensions:mainfrom
jasonlyu123:install-ts

Conversation

@jasonlyu123
Copy link
Copy Markdown

@jasonlyu123 jasonlyu123 commented May 4, 2026

Svelte language server plans to move TypeScript to peerDependency as part of TypeScript 6 support. The reason is to allow people to continue using TypeScript 5 if needed. This means npm won't automatically install TypeScript anymore, so the extension needs to install it manually. But it's still beneficial to have this to ensure TypeScript is updated.

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 4, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @jasonlyu123 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@jasonlyu123
Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label May 4, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 4, 2026

The cla-bot has been summoned, and re-checked this pull request!

@jasonlyu123
Copy link
Copy Markdown
Author

I just noticed that npm actually automatically installs peerDependency in npm 7+. So it's not that important. But this still has the benefit of ensuring that TypeScript is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant