|
|
|
|
|
by thrwaway69
2339 days ago
|
|
Half the issues you mentioned are due to the ecosystem/community (one liner packages and deep dependency isn't fault of npm but it might be an unintentional result of how easy it was/is to publish and reuse packages) and the other half I don't notice by using yarn/pnpm. Getting types is optional and only required if you use typescript which you don't have to. It does improve the editor experience for vanilla js but those are put under dev dependency. There are a lot of things that can be improved though. Lot of packages put their config inside package.json which is honestly messy. The whole script part is a bit restricting. Better approach would have been to follow how mix (elixir) does it.
Json is limiting as a format, no comments. Like you mentioned, it inherits the mentality of js ecosystem. It doesn't feel part of node but a separate piece of its own. |
|