diff --git a/apps/website/package.json b/apps/website/package.json index f8879d9a9..c8cf30a26 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -60,7 +60,7 @@ "bright": "^0.7.1", "cmdk": "^0.2.0", "meilisearch": "^0.32.2", - "next": "^13.2.5-canary.34", + "next": "^13.3.1-canary.2", "next-mdx-remote": "^4.4.1", "next-themes": "^0.2.1", "react": "^18.2.0", diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx index 3924b226a..9d2e86406 100644 --- a/apps/website/src/app/page.tsx +++ b/apps/website/src/app/page.tsx @@ -1,10 +1,13 @@ import { FiExternalLink } from '@react-icons/all-files/fi/FiExternalLink'; import Image from 'next/image'; import Link from 'next/link'; +import type { ServerRuntime } from 'next/types'; import vercelLogo from '~/assets/powered-by-vercel.svg'; import { SyntaxHighlighter } from '~/components/SyntaxHighlighter'; import { DESCRIPTION, CODE_EXAMPLE } from '~/util/constants'; +export const runtime: ServerRuntime = 'edge'; + export default function Page() { return (
diff --git a/yarn.lock b/yarn.lock index 298155417..23ad548a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2382,7 +2382,7 @@ __metadata: happy-dom: ^9.1.7 lighthouse: ^10.1.0 meilisearch: ^0.32.2 - next: ^13.2.5-canary.34 + next: ^13.3.1-canary.2 next-mdx-remote: ^4.4.1 next-themes: ^0.2.1 prettier: ^2.8.7 @@ -3805,6 +3805,13 @@ __metadata: languageName: node linkType: hard +"@next/env@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/env@npm:13.3.1-canary.2" + checksum: 0c95ecef95a18b1b3d0dddc814bddbc3ab4d09bdfce0c0f564def068dbd09f2bbe9d46cc4ca9e3f78caab53a6d528875e1902b5bd83901b9a731e22b63146298 + languageName: node + linkType: hard + "@next/eslint-plugin-next@npm:^13.2.4": version: 13.3.0 resolution: "@next/eslint-plugin-next@npm:13.3.0" @@ -3821,6 +3828,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-darwin-arm64@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-darwin-arm64@npm:13.3.1-canary.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@next/swc-darwin-x64@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-darwin-x64@npm:13.3.0" @@ -3828,6 +3842,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-darwin-x64@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-darwin-x64@npm:13.3.1-canary.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@next/swc-linux-arm64-gnu@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-linux-arm64-gnu@npm:13.3.0" @@ -3835,6 +3856,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-arm64-gnu@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-linux-arm64-gnu@npm:13.3.1-canary.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@next/swc-linux-arm64-musl@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-linux-arm64-musl@npm:13.3.0" @@ -3842,6 +3870,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-arm64-musl@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-linux-arm64-musl@npm:13.3.1-canary.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@next/swc-linux-x64-gnu@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-linux-x64-gnu@npm:13.3.0" @@ -3849,6 +3884,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-x64-gnu@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-linux-x64-gnu@npm:13.3.1-canary.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@next/swc-linux-x64-musl@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-linux-x64-musl@npm:13.3.0" @@ -3856,6 +3898,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-x64-musl@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-linux-x64-musl@npm:13.3.1-canary.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@next/swc-win32-arm64-msvc@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-win32-arm64-msvc@npm:13.3.0" @@ -3863,6 +3912,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-arm64-msvc@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-win32-arm64-msvc@npm:13.3.1-canary.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@next/swc-win32-ia32-msvc@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-win32-ia32-msvc@npm:13.3.0" @@ -3870,6 +3926,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-ia32-msvc@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-win32-ia32-msvc@npm:13.3.1-canary.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@next/swc-win32-x64-msvc@npm:13.3.0": version: 13.3.0 resolution: "@next/swc-win32-x64-msvc@npm:13.3.0" @@ -3877,6 +3940,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-x64-msvc@npm:13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "@next/swc-win32-x64-msvc@npm:13.3.1-canary.2" + 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" @@ -16881,7 +16951,7 @@ __metadata: languageName: node linkType: hard -"next@npm:^13.2.5-canary.34, next@npm:^13.3.0": +"next@npm:^13.3.0": version: 13.3.0 resolution: "next@npm:13.3.0" dependencies: @@ -16941,6 +17011,66 @@ __metadata: languageName: node linkType: hard +"next@npm:^13.3.1-canary.2": + version: 13.3.1-canary.2 + resolution: "next@npm:13.3.1-canary.2" + dependencies: + "@next/env": 13.3.1-canary.2 + "@next/swc-darwin-arm64": 13.3.1-canary.2 + "@next/swc-darwin-x64": 13.3.1-canary.2 + "@next/swc-linux-arm64-gnu": 13.3.1-canary.2 + "@next/swc-linux-arm64-musl": 13.3.1-canary.2 + "@next/swc-linux-x64-gnu": 13.3.1-canary.2 + "@next/swc-linux-x64-musl": 13.3.1-canary.2 + "@next/swc-win32-arm64-msvc": 13.3.1-canary.2 + "@next/swc-win32-ia32-msvc": 13.3.1-canary.2 + "@next/swc-win32-x64-msvc": 13.3.1-canary.2 + "@swc/helpers": 0.4.14 + busboy: 1.6.0 + caniuse-lite: ^1.0.30001406 + postcss: 8.4.14 + styled-jsx: 5.1.1 + 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-darwin-arm64": + optional: true + "@next/swc-darwin-x64": + optional: true + "@next/swc-linux-arm64-gnu": + optional: true + "@next/swc-linux-arm64-musl": + optional: true + "@next/swc-linux-x64-gnu": + optional: true + "@next/swc-linux-x64-musl": + optional: true + "@next/swc-win32-arm64-msvc": + optional: true + "@next/swc-win32-ia32-msvc": + optional: true + "@next/swc-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@opentelemetry/api": + optional: true + fibers: + optional: true + node-sass: + optional: true + sass: + optional: true + bin: + next: dist/bin/next + checksum: 487f88102251494a34b26ee5933866b71993c1e37738e09dd7957cbd8f426ca018ed4e457646f8cfa480c643fb2ac0ddf6ab966fe08545f7ce6fd0127027f9f7 + languageName: node + linkType: hard + "no-case@npm:^3.0.4": version: 3.0.4 resolution: "no-case@npm:3.0.4"