Skip to content

Commit

Permalink
expand react version on document-renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
borisno2 committed Apr 27, 2022
1 parent ffa1a2b commit 7347a24
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/document-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"main": "dist/keystone-6-document-renderer.cjs.js",
"module": "dist/keystone-6-document-renderer.esm.js",
"peerDependencies": {
"react": "18"
"react": "^16.14.0 || 17 | 18"
},
"devDependencies": {
"react": "^18.0.0"
"react": "^16.14.0 || 17 | 18"
},
"engines": {
"node": "^14.15 || ^16.13"
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11155,6 +11155,15 @@ react-transition-group@^4.3.0, react-transition-group@^4.4.1, react-transition-g
loose-envify "^1.4.0"
prop-types "^15.6.2"

"react@^16.14.0 || 17 | 18":
version "16.14.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"

react@^18.0.0:
version "18.0.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
Expand Down

0 comments on commit 7347a24

Please sign in to comment.