Repository navigation
Update typescript-language-server to version 6.1.0 and typescript to 6.0.3 - #9843
matthiasblaesing wants to merge 1 commit into
Conversation
9bec80a to
eff0592
Compare
|
@jtulach @mbien @neilcsmith-net this downloads typescript and typescript-language-server from npmjs directly instead of our custom storage. I'd like your opinion whether you consider npmjs as a stable download source. I ask this because I was once burned by them. Coming from Sonatypes "released is released and will never be changed" for maven central, I was negatively surprised, that npmjs allows unpublishing packages, which broke several internal applications hard. On the other hand I consider Microsoft to be grown up enough to not pull such surprises and not having to rely on an infrastructure we try to reduce usage of is IMHO a good reason. Another info: This might be the last regular update of typescript support as typescript now uses a go implemented compiler and that raises questions how to bundle/install it. |
mbien
left a comment
There was a problem hiding this comment.
all things in context i think adding npmjs.com as dependency host is probably fine.
(probably should update the list again https://gist.github.com/mbien/b48d550a116879431130cf78e461b1e1)
|
If you have concern about npmjs, can you extract what you need from https://central.sonatype.com/artifact/org.mvnpm/typescript-language-server ? I just triggered from https://mvnpm.org/package/typescript-language-server on my phone, so no idea what it's picked up! 😆 I think typescript is marked as already there. Other than that, anything that isn't OSUOSL is a step in the right direction. |
| @@ -15,5 +15,5 @@ | |||
| # specific language governing permissions and limitations | |||
| # under the License. | |||
|
|
|||
| 48304CC9611D4F3B4ACD5A6ABB88689913BFA7A0 typescript-5.6.2.zip | |||
There was a problem hiding this comment.
- As already written, "anything that gets us out of OSUOSL" is good.
- using a Microsoft package from npmjs is OK
- however I tend to trust Maven central more
- as such it is an interesting idea to rely on org.mvnpm:typescript:6.0.3
- if the Maven package contains the same source files ...
- ...then it'd be my favorite choice
There was a problem hiding this comment.
if the Maven package contains the same source files ...
Verified typescript-language-server is the same, although stored differently in the JAR. eg. contents of typescript-language-server-6.1.0.jar!META-INF/resources/_static/typescript-language-server/6.1.0/ is the same as the package inside typescript-language-server-6.1.0.tgz Just a case of whether relying on Maven central outweighs changing the extraction.
There was a problem hiding this comment.
Actually, should have checked typescript-language-server-6.1.0-sources.jar first! That is the same as the upstream tgz.
typescript-6.0.3-sources.jar looks like it might do too?
eff0592 to
5a14e32
Compare
|
Interesting. I'm curious how long the mvnpm project will survive. Sonatype made it clear, that they only have finite resources to host the CDN and apply publishing limits. Anyway I'm happier with Sonatypes rules than with npmjs and thus I switched. |
|
Given the relationship to Quarkus, and use elsewhere, I'd hope it's fairly stable (and hopefully that those benefitting are supporting the required infrastructure). So, if this PR works out OK, it's probably a good option if we need anything from npmjs in future. |
5a14e32 to
4ca0b17
Compare
No description provided.