AndrewJack / yarn-workspaces

React Native & yarn workspaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yarn-workspaces

React Native & yarn workspaces

Things to remember when using workspaces

  • Flow runs in each package not on the whole workspace
  • apply nohoist to all modules that contain native code (ios & android code)
    • Avoids ios and android build directory clashes
    • More likely to work with react-native link
    • Pure JS libraries work fine without nohoist
  • Always yarn install at the root not in a package/rider directory

Links

Blogs

Examples

About

React Native & yarn workspaces

License:Apache License 2.0


Languages

Language:JavaScript 42.2%Language:Objective-C 25.3%Language:Java 12.9%Language:Python 11.7%Language:Ruby 7.9%