cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkn...@apache.org
Subject docs commit: CB-11064: Adding a note to the engine tag spec and fixing a header
Date Tue, 12 Apr 2016 21:49:28 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 3b366ea6c -> cc773d2e7


CB-11064: Adding a note to the engine tag spec and fixing a header

 This closes #577


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

Branch: refs/heads/master
Commit: cc773d2e74d4548ec4c32da204abb9ece7dbcb16
Parents: 3b366ea
Author: Richard Knoll <richard.b.knoll@gmail.com>
Authored: Tue Apr 12 10:42:20 2016 -0700
Committer: Richard Knoll <richard.b.knoll@gmail.com>
Committed: Tue Apr 12 14:47:36 2016 -0700

----------------------------------------------------------------------
 www/docs/en/dev/guide/hybrid/plugins/index.md | 4 ++--
 www/docs/en/dev/plugin_ref/spec.md            | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/cc773d2e/www/docs/en/dev/guide/hybrid/plugins/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/guide/hybrid/plugins/index.md b/www/docs/en/dev/guide/hybrid/plugins/index.md
index 1ede551..9e2d6f1 100644
--- a/www/docs/en/dev/guide/hybrid/plugins/index.md
+++ b/www/docs/en/dev/guide/hybrid/plugins/index.md
@@ -246,7 +246,7 @@ For example, for a plugin that supports android, iOS & Windows, the
keywords in
 
 For more detailed example of a package.json, review the [package.json file of cordova-plugin-device](https://github.com/apache/cordova-plugin-device/blob/master/package.json).
 
-### Specifying Cordova Dependencies
+## Specifying Cordova Dependencies
 
 **Cordova 6.1.0** added support for specifying the Cordova-related dependencies of a plugin
 as part of the plugin's `package.json` file. Plugins may list the dependencies for multiple
@@ -312,7 +312,7 @@ assumed to have the same dependencies as version 1.0.0 (a cordova-android
 version less than 3.0.0). This lets you only update your `cordovaDependencies`
 information when there are breaking changes.
 
-#### Upper Bounds
+### Upper Bounds
 
 In addition to a single version, a `PLUGIN_VERSION` in `cordovaDependencies`
 may also specify an upper bound to amend entries for older releases

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/cc773d2e/www/docs/en/dev/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/plugin_ref/spec.md b/www/docs/en/dev/plugin_ref/spec.md
index 8c48687..3d3d40a 100644
--- a/www/docs/en/dev/plugin_ref/spec.md
+++ b/www/docs/en/dev/plugin_ref/spec.md
@@ -47,6 +47,10 @@ Example:
 
 The child elements of the `<engines>` element specify versions of Apache Cordova-based
frameworks that this plugin supports. The CLI aborts with a non-zero code for any plugin whose
target project does not meet the engine's constraints. If no <engine> tags are specified,
the CLI attempts to install into the specified cordova project directory blindly.
 
+>NOTE: In **Cordova 6.1.0+**, the recommended place to specify platform, plugin, and CLI
dependencies
+>is in a plugin's `package.json`. See [specifying Cordova dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies)
+>for more information
+
 Attributes(type) | Description
 ---------------- | ------------
 name(string) | *Required* <br/> Name of the engine. Here are the default engines that
are supported : <ul><li> `cordova` </li> <li> `cordova-plugman` </li>
<li> `cordova-android` </li> <li> `cordova-ios` </li> <li> `cordova-blackberry10`
</li> <li> `cordova-wp8` </li> <li> `cordova-windows` </li>
<li> `cordova-osx` </li> <li> `windows-os` </li> <li> `android-sdk`
(returns the highest Android api level installed) </li> <li> `windows-sdk` (returns
the native windows SDK version) </li> <li> `apple-xcode` (returns the xcode version)
</li> <li> `apple-ios` (returns the highest iOS version installed) </li>
<li> `apple-osx` (returns the OSX version) </li> <li> `blackberry-ndk` (returns
the native blackberry SDK version) </li> You can also specify a custom framework apart
from the default ones.


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


Mime
View raw message