This is an automated email from the ASF dual-hosted git repository.
manuelbeck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new c0d78b2a31 doc(plugin.xml): Update engine requirements recommendation
for Cordova (#1451)
c0d78b2a31 is described below
commit c0d78b2a31681c9640bc9ba88eb06a07ce399b03
Author: Manuel Beck <[email protected]>
AuthorDate: Tue Dec 9 16:05:08 2025 +0100
doc(plugin.xml): Update engine requirements recommendation for Cordova
(#1451)
- Make clear, that the <engines> tag in plugin.xml is still required
---
www/docs/en/dev/plugin_ref/spec.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/www/docs/en/dev/plugin_ref/spec.md
b/www/docs/en/dev/plugin_ref/spec.md
index de64f58c0e..035da9aef1 100644
--- a/www/docs/en/dev/plugin_ref/spec.md
+++ b/www/docs/en/dev/plugin_ref/spec.md
@@ -51,9 +51,7 @@ 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
+> NOTE: Starting in **Cordova 6.1.0**, it is recommended to include the
platform and CLI engine requirements in the plugin's `package.json`, in
addition to the `<engines>` declaration in `plugin.xml`. See [Specifying
Cordova
Dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies)
for more information.
Attributes | Description
---------------- | ------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]