Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B93691186F for ; Fri, 2 May 2014 19:16:21 +0000 (UTC) Received: (qmail 36132 invoked by uid 500); 2 May 2014 19:13:46 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 35986 invoked by uid 500); 2 May 2014 19:13:36 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 35719 invoked by uid 99); 2 May 2014 19:13:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 19:13:14 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS,TVD_FROM_1 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.21.198.25] (HELO smtp-fw-4101.amazon.com) (72.21.198.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 19:13:10 +0000 X-IronPort-AV: E=Sophos;i="4.97,973,1389744000"; d="scan'208";a="78420660" Received: from smtp-in-1101.vdc.amazon.com ([10.146.54.37]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 May 2014 19:12:46 +0000 Received: from ex10-hub-9001.ant.amazon.com (ex10-hub-9001.ant.amazon.com [10.185.137.58]) by smtp-in-1101.vdc.amazon.com (8.14.7/8.14.7) with ESMTP id s42JCjF7018719 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for ; Fri, 2 May 2014 19:12:45 GMT Received: from EX10-HUB-64001.ant.amazon.com (10.25.67.30) by ex10-hub-9001.ant.amazon.com (10.185.137.58) with Microsoft SMTP Server (TLS) id 14.3.181.6; Fri, 2 May 2014 12:12:40 -0700 Received: from EX10-MBX-PDX01.ant.amazon.com ([169.254.2.189]) by ex10-hub-64001.ant.amazon.com ([10.25.67.30]) with mapi id 14.03.0181.006; Fri, 2 May 2014 12:12:39 -0700 From: "Naik, Archana" To: "dev@cordova.apache.org" Subject: Re: cordova-lib split out Thread-Topic: cordova-lib split out Thread-Index: AQHPZjl/V3gt3OQNV0q9snuEBH5IP5stqIKA Date: Fri, 2 May 2014 19:12:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.1.140326 x-originating-ip: [172.18.12.82] Content-Type: text/plain; charset="us-ascii" Content-ID: <2DCECF7C40D5A945ACECABD7EA86B60A@ant.amazon.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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" 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/ > - > > src/plugman/ > - > > src/ (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.