nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.54k stars 181 forks source link

Upgrading the Monorepo to Expo 45 #83

Closed miles-118 closed 2 years ago

miles-118 commented 2 years ago

How are you supposed to upgrade the monorepo?

Running expo upgrade in apps/expo just breaks yarn.

Is there a way to upgrade the dependencies smoothly in the future or will it have to be manually done every time?

So far I am really enjoying working with Solito. Upgrading the repo in the future is the only real concern I have.

miles-118 commented 2 years ago

I figured it out! If you start from a fresh git clone of the monorepo, run yarn in the root, delete yarn.lock in the root, then run expo upgrade in apps/expo, then run expo install react-native-screens react-native-safe-area-context in apps/expo it successfully upgrades to expo SDK 45!

Web seems unchanged after this too which is fantastic.