cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/2] docs commit: CB-9330 Update documentation about plugins publishing. This closes #296
Date Thu, 16 Jul 2015 18:11:17 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 8342df061 -> 6c1f91b74


CB-9330 Update documentation about plugins publishing. This closes #296


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/5875757a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/5875757a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/5875757a

Branch: refs/heads/master
Commit: 5875757a1da19504cf4855430cb260cd4598c3b0
Parents: 8342df0
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Thu Jul 9 10:19:11 2015 +0300
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Thu Jul 16 10:28:11 2015 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/hybrid/plugins/index.md | 35 ++++++++++++++++---------
 1 file changed, 22 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/5875757a/docs/en/edge/guide/hybrid/plugins/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/hybrid/plugins/index.md b/docs/en/edge/guide/hybrid/plugins/index.md
index 1a5ab14..8b91fe1 100644
--- a/docs/en/edge/guide/hybrid/plugins/index.md
+++ b/docs/en/edge/guide/hybrid/plugins/index.md
@@ -197,19 +197,28 @@ The Tizen platform does not support plugins.
 ## Publishing Plugins
 
 Once you develop your plugin, you may want to publish and share it
-with the community. You can publish your plugin to the Cordova
-[registry](http://plugins.cordova.io) (based on [`npmjs`](https://github.com/isaacs/npmjs.org))
or
-to any other `npmjs`-based registry. Other developers can install it
-automatically using either `plugman` or the Cordova CLI.  (For details
-on each development path, see Using Plugman to Manage Plugins and The
-Command-Line Interface.)
-
-To publish a plugin you need to use the `plugman` tool and go through
-the following steps:
-
-    $ plugman adduser # that is if you don't have an account yet
-    $ plugman publish /path/to/your/plugin
-    
+with the community. You can publish your plugin to any `npmjs`-based
+registry, but the recommended one is [NPM registry](https://www.npmjs.com).
+
+__NOTE__: [Cordova plugin registry](https://plugins.cordova.io) is
+moved to read-only state and no more available for publishing (`publish`/
+`unpublish` commands is also removed from `plugman`, so you'll need to
+use corresponding `npm` commands).
+
+Other developers can install your plugin automatically using either `plugman`
+ or the Cordova CLI.  (For details on each development path, see Using
+ Plugman to Manage Plugins and The Command-Line Interface.)
+
+To publish a plugin to NPM registry you need to follow steps below:
+
+  * create `package.json` file for your plugin:
+
+    $ plugman createpackagejson /path/to/your/plugin
+
+  * publish it:
+    $ npm adduser # that is if you don't have an account yet
+    $ npm publish /path/to/your/plugin
+
 That is it!
 
 Running `plugman --help` lists other available registry-based


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


Mime
View raw message