You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that some time ago, I installed a package (for example: @hookform/devtools@npm:^4.3.1).
The package has a couple of dependencies using a semver range. The entry in lockfile is:
A few hours ago, that package released a new version. The nested packages (little-state-machine and react-simple-animate) also release new versions.
I ran yarn upgrade-interactive and selected the package to be upgraded. However, yarn did not upgrade the nested packages because the parent package did not change the semver constraints for them as the upgrades are also covered in the same range.
I ran yarn up, yarn up -R, yarn up * -R, and yarn up @hookform/devtools -R and they weren't picked up.
The were only upgraded when I ran yarn up react-simple-animate little-state-machine -R
I know that deleting the lockfile is a solution. I just tried that and the diff was longer than my parent's disappointment in me and I'm scared to look at it.
Is it the recommended approach? Or is there a way to gradually do it? Such than when we run upgrade interactive, we run it recursively?
The text was updated successfully, but these errors were encountered:
Let's say that some time ago, I installed a package (for example:
@hookform/devtools@npm:^4.3.1
).The package has a couple of dependencies using a semver range. The entry in lockfile is:
A few hours ago, that package released a new version. The nested packages (
little-state-machine
andreact-simple-animate
) also release new versions.I ran
yarn upgrade-interactive
and selected the package to be upgraded. However, yarn did not upgrade the nested packages because the parent package did not change the semver constraints for them as the upgrades are also covered in the same range.I ran
yarn up
,yarn up -R
,yarn up * -R
, andyarn up @hookform/devtools -R
and they weren't picked up.The were only upgraded when I ran
yarn up react-simple-animate little-state-machine -R
I know that deleting the lockfile is a solution. I just tried that and the diff was longer than my parent's disappointment in me and I'm scared to look at it.
Is it the recommended approach? Or is there a way to gradually do it? Such than when we run upgrade interactive, we run it recursively?
The text was updated successfully, but these errors were encountered: