Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(create-expo): configure pnpm and yarn berry when creating a n…
…ew project (#27699) # Why This should help users getting started easily when using pnpm or yarn berry. # How I took a few considerations into account: - Do NOT change existing projects, just like we don't assert/fix gradle or cocoapods config - Only configure the package manager once, when creating a new project - Use the package manager itself to configure the project # Test Plan These commands should now start the project, without problems or additional modifications. - `$ pnpm create expo ./ --template tabs && pnpm expo start` ![image](https://github.com/expo/expo/assets/1203991/6cc1683d-cd58-4944-8b9f-8b1e90c11679) - `$ yarn create expo ./ --template tabs && yarn expo start` _Make sure you use yarn 2, 3, or 4. Yarn v1 won't configure anything and should work as expected._ ![image](https://github.com/expo/expo/assets/1203991/41864f17-959e-4cd8-87a4-7b0201b1962b) # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin).
- Loading branch information