Skip to content

Commit

Permalink
Bump Plexus React typings to React 18
Browse files Browse the repository at this point in the history
As per jaegertracing#998; also update the package's `peerDependencies` accordingly.
I am not entirely sure why Dependabot was trying to update these typings
separately because bumping them together appears to yield a successful
build.

Signed-off-by: Máté Szabó <[email protected]>
  • Loading branch information
mszabo-wikia committed Feb 23, 2023
1 parent ab46769 commit 51595c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions packages/plexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@types/d3-zoom": "1.7.3",
"@types/react": "^16.14.0",
"@types/react-dom": "^16.9.17",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"babel-loader": "9.1.2",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"clean-webpack-plugin": "4.0.0",
Expand All @@ -46,8 +46,8 @@
"worker-loader": "3.0.8"
},
"peerDependencies": {
"react": "^16.x",
"react-dom": "^16.x"
"react": "^18.x",
"react-dom": "^18.x"
},
"dependencies": {
"d3-selection": "^1.3.0",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2561,12 +2561,12 @@
dependencies:
"@types/react" "*"

"@types/react-dom@^16.9.17":
version "16.9.17"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.17.tgz#29100cbcc422d7b7dba7de24bb906de56680dd34"
integrity sha512-qSRyxEsrm5btPXnowDOs5jSkgT8ldAA0j6Qp+otHUh+xHzy3sXmgNfyhucZjAjkgpdAUw9rJe0QRtX/l+yaS4g==
"@types/react-dom@^18.0.11":
version "18.0.11"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.11.tgz#321351c1459bc9ca3d216aefc8a167beec334e33"
integrity sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==
dependencies:
"@types/react" "^16"
"@types/react" "*"

"@types/react-helmet@^6.1.5":
version "6.1.5"
Expand Down Expand Up @@ -2647,10 +2647,10 @@
"@types/prop-types" "*"
csstype "^2.2.0"

"@types/react@^16", "@types/react@^16.14.0":
version "16.14.34"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.34.tgz#d129324ffda312044e1c47aab18696e4ed493282"
integrity sha512-b99nWeGGReLh6aKBppghVqp93dFJtgtDOzc8NXM6hewD8PQ2zZG5kBLgbx+VJr7Q7WBMjHxaIl3dwpwwPIUgyA==
"@types/react@^18.0.28":
version "18.0.28"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.28.tgz#accaeb8b86f4908057ad629a26635fe641480065"
integrity sha512-RD0ivG1kEztNBdoAK7lekI9M+azSnitIn85h4iOiaLjaTrMjzslhaqCGaI4IyCJ1RljWiLCEu4jyrLLgqxBTew==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand Down

0 comments on commit 51595c8

Please sign in to comment.