Re:Hello Yarn 2, Goodbye node_modules
by inopinatus on Wednesday August 11, 2021 @04:02AM
(#28139299)
No, that’s still fixating on the mechanics, not the problem. Package management is not a valuable outcome, it’s a means to an end.
In principle, ES modules do away with needing a package manager. And yes, folks are already working on the consequential gaps in capability.
The point still being, however incomplete it currently is, this is the first-party solution. Node is not JavaScript.
Yeah but what I mean is that as it stands you literally cannot implement a package manager based on ES Modules alone. So it’s strange to me that someone would say that ES Modules are the package management solution for JavaScript. That’s not what it is currently for. Though the relevant standards may certainly be officially extended in the future, to allow for standardized package management based on ES Modules.