@ronas-it/nx-generators
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

NX Generators

NX generators for Ronas IT projects.

At the moment this library contains the following generators:

  1. repo-config - setups the monorepo structure for React Native development.
  2. code-checks - configures code checks and formatting with pre-commit hook.
  3. expo-app - generates and configures Expo React Native app.

Usage

  1. Create monorepo with Expo app using NX preset:
npx create-nx-workspace@latest my-project --preset=expo --appName=my-app --e2eTestRunner=none --ci=skip
  1. Install this package:
npm i @ronas-it/nx-generators --save-dev
  1. 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
  1. Start the app:
npx nx start my-app

Package Sidebar

Install

npm i @ronas-it/nx-generators

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

45.4 kB

Total Files

60

Last publish

Collaborators

  • ipakhomov
  • eleonov
  • astorozhevsky
  • opikhnenko
  • dmitryusenko