You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Don Coleman <do...@gmail.com> on 2015/04/16 22:36:48 UTC

moving plugins to npm

I'm little nervous about changing the ids for my plugins for npm.

I like the cordova-plugin-* prefix. I think the consistency is good. Is
there any concern that the namespace is too small?

Will newer versions of plugman automatically install the right plugin based
on the id mapping or does it just issue a warning?

During the transition do I publish new versions of plugins to both
cordova.io and npm?

Re: moving plugins to npm

Posted by Andrew Grieve <ag...@chromium.org>.
On Thu, Apr 16, 2015 at 3:51 PM, Steven Gill <st...@gmail.com> wrote:

> On Thu, Apr 16, 2015 at 1:36 PM, Don Coleman <do...@gmail.com>
> wrote:
>
> > I'm little nervous about changing the ids for my plugins for npm.
> >
> > I like the cordova-plugin-* prefix. I think the consistency is good. Is
> > there any concern that the namespace is too small?
> >
>
> I don't think so. I would suggest trying to keep the names short. You don't
> have to use cordova-plugin-* prefix. Important part is adding
> "ecosystem:cordova" keyword
>

FWIW, I am hoping that the smaller namespace will be a good thing, and
cause there to be fewer higher-quality plugins to emerge.


>
>
> >
> > Will newer versions of plugman automatically install the right plugin
> based
> > on the id mapping or does it just issue a warning?
> >
>
> Warning for now. We may do the auto map and install in the future though.
>
> >
> > During the transition do I publish new versions of plugins to both
> > cordova.io and npm?
> >
>
> Up to you. plugins.cordova.io will be switched to read-only in about 3
> months (July 15).
>

Re: moving plugins to npm

Posted by Steven Gill <st...@gmail.com>.
On Thu, Apr 16, 2015 at 1:36 PM, Don Coleman <do...@gmail.com> wrote:

> I'm little nervous about changing the ids for my plugins for npm.
>
> I like the cordova-plugin-* prefix. I think the consistency is good. Is
> there any concern that the namespace is too small?
>

I don't think so. I would suggest trying to keep the names short. You don't
have to use cordova-plugin-* prefix. Important part is adding
"ecosystem:cordova" keyword


>
> Will newer versions of plugman automatically install the right plugin based
> on the id mapping or does it just issue a warning?
>

Warning for now. We may do the auto map and install in the future though.

>
> During the transition do I publish new versions of plugins to both
> cordova.io and npm?
>

Up to you. plugins.cordova.io will be switched to read-only in about 3
months (July 15).