> What you describe in your last comment would usually be handled using 
> peerDependencies. In this approach, a platform would specify that it needs 
> one of a certain range of Cordova versions to be installed alongside it to 
> work properly.

Does this already work? Does this make sure, a platform requiring a newer 
"interface" doesn't get installed with older CLIs?

> The problem here is that we recommend users to install tooling globally while 
> platforms are installed locally. Moreover, we seem to support more than one 
> workflow where platforms are used without cordova-lib (platform-centric with 
> plugman, using only platforms and their scripts, ...)

Ok, so does this answer the question I posed in my original post? Do we need 
the pinning because of that?

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

Reply via email to