Merged in chore/nextjs-version (pull request #3527)

chore(next/react): update to latest versions

* chore(next/react): update to latest versions

* Correct swc version


Approved-by: Anton Gunnarsson
This commit is contained in:
Linus Flood
2026-02-02 14:21:39 +00:00
parent 65e5d90fee
commit 8ac2c4ba22
4 changed files with 85 additions and 77 deletions

View File

@@ -28,7 +28,7 @@
"@scandic-hotels/tracking": "workspace:*",
"@scandic-hotels/trpc": "workspace:*",
"@sentry/nextjs": "^10.33.0",
"@swc/plugin-formatjs": "^3.2.2",
"@swc/plugin-formatjs": "^8.1.0",
"@t3-oss/env-nextjs": "^0.13.4",
"@tanstack/react-query": "^5.75.5",
"@tanstack/react-query-devtools": "^5.75.5",
@@ -36,11 +36,11 @@
"@trpc/server": "^11.1.2",
"class-variance-authority": "^0.7.1",
"iron-session": "^8.0.4",
"next": "16.0.10",
"next": "16.1.6",
"next-auth": "5.0.0-beta.29",
"react": "19.2.1",
"react": "19.2.4",
"react-aria-components": "1.8.0",
"react-dom": "19.2.1",
"react-dom": "19.2.4",
"react-intl": "^7.1.11",
"server-only": "^0.0.1",
"usehooks-ts": "3.1.1",

View File

@@ -38,7 +38,7 @@
"@scandic-hotels/tracking": "workspace:*",
"@scandic-hotels/trpc": "workspace:*",
"@sentry/nextjs": "^10.33.0",
"@swc/plugin-formatjs": "^3.2.2",
"@swc/plugin-formatjs": "^8.1.0",
"@t3-oss/env-nextjs": "^0.13.4",
"@tanstack/react-query": "^5.75.5",
"@tanstack/react-query-devtools": "^5.75.5",
@@ -66,12 +66,12 @@
"jsonwebtoken": "^9.0.2",
"md5": "^2.3.0",
"motion": "^12.10.0",
"next": "16.0.10",
"next": "16.1.6",
"next-auth": "5.0.0-beta.29",
"react": "19.2.1",
"react": "19.2.4",
"react-aria-components": "1.8.0",
"react-day-picker": "^9.6.7",
"react-dom": "19.2.1",
"react-dom": "19.2.4",
"react-feather": "^2.0.10",
"react-focus-lock": "^2.13.6",
"react-hook-form": "^7.56.2",

View File

@@ -7,7 +7,5 @@ import {
export const contactInformationSchema = z.object({
email: nullableStringEmailValidator,
faxNumber: nullableStringValidator,
phoneNumber: nullableStringValidator,
websiteUrl: nullableStringValidator,
})

144
yarn.lock
View File

@@ -2112,13 +2112,6 @@ __metadata:
languageName: node
linkType: hard
"@next/env@npm:16.0.10":
version: 16.0.10
resolution: "@next/env@npm:16.0.10"
checksum: 10c0/6f2b5ba37733a49513ab3117c06f037fa962b4022fe2b4ba7801f830ab15974ad87ad8b47b6464fa5fcb3e9a3247b25f657ec97ae6eed1156b5736c6388246db
languageName: node
linkType: hard
"@next/env@npm:16.0.5":
version: 16.0.5
resolution: "@next/env@npm:16.0.5"
@@ -2126,6 +2119,13 @@ __metadata:
languageName: node
linkType: hard
"@next/env@npm:16.1.6":
version: 16.1.6
resolution: "@next/env@npm:16.1.6"
checksum: 10c0/ed7023edb94b9b2e5da3f9c99d08b614da9757c1edd0ecec792fce4d336b4f0c64db1a84955e07cfbd848b9e61c4118fff28f4098cd7b0a7f97814a90565ebe6
languageName: node
linkType: hard
"@next/eslint-plugin-next@npm:16.0.7":
version: 16.0.7
resolution: "@next/eslint-plugin-next@npm:16.0.7"
@@ -2135,13 +2135,6 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-darwin-arm64@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-darwin-arm64@npm:16.0.10"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@next/swc-darwin-arm64@npm:16.0.5":
version: 16.0.5
resolution: "@next/swc-darwin-arm64@npm:16.0.5"
@@ -2149,10 +2142,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-darwin-x64@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-darwin-x64@npm:16.0.10"
conditions: os=darwin & cpu=x64
"@next/swc-darwin-arm64@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-darwin-arm64@npm:16.1.6"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
@@ -2163,10 +2156,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-linux-arm64-gnu@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-linux-arm64-gnu@npm:16.0.10"
conditions: os=linux & cpu=arm64 & libc=glibc
"@next/swc-darwin-x64@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-darwin-x64@npm:16.1.6"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
@@ -2177,10 +2170,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-linux-arm64-musl@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-linux-arm64-musl@npm:16.0.10"
conditions: os=linux & cpu=arm64 & libc=musl
"@next/swc-linux-arm64-gnu@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-linux-arm64-gnu@npm:16.1.6"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
@@ -2191,10 +2184,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-linux-x64-gnu@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-linux-x64-gnu@npm:16.0.10"
conditions: os=linux & cpu=x64 & libc=glibc
"@next/swc-linux-arm64-musl@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-linux-arm64-musl@npm:16.1.6"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
@@ -2205,10 +2198,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-linux-x64-musl@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-linux-x64-musl@npm:16.0.10"
conditions: os=linux & cpu=x64 & libc=musl
"@next/swc-linux-x64-gnu@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-linux-x64-gnu@npm:16.1.6"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
@@ -2219,10 +2212,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-win32-arm64-msvc@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-win32-arm64-msvc@npm:16.0.10"
conditions: os=win32 & cpu=arm64
"@next/swc-linux-x64-musl@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-linux-x64-musl@npm:16.1.6"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
@@ -2233,10 +2226,10 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-win32-x64-msvc@npm:16.0.10":
version: 16.0.10
resolution: "@next/swc-win32-x64-msvc@npm:16.0.10"
conditions: os=win32 & cpu=x64
"@next/swc-win32-arm64-msvc@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-win32-arm64-msvc@npm:16.1.6"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
@@ -2247,6 +2240,13 @@ __metadata:
languageName: node
linkType: hard
"@next/swc-win32-x64-msvc@npm:16.1.6":
version: 16.1.6
resolution: "@next/swc-win32-x64-msvc@npm:16.1.6"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@nodelib/fs.scandir@npm:2.1.5":
version: 2.1.5
resolution: "@nodelib/fs.scandir@npm:2.1.5"
@@ -5117,7 +5117,7 @@ __metadata:
"@scandic-hotels/trpc": "workspace:*"
"@scandic-hotels/typescript-config": "workspace:*"
"@sentry/nextjs": "npm:^10.33.0"
"@swc/plugin-formatjs": "npm:^3.2.2"
"@swc/plugin-formatjs": "npm:^8.1.0"
"@t3-oss/env-nextjs": "npm:^0.13.4"
"@tanstack/react-query": "npm:^5.75.5"
"@tanstack/react-query-devtools": "npm:^5.75.5"
@@ -5136,11 +5136,11 @@ __metadata:
eslint-plugin-import: "npm:^2.31.0"
eslint-plugin-simple-import-sort: "npm:^12.1.1"
iron-session: "npm:^8.0.4"
next: "npm:16.0.10"
next: "npm:16.1.6"
next-auth: "npm:5.0.0-beta.29"
react: "npm:19.2.1"
react: "npm:19.2.4"
react-aria-components: "npm:1.8.0"
react-dom: "npm:19.2.1"
react-dom: "npm:19.2.4"
react-intl: "npm:^7.1.11"
server-only: "npm:^0.0.1"
typescript: "npm:5.8.3"
@@ -5209,7 +5209,7 @@ __metadata:
"@scandic-hotels/trpc": "workspace:*"
"@scandic-hotels/typescript-config": "workspace:*"
"@sentry/nextjs": "npm:^10.33.0"
"@swc/plugin-formatjs": "npm:^3.2.2"
"@swc/plugin-formatjs": "npm:^8.1.0"
"@t3-oss/env-nextjs": "npm:^0.13.4"
"@tanstack/react-query": "npm:^5.75.5"
"@tanstack/react-query-devtools": "npm:^5.75.5"
@@ -5251,12 +5251,12 @@ __metadata:
jsonwebtoken: "npm:^9.0.2"
md5: "npm:^2.3.0"
motion: "npm:^12.10.0"
next: "npm:16.0.10"
next: "npm:16.1.6"
next-auth: "npm:5.0.0-beta.29"
react: "npm:19.2.1"
react: "npm:19.2.4"
react-aria-components: "npm:1.8.0"
react-day-picker: "npm:^9.6.7"
react-dom: "npm:19.2.1"
react-dom: "npm:19.2.4"
react-feather: "npm:^2.0.10"
react-focus-lock: "npm:^2.13.6"
react-hook-form: "npm:^7.56.2"
@@ -6266,12 +6266,12 @@ __metadata:
languageName: node
linkType: hard
"@swc/plugin-formatjs@npm:^3.2.2":
version: 3.2.3
resolution: "@swc/plugin-formatjs@npm:3.2.3"
"@swc/plugin-formatjs@npm:^8.1.0":
version: 8.1.0
resolution: "@swc/plugin-formatjs@npm:8.1.0"
dependencies:
"@swc/counter": "npm:^0.1.3"
checksum: 10c0/707da7b8ef8fa85b2c0e5fab27bc27d5ef9b7f799e5bf6c16c6bb1ad05eacb54ae72bc5cdefda9396c9a05995f55e1c48711b962766e8d6e738f30c75572c6b0
checksum: 10c0/312c65a2fcd378484930cd2c89819f7a069c4ce694e862138dc2e198cec7882a582093486c88d316dfb47da04b3e8d76200647f858fd92d0b9b140b5eb44b54f
languageName: node
linkType: hard
@@ -8535,6 +8535,15 @@ __metadata:
languageName: node
linkType: hard
"baseline-browser-mapping@npm:^2.8.3":
version: 2.9.19
resolution: "baseline-browser-mapping@npm:2.9.19"
bin:
baseline-browser-mapping: dist/cli.js
checksum: 10c0/569928db78bcd081953d7db79e4243a59a579a34b4ae1806b9b42d3b7f84e5bc40e6e82ae4fa06e7bef8291bf747b33b3f9ef5d3c6e1e420cb129d9295536129
languageName: node
linkType: hard
"binary-extensions@npm:^2.0.0":
version: 2.3.0
resolution: "binary-extensions@npm:2.3.0"
@@ -13545,20 +13554,21 @@ __metadata:
languageName: node
linkType: hard
"next@npm:16.0.10":
version: 16.0.10
resolution: "next@npm:16.0.10"
"next@npm:16.1.6":
version: 16.1.6
resolution: "next@npm:16.1.6"
dependencies:
"@next/env": "npm:16.0.10"
"@next/swc-darwin-arm64": "npm:16.0.10"
"@next/swc-darwin-x64": "npm:16.0.10"
"@next/swc-linux-arm64-gnu": "npm:16.0.10"
"@next/swc-linux-arm64-musl": "npm:16.0.10"
"@next/swc-linux-x64-gnu": "npm:16.0.10"
"@next/swc-linux-x64-musl": "npm:16.0.10"
"@next/swc-win32-arm64-msvc": "npm:16.0.10"
"@next/swc-win32-x64-msvc": "npm:16.0.10"
"@next/env": "npm:16.1.6"
"@next/swc-darwin-arm64": "npm:16.1.6"
"@next/swc-darwin-x64": "npm:16.1.6"
"@next/swc-linux-arm64-gnu": "npm:16.1.6"
"@next/swc-linux-arm64-musl": "npm:16.1.6"
"@next/swc-linux-x64-gnu": "npm:16.1.6"
"@next/swc-linux-x64-musl": "npm:16.1.6"
"@next/swc-win32-arm64-msvc": "npm:16.1.6"
"@next/swc-win32-x64-msvc": "npm:16.1.6"
"@swc/helpers": "npm:0.5.15"
baseline-browser-mapping: "npm:^2.8.3"
caniuse-lite: "npm:^1.0.30001579"
postcss: "npm:8.4.31"
sharp: "npm:^0.34.4"
@@ -13600,7 +13610,7 @@ __metadata:
optional: true
bin:
next: dist/bin/next
checksum: 10c0/c0e42bfaa0d38b0ee9a7fc54c748da2dfd807a76d75278b4c4f06768965d7b1035b836cae45e24a074dcf156a13c0fa555caa652886cc0f93e8be2b296dfbb51
checksum: 10c0/543766bf879bb5a5d454dc18cb302953270a92efba1d01dd028ea83c64b69573ce7d6e6c3759ecbaabec0a84131b0237263c24d1ccd7c8a97205e776dcd34e0b
languageName: node
linkType: hard