Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pnpify): include wrapper for tsserverlibrary.js and return the entire tsserver #2995

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented Jun 7, 2021

What's the problem this PR addresses?

The TypeScript SDK doesn't include a wrapper around the tsserverlibrary.js file and only returns the Session instead of the entire lib in tsserver

Fixes #2986

How did you fix it?

Generate a wrapper for it and return the entire tsserver

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz marked this pull request as draft June 7, 2021 15:14
@arcanis
Copy link
Member

arcanis commented Jun 7, 2021

Will it be enough? The TS server has quite a bit of extra boilerplate compared to the other wrappers 🤔

@merceyz
Copy link
Member Author

merceyz commented Jun 7, 2021

It's enough for it to work without go to definition, I made it a draft while I look into that

@merceyz merceyz force-pushed the merceyz/fix/sdk-tsserverlibrary branch from 09a3e4b to 1931c53 Compare June 19, 2021 08:11
@merceyz merceyz changed the title fix(pnpify): include wrapper for tsserverlibrary.js fix(pnpify): include wrapper for tsserverlibrary.js and return the entire tsserver Jun 19, 2021
@merceyz merceyz marked this pull request as ready for review June 19, 2021 08:13
@merceyz merceyz enabled auto-merge (squash) June 19, 2021 08:16
@merceyz merceyz merged commit 8bed594 into master Jun 30, 2021
@merceyz merceyz deleted the merceyz/fix/sdk-tsserverlibrary branch June 30, 2021 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Pnpify is not patching tsserverlibrary file
2 participants