You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When updating packages with yarn upgrade, it overwrites the package.json file and messes up all my custom formatting.
What is the expected behavior? yarn upgrade should work like npm update where it updates the packages based on the current package.json file with an optional command to save those changes back. It gets very hard to maintain a project with a lot of dependencies when the package.json file is all messed up. Please give me the option to manually maintain my package.json files.
Please mention your node.js, yarn and operating system version.
Node 6.9.1 LTS with Yarn 0.16.1 on OSX 10.11.4
The text was updated successfully, but these errors were encountered:
@wyze: It's not really the same though, that issue is referring to adding packages which would understandably have to modify the package.json file. Why should upgrade overwrite it though. It doesn't change anything in the file apart from the formatting.
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When updating packages with
yarn upgrade
, it overwrites the package.json file and messes up all my custom formatting.What is the expected behavior?
yarn upgrade
should work likenpm update
where it updates the packages based on the current package.json file with an optional command to save those changes back. It gets very hard to maintain a project with a lot of dependencies when the package.json file is all messed up. Please give me the option to manually maintain my package.json files.Please mention your node.js, yarn and operating system version.
Node 6.9.1 LTS with Yarn 0.16.1 on OSX 10.11.4
The text was updated successfully, but these errors were encountered: