Skip to content

create-react-native-library --tools inconveniences #913

Description

@Johennes

Description

0.55.0 added --tools which introduces a few inconveniences:

  1. --tools eagerly consumes all further arguments that don't start with -. Notably you cannot put the library name at the end of the command anymore:
$ npx create-react-native-library@latest [...] --tools eslint mylib
Unzulässige Werte:
  Argument: tools, Gegeben: "mylib", Möglichkeiten: "eslint", "lefthook", "release-it", "jest"
  1. I couldn't find a way to select no tools without setting --local true. I might not want any of these tools despite creating a non-local library though.

  2. The addition of --tools is a breaking change as it is required and has no default value. It would be helpful if this could be called out in the release notes or through semantic versioning.

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

See above

Link to repro

Environment

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions