cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13532) Cordova fails to find platform/plugin versions in package.json devDependencies
Date Mon, 11 Dec 2017 18:54:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286404#comment-16286404
] 

ASF subversion and git services commented on CB-13532:
------------------------------------------------------

Commit 8c4ec00e87f6760fa12314c594a9937be3c48cb1 in cordova-lib's branch refs/heads/master
from [~auso]
[ https://gitbox.apache.org/repos/asf?p=cordova-lib.git;h=8c4ec00 ]

:CB-13532 : updated to include a check for pkgJson devDependencies


> Cordova fails to find platform/plugin versions in package.json devDependencies
> ------------------------------------------------------------------------------
>
>                 Key: CB-13532
>                 URL: https://issues.apache.org/jira/browse/CB-13532
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>            Reporter: Darryl Pogue
>            Assignee: Audrey So
>              Labels: tools-next
>
> Cordova only looks at the {{dependencies}} section of package.json, and ignores anything
specified in {{devDependencies}}. This results in the default pinned versions for platforms/plugins
being used.
> Code in question: https://github.com/apache/cordova-lib/blob/da8ebf6cb81dd84c22e24fdf0baff9837a544b2d/src/cordova/platform/addHelper.js#L109-L113
> This is wrong because Cordova (and its related bits) is not a dependency of my application
code, it is a build tool that belongs in devDependencies.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message