Skip to content
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

fix(metro-config): ignore files generated by Xcode during build #3382

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/curvy-doors-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnx-kit/metro-config": patch
---

Ignore files generated by Xcode during build
4 changes: 2 additions & 2 deletions packages/metro-config/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ function exclusionList(additionalExclusions = [], projectRoot = process.cwd()) {
...UNIQUE_MODULES.map((name) => excludeExtraCopiesOf(name, projectRoot)),

// Ignore temporary directories generated by build tools
/.*\/(\.vs|\.vscode|Pods)\/.*/,
/.*\/(.*?\.bundle|.*?\.noindex|\.vs|\.vscode|Pods)\/.*/,

// Ignore unrelated file changes
/.*\.(apk|appx|bak|bat|binlog|c|cache|cc|class|cpp|cs|dex|dll|env|exe|flat|gz|h|hpp|jar|lock|m|mm|modulemap|o|obj|pch|pdb|plist|pbxproj|sh|so|tflite|tgz|tlog|xcconfig|xcscheme|xcworkspacedata|zip)$/,
/.*\.(a|apk|appx|bak|bat|binlog|c|cache|cc|class|cpp|cs|dex|dll|env|exe|flat|gz|h|hpp|jar|lock|m|mm|modulemap|o|obj|pch|pdb|plist|pbxproj|sh|so|tflite|tgz|tlog|xcconfig|xcscheme|xcworkspacedata|zip)$/,

...additionalExclusions,
]);
Expand Down
4 changes: 2 additions & 2 deletions packages/test-app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ PODS:
- ReactTestApp-MSAL (4.0.0):
- MSAL
- ReactTestApp-Resources (1.0.0-dev)
- RNWWebStorage (0.3.0):
- RNWWebStorage (0.3.1):
- DoubleConversion
- glog
- RCT-Folly (= 2024.01.01.00)
Expand Down Expand Up @@ -1786,7 +1786,7 @@ SPEC CHECKSUMS:
ReactTestApp-DevSupport: 74676edd899013becce4eaecc5eabba1fc51e26e
ReactTestApp-MSAL: a7ac8e821fce95fc4e27cd91cf2a931b277ffef3
ReactTestApp-Resources: a4cc1f968cd26bdbd18ee0bfbd0ab8dd0ea90101
RNWWebStorage: 39af6c7aa24a9360372280338e0f5900630779a2
RNWWebStorage: 16ea67c1467a5b91c2859c490bec800f001adf78
RNXAuth: 7716515bc74149d226d798138f2d76af9f34427f
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: 4ef80d96a5534f0e01b3055f17d1e19a9fc61b63
Expand Down
Loading