Do you want to request a feature or report a bug?
Feature
What is the current behavior?
yarn outdated prints a list of all your outdated dependencies, but it doesn't do anything about it.
What is the expected behavior?
Running yarn outdated --fix should not only print the outdated modules, but update your package.json so everything is set to its latest version. (Similar to npm-check-updates --upgradeAll.)
This functionality is currently provided by the npm-check-updates module, but that module is buggy and I think this functionality is important enough to do in yarn itself. It's evidently a very popular request.
How about one of these?
This is similar to npm-check interactive update mode. It provides an easy way to update outdated packages.
This command updates all dependencies to their latest version based on the version range specified in the
package.jsonfile. Theyarn.lockfile will be recreated as well.
yarn outdated follows the bad example of npm outdated and doesn't show any tildes or carats. That makes both of them useless liars (okay, maybe they don't lie, but they hide the truth), so it would be great if yarn outdated behaved more like ncu even if it doesn't include functionality like --upgradeAll.
Most helpful comment
yarn outdatedfollows the bad example ofnpm outdatedand doesn't show any tildes or carats. That makes both of them useless liars (okay, maybe they don't lie, but they hide the truth), so it would be great ifyarn outdatedbehaved more likencueven if it doesn't include functionality like--upgradeAll.