NX generators for Ronas IT projects.
At the moment this library contains the following generators:
-
repo-config
- setups the monorepo structure for React Native development. -
code-checks
- configures code checks and formatting with pre-commit hook. -
expo-app
- generates and configures Expo React Native app.
- Create monorepo with Expo app using NX preset:
npx create-nx-workspace@latest my-project --preset=expo --appName=my-app --e2eTestRunner=none --ci=skip
- Install this package:
npm i @ronas-it/nx-generators --save-dev
- Run generators:
npx nx g repo-config
npx nx g code-checks
npx nx g expo-app
Or run all generators at once:
npx nx g repo-config && npx nx g code-checks && npx nx g expo-app
- Start the app:
npx nx start my-app