mmazzarolo / react-native-universal-monorepo

React Native boilerplate supporting multiple platforms: Android, iOS, macOS, Windows, web, browser extensions, Electron.
MIT License
1.7k stars 150 forks source link

Upgrade to yarn 3 #24

Closed chakravarthy-mm closed 2 years ago

chakravarthy-mm commented 2 years ago

One big problem yarn 2 and above versions is noHoist

nodeLinker: node-modules
nmHoistingLimits: workspaces

with this kind of configuration. each workspace/package will have it's own dependencies.

Pros: No more dependency hassles Cons: Duplicated dependencies with more disk space.

I can raise a pr if you want to consider upgrading yarn

mmazzarolo commented 2 years ago

๐Ÿ‘‹ See: https://github.com/mmazzarolo/react-native-universal-monorepo/issues/22
For now, I think we can update this section of the README pointing to more info and the example configuration. Feel free to submit a PR for the docs update and we can then consider the global one๐Ÿ‘ .