I would like to keep all other package versions in tact, but upgrade one single package to the most recent version. How can I do that using yarn?
I know I can delete yarn.lock, and then run yarn install
, but I think that will upgrade every package, which I don't want. I just want the most recent version of node-sass
, and for that to override the version I have in yarn.lock
.
How can this be done?
According to Yarn documentation:
yarn up [package]
yarn up [package]@[version]
yarn up [package]@[tag]
So, to upgrade node-sass, you should run:
yarn up node-sass