Skip to content

How to handle different CLI versions #39

Description

@emin93

Introduction

The new RN CLI will have an updated template feature which is incompatible with the current one. As the current CLI won't go anywhere soon, we have to support both versions for a while.

I created a new branch (cli-v2) with the changes for the new CLI.

Question

How should we handle the support for both versions?

Proposals

  • Maintain two separate branches (e.g. master and master-cli-v2) and release the CLI v2 compatible template with the next tag.
  • Integrate a detection in the post install script and handle the differences there. This would allow us to have only one branch but it will make things a bit messy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions