Skip to content

Commit

Permalink
chore: upgrade to react v18
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Jun 16, 2023
1 parent 87f5c4b commit 91315fd
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 186 deletions.
10 changes: 5 additions & 5 deletions packages/dnb-design-system-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@
},
"dependencies": {
"@dnb/eufemia": "workspace:*",
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@emotion/react": "11.11.0",
"@emotion/styled": "11.11.0",
"@mdx-js/mdx": "2.3.0",
"@mdx-js/react": "2.3.0",
"algoliasearch": "4.12.0",
"classnames": "2.3.1",
"history": "5.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-live-ssr": "workspace:*"
},
"devDependencies": {
"@babel/core": "7.16.0",
"@babel/eslint-parser": "7.18.2",
"@babel/node": "7.16.0",
"@emotion/cache": "11.9.3",
"@emotion/cache": "11.11.0",
"@typescript-eslint/parser": "5.43.0",
"babel-jest": "29.3.1",
"camelcase": "6.2.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/dnb-eufemia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
"what-input": "5.2.10"
},
"peerDependencies": {
"react": "^17",
"react-dom": "^17"
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@babel/cli": "7.16.0",
Expand All @@ -134,8 +134,8 @@
"@babel/preset-react": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"@babel/traverse": "7.16.3",
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@emotion/react": "11.11.0",
"@emotion/styled": "11.11.0",
"@reach/router": "1.3.4",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "24.0.1",
Expand Down Expand Up @@ -229,8 +229,8 @@
"prettier-package-json": "2.6.0",
"process": "0.11.10",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-to-typescript-definitions": "3.1.0",
"regenerator-runtime": "0.13.9",
"repo-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-eufemia-theme-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"main": "index.js",
"dependencies": {
"@dnb/eufemia": "workspace:*",
"@emotion/react": "11.9.3"
"@emotion/react": "11.11.0"
},
"devDependencies": {
"gatsby-core-utils": "4.7.0",
Expand All @@ -30,7 +30,7 @@
},
"peedDependencies": {
"@dnb/eufemia": ">=9",
"react": ">=17",
"react": ">=18",
"gatsby": ">=3"
},
"publishConfig": {
Expand Down
8 changes: 4 additions & 4 deletions tools/storybook-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"main": "index.js",
"dependencies": {
"@dnb/eufemia": "workspace:*",
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@emotion/react": "11.11.0",
"@emotion/styled": "11.11.0",
"classnames": "2.3.1",
"react": "17.0.2",
"react-dom": "17.0.2"
"react": "18.2.0",
"react-dom": "18.2.0"
},
"volta": {
"extends": "../../package.json"
Expand Down
Loading

0 comments on commit 91315fd

Please sign in to comment.