Skip to content

Rely on an argument for expo and react-native projects #310

Description

@grgmgd

Currently in order to specify which project RNV is running in, we need to install expo or react-native in order for the resolve-from package to import the module and define the project type.

I am using RNV inside an automated github workflow to version my project based on a release tag.
Why not rely on a user defined arg instead. As far as a I understand expo or react-native are not required to make the version updates and we're currently forced to install them to use this package.

Something like this:

$ react-native-version --project-type [expo | react-native] 

Please correct me if I am wrong.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions