dependency hell-- rollback next ver

This commit is contained in:
Chris Grimmett 2023-12-12 22:24:52 -08:00
parent 82965a5ee2
commit c0daa39ac7
4 changed files with 47 additions and 42 deletions

View File

@ -10,7 +10,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
ENV PNPM_HOME=/usr/local/bin
# Add a global package
RUN pnpm add --global next@13.4.12 sass
RUN pnpm add --global next@13.4.5 sass
WORKDIR /app
# Copy and install the dependencies for the project

View File

@ -11,3 +11,8 @@ Uses https://bulma.io/ for styling
* Run `git clone https://gitea.futureporn.net/futureporn/futureporn-next`
* Run `npm run dev`
## Dependency Hell
* Stuck on nextjs 13.4.12 due to https://github.com/vercel/next.js/discussions/58646#discussioncomment-7742572
* Stuck on nextjs 13.4.5 due to https://github.com/vercel/next.js/discussions/43577#discussioncomment-6195423

View File

@ -44,7 +44,7 @@
"gray-matter": "^4.0.3",
"hls.js": "^1.4.13",
"lodash": "^4.17.21",
"next": "13.4.12",
"next": "13.4.5",
"next-goatcounter": "^1.0.3",
"next-react-svg": "^1.2.0",
"nextjs-toploader": "^1.6.4",

View File

