cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcesarmobile <...@git.apache.org>
Subject [GitHub] cordova-docs pull request: Clean up plugin publishing guide
Date Thu, 10 Mar 2016 07:48:27 GMT
Github user jcesarmobile commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/548#discussion_r55643636
  
    --- Diff: www/docs/en/dev/guide/hybrid/plugins/index.md ---
    @@ -224,7 +218,21 @@ To publish a plugin to NPM registry you need to follow steps below:
             $ npm adduser # that is if you don't have an account yet
             $ npm publish /path/to/your/plugin
     
    -That is it!
    +For more details on npm usage refer to [publishing a npm package](https://docs.npmjs.com/getting-started/publishing-npm-packages)
on the NPM documentation site.
    +
    +## Integrating with Cordova Plugin Search
    +To surface the plugin in [Cordova Plugin Search](/plugins/), add the `ecosystem:cordova`
keyword to the `package.json` file of your plugin and publish it to npm registry. 
    +
    +To indicate support for a particular platform add a keyword with the `<platformName>`
as "**cordova-<platformName>**" to the list of keywords in package.json. For example,
for a plugin that supports android, iOS & Windows, the keywords in package.json should
include:
    --- End diff --
    
    This is added by plugman too. I think this should say that plugman add this important
things. It seems that they have to add them manually.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message