Skip to content

Commit 9e36e37

Browse files
committed
fix: Exclude nested node_modules in the lib package to avoid bundling conflicts
1 parent 9d515df commit 9e36e37

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/e2e-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
working-directory: example
5252
run: |
5353
gem update cocoapods xcodeproj
54-
pod install --project-directory=ios || (pod repo update && pod install --project-directory=ios --clean-install)
54+
pod install --project-directory=ios || (rm -rf ~/Library/Caches/CocoaPods && pod cache clean --all && pod install --project-directory=ios)
5555
5656
- name: Install applesimutils
5757
run: |

.github/workflows/mocha-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
working-directory: example
7575
run: |
7676
gem update cocoapods xcodeproj
77-
pod install --project-directory=ios || (pod repo update && pod install --project-directory=ios --clean-install)
77+
pod install --project-directory=ios || (rm -rf ~/Library/Caches/CocoaPods && pod cache clean --all && pod install --project-directory=ios)
7878
7979
- name: Install applesimutils
8080
run: |

example/metro.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ const config = {
2020
vm: path.resolve(__dirname, 'node_modules/vm-browserify/'),
2121
process: path.resolve(__dirname, 'node_modules/process/'),
2222
},
23+
blockList: [
24+
// Exclude nested node_modules in the lib package to avoid bundling conflicts
25+
/node_modules\/@synonymdev\/react-native-ldk\/node_modules\/.*/,
26+
],
2327
},
2428
};
2529

0 commit comments

Comments
 (0)