You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Would be nice to add an optional package for an expo/react-native application.
This would even be a nohoist package that is handled separately but can use the other packages for less code duplication.
Edit:
turns out this is not overly complex to add.
from the root dir run: pnpm create expo apps/mobile
in turbo.json under build/outputs add , "node_modules/.cache/metro/**"
in the new apps package.json add "dev": "expo start -p 3006" under scripts
This was enough to get expo running in the same pnpm dev command with everything else. I still need to test it more extensively
Edit 2.0
This breaks completely once you run pnpm i from the root of the repo. It hoists dependencies and I cant seem to get beyond this point or revert the change
The text was updated successfully, but these errors were encountered:
@oldbettie try setting node-linker=hoisted in a .npmrc file (recommended by Expo docs). I've had similar issues with getting an Expo app working inside a pnpm monorepo and this did the trick.
Describe the solution you'd like
Would be nice to add an optional package for an expo/react-native application.
This would even be a nohoist package that is handled separately but can use the other packages for less code duplication.
Edit:
turns out this is not overly complex to add.
pnpm create expo apps/mobile
turbo.json
underbuild/outputs
add, "node_modules/.cache/metro/**"
launch.json
addpackage.json
add"dev": "expo start -p 3006"
underscripts
This was enough to get expo running in the same pnpm dev command with everything else. I still need to test it more extensively
Edit 2.0
This breaks completely once you run
pnpm i
from the root of the repo. It hoists dependencies and I cant seem to get beyond this point or revert the changeThe text was updated successfully, but these errors were encountered: