Skip to content

armgit / ente

Public Imported from GitHub
0

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

downgrade next to 13.1.3

Abhinav0a79b3f202ec
diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz
index 824ae339af..dce6d44fd7 100644
Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ
diff --git a/apps/auth/package.json b/apps/auth/package.json
index 8ca1d4acd4..6683d34340 100644
--- a/apps/auth/package.json
+++ b/apps/auth/package.json
@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
- "lint": "next lint"
+ "lint": "next lint",
+ "export": "next export"
}
}
diff --git a/apps/photos/package.json b/apps/photos/package.json
index 3c5ecd652f..3e4c608659 100644
--- a/apps/photos/package.json
+++ b/apps/photos/package.json
@@ -4,10 +4,10 @@
"private": true,
"scripts": {
"dev": "next dev",
- "albums": "next dev -p 3002",
- "auth": "next dev -p 3004",
"lint": "next lint",
- "build": "next build"
+ "build": "next build",
+ "export": "next export",
+ "albums": "next dev -p 3002"
},
"dependencies": {
"@date-io/date-fns": "^2.14.0",
diff --git a/package.json b/package.json
index deb30f1992..cbf67cc4c7 100644
--- a/package.json
+++ b/package.json
@@ -11,9 +11,10 @@
"build:auth": "turbo run build --filter=auth",
"dev:auth": "turbo run dev --filter=auth",
"dev:photos": "turbo run dev --filter=photos",
+ "export:photos": "turbo run export --filter=photos",
+ "export:auth": "turbo run export --filter=auth",
"lint": "turbo run lint",
"albums": "turbo run albums",
- "auth": "turbo run auth",
"prepare": "husky install"
},
"dependencies": {
@@ -26,7 +27,7 @@
"@mui/material": "5.11.16",
"axios": "^1.4.0",
"is-electron": "^2.2.2",
- "next": "13.5.6",
+ "next": "13.1.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
diff --git a/packages/shared/next/next.config.base.js b/packages/shared/next/next.config.base.js
index ad2f10536a..0df2ebcb04 100644
--- a/packages/shared/next/next.config.base.js
+++ b/packages/shared/next/next.config.base.js
@@ -15,7 +15,6 @@ module.exports = (phase) =>
disableServerWebpackPlugin: true,
autoInstrumentServerFunctions: false,
},
- output: 'export',
compiler: {
emotion: {
importMap: {
diff --git a/turbo.json b/turbo.json
index 8c2f859e29..5ae0e80894 100644
--- a/turbo.json
+++ b/turbo.json
@@ -3,7 +3,11 @@
"pipeline": {
"build": {
"dependsOn": ["^build"],
- "outputs": ["out"]
+ "outputs": [".next/**", "!.next/cache/**"]
+ },
+ "export": {
+ "dependsOn": ["build"],
+ "outputs": ["out/**"]
},
"lint": {},
"dev": {
diff --git a/yarn.lock b/yarn.lock
index 824d0d24bc..ae8a7a4c1c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -704,10 +704,10 @@ __metadata:
languageName: node
linkType: hard
-"@next/env@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/env@npm:13.5.6"
- checksum: b1fefa21b698397a2f922ee53a5ecb91ff858f042b2a198652b9de49c031fc5e00d79da92ba7d84ef205e95368d5afbb0f104abaf00e9dde7985d9eae63bb4fb
+"@next/env@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/env@npm:13.1.3"
+ checksum: cc9c7390e4ca56886a8ec367877f10af1527288d85b451c7c54c3d41a3c5d13bdf16ae841e2fc3ba415297a1224a6d6218097958fa0800d827b78c5a89cc1b36
languageName: node
linkType: hard
@@ -720,65 +720,93 @@ __metadata:
languageName: node
linkType: hard
-"@next/swc-darwin-arm64@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-darwin-arm64@npm:13.5.6"
+"@next/swc-android-arm-eabi@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-android-arm-eabi@npm:13.1.3"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@next/swc-android-arm64@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-android-arm64@npm:13.1.3"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@next/swc-darwin-arm64@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-darwin-arm64@npm:13.1.3"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@next/swc-darwin-x64@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-darwin-x64@npm:13.5.6"
+"@next/swc-darwin-x64@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-darwin-x64@npm:13.1.3"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@next/swc-linux-arm64-gnu@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-linux-arm64-gnu@npm:13.5.6"
+"@next/swc-freebsd-x64@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-freebsd-x64@npm:13.1.3"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@next/swc-linux-arm-gnueabihf@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-linux-arm-gnueabihf@npm:13.1.3"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@next/swc-linux-arm64-gnu@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-linux-arm64-gnu@npm:13.1.3"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@next/swc-linux-arm64-musl@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-linux-arm64-musl@npm:13.5.6"
+"@next/swc-linux-arm64-musl@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-linux-arm64-musl@npm:13.1.3"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@next/swc-linux-x64-gnu@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-linux-x64-gnu@npm:13.5.6"
+"@next/swc-linux-x64-gnu@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-linux-x64-gnu@npm:13.1.3"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@next/swc-linux-x64-musl@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-linux-x64-musl@npm:13.5.6"
+"@next/swc-linux-x64-musl@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-linux-x64-musl@npm:13.1.3"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@next/swc-win32-arm64-msvc@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-win32-arm64-msvc@npm:13.5.6"
+"@next/swc-win32-arm64-msvc@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-win32-arm64-msvc@npm:13.1.3"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@next/swc-win32-ia32-msvc@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-win32-ia32-msvc@npm:13.5.6"
+"@next/swc-win32-ia32-msvc@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-win32-ia32-msvc@npm:13.1.3"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
-"@next/swc-win32-x64-msvc@npm:13.5.6":
- version: 13.5.6
- resolution: "@next/swc-win32-x64-msvc@npm:13.5.6"
+"@next/swc-win32-x64-msvc@npm:13.1.3":
+ version: 13.1.3
+ resolution: "@next/swc-win32-x64-msvc@npm:13.1.3"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -1237,12 +1265,12 @@ __metadata:
languageName: node
linkType: hard
-"@swc/helpers@npm:0.5.2":
- version: 0.5.2
- resolution: "@swc/helpers@npm:0.5.2"
+"@swc/helpers@npm:0.4.14":
+ version: 0.4.14
+ resolution: "@swc/helpers@npm:0.4.14"
dependencies:
tslib: "npm:^2.4.0"
- checksum: b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164
+ checksum: a8bd2e291fca73aa35ff316fb1aa9fb9554856518c8bf64ab5a355fb587d79d04d67f95033012fcdc94f507d22484871d95dc72efdd9ff13cc5d0ac68dfba999
languageName: node
linkType: hard
@@ -2368,15 +2396,6 @@ __metadata:
languageName: node
linkType: hard
-"busboy@npm:1.6.0":
- version: 1.6.0
- resolution: "busboy@npm:1.6.0"
- dependencies:
- streamsearch: "npm:^1.1.0"
- checksum: fa7e836a2b82699b6e074393428b91ae579d4f9e21f5ac468e1b459a244341d722d2d22d10920cdd849743dbece6dca11d72de939fb75a7448825cf2babfba1f
- languageName: node
- linkType: hard
-
"cacache@npm:^18.0.0":
version: 18.0.0
resolution: "cacache@npm:18.0.0"
@@ -2974,7 +2993,7 @@ __metadata:
husky: "npm:^7.0.1"
is-electron: "npm:^2.2.2"
lint-staged: "npm:^13.2.3"
- next: "npm:13.5.6"
+ next: "npm:13.1.3"
prettier: "npm:2.3.2"
react: "npm:18.2.0"
react-dom: "npm:18.2.0"
@@ -3968,13 +3987,6 @@ __metadata:
languageName: node
linkType: hard
-"glob-to-regexp@npm:^0.4.1":
- version: 0.4.1
- resolution: "glob-to-regexp@npm:0.4.1"
- checksum: 0486925072d7a916f052842772b61c3e86247f0a80cc0deb9b5a3e8a1a9faad5b04fb6f58986a09f34d3e96cd2a22a24b7e9882fb1cf904c31e9a310de96c429
- languageName: node
- linkType: hard
-
"glob@npm:7.1.7, glob@npm:^7.1.3":
version: 7.1.7
resolution: "glob@npm:7.1.7"
@@ -4085,13 +4097,6 @@ __metadata:
languageName: node
linkType: hard
-"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.6":
- version: 4.2.11
- resolution: "graceful-fs@npm:4.2.11"
- checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
- languageName: node
- linkType: hard
-
"graceful-fs@npm:^4.2.4":
version: 4.2.10
resolution: "graceful-fs@npm:4.2.10"
@@ -4099,6 +4104,13 @@ __metadata:
languageName: node
linkType: hard
+"graceful-fs@npm:^4.2.6":
+ version: 4.2.11
+ resolution: "graceful-fs@npm:4.2.11"
+ checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
+ languageName: node
+ linkType: hard
+
"grapheme-splitter@npm:^1.0.4":
version: 1.0.4
resolution: "grapheme-splitter@npm:1.0.4"
@@ -5487,7 +5499,7 @@ __metadata:
languageName: node
linkType: hard
-"nanoid@npm:^3.3.6":
+"nanoid@npm:^3.3.4":
version: 3.3.7
resolution: "nanoid@npm:3.3.7"
bin:
@@ -5526,36 +5538,47 @@ __metadata:
languageName: node
linkType: hard
-"next@npm:13.5.6":
- version: 13.5.6
- resolution: "next@npm:13.5.6"
- dependencies:
- "@next/env": "npm:13.5.6"
- "@next/swc-darwin-arm64": "npm:13.5.6"
- "@next/swc-darwin-x64": "npm:13.5.6"
- "@next/swc-linux-arm64-gnu": "npm:13.5.6"
- "@next/swc-linux-arm64-musl": "npm:13.5.6"
- "@next/swc-linux-x64-gnu": "npm:13.5.6"
- "@next/swc-linux-x64-musl": "npm:13.5.6"
- "@next/swc-win32-arm64-msvc": "npm:13.5.6"
- "@next/swc-win32-ia32-msvc": "npm:13.5.6"
- "@next/swc-win32-x64-msvc": "npm:13.5.6"
- "@swc/helpers": "npm:0.5.2"
- busboy: "npm:1.6.0"
+"next@npm:13.1.3":
+ version: 13.1.3
+ resolution: "next@npm:13.1.3"
+ dependencies:
+ "@next/env": "npm:13.1.3"
+ "@next/swc-android-arm-eabi": "npm:13.1.3"
+ "@next/swc-android-arm64": "npm:13.1.3"
+ "@next/swc-darwin-arm64": "npm:13.1.3"
+ "@next/swc-darwin-x64": "npm:13.1.3"
+ "@next/swc-freebsd-x64": "npm:13.1.3"
+ "@next/swc-linux-arm-gnueabihf": "npm:13.1.3"
+ "@next/swc-linux-arm64-gnu": "npm:13.1.3"
+ "@next/swc-linux-arm64-musl": "npm:13.1.3"
+ "@next/swc-linux-x64-gnu": "npm:13.1.3"
+ "@next/swc-linux-x64-musl": "npm:13.1.3"
+ "@next/swc-win32-arm64-msvc": "npm:13.1.3"
+ "@next/swc-win32-ia32-msvc": "npm:13.1.3"
+ "@next/swc-win32-x64-msvc": "npm:13.1.3"
+ "@swc/helpers": "npm:0.4.14"
caniuse-lite: "npm:^1.0.30001406"
- postcss: "npm:8.4.31"
+ postcss: "npm:8.4.14"
styled-jsx: "npm:5.1.1"
- watchpack: "npm:2.4.0"
peerDependencies:
- "@opentelemetry/api": ^1.1.0
+ fibers: ">= 3.1.0"
+ node-sass: ^6.0.0 || ^7.0.0
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
dependenciesMeta:
+ "@next/swc-android-arm-eabi":
+ optional: true
+ "@next/swc-android-arm64":
+ optional: true
"@next/swc-darwin-arm64":
optional: true
"@next/swc-darwin-x64":
optional: true
+ "@next/swc-freebsd-x64":
+ optional: true
+ "@next/swc-linux-arm-gnueabihf":
+ optional: true
"@next/swc-linux-arm64-gnu":
optional: true
"@next/swc-linux-arm64-musl":
@@ -5571,13 +5594,15 @@ __metadata:
"@next/swc-win32-x64-msvc":
optional: true
peerDependenciesMeta:
- "@opentelemetry/api":
+ fibers:
+ optional: true
+ node-sass:
optional: true
sass:
optional: true
bin:
next: dist/bin/next
- checksum: ef141d7708a432aff8bf080d285c466a83b0c1d008d1c66bbd49652a598f9ac15ef2e69a045f21ba44a5543b595cb945468b5f33e25deae2cc48b4d32be5bcec
+ checksum: 41e4df8a48a5d605535749c5de4907892400e6e3a9de59d046075660569e9766feeee8c8fae49f9dc17f5fbae6ef90a6b9f25cd05b23993a9dd34aae6b1d0729
languageName: node
linkType: hard
@@ -6155,14 +6180,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:8.4.31":
- version: 8.4.31
- resolution: "postcss@npm:8.4.31"
+"postcss@npm:8.4.14":
+ version: 8.4.14
+ resolution: "postcss@npm:8.4.14"
dependencies:
- nanoid: "npm:^3.3.6"
+ nanoid: "npm:^3.3.4"
picocolors: "npm:^1.0.0"
source-map-js: "npm:^1.0.2"
- checksum: 748b82e6e5fc34034dcf2ae88ea3d11fd09f69b6c50ecdd3b4a875cfc7cdca435c958b211e2cb52355422ab6fccb7d8f2f2923161d7a1b281029e4a913d59acf
+ checksum: 2a4cfa28e2f1bfd358313501f7771bd596e494487c7b735c492e2f8b1faf493d24fcb43e2e6ad825863fc65a77abb949ca8f228602ae46a022f02dc812c4ac8b
languageName: node
linkType: hard
@@ -7131,13 +7156,6 @@ __metadata:
languageName: node
linkType: hard
-"streamsearch@npm:^1.1.0":
- version: 1.1.0
- resolution: "streamsearch@npm:1.1.0"
- checksum: fbd9aecc2621364384d157f7e59426f4bfd385e8b424b5aaa79c83a6f5a1c8fd2e4e3289e95de1eb3511cb96bb333d6281a9919fafce760e4edb35b2cd2facab
- languageName: node
- linkType: hard
-
"string-argv@npm:^0.3.1":
version: 0.3.2
resolution: "string-argv@npm:0.3.2"
@@ -7847,16 +7865,6 @@ __metadata:
languageName: node
linkType: hard
-"watchpack@npm:2.4.0":
- version: 2.4.0
- resolution: "watchpack@npm:2.4.0"
- dependencies:
- glob-to-regexp: "npm:^0.4.1"
- graceful-fs: "npm:^4.1.2"
- checksum: c5e35f9fb9338d31d2141d9835643c0f49b5f9c521440bb648181059e5940d93dd8ed856aa8a33fbcdd4e121dad63c7e8c15c063cf485429cd9d427be197fe62
- languageName: node
- linkType: hard
-
"webidl-conversions@npm:^3.0.0":
version: 3.0.1
resolution: "webidl-conversions@npm:3.0.1"