[
https://issues.apache.org/jira/browse/CB-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206816#comment-14206816
]
Bnaya edited comment on CB-7208 at 11/11/14 7:00 PM:
-----------------------------------------------------
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
EDIT:
Just stumble across: Added cordova-local utility
https://github.com/apache/cordova-cli/pull/196
was (Author: bnaya):
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: https://issues.apache.org/jira/browse/CB-7208
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]