Three existing fetching implementations.
Both lazy load and remote load use gitclone.js https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/gitclone.js
Currently, platforms and templates are cached at
~/.cordova/lib/npm_cache/PACKAGE. On master, plugins are being cached to
cordova-fetch. Fetches from npm, git and local paths.
npminstead of packaging our own
cordoba-lib. We already check for
gitbeing installed, we should do the same for
npm. We would use
superspawnto shell out to the system
.cordova/npm_cache/and instead use
.npm/for all of our
npm caching. This will allow us to move away from passing custom config options to npm.