Currently, 'Cordova plugin add local/path' will copy the entire contents of 
local/path to currentApp/plugins/new-plugin

This is only true of local git clones and installs via githuburls.  Npm 
installs should use .npmignore to exclude demo code inclusion. 
We should eventually make plugin install honor the text of .npmignore or add an 
<exclude> tag to plugin.xml

> On Mar 30, 2016, at 7:10 AM, Alexis Kofman <alexis.kof...@gmail.com> wrote:
> 
> Hello all,
> 
> +1 also.
> 
> In my case I've added demo apps from the manual tests of my plugins. I
> thought it was a good location to permit users to easily "test" plugins.
> @purplecabbage, even if you have a demo folder in your plugins, it is just
> dowloaded by github users but not installed in their project so it is not
> really a big deal right ?
> 
> On Wed, Mar 30, 2016 at 3:57 PM, Raymond Camden <raymondcam...@gmail.com>
> wrote:
> 
>> Huge +1. This is an incredibly good idea.
>> 
>> On Mon, Mar 28, 2016 at 4:47 PM, Parashuram N <panar...@microsoft.com>
>> wrote:
>>> Hey folks,
>>> 
>>> At the moment, the sample code in our plugins is limited to only show
>> basic usage of the API. While this is great for someone who has already
>> written Cordova projects, I believe that we may need more examples for
>> folks who are just getting started with Cordova.
>>> To improve our documentation, Norm has sent out a pull request with
>> additional examples that show the typical use cases for the plugins -
>> https://github.com/apache/cordova-plugin-geolocation/pull/74/files
>> 
>> 
>> 
>> 
>> --
>> ===========================================================================
>> Raymond Camden, Developer Advocate for StrongLoop at IBM
>> 
>> Email : raymondcam...@gmail.com
>> Blog : www.raymondcamden.com
>> Twitter: raymondcamden
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
>> For additional commands, e-mail: dev-h...@cordova.apache.org
> 
> 
> -- 
> Alexis Kofman

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to