ionic-team / capacitor-plugin-registry

5 stars 7 forks source link

feat: allow maintainers to provide additional meta information #34

Open robingenz opened 1 year ago

robingenz commented 1 year ago

There should be a way to provide the Capacitor Plugin Registry with additional information about a plugin that is not available via npm. This can be the case either if the information is not available on npm or if the plugin is distributed via another npm registry. Examples of such information are:

Plugin authors could easily provide this information via JSON files (similar to the React Native Directory).

One possible scheme would be:

{
  "githubUrl": "https://github.com/capawesome-team/capacitor-plugins",
  "npmPkg": "@capawesome-team/capacitor-nfc",
  "author": "Robin Genz",
  "license": "MIT License",
  "platforms": ["android", "ios", "web"],
  "private": true,
  "unmaintained": false,
  ...
}