https://github.com/pnpm/pnpm is almost a drop-in replacement for npm, and I am 
successfully using it with cordova-fetch by creating a symlink from `npm` to 
`pnpm`.

The flags used by cordova-fetch are also compatible with `yarn`, afaics, but I 
havent tested that.  npm is also planning a new package manager on the horizon, 
https://github.com/npm/tink , which [looks 
likely](https://github.com/npm/tink/blob/latest/lib/config.js) to support the 
same args.

@zkochan, creator of pnpm, has created https://github.com/zkochan/which-pm to 
do the detection, so it should be fairly easy to invoke the correct package 
manager, using the same flags.

[ Full content available at: https://github.com/apache/cordova-fetch/issues/46 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to