@nona-creative/react-native-ci-utils
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.2 • Public • Published

    React Native CI Utils

    Utility package for quick generation of working ci related config (at present fastlane and circleci)

    Table of Contents

    Installation

    • run npm i -D @nona-creative/react-native-ci-utils

    back to top

    Usage

    • Run npx @nona-creative/react-native-ci-utils to get a list of available commands and options.

    back to top

    Quick Start (Config Generation)

    1. Install Fastlane by cd ios and then adding it to your ios project via a Gemfile as per the instructions and then running bundle install.
    2. Initialise Fastlane (It will ask you some questions and create a rudimentary Fastfile and an Appfile for you)
    3. add the load_json plugin bundle exec fastlane add_plugin load_json (allow it to modify your Gemfile).
    4. run npx @nona-creative/react-native-ci-utils fastlane generate ios from the root of your project to generate a Fastlane config file (you will be asked a few questions).
    5. run npx @nona-creative/react-native-ci-utils fastlane generate android from the root of your project to generate a Fastlane config file (you will be asked a few questions).
    6. run npx @nona-creative/react-native-ci-utils circleci generate from the root of your project to generate the accompanying circleci.config.
    7. For the circleci config file to work you need a couple of commands defined in your package.json. You can find these commands in the example project:
    • bundle:<platform> where platform is ios or android.
    • deploy:<stage>:<platform> where stage would be beta or release and platform is ios or android.

    Please read through the iOS Playbook and android Playbook. For more information about the CircleCI commands please read the CircleCI Playbook.

    Available Commands

    To see a list of available commands run:

    npm run help

    back to top

    Testing

    npm run test
    npm run test:watch

    back to top

    Install

    npm i @nona-creative/react-native-ci-utils

    DownloadsWeekly Downloads

    20

    Version

    1.2.2

    License

    MIT

    Unpacked Size

    249 kB

    Total Files

    115

    Last publish

    Collaborators

    • yesitsdave
    • syntaxza
    • neilrussell6
    • ian-cawood