Upgrade all Gatsby packages in one command with yarn

Short tip from today's coding session where I needed to make sure all Gatsby related packages were up to date:

yarn upgrade --pattern gatsby --latest

It will upgrade all packages with gatsby in its name to the latest version. Check out the yarn upgrade docs for more options.

If you want to yolo upgrade everything to the latest version, go nuts with:

yarn upgrade --latest

 
All the best,
Queen Raae

Interested in more daily treasures like this one?
Sent directly to your inbox?