ni
ni copied to clipboard
Recommended Setup for using Expo Install
Clear and concise description of the problem
There may already be a solution for this, but I couldn't find any documentation on this repo that matches my needs.
Expo recommends using npx expo install whenever you install new packages because it performs additional steps and checks to ensure compatibility with all your other React Native dependencies.
npx expo install automatically uses npm, yarn, or pnpm based on your repo.
Suggested solution
I'd love to just auto-detect Expo and use the command or a way to configure it explicitly.
Alternative
Either just use npx expo install or Maybe a simple alias command, but those aren't great solutions.
I didn't see any documentation that suggests ~/.nirc works for this.
Additional context
Expo Docs on npx expo install
https://docs.expo.dev/more/expo-cli/#install
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.