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 9BC83112D8 for ; Mon, 18 Aug 2014 21:16:59 +0000 (UTC) Received: (qmail 62763 invoked by uid 500); 18 Aug 2014 21:16:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 62723 invoked by uid 500); 18 Aug 2014 21:16:59 -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 62703 invoked by uid 99); 18 Aug 2014 21:16:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 21:16:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kamrik@google.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 21:16:33 +0000 Received: by mail-oa0-f45.google.com with SMTP id i7so4553713oag.32 for ; Mon, 18 Aug 2014 14:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FNP1/r08yt2dVEB+7cGAbIaO6RA03oH6T2bRxp8SO8w=; b=co/CqDqoJ67bPlXw7SNAGEbocypMPfgBwVlWTQNSyyPd8b367GDa0l2GUJOBImpCRB 4lJOvw+7JOYIeyuBMtk3Ayc66YF0spv5vzZg+UPMcFp71oJswztsweopmgmvYVoRsDNX ATAQyGCZCUkH4SVtj1TCyqgGd2xkYqmNRD2qbJvOQpOa9Pp5rWHdWFq91tYz7HGF3c8F 71Io2mUCHYMSpNTW421e8f600DHdsxDzmHOvC9JRThkBsyI0CxolaM/CupsUNyJMu0re 8LIR9ydCoR/dfv1W8tvxQAcrIpI+iiCrR+iSyiRUQZ0C+BWjxJINHIWM/BV8fXnthu1a 06pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FNP1/r08yt2dVEB+7cGAbIaO6RA03oH6T2bRxp8SO8w=; b=YhVsZ6jPQ+FmdmYmTW4xyyB6vapqF2gJ25b1vAvCxGDcuPHur/QbLeyTFHhwoXWEXY 2D23MIyJ2IYGQT+J2rjH4NCxCMKCF8PVlPespEyh4iOvLOoVAHemDXzp9z5Lcxhg9gF0 ORGGItoWcCHyW17MhfgjzMnYK7/uwgFeectI6LbB2epw2FodzmI0ZQCLqcQJLCQGf79y EiLClf1p/1vG+pGJujz5IONEc60O6pnVUMcGUfsxDRZl8bPnR2JFvacvwHt9Kn9KK1lR F3tPC5eBW5FtbJMUrC+HDU3dp864u6NRNt8Wt9ScfM++CwRPTcwLxTHS3YlYXRSDK6Ax DMag== X-Gm-Message-State: ALoCoQkHcJ09sap5bBXi2d4qFVAq4vuvoHz+hHPEnHspCpcqCngwzwgd3nW2QP5yfFK6xvvOK5nt MIME-Version: 1.0 X-Received: by 10.182.181.42 with SMTP id dt10mr10034505obc.69.1408396592169; Mon, 18 Aug 2014 14:16:32 -0700 (PDT) Received: by 10.202.193.132 with HTTP; Mon, 18 Aug 2014 14:16:32 -0700 (PDT) In-Reply-To: References: <85A3E123BABF314D9D3656D0B418125643E0E4D8@FMSMSX103.amr.corp.intel.com> <85A3E123BABF314D9D3656D0B418125643E0E886@FMSMSX103.amr.corp.intel.com> <8eff060366a445ad94162c2f1adfbdc7@BLUPR03MB065.namprd03.prod.outlook.com> <20140814081559.GA6390@gmail.com> <85A3E123BABF314D9D3656D0B418125643E10D34@FMSMSX103.amr.corp.intel.com> Date: Mon, 18 Aug 2014 17:16:32 -0400 Message-ID: Subject: Re: cordova plugin save From: Mark Koudritsky To: dev@cordova.apache.org Cc: "Treggiari, Leo" Content-Type: multipart/alternative; boundary=089e01161dc09461e90500ede2b3 X-Virus-Checked: Checked by ClamAV on apache.org --089e01161dc09461e90500ede2b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In order to keep the plugins as project deps in package.json we need to sort out some details of treating plugins as npm packages first: 1) Plugins don't currently have package.json files, and list their deps in plugin.xml. 2) Are we ok with loosing the possibility of specifying platform specific dependencies? (e.g. plugin A might depend on plugin B for iOS and on nothing for Android) 3) Simply listing deps inside the newly created package.json in plugins will create a possibly deep tree of plugin/node_modules/plugin folders with possible duplicates. Npm's peer dependencies might be the right solution, but I haven't looked at it yet. =E2=80=8B I agree that Cordova is a build system to a very large extent. But then it makes more sense to treat it as a tool to be used by other build systems rather than re-invent all the wheels on our own. Recently I tried building a cordova project with Gulp without using the CLI, it works great. https://github.com/kamrik/CordovaGulpTemplate Some time ago Carlos did a similar thing with Grunt: https://www.npmjs.org/package/grunt-cordovacli --089e01161dc09461e90500ede2b3--