Convert Gatsby Site to Yarn Workspace Project

Share this video with your friends

Send Tweet

Since we'll be building a number of themes we'll also take advantage of Yarn Workspaces to coordinate linking all of those packages where they need to go. This is especially useful if you plan on building a suite of themes.

Jorge Lison
Jorge Lison
~ 5 years ago

Just a quick note for npm users: if you don't want to switch to yarn to just get workspaces, consider using lerna instead:

https://github.com/lerna/lerna/

It does everything Yarn offers with additional features, eg: managing workspace versions, running commands within each workspace, and publishing workspaces.