cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject cordova-cli git commit: CB-10986: Adding note about scoped npm packages for plugins
Date Mon, 09 May 2016 17:20:00 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 26a2f9aeb -> e8e490068


CB-10986: Adding note about scoped npm packages for plugins

 This closes #243


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

Branch: refs/heads/master
Commit: e8e490068f6943e68b1cdf485ab4bf59315c6211
Parents: 26a2f9a
Author: Richard Knoll <richard.b.knoll@gmail.com>
Authored: Fri Apr 8 18:49:15 2016 -0700
Committer: Nikhil Khandelwal <nikhilkh@microsoft.com>
Committed: Mon May 9 10:19:51 2016 -0700

----------------------------------------------------------------------
 doc/readme.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e8e49006/doc/readme.md
----------------------------------------------------------------------
diff --git a/doc/readme.md b/doc/readme.md
index 7c322fb..bd237f5 100644
--- a/doc/readme.md
+++ b/doc/readme.md
@@ -327,10 +327,11 @@ cordova {plugin | plugins} [
 
 There are a number of ways to specify a plugin:
 
-    <plugin-spec> : pluginID[@version]|directory|url[#commit-ish][:subdir]
+    <plugin-spec> : [@scope/]pluginID[@version]|directory|url[#commit-ish][:subdir]
 
 | Value       | Description
 |-------------|--------------------
+| scope       | Scope of plugin published as a [scoped npm package]
 | plugin      | Plugin id (id of plugin in npm registry or in --searchPath)
 | version     | Major.minor.patch version specifier using semver
 | directory   | Directory containing plugin.xml
@@ -597,3 +598,4 @@ cordova -h [command]
 [Hooks guide]: http://cordova.apache.org/docs/en/latest/guide_appdev_hooks_index.md.html
 [config.xml ref]: http://cordova.apache.org/docs/en/latest/config_ref/index.html
 [Cordova dependencies]: http://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/index.html#specifying-project-requirements
+[scoped npm package]: https://docs.npmjs.com/misc/scope


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


Mime
View raw message