Skip to content

Commit

Permalink
chore: update react-native example to 0.64 (#11190)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 13, 2021
1 parent f73d5f6 commit 344b31a
Show file tree
Hide file tree
Showing 7 changed files with 713 additions and 1,182 deletions.
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"
}
}
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

0 comments on commit 344b31a

Please sign in to comment.