π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
peer-deps
Manav Rathi3bea29f83b08
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.jsonindex 76b8fa02c9..b24352bdd0 100644--- a/web/apps/photos/package.json+++ b/web/apps/photos/package.json@@ -23,6 +23,8 @@"p-debounce": "^4.0.0","photoswipe": "file:./thirdparty/photoswipe","pure-react-carousel": "^1.32.0",+ "react": "19.0.0",+ "react-dom": "19.0.0","react-dropzone": "^14.3.5","react-select": "^5.9.0","react-top-loading-bar": "^3.0.2",@@ -37,6 +39,8 @@"@types/leaflet": "^1.9.15","@types/node": "^20","@types/photoswipe": "^4.1.1",+ "@types/react": "19.0.2",+ "@types/react-dom": "19.0.2","@types/react-virtualized-auto-sizer": "^1.0.4","@types/react-window": "^1.8.8"}diff --git a/web/docs/dependencies.md b/web/docs/dependencies.mdindex 203790f1fd..f6a2aa47ac 100644--- a/web/docs/dependencies.md+++ b/web/docs/dependencies.md@@ -87,6 +87,12 @@ is our core framework. We also import its a sibling[react-dom](https://github.com/facebook/react) package that renders JSX to theDOM.+> [!NOTE]+>+> We need to repeat the dependency on react and its siblings in multiple+> package.jsons to avoid the unmet peer dependency warnings printed by yarn.+> Ideally, the react dependencies can be specified just in the _@/base_ package.+### MUI and Material IconsWe use [MUI](https://mui.com)'s@@ -101,6 +107,15 @@ We also use MUI's[@mui/material-icons](https://mui.com/material-ui/material-icons/) package,which provides Material icons exported as React components (a `SvgIcon`).+> [!NOTE]+>+> For a similar reason as with react,+>+> - the `@mui/material` dependency is also repeated at more places - the one in+> _@/base_ is the canonical one.+> - we need to add an explicit dependency to `mui/system` in _@/new_ even though+> we don't directly depend on it.+### Date pickers[@mui/x-date-pickers](https://mui.com/x/react-date-pickers/getting-started/) isdiff --git a/web/packages/new/package.json b/web/packages/new/package.jsonindex cebaabace2..7b25f9de45 100644--- a/web/packages/new/package.json+++ b/web/packages/new/package.json@@ -7,9 +7,13 @@"@/gallery": "*","@/utils": "*","@ente/shared": "*",+ "@mui/material": "^6.3.0",+ "@mui/system": "^6.3.0","@mui/x-date-pickers": "^7.23.3","dayjs": "^1.11.13",- "formik": "^2.4.6"+ "formik": "^2.4.6",+ "react": "19.0.0",+ "react-dom": "19.0.0"},"devDependencies": {"@/build-config": "*"