Skip to content

Commit

Permalink
feat: upgrade react to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed Sep 10, 2024
1 parent 0674f77 commit 01899b7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^16.8.6 || ^18",
"react-dom": "^16.8.6 || ^18"
},
"scripts": {
"build:types": "tsc --emitDeclarationOnly --outDir ./build/types",
Expand Down
4 changes: 2 additions & 2 deletions services/alerts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
],
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^16.8.6 || ^18",
"react-dom": "^16.8.6 || ^18"
},
"scripts": {
"clean": "rimraf ./build/*",
Expand Down
4 changes: 2 additions & 2 deletions services/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
],
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^16.8.6 || ^18",
"react-dom": "^16.8.6 || ^18"
},
"scripts": {
"clean": "rimraf ./build/*",
Expand Down
4 changes: 2 additions & 2 deletions services/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"peerDependencies": {
"@dhis2/app-service-config": "3.10.4-alpha.1",
"prop-types": "^15.7.2",
"react": "^16.8",
"react-dom": "^16.8"
"react": "^16.8 || ^18",
"react-dom": "^16.8 || ^18"
},
"scripts": {
"build:types": "tsc --emitDeclarationOnly --outDir ./build/types",
Expand Down
4 changes: 2 additions & 2 deletions services/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"peerDependencies": {
"@dhis2/app-service-config": "3.10.4-alpha.1",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^16.8.6 || ^18",
"react-dom": "^16.8.6 || ^18"
},
"dependencies": {
"lodash": "^4.17.21"
Expand Down
4 changes: 2 additions & 2 deletions services/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react": "^16.8.6 || ^18",
"react-dom": "^16.8.6 || ^18",
"@dhis2/app-service-alerts": "3.10.4-alpha.1",
"@dhis2/app-service-data": "3.10.4-alpha.1"
},
Expand Down

0 comments on commit 01899b7

Please sign in to comment.