@dpogue Great explanation! And I totally agree that instead of reinventing different package management methods it's easier for everyone to just stick to the same one that is also battle-tested (NPM), to have everything inside `node_modules`. Totally makes sense. The only missing part is then to make it work with Yarn (second-popular package management system). There's also 3rd most popular (PNPM) which I personally don't care about, but some people probably do.
Looks like the issue is: - To run Yarn instead of NPM to install missing packages (detect it e.g by having `yarn.lock` present, instead of `package-lock.json`). - To not reinstall plugins when they are already installed. (But that is less of a problem, cause even if you call `yarn` again one more time and nothing is changed - yarn will detect it itself and it'll take it no more than 1 second to return) [ Full content available at: https://github.com/apache/cordova-cli/issues/303 ] This message was relayed via gitbox.apache.org for [email protected]
