Skip to content

yarn upgrade-interactive does not update package.json #4390

@alexdevero

Description

@alexdevero

What is the current behavior?
After updating to Yarn v1.0.1 yarn upgrade-interactive does not update package.json. In Yarn v0.28.4, running yarn upgrade-interactive and updating dependencies always also updated dependency versions package.json.

If the current behavior is a bug, please provide the steps to reproduce.

Run yarn upgrade-interactive in project with outdated dependencies and update at least one page. After update, only yarn.lock is updated.

What is the expected behavior?
Running yarn upgrade-interactive should update dependency version in package.json as it did in version v0.28.4.

Please mention your node.js, yarn and operating system version.
Node: v8.4.0
Yarn: 1.0.1
Windows 10 (1703)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions