Added JIRA component: CordovaLib
On Fri, May 2, 2014 at 3:12 PM, Naik, Archana <na...@lab126.com> wrote: > Thanks Mark for sending this out. I just noticed these changes as I need > to fix something in amazon_fireos_parser.js. :) > > Question: re: code that does require('cordova/something') will break. > Platform scripts use 'cordova/something' and I guess we will have to take > care of those. Is this change going in 3.5.0? > > Archana > > On 5/2/14 11:34 AM, "Mark Koudritsky" <kam...@google.com> wrote: > > >Hi All, > > > >Cordova-lib is here. And since there is no way to do it gradually without > >eternally chasing changes between repos, I'm landing it on master in a big > >heavy chunk (as well as on branch named cordova-lib). > > > >Cordova lib is here: > >https://git-wip-us.apache.org/repos/asf/cordova-lib.git > > > >when cloning cordova lib please make sure to run > > npm link in cordova-lib > > and > > npm link cordova-lib in cordova-cli and cordova-plugman repos > > > >The new code structure is based on what was discussed during the hangout > >with minor changes and is as follows: > > > >cordova-cli.git/ > > > > - > > > > package.json > > - > > > > bin/cordova[.cmd] > > - > > > > src/cli.js > > - > > > > doc/help.txt > > - > > > > spec/cli.spec.js > > - > > > > cordova.js - a proxy for cordova-lib/src/cordova/cordova.js below, for > > compatibility, will go away later, when downstream tools start using > > crdova-lib. > > > > > > > >cordova-plugman repo has a structure very similar to cordova-cli. > > > >cordova-lib.git/ > > > > - > > > > cordova-lib/ > > - > > > > cordova-lib.js - The future Cordova API surface. For now only > > contains proxy shims to cordova.js and plugman.js > > - > > > > src/cordova/<almost all of cordova-cli code> > > - > > > > src/plugman/<almost all of plugman code> > > - > > > > src/<common code> (for now only CordovaError) > > - > > > > templates/* > > - > > > > spec-plugman/ > > - > > > > spec-cordva/ > > - > > > > Specs are not in the same dir because they interact with each > > other. This will be solved later, then they can be combined > >into a single > > spec dir. > > - > > > > cordova-future-moduleX/ - will live as sibling of cordova-lib/. We can > > later move them to live under cordova-lib/node_modules/ if npm link > >work > > becomes a burden for dev workflow. > > > > > > > >Some points: > > > > - code that does require('cordova/something') will break. > > > > - README files will need some attention. > > > > - npm-shrinkwrap.json files were deleted and will need to be re-created > >again. > >