apache / cordova-plugman

Apache Cordova Plugman
https://cordova.apache.org/
Apache License 2.0
401 stars 151 forks source link

Replace outdated parts of plugman with cordova-plugin-template and documentation #125

Open janpio opened 5 years ago

janpio commented 5 years ago

Those can probably be removed:

Author plugins
    create               Create a plugin
    createpackagejson    Add a package.json file to a plugin
    platform             Add and remove platforms from a plugin

Some input:

Oh look, something like this already exists: https://github.com/phonegap/phonegap-plugin-template https://github.com/cesilva/cordova-plugin-template

Unfortunately this is gone: https://www.npmjs.com/package/cordova-plugin-template Although we probably don't need to publish this to npm anyway.

janpio commented 5 years ago

TODO: Check if the actual library code here is used in Cordova somewhere else.

raphinesse commented 5 years ago

TODO: Check if the actual library code here is used in Cordova somewhere else.

This repository contains only the CLI of plugman. All actual functionality is implemented in cordova-lib/src/plugman. This "plugman library" contains some parts that are not used by anything but the plugman CLI and some parts that are also used during certain operations of Cordova CLI. I'll gladly do the deed of removing all unnecessary cruft, should we decide to do this.

Cordova package dependency graph for reference: dependency graph

janpio commented 5 years ago

TODO done then - not necessary to think about that ;)

janpio commented 5 years ago

Some more reference material: