On running yarn upgrade
in root directory, it is upgrading only root directory's package.json
and yarn.lock
, but I need to upgrade workspace dependencied
.
Is there a way to do so, other than using yarn upgrade-interactive
?
I found an alternative
yarn workspace (workspace name) add (package name) (type of dependancy)
for all the packages you need to upgrade.
Then
yarn install