cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (Akvelon)" <>
Subject RE: cordova-lib split out
Date Mon, 05 May 2014 21:14:47 GMT
Btw, will github mirror for cordova-lib fully available soon?

-----Original Message-----
From: Sergey Grebnov (Akvelon) 
Sent: Monday, May 5, 2014 1:47 PM
Subject: RE: cordova-lib split out

Mark, Michal, thx for the quick response, got it working.

-----Original Message-----
From: Mark Koudritsky []
Sent: Monday, May 5, 2014 1:29 PM
Subject: Re: cordova-lib split out

On Mon, May 5, 2014 at 4:12 PM, Sergey Grebnov (Akvelon) <> wrote:

> Just tried to rebase some of my work  (plugman, cli) on top of master 
> branches w/o any success due to cordova-lib.
> What is the correct dev set up should be? Is below correct?
> cordova-cli <- [master]
>     node_modules
>         cordova-lib <-
> [master] 
> (github mirror is empty)
This is correct ("npm link" should help, check the instructions in the first main in this

>         plugman <- [master]

cli no longer depends on plugman

this should give you a working cli checkout.
git clone cordova-lib
cd cordova-lib/cordova-lib
npm link
npm install
cd ../..
git clone cordova-cli
cd cordova-cli
npm link cordova-lib
npm install

> One of the issues I noticed is that cordova-lib repo has additional 
> cordova-lib folder inside, I believe src code must be in repo root, not?

There is no restriction on where to put the src (and most importantly the package.json). In
this case, unlike the cli repo, this repo is set up so that there can be several sibling npm
modules at the top of the repo. Just make sure, that when you are running npm link, to run
it from within the inner cordova-lib dir, so that package.json for cordova lib is in your
current dir.
View raw message