fix(mobile): hoist RN/Expo transitive deps for Metro resolution
pnpm's default strict isolation hides @babel/runtime/helpers/* and other transitive deps from Metro, which expects flat node_modules layout. Each missing dep was a separate failed EAS build (metro-runtime, @babel/runtime, ...) — added .npmrc with public-hoist-pattern entries that catch the common RN/Expo families so we stop whack-a-moling them. Also kept @babel/runtime as direct dep of @chat-app/mobile for safety.
This commit is contained in:
Generated
+3
@@ -150,6 +150,9 @@ importers:
|
||||
|
||||
apps/mobile:
|
||||
dependencies:
|
||||
'@babel/runtime':
|
||||
specifier: ^7.29.2
|
||||
version: 7.29.2
|
||||
'@chat-app/db-types':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/db-types
|
||||
|
||||
Reference in New Issue
Block a user