RE: Adding Examples for Plugins in the ReadMe

2016-03-31 Thread Richard Knoll
Re: Adding Examples for Plugins in the ReadMe 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

Re: Adding Examples for Plugins in the ReadMe

2016-03-30 Thread Jesse
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

Re: Adding Examples for Plugins in the ReadMe

2016-03-30 Thread Alexis Kofman
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 proje

Re: Adding Examples for Plugins in the ReadMe

2016-03-30 Thread Raymond Camden
Huge +1. This is an incredibly good idea. On Mon, Mar 28, 2016 at 4:47 PM, Parashuram N 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 t

RE: Adding Examples for Plugins in the ReadMe

2016-03-29 Thread Parashuram N
, that may not make sense for adding to the Apache repo. -Original Message- From: Jesse [mailto:purplecabb...@gmail.com] Sent: Tuesday, March 29, 2016 10:31 AM To: dev@cordova.apache.org Subject: Re: Adding Examples for Plugins in the ReadMe Calling these 'tests' to me is way ou

Re: Adding Examples for Plugins in the ReadMe

2016-03-29 Thread Jesse
we > > > ensure that the example and the plugin use the same version of the API. > > > However, there may be some examples (typically in the file plugin area) > > > where a good scenario would mean using 2 plugins. What do we do for > that > > ? > > >

Re: Adding Examples for Plugins in the ReadMe

2016-03-29 Thread Carlos Santana
t; -Original Message- > > From: Jesse [mailto:purplecabb...@gmail.com] > > Sent: Monday, March 28, 2016 4:51 PM > > To: dev@cordova.apache.org > > Subject: Re: Adding Examples for Plugins in the ReadMe > > > > Awesome. > > I typically include a demo folder w

Re: Adding Examples for Plugins in the ReadMe

2016-03-28 Thread Robert Posener
, March 28, 2016 4:51 PM > To: dev@cordova.apache.org > Subject: Re: Adding Examples for Plugins in the ReadMe > > Awesome. > I typically include a demo folder with inside my plugin repos, but this > does mean that this demo code gets copied all over the place if a user > installs

RE: Adding Examples for Plugins in the ReadMe

2016-03-28 Thread Parashuram N
? -Original Message- From: Jesse [mailto:purplecabb...@gmail.com] Sent: Monday, March 28, 2016 4:51 PM To: dev@cordova.apache.org Subject: Re: Adding Examples for Plugins in the ReadMe Awesome. I typically include a demo folder with inside my plugin repos, but this does mean that this demo

Re: Adding Examples for Plugins in the ReadMe

2016-03-28 Thread Jesse
Awesome. I typically include a demo folder with inside my plugin repos, but this does mean that this demo code gets copied all over the place if a user installs a plugin via git-repo or clone. I npm-ignore the demo folder so at least it does not go to npm ... Here's an example: https://github.com/

Re: Adding Examples for Plugins in the ReadMe

2016-03-28 Thread Jesse
Awesome. I typically include a demo folder with inside my plugin repos, but this does mean that this demo code gets copied all over the place if a user installs a plugin via git-repo or clone. I npm-ignore the demo folder so at least it does not go to npm ... Here's an example: https://github.com/

Re: Adding Examples for Plugins in the ReadMe

2016-03-28 Thread Robert Posener
+500 Regards *Rob Posener* 0419 012 627 On 29 March 2016 at 08:47, Parashuram N 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 m