You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Brian LeRoux <b...@brian.io> on 2014/04/17 23:16:54 UTC
CLI tools dependency versioning
Michal also asks,
"Do CLI's have deps on specific versions of cordova-lib-*, so an apache release
means pushing updated package.json deps?"
I think Cordova CLI should explicitly lock versions in package.json to
stuff from cordova-ilb. Plugman too. (For now. Once things get stable more
liberal versioning is fine.) I could totally see something like this:
"dependencies": {
"cordova-lib-app-create":"0.1.0",
"cordova-lib-app-info":"0.1.0",
"cordova-lib-app-platform-add":"0.1.0",
"cordova-lib-app-platform-remove":"0.1.0",
...etc
}
Re: CLI tools dependency versioning
Posted by Brian LeRoux <b...@brian.io>.
the big benefit of using package.json is native binaries
tho we all use macs here so no big deal
yuk yuk
On Tue, Apr 22, 2014 at 8:23 AM, Andrew Grieve <ag...@chromium.org> wrote:
> npm-shrinkwrap.json does this for us already. Not sure there's added
> benefit in locking them down in the package.json
>
>
> On Thu, Apr 17, 2014 at 5:35 PM, Michal Mocny <mm...@chromium.org> wrote:
>
> > +1, though it does imply that cli and plugman continue to be released
> > frequently, instead of rarely as was at some point considered. I think
> > thats fine, and actually simplifies a lot of things conceptually (cordova
> > "version" for users is == CLI version).
> >
> >
> > On Thu, Apr 17, 2014 at 5:16 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> > > Michal also asks,
> > > "Do CLI's have deps on specific versions of cordova-lib-*, so an apache
> > > release
> > > means pushing updated package.json deps?"
> > >
> > > I think Cordova CLI should explicitly lock versions in package.json to
> > > stuff from cordova-ilb. Plugman too. (For now. Once things get stable
> > more
> > > liberal versioning is fine.) I could totally see something like this:
> > >
> > > "dependencies": {
> > > "cordova-lib-app-create":"0.1.0",
> > > "cordova-lib-app-info":"0.1.0",
> > > "cordova-lib-app-platform-add":"0.1.0",
> > > "cordova-lib-app-platform-remove":"0.1.0",
> > > ...etc
> > > }
> > >
> >
>
Re: CLI tools dependency versioning
Posted by Andrew Grieve <ag...@chromium.org>.
npm-shrinkwrap.json does this for us already. Not sure there's added
benefit in locking them down in the package.json
On Thu, Apr 17, 2014 at 5:35 PM, Michal Mocny <mm...@chromium.org> wrote:
> +1, though it does imply that cli and plugman continue to be released
> frequently, instead of rarely as was at some point considered. I think
> thats fine, and actually simplifies a lot of things conceptually (cordova
> "version" for users is == CLI version).
>
>
> On Thu, Apr 17, 2014 at 5:16 PM, Brian LeRoux <b...@brian.io> wrote:
>
> > Michal also asks,
> > "Do CLI's have deps on specific versions of cordova-lib-*, so an apache
> > release
> > means pushing updated package.json deps?"
> >
> > I think Cordova CLI should explicitly lock versions in package.json to
> > stuff from cordova-ilb. Plugman too. (For now. Once things get stable
> more
> > liberal versioning is fine.) I could totally see something like this:
> >
> > "dependencies": {
> > "cordova-lib-app-create":"0.1.0",
> > "cordova-lib-app-info":"0.1.0",
> > "cordova-lib-app-platform-add":"0.1.0",
> > "cordova-lib-app-platform-remove":"0.1.0",
> > ...etc
> > }
> >
>
Re: CLI tools dependency versioning
Posted by Michal Mocny <mm...@chromium.org>.
+1, though it does imply that cli and plugman continue to be released
frequently, instead of rarely as was at some point considered. I think
thats fine, and actually simplifies a lot of things conceptually (cordova
"version" for users is == CLI version).
On Thu, Apr 17, 2014 at 5:16 PM, Brian LeRoux <b...@brian.io> wrote:
> Michal also asks,
> "Do CLI's have deps on specific versions of cordova-lib-*, so an apache
> release
> means pushing updated package.json deps?"
>
> I think Cordova CLI should explicitly lock versions in package.json to
> stuff from cordova-ilb. Plugman too. (For now. Once things get stable more
> liberal versioning is fine.) I could totally see something like this:
>
> "dependencies": {
> "cordova-lib-app-create":"0.1.0",
> "cordova-lib-app-info":"0.1.0",
> "cordova-lib-app-platform-add":"0.1.0",
> "cordova-lib-app-platform-remove":"0.1.0",
> ...etc
> }
>