News for hackers. Stuff that matters.
Re:Speeding up the JavaScript ecosystem – The barrel file de... by danwee on Monday October 09, 2023 @06:36AM (#37818929)
> Just the other day I was trying to update eslint dependencies in monorepo only to have builds broken, tailwind stop working on next.js project. Then little tailwind prettier plugin fell off. Some things support ESM, others not yet.

Perhaps that's the problem. Tons of moving parts => more chances for something to go wrong.

> I seriously hope that something like bun will become a one single tool to use. One tool that works with TS, supports linting, testing, tailwind, etc, etc, etc. One single fucking thing that works.

I wonder why Node doesn't do that. They have an advantage point of being THE platform for JS development: `node lint`, `node build`, `node foo`, etc.

Re:Speeding up the JavaScript ecosystem – The barrel file de... by DanielHB on Monday October 09, 2023 @06:57AM (#37819041)
it was a deliberate decision from the Node foundation to let the "ecosystem flourish". If they built-in those tools there would be a lot less evolution on what the tools could do.

Arguably this was a good decision in ~2010, but today it makes much less sense, tools haven't been evolving as fast anymore in the JS ecosystem and people seem to be standardising more and more on what works and what doesn't.

Re:Speeding up the JavaScript ecosystem – The barrel file de... by CafeRacer on Monday October 09, 2023 @07:13AM (#37819136)
Time for iojs sequel?
Re:Speeding up the JavaScript ecosystem – The barrel file de... by CafeRacer on Monday October 09, 2023 @10:12AM (#37820641)
> Perhaps that's the problem. Tons of moving parts => more chances for something to go wrong.

There are too many changes and too many moving parts.

This reminds me of an old sketch. Don't remember the details but it's something like:

> Oh, there are 6 popular messenger apps, let us build one to rule them all > some time later... > now there are 7 popular messenger apps