Skip to content

Better placeholder name for the template #441

@grabbou

Description

@grabbou

Description

Cross-posting microsoft/react-native-windows#2663.

Reproducible Demo

Running react-native init helloworld_test will result in helloworld_test_test name being used in package.json, because:

  • our placeholder name is HelloWorld
  • the regex is case insensitive (?) and will replace helloworld in helloworld_test (not looking for a whole word, but part of it).

Would be good to use a better placeholder name, something more unique.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions