Github user TimBarham commented on the pull request:
https://github.com/apache/cordova-lib/pull/225#issuecomment-104787089
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]