Just reporting that I created a brand new monorepo. Installed a brand new test app with expo init testApp (SDK40 and selected the tabs typescript template):
yarn add --dev expo-yarn-workspaces in the test app dir.
Added a postinstall script to the monorepo main package.json like so:
@brents thanks a lot for putting this together. Very helpful!
Yes, this one works perfectly. And I like the organization into apps and packages folders. I haven’t seen this documented anywhere, including the original docs and it’s very neat.
I think it would be helpful if your example repo was referenced in the README, or added directly to the repo.
i actually copied the structure from how we organized the expo/expo repo notice that in packages we have all of the expo-* packages, like expo-camera etc, and in apps we have some actual apps that we use for internal testing.
Brent, I’m sorry, I was planning to tackle this now. I was delayed with the holiday celebrations and working on making my own monorepo work. I just saw that a PR for the monorepo already exists.
i reviewed that pr and gave feedback that would have been needed to merge and didn’t hear back in 2 months, so i think it is safe for you to proceed with your own pr