Closed
Description
Version
3.0.0-rc.12
Node and OS info
Node 10.8.0 / yarn 1.9.4 / Windows 10
Steps to reproduce
- Open any project in
vue ui
- Change a setting that affects
package.json
in thevue ui
web GUI, for example, adding a package - Note that there is no new line present in
package.json
- Add any package via
yarn
e.g.yarn add serve
- Note that the command adds a newline to
package.json
What is expected?
Consistent behavior with the yarn
command, i.e, to leave a newline at the end of package.json
What is actually happening?
Inconsistent behavior, which leads to newline/no newline commits without manual intervention if using both methods of adding things to package.json