Skip to content

Commit

Permalink
Tweak peerDependencies for react 18.2.0 (#1028)
Browse files Browse the repository at this point in the history
update peer dependencies to react 18
  • Loading branch information
joemcelroy authored Mar 15, 2024
1 parent 8d2e0a2 commit 91a58d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"autoprefixer": "^10.4.7",
"moment": "^2.24.0",
"postcss": "^8.4.14",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^5.0.0",
"react-scripts": "^5.0.0",
"tailwindcss": "^3.1.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-search-ui-views/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"url": "https://github.com/elastic/search-ui/issues"
},
"peerDependencies": {
"react": ">= 16.8.0 <= 18",
"react-dom": ">= 16.8.0 <= 18"
"react": ">= 16.8.0 < 19",
"react-dom": ">= 16.8.0 < 19"
},
"devDependencies": {
"@storybook/addon-actions": "^4.1.18",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-search-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"@elastic/search-ui": "1.21.0"
},
"peerDependencies": {
"react": ">= 16.8.0 <= 18",
"react-dom": ">= 16.8.0 <= 18"
"react": ">= 16.8.0 < 19",
"react-dom": ">= 16.8.0 < 19"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^2.6.3",
"typescript": "^4.5.4"
}
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14316,7 +14316,7 @@ react-docgen@^3.0.0:
node-dir "^0.1.10"
recast "^0.16.0"

react-dom@17.0.2, react-dom@^16.7.0, react-dom@^17.0.2:
react-dom@17.0.2, react-dom@^16.7.0, react-dom@^17.0.2, react-dom@^18.2.0:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
Expand Down Expand Up @@ -14664,7 +14664,7 @@ react-window@^1.8.6:
"@babel/runtime" "^7.0.0"
memoize-one ">=3.1.1 <6"

react@17.0.2, react@^16.7.0, react@^17.0.2:
react@17.0.2, react@^16.7.0, react@^17.0.2, react@^18.2.0:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
Expand Down

0 comments on commit 91a58d2

Please sign in to comment.