From ba36b456e4530ae52b96bd1087e21e732e743cc2 Mon Sep 17 00:00:00 2001 From: Colin Regourd Date: Mon, 4 Nov 2024 18:52:45 +0100 Subject: [PATCH] Upgrade and support next 15 --- .changeset/neat-beers-do.md | 5 + .../[locale]/admin/[[...nextadmin]]/page.tsx | 14 +- apps/example/app/[locale]/layout.tsx | 16 +- apps/example/package.json | 2 +- yarn.lock | 459 +++++++++++++++--- 5 files changed, 399 insertions(+), 97 deletions(-) create mode 100644 .changeset/neat-beers-do.md diff --git a/.changeset/neat-beers-do.md b/.changeset/neat-beers-do.md new file mode 100644 index 00000000..db04840b --- /dev/null +++ b/.changeset/neat-beers-do.md @@ -0,0 +1,5 @@ +--- +"@premieroctet/next-admin": patch +--- + +Support Next 15 diff --git a/apps/example/app/[locale]/admin/[[...nextadmin]]/page.tsx b/apps/example/app/[locale]/admin/[[...nextadmin]]/page.tsx index e1142c07..bbb0caae 100644 --- a/apps/example/app/[locale]/admin/[[...nextadmin]]/page.tsx +++ b/apps/example/app/[locale]/admin/[[...nextadmin]]/page.tsx @@ -2,7 +2,7 @@ import Dashboard from "@/components/Dashboard"; import { options } from "@/options"; import { prisma } from "@/prisma"; import schema from "@/prisma/json-schema/json-schema.json"; -import { NextAdmin, PageProps } from "@premieroctet/next-admin"; +import { NextAdmin, PromisePageProps } from "@premieroctet/next-admin"; import { getNextAdminProps } from "@premieroctet/next-admin/appRouter"; import { Metadata, Viewport } from "next"; import { getMessages } from "next-intl/server"; @@ -16,11 +16,11 @@ export const metadata: Metadata = { icons: "/assets/logo.svg", }; -export default async function AdminPage({ - params, - searchParams, -}: Readonly) { - const props = await getNextAdminProps({ +export default async function AdminPage(props: PromisePageProps) { + const params = await props.params; + const searchParams = await props.searchParams; + + const nextAdminProps = await getNextAdminProps({ params: params.nextadmin, searchParams, basePath: "/admin", @@ -44,7 +44,7 @@ export default async function AdminPage({ return ( } user={{ data: { diff --git a/apps/example/app/[locale]/layout.tsx b/apps/example/app/[locale]/layout.tsx index aa170762..53a67659 100644 --- a/apps/example/app/[locale]/layout.tsx +++ b/apps/example/app/[locale]/layout.tsx @@ -1,19 +1,17 @@ import { notFound } from "next/navigation"; -import { PropsWithChildren } from "react"; +import { PropsWithChildren, use } from "react"; import "../../styles.css"; -type Props = { - params: { - locale: "en" | "fr"; - }; -}; - +type ParamsProps = Promise<{ + locale: "en" | "fr"; +}>; const locales = ["en", "fr"]; export default function Layout({ children, - params: { locale }, -}: PropsWithChildren) { + params, +}: PropsWithChildren<{ params: ParamsProps }>) { + const locale = use(params)?.locale; if (!locales.includes(locale)) { notFound(); } diff --git a/apps/example/package.json b/apps/example/package.json index d8a5367d..5b25410c 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -23,7 +23,7 @@ "@premieroctet/next-admin": "6.1.6", "@prisma/client": "5.14.0", "@tremor/react": "^3.2.2", - "next": "^14.0.3", + "next": "^15.0.2", "next-intl": "^3.3.2", "next-superjson": "^1.0.1", "next-superjson-plugin": "^0.6.3", diff --git a/yarn.lock b/yarn.lock index 5f8b0ffc..97f36497 100644 --- a/yarn.lock +++ b/yarn.lock @@ -720,6 +720,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^1.2.0": + version: 1.3.1 + resolution: "@emnapi/runtime@npm:1.3.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/aix-ppc64@npm:0.23.1" @@ -1419,6 +1428,181 @@ __metadata: languageName: node linkType: hard +"@img/sharp-darwin-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-darwin-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-darwin-arm64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-darwin-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-darwin-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-darwin-x64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.4" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm@npm:1.0.5": + version: 1.0.5 + resolution: "@img/sharp-libvips-linux-arm@npm:1.0.5" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-s390x@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.4" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linux-x64@npm:1.0.4" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-x64@npm:1.0.4": + version: 1.0.4 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linux-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-arm64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-arm@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-arm@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-arm": "npm:1.0.5" + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-s390x@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-s390x@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-s390x": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linux-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linux-x64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-arm64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-linuxmusl-x64@npm:0.33.5" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.4" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-wasm32@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-wasm32@npm:0.33.5" + dependencies: + "@emnapi/runtime": "npm:^1.2.0" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-ia32@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-win32-ia32@npm:0.33.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@img/sharp-win32-x64@npm:0.33.5": + version: 0.33.5 + resolution: "@img/sharp-win32-x64@npm:0.33.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@inquirer/checkbox@npm:^2.5.0": version: 2.5.0 resolution: "@inquirer/checkbox@npm:2.5.0" @@ -2160,10 +2344,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:14.2.16": - version: 14.2.16 - resolution: "@next/env@npm:14.2.16" - checksum: 10c0/e9d795727bc43f171557a7a91111c9b71833840061275b5d4adf96f416febf4f02afb9dac1f4275f4a3e96a0a0db22b58fe934483e2823e76a5d3c60a563394b +"@next/env@npm:15.0.2": + version: 15.0.2 + resolution: "@next/env@npm:15.0.2" + checksum: 10c0/9c8eb08d6221ba2e2ccbfc887239aed83e62c18be7ff796b9b7c894e0be1a976a717e17eaf1be1fd61a919f7083112b2ffec5c0d071a4ac9b3881b439813a2e7 languageName: node linkType: hard @@ -2183,9 +2367,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-darwin-arm64@npm:14.2.16" +"@next/swc-darwin-arm64@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-darwin-arm64@npm:15.0.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -2197,9 +2381,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-x64@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-darwin-x64@npm:14.2.16" +"@next/swc-darwin-x64@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-darwin-x64@npm:15.0.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -2211,9 +2395,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-linux-arm64-gnu@npm:14.2.16" +"@next/swc-linux-arm64-gnu@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-linux-arm64-gnu@npm:15.0.2" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -2225,9 +2409,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-linux-arm64-musl@npm:14.2.16" +"@next/swc-linux-arm64-musl@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-linux-arm64-musl@npm:15.0.2" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -2239,9 +2423,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-linux-x64-gnu@npm:14.2.16" +"@next/swc-linux-x64-gnu@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-linux-x64-gnu@npm:15.0.2" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -2253,9 +2437,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-linux-x64-musl@npm:14.2.16" +"@next/swc-linux-x64-musl@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-linux-x64-musl@npm:15.0.2" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -2267,9 +2451,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-win32-arm64-msvc@npm:14.2.16" +"@next/swc-win32-arm64-msvc@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-win32-arm64-msvc@npm:15.0.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -2281,13 +2465,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-win32-ia32-msvc@npm:14.2.16" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@next/swc-win32-x64-msvc@npm:13.5.7": version: 13.5.7 resolution: "@next/swc-win32-x64-msvc@npm:13.5.7" @@ -2295,9 +2472,9 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:14.2.16": - version: 14.2.16 - resolution: "@next/swc-win32-x64-msvc@npm:14.2.16" +"@next/swc-win32-x64-msvc@npm:15.0.2": + version: 15.0.2 + resolution: "@next/swc-win32-x64-msvc@npm:15.0.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3568,38 +3745,28 @@ __metadata: languageName: node linkType: hard -"@swc/counter@npm:^0.1.2, @swc/counter@npm:^0.1.3": +"@swc/counter@npm:0.1.3, @swc/counter@npm:^0.1.2, @swc/counter@npm:^0.1.3": version: 0.1.3 resolution: "@swc/counter@npm:0.1.3" checksum: 10c0/8424f60f6bf8694cfd2a9bca45845bce29f26105cda8cf19cdb9fd3e78dc6338699e4db77a89ae449260bafa1cc6bec307e81e7fb96dbf7dcfce0eea55151356 languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164 - languageName: node - linkType: hard - -"@swc/helpers@npm:0.5.5": - version: 0.5.5 - resolution: "@swc/helpers@npm:0.5.5" +"@swc/helpers@npm:0.5.13, @swc/helpers@npm:^0.5.0": + version: 0.5.13 + resolution: "@swc/helpers@npm:0.5.13" dependencies: - "@swc/counter": "npm:^0.1.3" tslib: "npm:^2.4.0" - checksum: 10c0/21a9b9cfe7e00865f9c9f3eb4c1cc5b397143464f7abee76a2c5366e591e06b0155b5aac93fe8269ef8d548df253f6fd931e9ddfc0fd12efd405f90f45506e7d + checksum: 10c0/b9df578401fc62405da9a6c31e79e447a2fd90f68b25b1daee12f2caf2821991bb89106f0397bc1acb4c4d84a8ce079d04b60b65f534496952e3bf8c9a52f40f languageName: node linkType: hard -"@swc/helpers@npm:^0.5.0": - version: 0.5.13 - resolution: "@swc/helpers@npm:0.5.13" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: "npm:^2.4.0" - checksum: 10c0/b9df578401fc62405da9a6c31e79e447a2fd90f68b25b1daee12f2caf2821991bb89106f0397bc1acb4c4d84a8ce079d04b60b65f534496952e3bf8c9a52f40f + checksum: 10c0/b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164 languageName: node linkType: hard @@ -5387,13 +5554,33 @@ __metadata: languageName: node linkType: hard -"color-name@npm:~1.1.4": +"color-name@npm:^1.0.0, color-name@npm:~1.1.4": version: 1.1.4 resolution: "color-name@npm:1.1.4" checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 languageName: node linkType: hard +"color-string@npm:^1.9.0": + version: 1.9.1 + resolution: "color-string@npm:1.9.1" + dependencies: + color-name: "npm:^1.0.0" + simple-swizzle: "npm:^0.2.2" + checksum: 10c0/b0bfd74c03b1f837f543898b512f5ea353f71630ccdd0d66f83028d1f0924a7d4272deb278b9aef376cacf1289b522ac3fb175e99895283645a2dc3a33af2404 + languageName: node + linkType: hard + +"color@npm:^4.2.3": + version: 4.2.3 + resolution: "color@npm:4.2.3" + dependencies: + color-convert: "npm:^2.0.1" + color-string: "npm:^1.9.0" + checksum: 10c0/7fbe7cfb811054c808349de19fb380252e5e34e61d7d168ec3353e9e9aacb1802674bddc657682e4e9730c2786592a4de6f8283e7e0d3870b829bb0b7b2f6118 + languageName: node + linkType: hard + "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -6238,6 +6425,13 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^2.0.3": + version: 2.0.3 + resolution: "detect-libc@npm:2.0.3" + checksum: 10c0/88095bda8f90220c95f162bf92cad70bd0e424913e655c20578600e35b91edc261af27531cf160a331e185c0ced93944bc7e09939143225f56312d7fd800fdb7 + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -6659,8 +6853,8 @@ __metadata: linkType: hard "es-iterator-helpers@npm:^1.1.0": - version: 1.1.0 - resolution: "es-iterator-helpers@npm:1.1.0" + version: 1.2.0 + resolution: "es-iterator-helpers@npm:1.2.0" dependencies: call-bind: "npm:^1.0.7" define-properties: "npm:^1.2.1" @@ -6670,13 +6864,14 @@ __metadata: function-bind: "npm:^1.1.2" get-intrinsic: "npm:^1.2.4" globalthis: "npm:^1.0.4" + gopd: "npm:^1.0.1" has-property-descriptors: "npm:^1.0.2" has-proto: "npm:^1.0.3" has-symbols: "npm:^1.0.3" internal-slot: "npm:^1.0.7" iterator.prototype: "npm:^1.1.3" safe-array-concat: "npm:^1.1.2" - checksum: 10c0/84d6c240c7da6e62323b336cb1497781546dab16bebdbd879ccfdf588979712d3e941d41165b6c2ffce5a03a7b929d4e6131d3124d330da1a0e2bfa1da7cd99f + checksum: 10c0/2bd60580dfeae353f5b80445d2808da745e97eeacdb663a8c4d99a12046873830a06d377e9d5e88fe54eece7c94319a5ce5a01220e24d71394ceca8d3ef621d7 languageName: node linkType: hard @@ -7479,7 +7674,7 @@ __metadata: autoprefixer: "npm:^10.4.14" eslint: "npm:7.32.0" eslint-config-custom: "workspace:*" - next: "npm:^14.0.3" + next: "npm:^15.0.2" next-intl: "npm:^3.3.2" next-superjson: "npm:^1.0.1" next-superjson-plugin: "npm:^0.6.3" @@ -8791,6 +8986,13 @@ __metadata: languageName: node linkType: hard +"is-arrayish@npm:^0.3.1": + version: 0.3.2 + resolution: "is-arrayish@npm:0.3.2" + checksum: 10c0/f59b43dc1d129edb6f0e282595e56477f98c40278a2acdc8b0a5c57097c9eff8fe55470493df5775478cf32a4dc8eaf6d3a749f07ceee5bc263a78b2434f6a54 + languageName: node + linkType: hard + "is-async-function@npm:^2.0.0": version: 2.0.0 resolution: "is-async-function@npm:2.0.0" @@ -11598,31 +11800,32 @@ __metadata: languageName: node linkType: hard -"next@npm:^14.0.3": - version: 14.2.16 - resolution: "next@npm:14.2.16" +"next@npm:^15.0.2": + version: 15.0.2 + resolution: "next@npm:15.0.2" dependencies: - "@next/env": "npm:14.2.16" - "@next/swc-darwin-arm64": "npm:14.2.16" - "@next/swc-darwin-x64": "npm:14.2.16" - "@next/swc-linux-arm64-gnu": "npm:14.2.16" - "@next/swc-linux-arm64-musl": "npm:14.2.16" - "@next/swc-linux-x64-gnu": "npm:14.2.16" - "@next/swc-linux-x64-musl": "npm:14.2.16" - "@next/swc-win32-arm64-msvc": "npm:14.2.16" - "@next/swc-win32-ia32-msvc": "npm:14.2.16" - "@next/swc-win32-x64-msvc": "npm:14.2.16" - "@swc/helpers": "npm:0.5.5" + "@next/env": "npm:15.0.2" + "@next/swc-darwin-arm64": "npm:15.0.2" + "@next/swc-darwin-x64": "npm:15.0.2" + "@next/swc-linux-arm64-gnu": "npm:15.0.2" + "@next/swc-linux-arm64-musl": "npm:15.0.2" + "@next/swc-linux-x64-gnu": "npm:15.0.2" + "@next/swc-linux-x64-musl": "npm:15.0.2" + "@next/swc-win32-arm64-msvc": "npm:15.0.2" + "@next/swc-win32-x64-msvc": "npm:15.0.2" + "@swc/counter": "npm:0.1.3" + "@swc/helpers": "npm:0.5.13" busboy: "npm:1.6.0" caniuse-lite: "npm:^1.0.30001579" - graceful-fs: "npm:^4.2.11" postcss: "npm:8.4.31" - styled-jsx: "npm:5.1.1" + sharp: "npm:^0.33.5" + styled-jsx: "npm:5.1.6" peerDependencies: "@opentelemetry/api": ^1.1.0 "@playwright/test": ^1.41.2 - react: ^18.2.0 - react-dom: ^18.2.0 + babel-plugin-react-compiler: "*" + react: ^18.2.0 || 19.0.0-rc-02c0e824-20241028 + react-dom: ^18.2.0 || 19.0.0-rc-02c0e824-20241028 sass: ^1.3.0 dependenciesMeta: "@next/swc-darwin-arm64": @@ -11639,20 +11842,22 @@ __metadata: optional: true "@next/swc-win32-arm64-msvc": optional: true - "@next/swc-win32-ia32-msvc": - optional: true "@next/swc-win32-x64-msvc": optional: true + sharp: + optional: true peerDependenciesMeta: "@opentelemetry/api": optional: true "@playwright/test": optional: true + babel-plugin-react-compiler: + optional: true sass: optional: true bin: next: dist/bin/next - checksum: 10c0/8cd036a6f30d4cc8ab8480c19339ee6134ffd5b18338ff5a07de397ed4e29fad54de5219f70aafabf1fe9c48a7d54b7df58ba1f29cfa5d3351ff7763e8d4844e + checksum: 10c0/3bfbecda05bbd537260d21466dc91c6cc53e25318eef22748164ad9a3bcb0ac662327c68b0a8d7322808fefeed306402b79e53c46fbec342de600fd9dd977549 languageName: node linkType: hard @@ -13457,6 +13662,75 @@ __metadata: languageName: node linkType: hard +"sharp@npm:^0.33.5": + version: 0.33.5 + resolution: "sharp@npm:0.33.5" + dependencies: + "@img/sharp-darwin-arm64": "npm:0.33.5" + "@img/sharp-darwin-x64": "npm:0.33.5" + "@img/sharp-libvips-darwin-arm64": "npm:1.0.4" + "@img/sharp-libvips-darwin-x64": "npm:1.0.4" + "@img/sharp-libvips-linux-arm": "npm:1.0.5" + "@img/sharp-libvips-linux-arm64": "npm:1.0.4" + "@img/sharp-libvips-linux-s390x": "npm:1.0.4" + "@img/sharp-libvips-linux-x64": "npm:1.0.4" + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.0.4" + "@img/sharp-libvips-linuxmusl-x64": "npm:1.0.4" + "@img/sharp-linux-arm": "npm:0.33.5" + "@img/sharp-linux-arm64": "npm:0.33.5" + "@img/sharp-linux-s390x": "npm:0.33.5" + "@img/sharp-linux-x64": "npm:0.33.5" + "@img/sharp-linuxmusl-arm64": "npm:0.33.5" + "@img/sharp-linuxmusl-x64": "npm:0.33.5" + "@img/sharp-wasm32": "npm:0.33.5" + "@img/sharp-win32-ia32": "npm:0.33.5" + "@img/sharp-win32-x64": "npm:0.33.5" + color: "npm:^4.2.3" + detect-libc: "npm:^2.0.3" + semver: "npm:^7.6.3" + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: 10c0/6b81421ddfe6ee524d8d77e325c5e147fef22884e1c7b1656dfd89a88d7025894115da02d5f984261bf2e6daa16f98cadd1721c4ba408b4212b1d2a60f233484 + languageName: node + linkType: hard + "shebang-command@npm:^1.2.0": version: 1.2.0 resolution: "shebang-command@npm:1.2.0" @@ -13534,6 +13808,15 @@ __metadata: languageName: node linkType: hard +"simple-swizzle@npm:^0.2.2": + version: 0.2.2 + resolution: "simple-swizzle@npm:0.2.2" + dependencies: + is-arrayish: "npm:^0.3.1" + checksum: 10c0/df5e4662a8c750bdba69af4e8263c5d96fe4cd0f9fe4bdfa3cbdeb45d2e869dff640beaaeb1ef0e99db4d8d2ec92f85508c269f50c972174851bc1ae5bd64308 + languageName: node + linkType: hard + "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -13992,6 +14275,22 @@ __metadata: languageName: node linkType: hard +"styled-jsx@npm:5.1.6": + version: 5.1.6 + resolution: "styled-jsx@npm:5.1.6" + dependencies: + client-only: "npm:0.0.1" + peerDependencies: + react: ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" + peerDependenciesMeta: + "@babel/core": + optional: true + babel-plugin-macros: + optional: true + checksum: 10c0/ace50e7ea5ae5ae6a3b65a50994c51fca6ae7df9c7ecfd0104c36be0b4b3a9c5c1a2374d16e2a11e256d0b20be6d47256d768ecb4f91ab390f60752a075780f5 + languageName: node + linkType: hard + "stylis@npm:^4.1.3": version: 4.3.4 resolution: "stylis@npm:4.3.4"