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
Only the updated dependencies get altered in the package.json file. Everything not relating to the upgrade should not be touched.
What is actually happening?
Other things get moved around in the package.json file. In the provided github example the build property gets moved below devDependencies and the copy script gets moved to the end of the object.
I realize this isn't a major issue, but for people who have additional properties/scripts in their package.json file that have been organized in a specific way this produces unnecessary changes to that file each time an upgrade is performed. The workaround is to just not use the official vue upgrade utility and just manually update the dependencies.
The text was updated successfully, but these errors were encountered:
Version
4.4.4
Reproduction link
https://github.com/mcfarljw/vue-cli-upgrade-issue
Environment info
Steps to reproduce
vue upgrade
What is expected?
Only the updated dependencies get altered in the package.json file. Everything not relating to the upgrade should not be touched.
What is actually happening?
Other things get moved around in the package.json file. In the provided github example the
build
property gets moved belowdevDependencies
and thecopy
script gets moved to the end of the object.I realize this isn't a major issue, but for people who have additional properties/scripts in their package.json file that have been organized in a specific way this produces unnecessary changes to that file each time an upgrade is performed. The workaround is to just not use the official
vue upgrade
utility and just manually update the dependencies.The text was updated successfully, but these errors were encountered: