Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

move mui react and next to root package json

Abhinav0f46db031c5e
diff --git a/apps/photos/package.json b/apps/photos/package.json
index bfa8bdc814..72e3dcce1a 100644
--- a/apps/photos/package.json
+++ b/apps/photos/package.json
@@ -16,12 +16,6 @@
"@ente/accounts": "*",
"@ente/shared": "*",
"@date-io/date-fns": "^2.14.0",
- "@emotion/cache": "^11.10.5",
- "@emotion/react": "^11.10.6",
- "@emotion/server": "^11.11.0",
- "@emotion/styled": "^11.11.0",
- "@mui/icons-material": "^5.14.1",
- "@mui/material": "^5.6.2",
"@mui/x-date-pickers": "^5.0.0-alpha.6",
"@sentry/nextjs": "^7.49.0",
"@stripe/stripe-js": "^1.13.2",
@@ -61,16 +55,13 @@
"localforage": "^1.9.0",
"memoize-one": "^6.0.0",
"ml-matrix": "^6.10.4",
- "next": "^13.1.2",
"next-transpile-modules": "^10.0.0",
"otpauth": "^9.0.2",
"p-queue": "^7.1.0",
"photoswipe": "file:./thirdparty/photoswipe",
"piexifjs": "^1.0.6",
- "react": "^18.2.0",
"react-bootstrap": "^1.3.0",
"react-datepicker": "^4.16.0",
- "react-dom": "^18.2.0",
"react-dropzone": "^11.2.4",
"react-i18next": "^13.0.2",
"react-otp-input": "^2.3.1",
diff --git a/package.json b/package.json
index e3f79953ee..b7b60c9805 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,16 @@
"start": "turbo run start",
"prepare": "husky install"
},
- "dependencies": {},
+ "dependencies": {
+ "@emotion/react": "11.10.6",
+ "@emotion/styled": "11.11.0",
+ "@emotion/server": "11.11.0",
+ "@mui/material": "5.11.16",
+ "next": "13.1.3",
+ "react": "18.2.0",
+ "react-dom": "18.2.0",
+ "@mui/icons-material": "5.14.1"
+ },
"devDependencies": {
"eslint": "^8.28.0",
"husky": "^7.0.1",
diff --git a/packages/shared/package.json b/packages/shared/package.json
index 48c1a360be..756df1aa82 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -5,14 +5,7 @@
"lint": "eslint .",
"build": "yarn lint && tsc"
},
- "dependencies": {
- "@emotion/react": "11.10.6",
- "@emotion/styled": "11.11.0",
- "@mui/material": "5.11.16",
- "react": "18.2.0",
- "react-dom": "18.2.0",
- "@mui/icons-material": "5.14.1"
- },
+ "dependencies": {},
"devDependencies": {
"@ente/eslint-config": "*",
"@typescript-eslint/parser": "^5.59.2",
diff --git a/yarn.lock b/yarn.lock
index 60bd4a0350..cf0d3b67bc 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -134,7 +134,7 @@
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.1.tgz#c1ddb040429c6d21d38cc945fe75c818cfb68e17"
integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==
-"@emotion/[email protected]", "@emotion/react@^11.1.1", "@emotion/react@^11.10.6":
+"@emotion/[email protected]", "@emotion/react@^11.1.1":
version "11.10.6"
resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.6.tgz"
integrity sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==
@@ -159,7 +159,7 @@
"@emotion/utils" "^1.2.1"
csstype "^3.0.2"
-"@emotion/server@^11.11.0":
+"@emotion/[email protected]":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/server/-/server-11.11.0.tgz#35537176a2a5ed8aed7801f254828e636ec3bd6e"
integrity sha512-6q89fj2z8VBTx9w93kJ5n51hsmtYuFPtZgnc1L8VzRx9ti4EU6EyvF6Nn1H1x3vcCQCF7u2dB2lY4AYJwUW4PA==
@@ -174,7 +174,7 @@
resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz"
integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA==
-"@emotion/[email protected]", "@emotion/styled@^11.11.0":
+"@emotion/[email protected]":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.11.0.tgz#26b75e1b5a1b7a629d7c0a8b708fbf5a9cdce346"
integrity sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==
@@ -281,14 +281,14 @@
resolved "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.11.16.tgz"
integrity sha512-GxRfZ/HquQ/1nUc9qQVGReP6oOMS8/3QjPJ+23a7TMrxl2wjlmXrMNn7tRa30vZcGcDgEG+J0aseefUN0AoawQ==
-"@mui/[email protected]", "@mui/icons-material@^5.14.1":
version "5.14.1"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.1.tgz#2f145c15047a0c7f01353ce620cb88276dadba9e"
integrity sha512-xV/f26muQqtWzerzOIdGPrXoxp/OKaE2G2Wp9gnmG47mHua5Slup/tMc3fA4ZYUreGGrK6+tT81TEvt1Wsng8Q==
dependencies:
"@babel/runtime" "^7.22.6"
-"@mui/[email protected]", "@mui/material@^5.6.2":
version "5.11.16"
resolved "https://registry.npmjs.org/@mui/material/-/material-5.11.16.tgz"
integrity sha512-++glQqbZ3rMzOWB77yOvqRG+k8+scYTUKVWZpWff+GWsf6L10g9L2wgRhhAS8bDLuxCbXZlPNbSZowXDDw6z6Q==
@@ -1367,7 +1367,7 @@ bs58@^5.0.0:
buffer-from@~0.1.1:
version "0.1.2"
- resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.2.tgz"
+ resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-0.1.2.tgz#15f4b9bcef012044df31142c14333caf6e0260d0"
integrity sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg==
call-bind@^1.0.0, call-bind@^1.0.2:
@@ -1740,7 +1740,7 @@ [email protected]:
duplexer2@^0.1.2:
version "0.1.4"
- resolved "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz"
+ resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1"
integrity sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==
dependencies:
readable-stream "^2.0.2"
@@ -2545,7 +2545,7 @@ html-parse-stringify@^3.0.1:
html-tokenize@^2.0.0:
version "2.0.1"
- resolved "https://registry.npmjs.org/html-tokenize/-/html-tokenize-2.0.1.tgz"
+ resolved "https://registry.yarnpkg.com/html-tokenize/-/html-tokenize-2.0.1.tgz#c3b2ea6e2837d4f8c06693393e9d2a12c960be5f"
integrity sha512-QY6S+hZ0f5m1WT8WffYN+Hg+xm/w5I8XeUcAq/ZYP5wVC8xbKi4Whhru3FtrAebD5EhBW8rmFzkDI6eCAuFe2w==
dependencies:
buffer-from "~0.1.1"
@@ -2869,7 +2869,7 @@ is-wsl@^2.2.0:
version "0.0.1"
- resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
+ resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==
isarray@^2.0.5:
@@ -3213,7 +3213,7 @@ minimatch@^5.0.1:
minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@~1.2.5:
version "1.2.8"
- resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
mkdirp@^0.5.5:
@@ -3266,7 +3266,7 @@ [email protected], ms@^2.1.1:
multipipe@^1.0.2:
version "1.0.2"
- resolved "https://registry.npmjs.org/multipipe/-/multipipe-1.0.2.tgz"
+ resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-1.0.2.tgz#cc13efd833c9cda99f224f868461b8e1a3fd939d"
integrity sha512-6uiC9OvY71vzSGX8lZvSqscE7ft9nPupJ8fMjrCNRAUy2LREUW42UL+V/NTrogr6rFgRydUrCX4ZitfpSNkSCQ==
dependencies:
duplexer2 "^0.1.2"
@@ -3294,9 +3294,9 @@ next-transpile-modules@^10.0.0:
dependencies:
enhanced-resolve "^5.10.0"
-next@^13.1.2:
version "13.1.3"
- resolved "https://registry.npmjs.org/next/-/next-13.1.3.tgz"
+ resolved "https://registry.yarnpkg.com/next/-/next-13.1.3.tgz#2ba15a441fb9ef38467259fb0894623c79e938aa"
integrity sha512-ig7m7Po/F+Wp0xl+9RKYZq+PYfgVmONH6hBPVT2+jrdUmZkrqsN5ioSe4oQbCAb9tMtVr07agVdK2HFjD15Yug==
dependencies:
"@next/env" "13.1.3"
@@ -3347,8 +3347,8 @@ npm-run-path@^5.1.0:
object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
- resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
- integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
+ resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
+ integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
object-inspect@^1.12.3, object-inspect@^1.9.0:
version "1.12.3"
@@ -3370,7 +3370,7 @@ object-keys@^1.1.1:
object-keys@~0.4.0:
version "0.4.0"
- resolved "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz"
+ resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-0.4.0.tgz#28a6aae7428dd2c3a92f3d95f21335dd204e0336"
integrity sha512-ncrLw+X55z7bkl5PnUvHwFK9FcGuFYo9gtjws2XtSzL+aZ8tm830P60WJ0dSmFVaSalWieW5MD7kEdnXda9yJw==
object.assign@^4.1.3, object.assign@^4.1.4:
@@ -3710,7 +3710,7 @@ react-datepicker@^4.16.0:
react-onclickoutside "^6.12.2"
react-popper "^2.3.0"
[email protected], react-dom@^18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
@@ -3845,7 +3845,7 @@ react-window@^1.8.6:
"@babel/runtime" "^7.0.0"
memoize-one ">=3.1.1 <6"
[email protected], react@^18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
@@ -3854,7 +3854,7 @@ [email protected], react@^18.2.0:
readable-stream@^2.0.2, readable-stream@~2.3.6:
version "2.3.8"
- resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b"
integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==
dependencies:
core-util-is "~1.0.0"
@@ -3876,7 +3876,7 @@ readable-stream@^3.6.0:
readable-stream@~1.0.17, readable-stream@~1.0.27-1:
version "1.0.34"
- resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
integrity sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==
dependencies:
core-util-is "~1.0.0"
@@ -4233,7 +4233,7 @@ string_decoder@^1.1.1:
string_decoder@~0.10.x:
version "0.10.31"
- resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==
string_decoder@~1.1.1:
@@ -4341,7 +4341,7 @@ text-table@^0.2.0:
through2@~0.4.1:
version "0.4.2"
- resolved "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz"
+ resolved "https://registry.yarnpkg.com/through2/-/through2-0.4.2.tgz#dbf5866031151ec8352bb6c4db64a2292a840b9b"
integrity sha512-45Llu+EwHKtAZYTPPVn3XZHBgakWMN3rokhEv5hu596XP+cNgplMg+Gj+1nmAvj+L0K7+N49zBKx5rah5u0QIQ==
dependencies:
readable-stream "~1.0.17"
@@ -4759,7 +4759,7 @@ xml-js@^1.6.11:
xtend@~2.1.1:
version "2.1.2"
- resolved "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz"
+ resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.1.2.tgz#6efecc2a4dad8e6962c4901b337ce7ba87b5d28b"
integrity sha512-vMNKzr2rHP9Dp/e1NQFnLQlwlhp9L/LfvnsVdHxN1f+uggyVI3i08uD14GPvCToPkdsRfyPqIyYGmIk58V98ZQ==
dependencies:
object-keys "~0.4.0"