Skip to content

Commit 71a6afb

Browse files
committed
Merge branch 'main' into feat/cookbook/network-reqs
2 parents cbb1c24 + 3b098b2 commit 71a6afb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+18978
-21294
lines changed

.codecov.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ coverage:
22
precision: 2
33
round: down
44
range: 70...100
5+
status:
6+
project:
7+
default:
8+
threshold: 0.5% # Allowable coverage drop in percentage points
59

610
comment:
711
behavior: default
812
require_changes: false
9-
require_base: no
13+
require_base: false

.yarn/releases/yarn-4.2.1.cjs

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

.yarn/releases/yarn-4.4.0.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ enableGlobalCache: true
22

33
nodeLinker: node-modules
44

5-
yarnPath: .yarn/releases/yarn-4.2.1.cjs
5+
yarnPath: .yarn/releases/yarn-4.4.0.cjs

examples/basic/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"dependencies": {
14-
"expo": "^50.0.4",
15-
"expo-status-bar": "~1.11.1",
14+
"expo": "^51.0.26",
15+
"expo-status-bar": "~1.12.1",
1616
"react": "18.2.0",
1717
"react-dom": "18.2.0",
18-
"react-native": "0.73.2",
18+
"react-native": "0.74.5",
1919
"react-native-web": "~0.19.6"
2020
},
2121
"devDependencies": {
22-
"@babel/core": "^7.20.0",
23-
"@testing-library/react-native": "^12.4.0",
22+
"@babel/core": "^7.24.0",
23+
"@testing-library/react-native": "^12.5.2",
2424
"@types/eslint": "^8.56.10",
2525
"@types/jest": "^29.5.12",
26-
"@types/react": "~18.2.45",
26+
"@types/react": "~18.2.79",
2727
"eslint": "^8.57.0",
2828
"jest": "^29.7.0",
2929
"react-test-renderer": "18.2.0",

examples/basic/yarn.lock

Lines changed: 2157 additions & 2206 deletions
Large diffs are not rendered by default.

examples/cookbook/.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"extends": "@callstack"
2+
"extends": "@callstack",
3+
"rules": {
4+
"react-native-a11y/has-valid-accessibility-ignores-invert-colors": "off",
5+
"react-native/no-color-literals": "off",
6+
"react-native-a11y/has-valid-accessibility-descriptors": "off",
7+
}
38
}

examples/cookbook/App.tsx

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

examples/cookbook/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# RNTL Cookbook
22

3-
This example app gathers recipes from the [RNTL Cookbook](https://callstack.github.io/react-native-testing-library/cookbook).
3+
This example app gathers recipes from
4+
the [RNTL Cookbook](https://callstack.github.io/react-native-testing-library/cookbook).
45

5-
Each recipe described in the Cookbook should have a corresponding code example in this repo.
6+
Each recipe described in the Cookbook should have a corresponding code example screen in this repo.
67

78
Note:
8-
Since examples will showcase usage of different dependencies, the dependencies in `package.json` fill will grow much larger that in an normal React Native. This is fine 🐶☕️🔥.
9+
Since examples will showcase usage of different dependencies, the dependencies in `package.json`
10+
file will grow much larger that in a normal React Native. This is fine 🐶☕️🔥.

examples/cookbook/app.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"expo": {
33
"name": "RNTL Cookbook App",
44
"slug": "rntl-cookbook",
5+
"scheme": "rntlcookbook",
56
"version": "1.0.0",
67
"orientation": "portrait",
78
"icon": "./assets/icon.png",
89
"userInterfaceStyle": "light",
910
"splash": {
1011
"image": "./assets/splash.png",
11-
"resizeMode": "contain",
12-
"backgroundColor": "#ffffff"
12+
"resizeMode": "cover",
13+
"backgroundColor": "#FFFFFF"
1314
},
1415
"updates": {
1516
"fallbackToCacheTimeout": 0
@@ -26,6 +27,7 @@
2627
},
2728
"web": {
2829
"favicon": "./assets/favicon.png"
29-
}
30+
},
31+
"plugins": ["expo-router"]
3032
}
3133
}

0 commit comments

Comments
 (0)