cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TimBarham <>
Subject [GitHub] cordova-lib pull request: CB-9065 Allow removing plugins by short ...
Date Fri, 22 May 2015 22:10:38 GMT
Github user TimBarham commented on the pull request:
    Hmmm... Interesting point. I like the convenience of a short name, but I don't think it
is worth the weirdness of adding a custom field to package.json just for that. If I check
this in, and people get used to it, they'll expect it to be supported going forward.
    So, here's a possible alternatively that will work now and in the future... rather than
supporting removing by name, we could support removing by a "short id". That is - you could
drop the `cordova-plugin-` from the start. So `camera`, for example, would match `cordova-plugin-camera`.
I think that makes sense - having to specify `cordova-plugin-` is kinda superfluous. We should
support this shortcut when *adding* a plugin, too.
    What do you think?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message