Skip to content

Commit fa25201

Browse files
authored
Fix duplicating library files after installing modules in basic app (#76)
1 parent b579910 commit fa25201

4 files changed

Lines changed: 7 additions & 22 deletions

File tree

apps/basic-example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,7 @@ PODS:
18061806
- ReactCommon/turbomodule/core
18071807
- SocketRocket
18081808
- Yoga
1809-
- react-native-wallet (0.1.15):
1809+
- react-native-wallet (0.1.18):
18101810
- boost
18111811
- DoubleConversion
18121812
- fast_float
@@ -2613,7 +2613,7 @@ SPEC CHECKSUMS:
26132613
React-Mapbuffer: e402e7a0535b2213c50727553621480fe8cd8ade
26142614
React-microtasksnativemodule: a63ce5595016996a9bac1f10c70a7a7fe6506649
26152615
react-native-safe-area-context: c00143b4823773bba23f2f19f85663ae89ceb460
2616-
react-native-wallet: e082f2023e0fc86b51ac6c0a7596dcdf17ee30b0
2616+
react-native-wallet: b6ad746f7afbb303c5f01ab056da13413e16d7c2
26172617
React-NativeModulesApple: b3766e1f87b08064ebc459b9e1538da2447ca874
26182618
React-oscompat: 34f3d3c06cadcbc470bc4509c717fb9b919eaa8b
26192619
React-perflogger: a1edb025fd5d44f61bf09307e248f7608d7b2dcf

apps/basic-example/metro.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ const root = path.resolve(__dirname, '../..');
1010
* @type {import('@react-native/metro-config').MetroConfig}
1111
*/
1212
const config = {
13-
watchFolders: [root],
14-
resolver: {
15-
nodeModulesPaths: [
16-
path.resolve(__dirname, 'node_modules'),
17-
path.resolve(__dirname, '../../node_modules'),
18-
],
19-
},
13+
watchFolders: [root, __dirname],
2014
transformer: {
2115
getTransformOptions: async () => ({
2216
transform: {

apps/basic-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"pods": "cd ios && bundle install && bundle exec pod install"
1818
},
1919
"dependencies": {
20-
"@expensify/react-native-wallet": "*",
20+
"@expensify/react-native-wallet": "file:../..",
2121
"react": "^19.1.0",
2222
"react-native": "0.81.0",
2323
"react-native-safe-area-context": "^5.5.2"

package-lock.json

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)