DEV Community

Discussion on: How to insert an Expo project in a Monorepo

Collapse
 
vpicone profile image
Vince Picone

This was super helpful thank you! One point of confusion for the dependencies. If you're adding it to the root, you shouldn't need to specify a workspace right? Also I don't the the metro-config dep is necessary.

So this:

 yarn workspace @monorepo/expo-app add expo-yarn-workspaces metro-config -D -W
Enter fullscreen mode Exit fullscreen mode

Could be:

   yarn workspace add -D -W expo-yarn-workspaces
Enter fullscreen mode Exit fullscreen mode