-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate removing hard-coded dependency on node_modules #11
Comments
Tagging with help-wanted since I almost assuredly lack the knowledge to know if this is even a reasonable request. It's also pretty baked as an android assumption too. |
I'm not sure react-native has good support for PNP installs right now. Will take a closer look. |
See react-native-community/cli#27 for some context. PnP support looks like is not implemented in react-native and not a priority at this time. I just tried to bootstrap a react native app with react native 0.70.6 and found the same hard-coded references to
So in my opinion there isn't much we can do to remove it at this time. |
Yeah, makes sense. Thanks a bunch for the research on this. I've been able to bootstrap projects that install the |
See the yarnrc.yml and Podfile in the example project. It looks like the current approach is to hard-code path dependencies, which feels like a code smell to me, and further assumes that the end user will always be using
npm
or some other package manager in a legacy compatibility mode, and this is suboptimal at best.The text was updated successfully, but these errors were encountered: