Alright, I think what I'm going to do then, is only print the cordova-lib version if it differs from the CLI version, or if it ends with "-dev". The -dev part is to make it easier to know when it's npm link'ed properly.
On Thu, Jan 29, 2015 at 5:46 PM, Michal Mocny <mmo...@chromium.org> wrote: > Yeah I think thats fine. Even if we break cordova-lib up into pieces, we > will still need to maintain compatibility, and so will always be the one to > join the pieces together and dictate the semver. > > In hindsight maybe it would have been better to merge plugman code into > cordova-cli instead of creating a new repo? :P I'm sure Mark will be > amused. > > -Michal > > On Thu, Jan 29, 2015 at 4:51 PM, Steven Gill <stevengil...@gmail.com> > wrote: > > > Sorry I realized that wasn't very clear. > > > > They are the same on purpose. We could change this if we have a good > > reason. Right now the "cordova" version our users download is based on > the > > cli. CLI is very tightly tied to cordova-lib. > > > > It says that cli and lib can be different versions at > > > > > https://github.com/apache/cordova-coho/blob/master/docs/versioning-and-release-strategy.md > > . > > Probably need to change this. > > > > On Thu, Jan 29, 2015 at 1:30 PM, Steven Gill <stevengil...@gmail.com> > > wrote: > > > > > That is true. Both are the same. > > > On Jan 29, 2015 1:15 PM, "Andrew Grieve" <agri...@chromium.org> wrote: > > > > > >> Just filed https://issues.apache.org/jira/browse/CB-8379, and > > implemented > > >> locally and noticed that right now cli.version == lib.version. > > >> > > >> Wondering if this is on purpose or coincidence? If CLI version is > always > > >> == > > >> lib version, then there's no need to print out both versions. > > >> > > > > > >