@ -111,17 +111,17 @@ dependencies:
specifier: ^4.17.21
version: 4.17.21
next:
specifier: 13.4.12
version: 13.4.12(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
specifier: 13.4.5
version: 13.4.5(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
next-goatcounter:
specifier: ^1.0.3
version: 1.0.3(next@13.4.12)(react-dom@18.2.0)(react@18.2.0)
version: 1.0.3(next@13.4.5)(react-dom@18.2.0)(react@18.2.0)
next-react-svg:
specifier: ^1.2.0
version: 1.2.0
nextjs-toploader:
specifier: ^1.6.4
version: 1.6.4(next@13.4.12)(react-dom@18.2.0)(react@18.2.0)
version: 1.6.4(next@13.4.5)(react-dom@18.2.0)(react@18.2.0)
p-throttle:
specifier: ^5.1.0
version: 5.1.0
@ -399,8 +399,8 @@ packages:
mux-embed: 4.30.0
dev: false
/@next/env@13.4.12:
resolution: {integrity: sha512-RmHanbV21saP/6OEPBJ7yJMuys68cIf8OBBWd7+uj40LdpmswVAwe1uzeuFyUsd6SfeITWT3XnQfn6wULeKwDQ==}
/@next/env@13.4.5:
resolution: {integrity: sha512-SG/gKH6eij4vwQy87b/3mbpQ1X3x2vUdnpwq6/qL2IQWjtq58EY/UuNAp9CoEZoC9sI4L9AD1r+73Z9r4d3uug==}
dev: false
/@next/eslint-plugin-next@13.4.10:
@ -409,8 +409,8 @@ packages:
glob: 7.1.7
dev: true
/@next/swc-darwin-arm64@13.4.12:
resolution: {integrity: sha512-deUrbCXTMZ6ZhbOoloqecnUeNpUOupi8SE2tx4jPfNS9uyUR9zK4iXBvH65opVcA/9F5I/p8vDXSYbUlbmBjZg==}
/@next/swc-darwin-arm64@13.4.5:
resolution: {integrity: sha512-XvTzi2ASUN5bECFIAAcBiSoDb0xsq+KLj4F0bof4d4rdc+FgOqLvseGQaOXwVi1TIh5bHa7o4b6droSJMO5+2g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -418,8 +418,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64@13.4.12:
resolution: {integrity: sha512-WRvH7RxgRHlC1yb5oG0ZLx8F7uci9AivM5/HGGv9ZyG2Als8Ij64GC3d+mQ5sJhWjusyU6T6V1WKTUoTmOB0zQ==}
/@next/swc-darwin-x64@13.4.5:
resolution: {integrity: sha512-NQdqal/VKAqlJTuzhjZmNtdo8QSqwmfO7b2xJSAengTEVxQvsH76oGEzQeIv8Ci4NP6DysAFtFrJq++TmIxcUA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -427,8 +427,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu@13.4.12:
resolution: {integrity: sha512-YEKracAWuxp54tKiAvvq73PUs9lok57cc8meYRibTWe/VdPB2vLgkTVWFcw31YDuRXdEhdX0fWS6Q+ESBhnEig==}
/@next/swc-linux-arm64-gnu@13.4.5:
resolution: {integrity: sha512-nB8TjtpJCXtzIFjYOMbnQu68ajkA8QK58TreHjTGojSQjsF0StDqo5zFHglVVVHrd8d3N/+EjC18yFNSWnd/ZA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -436,8 +436,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl@13.4.12:
resolution: {integrity: sha512-LhJR7/RAjdHJ2Isl2pgc/JaoxNk0KtBgkVpiDJPVExVWA1c6gzY57+3zWuxuyWzTG+fhLZo2Y80pLXgIJv7g3g==}
/@next/swc-linux-arm64-musl@13.4.5:
resolution: {integrity: sha512-W126XUW599OV3giSH9Co40VpT8VAOT47xONVHXZaYEpeca0qEevjj6WUr5IJu/8u+XGWm5xI1S0DYWjR6W+olw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -445,8 +445,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu@13.4.12:
resolution: {integrity: sha512-1DWLL/B9nBNiQRng+1aqs3OaZcxC16Nf+mOnpcrZZSdyKHek3WQh6j/fkbukObgNGwmCoVevLUa/p3UFTTqgqg==}
/@next/swc-linux-x64-gnu@13.4.5:
resolution: {integrity: sha512-ZbPLO/oztQdtjGmWvGhRmtkZ6j9kQqg65kiO7F7Ijj7ojTtu3hh/vY+XRsHa/4Cse6HgyJ8XGZJMGoLb8ecQfQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -454,8 +454,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl@13.4.12:
resolution: {integrity: sha512-kEAJmgYFhp0VL+eRWmUkVxLVunn7oL9Mdue/FS8yzRBVj7Z0AnIrHpTIeIUl1bbdQq1VaoOztnKicAjfkLTRCQ==}
/@next/swc-linux-x64-musl@13.4.5:
resolution: {integrity: sha512-f+/h8KMNixVUoRB+2vza8I+jsthJ4KcvopGUsDIUHe7Q4t+m8nKwGFBeyNu9qNIenYK5g5QYEsSwYFEqZylrTQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -463,8 +463,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc@13.4.12:
resolution: {integrity: sha512-GMLuL/loR6yIIRTnPRY6UGbLL9MBdw2anxkOnANxvLvsml4F0HNIgvnU3Ej4BjbqMTNjD4hcPFdlEow4XHPdZA==}
/@next/swc-win32-arm64-msvc@13.4.5:
resolution: {integrity: sha512-dvtPQZ5+J+zUE1uq7gP853Oj63e+n0T1ydZ/yRdVh7d8zW9ZFuC9fFrg3MqP1cv1NPPur8rrTqDKN2mRBkSSBw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -472,8 +472,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc@13.4.12:
resolution: {integrity: sha512-PhgNqN2Vnkm7XaMdRmmX0ZSwZXQAtamBVSa9A/V1dfKQCV1rjIZeiy/dbBnVYGdj63ANfsOR/30XpxP71W0eww==}
/@next/swc-win32-ia32-msvc@13.4.5:
resolution: {integrity: sha512-gK9zwGe25x31S4AjPy3Bf2niQvHIAbmwgkzmqWG3OmD4K2Z/Dh2ju4vuyzPzIt0pwQe4B520meP9NizTBmVWSg==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -481,8 +481,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc@13.4.12:
resolution: {integrity: sha512-Z+56e/Ljt0bUs+T+jPjhFyxYBcdY2RIq9ELFU+qAMQMteHo7ymbV7CKmlcX59RI9C4YzN8PgMgLyAoi916b5HA==}
/@next/swc-win32-x64-msvc@13.4.5:
resolution: {integrity: sha512-iyNQVc7eGehrik9RJt9xGcnO6b/pi8C7GCfg8RGenx1IlalEKbYRgBJloF7DQzwlrV47E9bQl8swT+JawaNcKA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -2704,14 +2704,14 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
/next-goatcounter@1.0.3(next@13.4.12)(react-dom@18.2.0)(react@18.2.0):
/next-goatcounter@1.0.3(next@13.4.5)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-4H5QO53idp6rblH/TP1QpHPEby06lgl3l4NfS1lbnwTxu3qGHFa2ShbHXyNkdLfPf1T449g1i1RhsbdJrgAwRQ==}
peerDependencies:
next: ^13.4.3
react: ^18.2.0
react-dom: ^18.2.0
dependencies:
next: 13.4.12(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
next: 13.4.5(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
dev: false
@ -2722,8 +2722,8 @@ packages:
svg-react-loader: 0.4.6
dev: false
/next@13.4.12(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5):
resolution: {integrity: sha512-eHfnru9x6NRmTMcjQp6Nz0J4XH9OubmzOa7CkWL+AUrUxpibub3vWwttjduu9No16dug1kq04hiUUpo7J3m3Xw==}
/next@13.4.5(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5):
resolution: {integrity: sha512-pfNsRLVM9e5Y1/z02VakJRfD6hMQkr24FaN2xc9GbcZDBxoOgiNAViSg5cXwlWCoMhtm4U315D7XYhgOr96Q3Q==}
engines: {node: '>=16.8.0'}
hasBin: true
peerDependencies:
@ -2740,7 +2740,7 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 13.4.12
'@next/env': 13.4.5
'@swc/helpers': 0.5.1
busboy: 1.6.0
caniuse-lite: 1.0.30001568
@ -2752,21 +2752,21 @@ packages:
watchpack: 2.4.0
zod: 3.21.4
optionalDependencies:
'@next/swc-darwin-arm64': 13.4.12
'@next/swc-darwin-x64': 13.4.12
'@next/swc-linux-arm64-gnu': 13.4.12
'@next/swc-linux-arm64-musl': 13.4.12
'@next/swc-linux-x64-gnu': 13.4.12
'@next/swc-linux-x64-musl': 13.4.12
'@next/swc-win32-arm64-msvc': 13.4.12
'@next/swc-win32-ia32-msvc': 13.4.12
'@next/swc-win32-x64-msvc': 13.4.12
'@next/swc-darwin-arm64': 13.4.5
'@next/swc-darwin-x64': 13.4.5
'@next/swc-linux-arm64-gnu': 13.4.5
'@next/swc-linux-arm64-musl': 13.4.5
'@next/swc-linux-x64-gnu': 13.4.5
'@next/swc-linux-x64-musl': 13.4.5
'@next/swc-win32-arm64-msvc': 13.4.5
'@next/swc-win32-ia32-msvc': 13.4.5
'@next/swc-win32-x64-msvc': 13.4.5
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dev: false
/nextjs-toploader@1.6.4(next@13.4.12)(react-dom@18.2.0)(react@18.2.0):
/nextjs-toploader@1.6.4(next@13.4.5)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-KYLQ+0MvGdFk9JwOQfRtaYBAsyuX67Ca5QTa51RGNO4gQx64KLSE+ryHjUQ5LcDczHotp0l32GgksQW9vucUkw==}
peerDependencies:
next: '>= 6.0.0'
@ -2774,7 +2774,7 @@ packages:
react-dom: '>= 16.0.0'
dependencies:
'@types/nprogress': 0.2.3
next: 13.4.12(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
next: 13.4.5(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5)
nprogress: 0.2.0
prop-types: 15.8.1
react: 18.2.0