Skip to content

Add a non-interactive eject option #196

@amingilani

Description

@amingilani

Description

I'm trying to deploy via CI/CD and need to build a native APK file. I'd like to keep create-react-native-app for development purposes, but building the APK in my CI/CD requires non-interactive eject options

Expected Behavior

yarn eject --non-interactive
Ejected

Observed Behavior

yarn eject --non-interactive
yarn eject v0.22.0
$ react-native-scripts eject

We didn't find any uses of the Expo SDK in your project, so you should be fine to eject to
"Plain" React Native. (This check isn't very sophisticated, though.)

We strongly recommend that you read this document before you proceed:
  https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md

Ejecting is permanent! Please be careful with your selection.

? How would you like to eject from create-react-native-app? (Use arrow keys)
❯ React Native: I'd like a regular React Native project.
  ExpoKit: I'll create or log in with an Expo account to use React Native and th
e Expo SDK.
  Cancel: I'll continue with my current project structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions