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

chore: update react-native example to 0.64 #11190

Merged
merged 1 commit into from Mar 13, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .yarnrc.yml
Expand Up @@ -2,6 +2,14 @@ enableGlobalCache: true

nodeLinker: node-modules

packageExtensions:
"@docusaurus/plugin-pwa@*":
peerDependencies:
"@babel/core": "^7.0.0"
"docusaurus-plugin-sass@*":
peerDependencies:
webpack: "*"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
Expand Down
4 changes: 2 additions & 2 deletions examples/enzyme/package.json
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0",
"name": "example-enzyme",
"dependencies": {
"react": "*",
"react-dom": "*"
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"devDependencies": {
"@babel/core": "*",
Expand Down
8 changes: 4 additions & 4 deletions examples/react-native/package.json
Expand Up @@ -7,15 +7,15 @@
"test": "jest"
},
"dependencies": {
"react": "16.13.1",
"react-native": "0.63.2"
"react": "17.0.1",
"react-native": "0.64.0"
},
"devDependencies": {
"@babel/core": "*",
"@babel/preset-env": "*",
"babel-jest": "*",
"jest": "*",
"metro-react-native-babel-preset": "0.59.0",
"react-test-renderer": "16.13.1"
"metro-react-native-babel-preset": "0.65.2",
"react-test-renderer": "17.0.1"
}
}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -147,13 +147,13 @@
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"resolutions": {
"@jest/create-cache-key-function": "workspace:*",
"@testing-library/dom/pretty-format": "26.6.1",
"@types/jest/jest-diff": "^25.1.0",
"@types/jest/pretty-format": "^25.1.0",
"babel-jest": "workspace:*",
"fbjs-scripts": "patch:fbjs-scripts@^1.1.0#./patches/fbjs-scripts.patch",
"jest": "workspace:*",
"jest-environment-node": "workspace:*",
"react-native": "patch:react-native@0.63.2#./patches/react-native.patch"
"react-native": "patch:react-native@0.64.0#./patches/react-native.patch"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally we should get rid of this patch as well, but I haven't bothered creating an issue with RN yet 😅

}
}
13 changes: 0 additions & 13 deletions patches/fbjs-scripts.patch

This file was deleted.

2 changes: 2 additions & 0 deletions website/package.json
Expand Up @@ -31,7 +31,9 @@
"react-markdown": "^5.0.3"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@crowdin/cli": "^3.5.2",
"@types/react": "^17.0.3",
"graphql": "^15.3.0",
"graphql-request": "^3.1.0"
}
Expand Down