Skip to content

Commit 344b31a

Browse files
authored
chore: update react-native example to 0.64 (#11190)
1 parent f73d5f6 commit 344b31a

File tree

7 files changed

+713
-1182
lines changed

7 files changed

+713
-1182
lines changed

.yarnrc.yml

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ enableGlobalCache: true
22

33
nodeLinker: node-modules
44

5+
packageExtensions:
6+
"@docusaurus/plugin-pwa@*":
7+
peerDependencies:
8+
"@babel/core": "^7.0.0"
9+
"docusaurus-plugin-sass@*":
10+
peerDependencies:
11+
webpack: "*"
12+
513
plugins:
614
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
715
spec: "@yarnpkg/plugin-interactive-tools"

examples/enzyme/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.0.0",
44
"name": "example-enzyme",
55
"dependencies": {
6-
"react": "*",
7-
"react-dom": "*"
6+
"react": "^16.14.0",
7+
"react-dom": "^16.14.0"
88
},
99
"devDependencies": {
1010
"@babel/core": "*",

examples/react-native/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
"test": "jest"
88
},
99
"dependencies": {
10-
"react": "16.13.1",
11-
"react-native": "0.63.2"
10+
"react": "17.0.1",
11+
"react-native": "0.64.0"
1212
},
1313
"devDependencies": {
1414
"@babel/core": "*",
1515
"@babel/preset-env": "*",
1616
"babel-jest": "*",
1717
"jest": "*",
18-
"metro-react-native-babel-preset": "0.59.0",
19-
"react-test-renderer": "16.13.1"
18+
"metro-react-native-babel-preset": "0.65.2",
19+
"react-test-renderer": "17.0.1"
2020
}
2121
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@
147147
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
148148
},
149149
"resolutions": {
150+
"@jest/create-cache-key-function": "workspace:*",
150151
"@testing-library/dom/pretty-format": "26.6.1",
151152
"@types/jest/jest-diff": "^25.1.0",
152153
"@types/jest/pretty-format": "^25.1.0",
153154
"babel-jest": "workspace:*",
154-
"fbjs-scripts": "patch:fbjs-scripts@^1.1.0#./patches/fbjs-scripts.patch",
155155
"jest": "workspace:*",
156156
"jest-environment-node": "workspace:*",
157-
"react-native": "patch:react-native@0.63.2#./patches/react-native.patch"
157+
"react-native": "patch:react-native@0.64.0#./patches/react-native.patch"
158158
}
159159
}

patches/fbjs-scripts.patch

-13
This file was deleted.

website/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
"react-markdown": "^5.0.3"
3232
},
3333
"devDependencies": {
34+
"@babel/core": "^7.0.0",
3435
"@crowdin/cli": "^3.5.2",
36+
"@types/react": "^17.0.3",
3537
"graphql": "^15.3.0",
3638
"graphql-request": "^3.1.0"
3739
}

0 commit comments

Comments
 (0)