cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bnaya (JIRA)" <>
Subject [jira] [Commented] (CB-7208) Pin platform versions using package.json
Date Tue, 11 Nov 2014 18:56:33 GMT


Bnaya commented on CB-7208:

I think the grunt versioning model can fit here perfectly:

You have global (grunt-cli) and local grunt.
the global only runs the local grunt in the project, which can be in different version in
any project.
That can help you pin your project to whole Cordova version, not just platform.

pinning just the platform version can breaks things when specific platform version isn't compatible
with you globally installed Cordova. (because its newer or older)

Anyway, that change its very good!

Also it would be nice to move more internal node_modules that now gets checked in to the project
repo to be just in package.json + git ignore

> Pin platform versions using package.json 
> -----------------------------------------
>                 Key: CB-7208
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: CLI, CordovaLib
>            Reporter: Steve Gill
>             Fix For: 4.0.0
> Right now, cli fetches platforms based on platforms.js file. Currently, platforms.js
is where we are pinning our platforms to cli.
> We want to switch this over to use package.json instead. We pin our platforms in package.json,
and then they get downloaded on npm install for cordova-cli (cordova-lib). 
> Lots of details to discuss for this one

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message