Agreed. And really the package inspection/validation should be a stand alone module. I nominate we call it 'hardeep'.
Hardeep works w/ Lunny on PhoneGap/Build afterall. On Tue, Oct 16, 2012 at 11:44 PM, Filip Maj <f...@adobe.com> wrote: > >>> - There are other forms of collisions that would be checked for. e.g, >>> when building plugins for the ios platform, classnames exists in the >>>same >>> namespace, so there should be a way to ensure classnames aren't >>>colliding. >> >>sure, package validation is definitely a feature of install/remove... > > IMO this particular task should be handled by the cordova cli tools. The > plugin installation as handled by the cli tools (cordova plugin add > InAppBrowser) could fetch stuff from npm, check for collisions and > platform compatibility, and do all the cordova-specific bits. But > fetching, storing, versioning, authoring, managing plugins could be > completely handled by npm. >