mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore(website): this may solve dynamic route problems
https://github.com/vercel/next.js/pull/47982
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
"bright": "^0.7.1",
|
"bright": "^0.7.1",
|
||||||
"cmdk": "^0.2.0",
|
"cmdk": "^0.2.0",
|
||||||
"meilisearch": "^0.32.2",
|
"meilisearch": "^0.32.2",
|
||||||
"next": "^13.2.5-canary.34",
|
"next": "^13.3.1-canary.2",
|
||||||
"next-mdx-remote": "^4.4.1",
|
"next-mdx-remote": "^4.4.1",
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
import { FiExternalLink } from '@react-icons/all-files/fi/FiExternalLink';
|
import { FiExternalLink } from '@react-icons/all-files/fi/FiExternalLink';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
import type { ServerRuntime } from 'next/types';
|
||||||
import vercelLogo from '~/assets/powered-by-vercel.svg';
|
import vercelLogo from '~/assets/powered-by-vercel.svg';
|
||||||
import { SyntaxHighlighter } from '~/components/SyntaxHighlighter';
|
import { SyntaxHighlighter } from '~/components/SyntaxHighlighter';
|
||||||
import { DESCRIPTION, CODE_EXAMPLE } from '~/util/constants';
|
import { DESCRIPTION, CODE_EXAMPLE } from '~/util/constants';
|
||||||
|
|
||||||
|
export const runtime: ServerRuntime = 'edge';
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<div className="mx-auto flex min-h-screen max-w-6xl flex-col place-items-center gap-12 px-8 py-16 lg:place-content-center lg:px-8 lg:py-0">
|
<div className="mx-auto flex min-h-screen max-w-6xl flex-col place-items-center gap-12 px-8 py-16 lg:place-content-center lg:px-8 lg:py-0">
|
||||||
|
|||||||
134
yarn.lock
134
yarn.lock
@@ -2382,7 +2382,7 @@ __metadata:
|
|||||||
happy-dom: ^9.1.7
|
happy-dom: ^9.1.7
|
||||||
lighthouse: ^10.1.0
|
lighthouse: ^10.1.0
|
||||||
meilisearch: ^0.32.2
|
meilisearch: ^0.32.2
|
||||||
next: ^13.2.5-canary.34
|
next: ^13.3.1-canary.2
|
||||||
next-mdx-remote: ^4.4.1
|
next-mdx-remote: ^4.4.1
|
||||||
next-themes: ^0.2.1
|
next-themes: ^0.2.1
|
||||||
prettier: ^2.8.7
|
prettier: ^2.8.7
|
||||||
@@ -3805,6 +3805,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/eslint-plugin-next@npm:^13.2.4":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/eslint-plugin-next@npm:13.3.0"
|
resolution: "@next/eslint-plugin-next@npm:13.3.0"
|
||||||
@@ -3821,6 +3828,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-darwin-x64@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-darwin-x64@npm:13.3.0"
|
resolution: "@next/swc-darwin-x64@npm:13.3.0"
|
||||||
@@ -3828,6 +3842,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-linux-arm64-gnu@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-linux-arm64-gnu@npm:13.3.0"
|
resolution: "@next/swc-linux-arm64-gnu@npm:13.3.0"
|
||||||
@@ -3835,6 +3856,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-linux-arm64-musl@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-linux-arm64-musl@npm:13.3.0"
|
resolution: "@next/swc-linux-arm64-musl@npm:13.3.0"
|
||||||
@@ -3842,6 +3870,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-linux-x64-gnu@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-linux-x64-gnu@npm:13.3.0"
|
resolution: "@next/swc-linux-x64-gnu@npm:13.3.0"
|
||||||
@@ -3849,6 +3884,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-linux-x64-musl@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-linux-x64-musl@npm:13.3.0"
|
resolution: "@next/swc-linux-x64-musl@npm:13.3.0"
|
||||||
@@ -3856,6 +3898,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-win32-arm64-msvc@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-win32-arm64-msvc@npm:13.3.0"
|
resolution: "@next/swc-win32-arm64-msvc@npm:13.3.0"
|
||||||
@@ -3863,6 +3912,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-win32-ia32-msvc@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-win32-ia32-msvc@npm:13.3.0"
|
resolution: "@next/swc-win32-ia32-msvc@npm:13.3.0"
|
||||||
@@ -3870,6 +3926,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@next/swc-win32-x64-msvc@npm:13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "@next/swc-win32-x64-msvc@npm:13.3.0"
|
resolution: "@next/swc-win32-x64-msvc@npm:13.3.0"
|
||||||
@@ -3877,6 +3940,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@nodelib/fs.scandir@npm:2.1.5":
|
||||||
version: 2.1.5
|
version: 2.1.5
|
||||||
resolution: "@nodelib/fs.scandir@npm:2.1.5"
|
resolution: "@nodelib/fs.scandir@npm:2.1.5"
|
||||||
@@ -16881,7 +16951,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"next@npm:^13.2.5-canary.34, next@npm:^13.3.0":
|
"next@npm:^13.3.0":
|
||||||
version: 13.3.0
|
version: 13.3.0
|
||||||
resolution: "next@npm:13.3.0"
|
resolution: "next@npm:13.3.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -16941,6 +17011,66 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"no-case@npm:^3.0.4":
|
||||||
version: 3.0.4
|
version: 3.0.4
|
||||||
resolution: "no-case@npm:3.0.4"
|
resolution: "no-case@npm:3.0.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user