You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/27 09:15:48 UTC

[GitHub] [cordova] HarelM opened a new issue #252: Package.json is updated incorectly when adding platform?

HarelM opened a new issue #252:
URL: https://github.com/apache/cordova/issues/252


   # Bug Report
   When I use a clean installation of my project and run `cordova platform add android` my `package.json` file gets changed significantly, and incorrectly.
   
   ### What is expected to happen?
   `package.json` should be respected
   
   ### What does actually happen?
   `package.json` get overwritten. Also dependencies are getting the wrong version
   
   
   ## Information
   It might be because I have the packages registered in dependencies and not devDependencies, I don't know...
   
   
   ### Command or Code
   Project can be found here:
   https://github.com/IsraelHikingMap/Site/tree/master/IsraelHiking.Web
   
   
   
   ### Environment, Platform, Device
   Currently testing on Android
   
   
   ### Version information
   Cordova cli: 10.0
   cordova-android: 9.0
   
   This started happening after the upgrade to 10.0 and android 9.0.
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [cordova] HarelM commented on issue #252: Package.json is updated incorectly when adding platform?

Posted by GitBox <gi...@apache.org>.
HarelM commented on issue #252:
URL: https://github.com/apache/cordova/issues/252#issuecomment-724906807


   @jcesarmobile was this fixed in any way? There's a real problem in the definition of where things should be I order to be respected by cordova...
   For example when setting the cordova-ios to be a git address it does not get respected when in dev dependencies, only in dependencies...
   Took me quite a while to get everything working after the upgrade to cordova 10...


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [cordova] jcesarmobile closed issue #252: Package.json is updated incorectly when adding platform?

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #252:
URL: https://github.com/apache/cordova/issues/252


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [cordova] HarelM commented on issue #252: Package.json is updated incorectly when adding platform?

Posted by GitBox <gi...@apache.org>.
HarelM commented on issue #252:
URL: https://github.com/apache/cordova/issues/252#issuecomment-717180719


   Seems like when the cordova plugins are in the devDependencies it works as expected. I guess that it should be written somewhere in the release notes?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [cordova] jcesarmobile commented on issue #252: Package.json is updated incorectly when adding platform?

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #252:
URL: https://github.com/apache/cordova/issues/252#issuecomment-724989092


   You have reported it on cordova-cli, which is the proper repo to report it, so closing this because it’s a duplicate and not the proper place


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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