La Ferme is a mobile-app board game to denounce issues of everyday life.
Check README.md in both packages:
You can use the yarn dev
command in the root folder to start everything in the same time.
Use yarn as package manager. Then:
yarn
Launch the application using:
yarn dev
Or use your device as debugger using the xcworkspace
yarn server
Server and iOS simulator should open.
To manage dependencies, please use the following command:
yarn lerna add YOUR_DEPENDENCY --scope=@la-ferme/TARGET
You should add dependency one by one until this issue has been reseolved.
Or you can add your packages using the yarn add
command in the targeted package dir, but you should run lerna clean
, rm -rf node_modules
and yarn
at root.
This repo is using Yarn Workspaces. Please see more here about autolinking a monorepo with yarn workspaces.
To fix simlinks we use this solution on facebook metro #1 issue.