React native template for bootstrapping react native apps internally at lightbase
npm install react-native-template-lightbasenpx react-native init LightbaseProjectName --template react-native-template-lightbaseyarn install - will also configure husky pre commits for semantic realse conformity
- appcenter build scripts manage the semantic relases with automated changelogs and release commits
- commits need to conform to the commitlint config chore: feat: fix: types are currently only supported
- development branch (main) - alpha release cycle
- acceptance branch - rc pre-release cycle
- production branch - main release cycle
- ENV VARIABLES within appcenter
- GITHUB_TOKEN - used for semantic relases
- SKIP_FLIPPER=YES - improves iOS build times considerably
- Add build pipelines for android and ios (development and production)
- Copy codepush staging tokens to env.staging and .env
- Copy codepush production tokens to env.staging and .env
- Add new sentry project
- run npx @sentry/wizard -i reactNative -p ios android
- App.js does not exist so patch will not happen, copy sentry dsn to index.js file
- TODO
- Template should be updated on any major RN release
- Add GITHUB_TOKEN to your bash or zshl profile
- run npx semantic-release --no-ci