react-native-dev-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

React-Native-Dev-Cli

Simplifies and automates your react-native project build, allowing for easy target device and schema changes. Watches your git changes and rebuild the app automatically if required. It allows you to sign your ios build for physical devices without using xcode app.

How to install

Locally

Add dependency:

yarn add -D react-native-dev-cli

or

npm i -D react-native-dev-cli

Globaly

Add dependency:

npm i -g react-native-dev-cli

it can require:

sudo npm i -g react-native-dev-cli

Usage

Issue in your react-native directory or any subdirectory:

rndevcli <command>

Available commands:

rndevcli dev

Runs default dev schema (build type) of your app

rndevcli run

Allows you to pick desired schema (build type).

Features

General:

  • [x] Displaying all available ios and android devices and simulators data with statuses
  • [x] Asynchronously gathering ios devices data while displaying cached version for a shorter time to interact
  • [x] Extracting all available build types or schemas of your react-native project allowing to easily select a desired one
  • [x] Checking if build sign is required, extracting all available signing accounts and allowing to sign the build by selecting a desired account
  • [x] Caching the last build for a quicker rebuild with the same config
  • [x] Advanced project directories structure detection allowing monorepo support
  • [x] Build steps indicators with status and dynamic 5 latest lines of log display for clarity and better understanding what is going on during the build
  • [x] Architecture that allows to create and apply predefined fixes addresing common issues during each build step
  • [ ] Resolve android build targeting when multiple devices are connected
  • [ ] Find a way to handle ios wifi connected deployment issues
  • [ ] Sync command which detects all important depenencies (like: node, java, cocoapods, ruby, gradle etc.) saves it to the config file which when would be shared within the repository allowing other developers automatic synchronization.
  • [ ] Flow of checking important dependencies (node, java, cocoapods, ruby, gradle etc.) before each build warning user or allowing for its automatic installation
  • [ ] Enabling "-allowProvisioningUpdates" property for automatic signing
  • [ ] Migrating from @react-native-community/cli to lower leve commands
  • [ ] "Exit" select menu option for easy exiting
  • [ ] Build select menus timeout for automatic pick when user is afk
  • [ ] Creating fixes for a common issues during the build phase like error 65 or 70 for ios
  • [ ] Resolve issue with wifi connected devices which requires to be connected via cable to finish a build successfuly

Watch mode menu:

  • [x] Watch mode select menu with informations about the current build and git branch allowing for a quick interactions
  • [x] Project rebuild menu option for a quick rebuild
  • [x] Change devices feature
  • [x] Change build type/ schema feature
  • [x] Watch mode which detects git branch changes triggering dependencies and project rebuild if necessary
  • [x] Watch mode toggle allowing for disabling git changes watcher
  • [ ] Go back feature from sub select menus

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-dev-cli

Weekly Downloads

1

Version

0.0.13

License

ISC

Unpacked Size

481 kB

Total Files

6

Last publish

Collaborators

  • wp44