[
https://issues.apache.org/jira/browse/CB-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310386#comment-16310386
]
jcesarmobile commented on CB-13353:
-----------------------------------
Testing with node v8.9.1, npm 5.5.1 and Cordova CLI 8.0.0
This two commands save in both package.json and config.xml as ^4.0.1
cordova plugin add cordova-plugin-geolocation --save-exact
cordova plugin add [email protected] --save-exact
> Support --save-exact for plugins/platforms
> ------------------------------------------
>
> Key: CB-13353
> URL: https://issues.apache.org/jira/browse/CB-13353
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: [email protected]
> Reporter: Mike Hartington
> Assignee: Audrey So
> Priority: Minor
> Labels: beginner, easy-fix
>
> Adding a plugin or platform and passing a version will still add a {{^}} or
> {{~}} to the config.xml/package.json when installing. Since under the hood,
> npm is handling things, there should be support for the {{--save-exact}} flag
> as well. [~stevegill]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]