Skip to content

Commit 0efe5f5

Browse files
Tighten React Native Expo migration scope
Assisted-By: devx/741457bb-fda8-43d5-b35b-2e08c409a2fe
1 parent 9241a0e commit 0efe5f5

10 files changed

Lines changed: 331 additions & 482 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ platforms/react-native/test/rct-integration-app/*.xcworkspace/
3030
platforms/swift/Samples/**/Info.plist
3131
platforms/react-native/test/rct-integration-app/**/Info.plist
3232

33+
# Generated React Native sample native projects
34+
platforms/react-native/sample/.expo/
35+
platforms/react-native/sample/ios/
36+
platforms/react-native/sample/android/
37+
3338
# Apollo / GraphQL
3439
*.graphqls
3540
!platforms/android/samples/MobileBuyIntegration/app/src/main/graphql/schema.graphqls

platforms/react-native/__mocks__/TurboModuleRegistry.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

platforms/react-native/__mocks__/codegenNativeComponent.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

platforms/react-native/__mocks__/react-native-config.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

platforms/react-native/__mocks__/react-native-encrypted-storage.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

platforms/react-native/__mocks__/react-native-quick-crypto.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

platforms/react-native/jest.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ module.exports = {
66
'^react$': '<rootDir>/node_modules/react',
77
'^react-test-renderer$': '<rootDir>/node_modules/react-test-renderer',
88
'^react-native$': '<rootDir>/__mocks__/react-native.ts',
9-
'^react-native/Libraries/Utilities/codegenNativeComponent$': '<rootDir>/__mocks__/codegenNativeComponent.ts',
10-
'^react-native/Libraries/TurboModule/TurboModuleRegistry$': '<rootDir>/__mocks__/TurboModuleRegistry.ts',
119
},
1210
setupFiles: ['<rootDir>/jest.setup.ts'],
1311
transform: {

platforms/react-native/modules/@shopify/checkout-kit-react-native/android/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,7 @@ repositories {
121121
if (useLocalSdk) {
122122
exclusiveContent {
123123
forRepository {
124-
mavenLocal {
125-
metadataSources {
126-
mavenPom()
127-
artifact()
128-
ignoreGradleMetadataRedirection()
129-
}
130-
}
124+
mavenLocal()
131125
}
132126
filter {
133127
includeModule("com.shopify", "checkout-kit")

platforms/react-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@babel/core": "^7.29.7",
4545
"@babel/preset-env": "^7.25.3",
4646
"@babel/runtime": "^7.25.0",
47+
"@expo/metro-config": "~56.0.13",
4748
"@react-native/babel-preset": "0.85.3",
4849
"@react-native/eslint-config": "0.85.3",
4950
"@testing-library/react-native": "^13.3.1",
@@ -52,14 +53,13 @@
5253
"@types/react-test-renderer": "19.1.0",
5354
"eslint": "^8.57.1",
5455
"eslint-plugin-prettier": "^5.5.4",
55-
"jest": "^30.0.5",
56+
"jest": "30.0.5",
5657
"prettier": "^3.2.5",
5758
"react": "19.2.3",
5859
"react-native": "0.85.3",
5960
"react-test-renderer": "19.2.3",
6061
"ts-jest": "^29.4.1",
6162
"typescript": "^5.9.2",
62-
"@expo/metro-config": "~56.0.13",
6363
"@react-native/jest-preset": "0.85.3"
6464
},
6565
"engines": {

platforms/react-native/pnpm-lock.yaml

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

0 commit comments

Comments
 (0)