Turborepo with wundergraph that targets multiple platforms
In the scripts of apps/rnative/package.json
you will want to make sure that dev
is set to run either ios or android depending on your setup. By default it runs ios.
apps/rnative/package.json
scripts": {
"dev": "yarn ios", // yarn ios | yarn android | yarn start
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules"
},
git clone https://github.com/Enricopv/turbo-boilerplate.git {name}
yarn
yarn dev