mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
First attempt to upgrade to RN 83
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
- label: ":android::react: RN .82 + Android: Demo app"
|
||||
- label: ":android::react: RN .83 + Android: Demo app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/demo-projects.android.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.82.0
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
REACT_NATIVE_COMPAT_TEST: true # Only set 'true' in jobs with the latest supported RN
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
- label: ":android::react: RN .83 + Android: Demo app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/demo-projects.android.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
REACT_NATIVE_COMPAT_TEST: true # Only set 'true' in jobs with the latest supported RN
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
DETOX_DISABLE_POSTINSTALL: true
|
||||
artifact_paths:
|
||||
- "/Users/builder/uibuilder/work/coverage/**/*.lcov"
|
||||
- "/Users/builder/uibuilder/work/artifacts*.tar.gz"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
- label: ":android::detox: RN .82 + Android: Tests app"
|
||||
- label: ":android::detox: RN .83 + Android: Tests app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/ci.android.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.82.0
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
TEST_GENYCLOUD_SANITY: true
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
|
||||
+3
-2
@@ -1,9 +1,9 @@
|
||||
- label: ":android::detox: RN .81 + Android: Tests app"
|
||||
- label: ":android::detox: RN .83 + Android: Tests app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/ci.android.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.81.4
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
DETOX_DISABLE_POSTINSTALL: true
|
||||
@@ -11,3 +11,4 @@
|
||||
- "/Users/builder/uibuilder/work/coverage/**/*.lcov"
|
||||
- "/Users/builder/uibuilder/work/**/allure-report-*.html"
|
||||
- "/Users/builder/uibuilder/work/artifacts*.tar.gz"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
- label: ":ios::react: RN .82 + iOS: Demo app"
|
||||
- label: ":ios::react: RN .83 + iOS: Demo app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/demo-projects.ios.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.82.0
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
REACT_NATIVE_COMPAT_TEST: true # Only set 'true' in jobs with the latest supported RN
|
||||
artifact_paths:
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
- label: ":ios::react: RN .83 + iOS: Demo app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/demo-projects.ios.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
REACT_NATIVE_COMPAT_TEST: true # Only set 'true' in jobs with the latest supported RN
|
||||
artifact_paths:
|
||||
- "/Users/builder/uibuilder/work/coverage/**/*.lcov"
|
||||
- "/Users/builder/uibuilder/work/artifacts*.tar.gz"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
- label: ":ios::detox: RN .82 + iOS: Tests app"
|
||||
- label: ":ios::detox: RN .83 + iOS: Tests app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/ci.ios.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.82.0
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
artifact_paths:
|
||||
- "/Users/builder/uibuilder/work/coverage/**/*.lcov"
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
- label: ":ios::detox: RN .81 + iOS: Tests app"
|
||||
- label: ":ios::detox: RN .83 + iOS: Tests app"
|
||||
command:
|
||||
- "nvm install"
|
||||
- "./scripts/ci.ios.sh"
|
||||
env:
|
||||
REACT_NATIVE_VERSION: 0.81.4
|
||||
REACT_NATIVE_VERSION: 0.83.0
|
||||
RCT_NEW_ARCH_ENABLED: 1
|
||||
artifact_paths:
|
||||
- "/Users/builder/uibuilder/work/coverage/**/*.lcov"
|
||||
- "/Users/builder/uibuilder/work/**/allure-report-*.html"
|
||||
- "/Users/builder/uibuilder/work/artifacts*.tar.gz"
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
|
||||
echo "steps:"
|
||||
|
||||
cat .buildkite/jobs/pipeline.android_demo_app_rn_82.yml
|
||||
cat .buildkite/jobs/pipeline.android_demo_app_rn_83.yml
|
||||
cat .buildkite/jobs/pipeline.android_rn_77.yml
|
||||
cat .buildkite/jobs/pipeline.android_rn_81.yml
|
||||
cat .buildkite/jobs/pipeline.android_rn_82.yml
|
||||
cat .buildkite/jobs/pipeline.ios_demo_app_rn_82.yml
|
||||
cat .buildkite/jobs/pipeline.android_rn_83.yml
|
||||
cat .buildkite/jobs/pipeline.ios_demo_app_rn_83.yml
|
||||
cat .buildkite/jobs/pipeline.ios_rn_77.yml
|
||||
cat .buildkite/jobs/pipeline.ios_rn_81.yml
|
||||
cat .buildkite/jobs/pipeline.ios_rn_82.yml
|
||||
cat .buildkite/jobs/pipeline.ios_rn_83.yml
|
||||
cat .buildkite/pipeline.post_processing.yml
|
||||
|
||||
+942
File diff suppressed because one or more lines are too long
+1
-1
@@ -8,5 +8,5 @@ nmMode: hardlinks-local
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
npmMinimalAgeGate: 14d
|
||||
#npmMinimalAgeGate: 14d
|
||||
|
||||
|
||||
+8
-8
@@ -54,13 +54,13 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-native-community/cli": "20.0.0",
|
||||
"@react-native-community/cli-platform-android": "20.0.0",
|
||||
"@react-native-community/cli-platform-ios": "20.0.0",
|
||||
"@react-native/babel-preset": "0.82.0",
|
||||
"@react-native/eslint-config": "0.82.0",
|
||||
"@react-native/metro-config": "0.82.0",
|
||||
"@react-native/typescript-config": "0.82.0",
|
||||
"@react-native-community/cli": "20.0.2",
|
||||
"@react-native-community/cli-platform-android": "20.0.2",
|
||||
"@react-native-community/cli-platform-ios": "20.0.2",
|
||||
"@react-native/babel-preset": "0.83.0",
|
||||
"@react-native/eslint-config": "0.83.0",
|
||||
"@react-native/metro-config": "0.83.0",
|
||||
"@react-native/typescript-config": "0.83.0",
|
||||
"@tsconfig/react-native": "^3.0.0",
|
||||
"@types/bunyan": "^1.8.8",
|
||||
"@types/child-process-promise": "^2.2.1",
|
||||
@@ -82,7 +82,7 @@
|
||||
"jest-allure2-reporter": "^2.2.6",
|
||||
"metro-react-native-babel-preset": "0.76.8",
|
||||
"prettier": "^3.1.1",
|
||||
"react-native": "0.82.0",
|
||||
"react-native": "0.83.0",
|
||||
"react-native-codegen": "^0.0.8",
|
||||
"typescript": "^5.8.3",
|
||||
"wtfnode": "^0.9.1"
|
||||
|
||||
@@ -701,6 +701,7 @@
|
||||
);
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DFOLLY_NO_CONFIG",
|
||||
@@ -773,6 +774,7 @@
|
||||
"\"$(inherited)\"",
|
||||
);
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-DFOLLY_NO_CONFIG",
|
||||
|
||||
+10
-10
@@ -40,8 +40,8 @@
|
||||
"@react-native-picker/picker": "^2.11.2",
|
||||
"@react-native-segmented-control/segmented-control": "^2.5.6",
|
||||
"moment": "^2.30.1",
|
||||
"react": "19.1.1",
|
||||
"react-native": "0.82.0",
|
||||
"react": "19.2.0",
|
||||
"react-native": "0.83.0",
|
||||
"react-native-launch-arguments": "^4.0.2",
|
||||
"react-native-permissions": "^5.2.1",
|
||||
"react-native-webview": "^13.13.1",
|
||||
@@ -51,18 +51,18 @@
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"@babel/runtime": "^7.25.0",
|
||||
"@react-native-community/cli": "20.0.0",
|
||||
"@react-native-community/cli-platform-android": "20.0.0",
|
||||
"@react-native-community/cli-platform-ios": "20.0.0",
|
||||
"@react-native/babel-preset": "0.82.0",
|
||||
"@react-native/eslint-config": "0.82.0",
|
||||
"@react-native/metro-config": "0.82.0",
|
||||
"@react-native/typescript-config": "0.82.0",
|
||||
"@react-native-community/cli": "20.0.2",
|
||||
"@react-native-community/cli-platform-android": "20.0.2",
|
||||
"@react-native-community/cli-platform-ios": "20.0.2",
|
||||
"@react-native/babel-preset": "0.83.0",
|
||||
"@react-native/eslint-config": "0.83.0",
|
||||
"@react-native/metro-config": "0.83.0",
|
||||
"@react-native/typescript-config": "0.83.0",
|
||||
"@rnx-kit/align-deps": "^3.0.6",
|
||||
"@tsconfig/react-native": "^3.0.0",
|
||||
"@types/jest": "^29.5.11",
|
||||
"@types/node": "^16.18.68",
|
||||
"@types/react": "^19.1.1",
|
||||
"@types/react": "^19.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
||||
"@typescript-eslint/parser": "^6.16.0",
|
||||
"axios": "^1.7.7",
|
||||
|
||||
@@ -23,28 +23,27 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-async-storage/async-storage": "^2.1.0",
|
||||
"react": "19.1.1",
|
||||
"react-native": "0.82.0",
|
||||
"react": "19.2.0",
|
||||
"react-native": "0.83.0",
|
||||
"tslib": "^2.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"@react-native-community/cli": "20.0.0",
|
||||
"@react-native-community/cli-platform-android": "20.0.0",
|
||||
"@react-native-community/cli-platform-ios": "20.0.0",
|
||||
"@react-native/babel-preset": "0.82.0",
|
||||
"@react-native/eslint-config": "0.82.0",
|
||||
"@react-native/metro-config": "0.82.0",
|
||||
"@react-native/typescript-config": "0.82.0",
|
||||
"@react-native-community/cli": "20.0.2",
|
||||
"@react-native-community/cli-platform-android": "20.0.2",
|
||||
"@react-native-community/cli-platform-ios": "20.0.2",
|
||||
"@react-native/babel-preset": "0.83.0",
|
||||
"@react-native/eslint-config": "0.83.0",
|
||||
"@react-native/metro-config": "0.83.0",
|
||||
"@react-native/typescript-config": "0.83.0",
|
||||
"@tsconfig/react-native": "^3.0.5",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/jest": "^29.2.1",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-test-renderer": "^19.1.0",
|
||||
"@types/react": "^19.2.0",
|
||||
"detox": "workspace:*",
|
||||
"fs-extra": "^9.1.0",
|
||||
"jest": "^30.0.3",
|
||||
"react-test-renderer": "19.1.1",
|
||||
"react-test-renderer": "19.2.0",
|
||||
"ts-jest": "^29.4.0",
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user