News for hackers. Stuff that matters.
Re:Speeding up Prettier locally and on your CI with dprint by coolhoody on Monday April 25, 2022 @06:11PM (#31161415)
It is worth having Deno even if you are not using it: just as a Js/Ts LSP server (it's inbuit). Smaller and better than tss etc.

Also makes much more sense for local scripting. Give it a try even if in doubt for production.

Re:Speeding up Prettier locally and on your CI with dprint by Klaster_1 on Tuesday April 26, 2022 @04:53AM (#31165338)
Can you please elaborate on Deno language server being better over tss? Does it have smaller latency, does it start faster? Is it a drop-in replacement or some features are missing?
Re:Speeding up Prettier locally and on your CI with dprint by coolhoody on Tuesday April 26, 2022 @04:02PM (#31172461)
It is a drop-in replacement. Deno has a Node compatibility mode [0] which — besides the execution — also applies to LSP, so the Node-specific idioms are processed correctly.

It is not cosmically faster than tsserver, but some — including myself — do prefer it. I wouldn't recommend to change anything if you are busy — but maybe take a glance when in the mood for checking out new things.

[0] https://deno.land/manual@main/node/compatibility_mode