Remove languageserver-types dependency in favor of -protocol#10500
Remove languageserver-types dependency in favor of -protocol#10500colin-grant-work merged 4 commits intomasterfrom
Conversation
msujew
left a comment
There was a problem hiding this comment.
Looks good. However, I found some references to vscode-languageserver-types you seemed to have overlooked:
Also, there is still some reference to it in our core/package.json. I thought the idea was to not depend on a specific version of vscode-languageserver-types, so I'd remove it there as well.
Good catches - thanks. I was so concerned about the shared dependency that that's what I searched for, ignoring |
9b48a1f to
7def431
Compare
vince-fugnitto
left a comment
There was a problem hiding this comment.
@colin-grant-work do you mind adding a breaking change entry for anyone using the vscode-languageserver-types import as it is no longer re-exported (shared) from core? Other than that the changes look good to me, and I confirmed there are no uses of vscode-languageserver-types directly anymore in the codebase.
7def431 to
d424a76
Compare
|
@vince-fugnitto, I've added an entry to the changelog, but under 1.22 - no need to rush to get it in before the release on Thursday. |
d424a76 to
ba9c0d0
Compare
vince-fugnitto
left a comment
There was a problem hiding this comment.
The changes look good to me 👍
What it does
The
vscode-languageserver-typespackage is part of and reexported by thevscode-languageserver-protocolpackage. There's no good reason to have both, and having both separately could introduce dependency management issues, so this replaces all references tovscode-languageserver-typeswithvscode-languageserver-protocol. This will substantially reduce the diff of #10265.How to test
Review checklist
Reminder for reviewers