Hacker News new | ask | show | jobs
by norman784 1359 days ago
JS ecosystem is really a joke, you need to put too much work on configuring, maintaining the tooling, just to write a "modern" JS project you need to setup a bundler, linter, test, etc. I think Vite with Vitest is going in the right direction, so you have just one tool, not a lot of tools, just check how hard is to test your code with jest (maybe there's a better library, it was at least from my knowledge widely used), you need to configure almost a separate building pipeline so your code can use ESM and typescript, or you also need to install ts-jest.

Deno also has an interesting approach (you have all the tooling officially shipped like Rust does), but sadly most of the official libraries will not work or does not work with it (maybe I'm wrong and there's a work about), but also I think that not having a manifest with your dependencies makes all harder (will import maps be a thing soon enough? is up to the task?).

Also there is rome.tools, but seems far from being usable yet, besides the formatter.