Do you want to request a feature or report a bug? Bug
What is the current behavior?
Removing a dep manually and then running
yarn install doesn’t remove it from the yarn.lock
If the current behavior is a bug, please provide the steps to reproduce.
yarn init --yes yarn add object-assign sorted-object # manually update package.json to remove object-assign yarn install cat yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 object-assign@^4.1.1: version "4.1.1" resolved object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863 sorted-object@^2.0.1: version "2.0.1" resolved sorted-object-2.0.1.tgz#7d631f4bd3a798a24af1dffcfbfe83337a5df5fc
What is the expected behavior?
It should remove the unused items from the yarn.lock
Please mention your node.js, yarn and operating system version.
- Yarn: 0.191
- Node: 7.0.0
- OS: macOS