react native 프로젝트를 웹 프로젝트들과 함께 관리하면 용이할 것 같아서 구성을 해보게 되었습니다.
NX를 이용해서 React Native 프로젝트를 포함한 모노레포를 구성할 때 3가지 옵션이 있습니다.
- NX에서 재공해주는 React Native Project 템플릿 사용
- yarn workspaces 와
npx react-native init
으로 구성 (no-hoist
옵션) - yarn workspaces 와
npx react-native init
으로 구성 (스크립트들의 경로를 직접 수정)