You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/07/16 20:11:17 UTC

[1/2] docs commit: CB-9330 Update documentation about plugins publishing. This closes #296

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-...@microsoft.com>
Authored: Thu Jul 9 10:19:11 2015 +0300
Committer: Steve Gill <st...@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


[2/2] docs commit: CB-9330 updated wording about publishing plugins to npm

Posted by st...@apache.org.
CB-9330 updated wording about publishing plugins to npm


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

Branch: refs/heads/master
Commit: 6c1f91b748e5dd2da78b0d9620808bf4c5e63eda
Parents: 5875757
Author: Steve Gill <st...@gmail.com>
Authored: Thu Jul 16 11:11:10 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Jul 16 11:11:10 2015 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/hybrid/plugins/index.md | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6c1f91b7/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 8b91fe1..f98e7ef 100644
--- a/docs/en/edge/guide/hybrid/plugins/index.md
+++ b/docs/en/edge/guide/hybrid/plugins/index.md
@@ -198,12 +198,14 @@ The Tizen platform does not support plugins.
 
 Once you develop your plugin, you may want to publish and share it
 with the community. You can publish your plugin to any `npmjs`-based
-registry, but the recommended one is [NPM registry](https://www.npmjs.com).
+registry, but the recommended one is the [NPM registry](https://www.npmjs.com). 
+Please read our [publishing plugins to npm guide](http://plugins.cordova.io/npm/developers.html).
+
 
 __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).
+moving to a read-only state. `publish`/
+`unpublish` commands have been 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


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