diff --git a/apps/accounts/package.json b/apps/accounts/package.json index 6a50ed08f..40c6472e2 100644 --- a/apps/accounts/package.json +++ b/apps/accounts/package.json @@ -9,7 +9,6 @@ "@ente/shared": "*" }, "devDependencies": { - "@types/node": "^14.6.4", - "@types/react": "^18" + "@types/node": "^14.6.4" } } diff --git a/apps/photos/package.json b/apps/photos/package.json index 972f1788d..7e1636e75 100644 --- a/apps/photos/package.json +++ b/apps/photos/package.json @@ -68,7 +68,6 @@ "@types/leaflet": "^1.9.3", "@types/node": "^14.6.4", "@types/photoswipe": "^4.1.1", - "@types/react": "^18", "@types/react-collapse": "^5.0.1", "@types/react-datepicker": "^4.15.0", "@types/react-select": "^4.0.15", diff --git a/packages/ui/package.json b/packages/ui/package.json index 332dc906b..756d1158a 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -11,11 +11,13 @@ "get-user-locale": "^2.3", "i18next": "^23.10", "i18next-http-backend": "^2.5", - "react": "18.2.0", - "react-dom": "18.2.0", + "react": "^18", + "react-dom": "^18", "react-i18next": "^14" }, "devDependencies": { - "@/build-config": "*" + "@/build-config": "*", + "@types/react": "^18", + "@types/react-dom": "^18" } } diff --git a/yarn.lock b/yarn.lock index 85dcbd1b0..fb11588e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -880,7 +880,7 @@ date-fns "^2.0.1" react-popper "^2.2.5" -"@types/react-dom@*": +"@types/react-dom@*", "@types/react-dom@^18": version "18.2.19" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.19.tgz#b84b7c30c635a6c26c6a6dfbb599b2da9788be58" integrity sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA== @@ -3631,7 +3631,7 @@ react-datepicker@^4.16.0: react-onclickoutside "^6.13.0" react-popper "^2.3.0" -react-dom@18.2.0: +react-dom@^18: version "18.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -3761,7 +3761,7 @@ react-window@^1.8.6: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -react@18.2.0: +react@^18: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== @@ -4099,7 +4099,6 @@ streamsearch@^1.1.0: integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== "string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0: - name string-width-cjs version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==