-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yarn upgrade-interactive --latest now has the same output than yarn upgrade-interactive #5842
Comments
Seems to work for me if I try to reproduce it:
Edit: though if you copy/paste from your lockfile is correct:
then it resolved to the
|
Thanks for your time @rally25rs! Here it is with the version:
It's actually the 47, but when I do Here is the project repo |
Ah, yes, you've stumbled upon the edge case. I discussed this in a couple other issue threads, but I know the GitHub search leaves a lot to be desired... The way the code works is that it first gets a list of outdated items (same as running If |
Weird, I don't know how it happened, I usually update the deps just with the upgrade-interactive command. Anyway, I want a way to write the latest and installed version in the package.json, even when the semantic versioning is correct. |
Oh, I figured out how this happened, I removed the yarn.lock, the node_modules and run yarn again. So yarn installed the latest semantically correct version. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I have this in my package.json
and this in my yarn.lock
I see there is a new babel version with
yarn info @babel/core versions
, the7.0.0-beta.47
, and I want to update my package.json to reflect it, so I runBut the newer babel version doesn't show up in the list!
It's behaving like the command
yarn upgrade-interactive
, related issue is #4390Maybe it has something to do with the
resolved
url in the yarn.lock?What is the expected behavior?
I want my package.json to be updated
Please mention your node.js, yarn and operating system version.
Node v10.1.0, yarn v1.6.0, OSX
The text was updated successfully, but these errors were encountered: