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 B165F1084A for ; Tue, 10 Sep 2013 09:55:59 +0000 (UTC) Received: (qmail 87363 invoked by uid 500); 10 Sep 2013 09:55:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 86893 invoked by uid 500); 10 Sep 2013 09:55:54 -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 85320 invoked by uid 99); 10 Sep 2013 09:55:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 09:55:52 +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 (athena.apache.org: domain of purplecabbage@gmail.com designates 209.85.128.181 as permitted sender) Received: from [209.85.128.181] (HELO mail-ve0-f181.google.com) (209.85.128.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 09:55:48 +0000 Received: by mail-ve0-f181.google.com with SMTP id oy12so4458966veb.12 for ; Tue, 10 Sep 2013 02:55:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cxPnFzgEMiI8FsjabCCF247/t/GduLx0v3/bwJOYKBs=; b=To6b6TyB50F5M7Fo9Mokphu+M2A1wCdCJvPIwvQyR7MewLiwEj9xljvsPCmMGAjiIv cJnvgGrcv6mkKsgjNF9s36XWkHVxRLHp9RaSjepY+bwjPB+5bVuXIpaDOEfKicMgiIm7 7V/Qom65IALBoC5llmXNSsc4fr3KarxMo4WCL5+ApWVL4Uty3jFxIR+cEhuNDrlj2THc OOLfgBaSAHNf5QAMpGW4ZtAlCehY6OZzritLRvBWGvUdLvoQ9UGjFrU11YuaoCimEeAc twAR7kXpU4sgRpJhMG5AB5QdB2j9j9tEhxI3/RtqIRMqAC8TgX/gHcqDPG8MqOQofiOm 9dQw== MIME-Version: 1.0 X-Received: by 10.58.28.147 with SMTP id b19mr190051veh.27.1378806927909; Tue, 10 Sep 2013 02:55:27 -0700 (PDT) Received: by 10.58.32.33 with HTTP; Tue, 10 Sep 2013 02:55:27 -0700 (PDT) In-Reply-To: References: <7E15A8D0-AFD2-46AC-86A2-1FACE2A4B8A8@devgeeks.org> <2DA542F3-006E-438F-A6BB-78609313102F@devgeeks.org> Date: Tue, 10 Sep 2013 02:55:27 -0700 Message-ID: Subject: Re: cordova cli global vs. local install From: Jesse To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=047d7b6d7db226eba504e604819a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d7db226eba504e604819a Content-Type: text/plain; charset=ISO-8859-1 cd 3.0 npm link . cd .. cordova -v cd 3.1 npm link . cd .. cordova -v Very gruntable @purplecabbage risingj.com On Mon, Sep 9, 2013 at 9:27 PM, Tommy-Carlos Williams wrote: > Or, we could just drop it... and just write a blog post on how to use a > local cordova vs the global one in projects you want to have a specific > version (i.e.: some script code example wrapper for a cordova command in > ./node_modules/.bin/cordova). > > 0.o > > - tommy > > > > On 10/09/2013, at 1:42 PM, Michal Mocny wrote: > > > An alternative to leveraging npm locally may be to split cli/lib node > > modules as proposed, but just use the existing .cordova/config.json file > to > > specify the cordova lib location. By default, cordova-cli uses the > global > > npm install of cordova-lib, but that could be overwritten just like > > platform versions. This would also support both a "global lib, upgrade > all > > at once" as well as a "local lib, upgrade on demand" workflow. > > --047d7b6d7db226eba504e604819a--