You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Oliver Salzburg (JIRA)" <ji...@apache.org> on 2018/09/03 16:21:00 UTC

[jira] [Resolved] (CB-14172) save-exact preferences from .npmrc should be overridden

     [ https://issues.apache.org/jira/browse/CB-14172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Salzburg resolved CB-14172.
----------------------------------
    Resolution: Invalid

.npmrc should be respected. The tests need to be adjusted.

> save-exact preferences from .npmrc should be overridden
> -------------------------------------------------------
>
>                 Key: CB-14172
>                 URL: https://issues.apache.org/jira/browse/CB-14172
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-fetch
>    Affects Versions: 1.3.0
>            Reporter: Oliver Salzburg
>            Priority: Major
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I add `save-exact=true` to my `.npmrc` and run the test suite for cordova-fetch, it will fail, because the exact 5.1.1 version will be persisted to the `package.json` instead of the expected semver range `^5.1.1`.
> `save-exact` should be disabled explicitly by default unless the related option was provided.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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