Skip to content

Update typescript-language-server to version 6.1.0 and typescript to 6.0.3 - #9843

Open
matthiasblaesing wants to merge 1 commit into
apache:masterfrom
matthiasblaesing:update-typescript-lsp
Open

matthiasblaesing wants to merge 1 commit into
apache:masterfrom
matthiasblaesing:update-typescript-lsp

Conversation

@matthiasblaesing

Copy link
Copy Markdown
Contributor

No description provided.

@matthiasblaesing matthiasblaesing added this to the NB33 milestone Nov 30, 2026
@matthiasblaesing matthiasblaesing added Upgrade Library Library (Dependency) Upgrade ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) web [ci] enable web job labels Nov 30, 2026
@matthiasblaesing

Copy link
Copy Markdown
Contributor Author

@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 mbien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

@neilcsmith-net

neilcsmith-net commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@neilcsmith-net neilcsmith-net Dec 1, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@matthiasblaesing

Copy link
Copy Markdown
Contributor Author

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.

@neilcsmith-net

Copy link
Copy Markdown
Member

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.

@mbien mbien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

central is even better. Took a quick look if this would close any issues but found no clear candidates.

(#8261 potentially but it never got a full repro)

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

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Upgrade Library Library (Dependency) Upgrade web [ci] enable web job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants