Skip to content

Conversation

@szymonrybczak
Copy link
Collaborator

Summary:

Fixes #2213, when using npx -> npm_config_user_agent is npm.

Test Plan:

Not really tested, reverts old behaviour when user has strange setup.

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@szymonrybczak szymonrybczak force-pushed the feat/use-yarn-when-running-init-with-npx branch from 4155a37 to 73af362 Compare December 19, 2023 16:56
@thymikee thymikee merged commit 3906b90 into main Dec 19, 2023
@thymikee thymikee deleted the feat/use-yarn-when-running-init-with-npx branch December 19, 2023 17:07
@szymonrybczak
Copy link
Collaborator Author

I think we can backport this one cc @thymikee

@thymikee
Copy link
Member

It's on the 12.x branch now, we'll include it in the next minor bump

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

init newproject --template modifying react-native.config.js causes error and yarn isn't used by default

4 participants