mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
build(website): prepare for turbopack
This commit is contained in:
@@ -15,4 +15,4 @@ yarnPath: .yarn/releases/yarn-3.5.0.cjs
|
|||||||
packageExtensions:
|
packageExtensions:
|
||||||
'@storybook/core-common@*':
|
'@storybook/core-common@*':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@storybook/react-vite': '7.0.4'
|
'@storybook/react-vite': '7.0.5'
|
||||||
|
|||||||
@@ -12,16 +12,8 @@ const withBundleAnalyzer = bundleAnalyzer({
|
|||||||
module.exports = withBundleAnalyzer(
|
module.exports = withBundleAnalyzer(
|
||||||
withContentlayer({
|
withContentlayer({
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
eslint: {
|
|
||||||
ignoreDuringBuilds: true,
|
|
||||||
},
|
|
||||||
// Until Next.js fixes their type issues
|
|
||||||
typescript: {
|
|
||||||
ignoreBuildErrors: true,
|
|
||||||
},
|
|
||||||
experimental: {
|
experimental: {
|
||||||
appDir: true,
|
appDir: true,
|
||||||
fallbackNodePolyfills: false,
|
|
||||||
},
|
},
|
||||||
images: {
|
images: {
|
||||||
dangerouslyAllowSVG: true,
|
dangerouslyAllowSVG: true,
|
||||||
|
|||||||
@@ -85,11 +85,11 @@
|
|||||||
"eslint": "^8.38.0",
|
"eslint": "^8.38.0",
|
||||||
"eslint-config-neon": "^0.1.42",
|
"eslint-config-neon": "^0.1.42",
|
||||||
"eslint-formatter-pretty": "^5.0.0",
|
"eslint-formatter-pretty": "^5.0.0",
|
||||||
"happy-dom": "^9.6.1",
|
"happy-dom": "^9.7.0",
|
||||||
"hast-util-to-string": "^2.0.0",
|
"hast-util-to-string": "^2.0.0",
|
||||||
"hastscript": "^7.2.0",
|
"hastscript": "^7.2.0",
|
||||||
"html-escaper": "^3.0.3",
|
"html-escaper": "^3.0.3",
|
||||||
"lighthouse": "^10.1.0",
|
"lighthouse": "^10.1.1",
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"unocss": "^0.51.4",
|
"unocss": "^0.51.4",
|
||||||
|
|||||||
@@ -15,9 +15,11 @@ export default function Page() {
|
|||||||
<Image
|
<Image
|
||||||
alt="Vercel"
|
alt="Vercel"
|
||||||
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
||||||
|
height={44}
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
priority
|
priority
|
||||||
src={vercelLogo}
|
src={vercelLogo}
|
||||||
|
width={212}
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ export default function Footer() {
|
|||||||
<Image
|
<Image
|
||||||
alt="Vercel"
|
alt="Vercel"
|
||||||
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
||||||
|
height={44}
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
src={vercelLogo}
|
src={vercelLogo}
|
||||||
|
width={212}
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<div className="flex flex-row gap-6 md:gap-12">
|
<div className="flex flex-row gap-6 md:gap-12">
|
||||||
|
|||||||
@@ -7,14 +7,8 @@ const withBundleAnalyzer = bundleAnalyzer({
|
|||||||
|
|
||||||
export default withBundleAnalyzer({
|
export default withBundleAnalyzer({
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
eslint: {
|
|
||||||
ignoreDuringBuilds: true,
|
|
||||||
},
|
|
||||||
outputFileTracing: true,
|
|
||||||
experimental: {
|
experimental: {
|
||||||
appDir: true,
|
appDir: true,
|
||||||
outputFileTracingRoot: fileURLToPath(new URL('../../', import.meta.url)),
|
|
||||||
fallbackNodePolyfills: false,
|
|
||||||
serverComponentsExternalPackages: ['@microsoft/api-extractor-model', 'jju'],
|
serverComponentsExternalPackages: ['@microsoft/api-extractor-model', 'jju'],
|
||||||
},
|
},
|
||||||
images: {
|
images: {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"bright": "^0.7.1",
|
"bright": "^0.7.1",
|
||||||
"cmdk": "^0.2.0",
|
"cmdk": "^0.2.0",
|
||||||
"meilisearch": "^0.32.3",
|
"meilisearch": "^0.32.3",
|
||||||
"next": "^13.3.1-canary.7",
|
"next": "^13.3.1-canary.8",
|
||||||
"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",
|
||||||
@@ -93,8 +93,8 @@
|
|||||||
"eslint": "^8.38.0",
|
"eslint": "^8.38.0",
|
||||||
"eslint-config-neon": "^0.1.42",
|
"eslint-config-neon": "^0.1.42",
|
||||||
"eslint-formatter-pretty": "^5.0.0",
|
"eslint-formatter-pretty": "^5.0.0",
|
||||||
"happy-dom": "^9.6.1",
|
"happy-dom": "^9.7.0",
|
||||||
"lighthouse": "^10.1.0",
|
"lighthouse": "^10.1.1",
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"unocss": "^0.51.4",
|
"unocss": "^0.51.4",
|
||||||
@@ -103,10 +103,5 @@
|
|||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.13.0"
|
"node": ">=18.13.0"
|
||||||
},
|
|
||||||
"nextBundleAnalysis": {
|
|
||||||
"budget": 358400,
|
|
||||||
"budgetPercentIncreaseRed": 20,
|
|
||||||
"showDetails": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,9 +59,11 @@ export default function Page() {
|
|||||||
<Image
|
<Image
|
||||||
alt="Vercel"
|
alt="Vercel"
|
||||||
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
||||||
|
height={44}
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
priority
|
priority
|
||||||
src={vercelLogo}
|
src={vercelLogo}
|
||||||
|
width={212}
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ export default function Footer() {
|
|||||||
<Image
|
<Image
|
||||||
alt="Vercel"
|
alt="Vercel"
|
||||||
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
blurDataURL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABLCAQAAAA1k5H2AAAAi0lEQVR42u3SMQEAAAgDoC251a3gL2SgmfBYBRAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARAAARCAgwWEOSWBnYbKggAAAABJRU5ErkJggg=="
|
||||||
|
height={44}
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
src={vercelLogo}
|
src={vercelLogo}
|
||||||
|
width={212}
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<div className="flex flex-row gap-6 md:gap-12">
|
<div className="flex flex-row gap-6 md:gap-12">
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@msgpack/msgpack": "^3.0.0-beta2",
|
"@msgpack/msgpack": "^3.0.0-beta2",
|
||||||
"@vladfrangu/async_event_emitter": "^2.2.1",
|
"@vladfrangu/async_event_emitter": "^2.2.1",
|
||||||
"ioredis": "^5.3.1"
|
"ioredis": "^5.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@favware/cliff-jumper": "^2.0.0",
|
"@favware/cliff-jumper": "^2.0.0",
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://discord.js.org",
|
"homepage": "https://discord.js.org",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": "^10.0.0",
|
"commander": "^10.0.1",
|
||||||
"jsdoc-to-markdown": "^8.0.0",
|
"jsdoc-to-markdown": "^8.0.0",
|
||||||
"tslib": "^2.5.0",
|
"tslib": "^2.5.0",
|
||||||
"typedoc": "^0.24.1"
|
"typedoc": "^0.24.1"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
"@microsoft/api-extractor-model": "7.26.4",
|
"@microsoft/api-extractor-model": "7.26.4",
|
||||||
"@microsoft/tsdoc": "0.14.2",
|
"@microsoft/tsdoc": "0.14.2",
|
||||||
"@microsoft/tsdoc-config": "0.16.2",
|
"@microsoft/tsdoc-config": "0.16.2",
|
||||||
"commander": "^10.0.0",
|
"commander": "^10.0.1",
|
||||||
"fs-extra": "^11.1.1",
|
"fs-extra": "^11.1.1",
|
||||||
"tslib": "^2.5.0",
|
"tslib": "^2.5.0",
|
||||||
"undici": "^5.21.2",
|
"undici": "^5.21.2",
|
||||||
|
|||||||
@@ -52,13 +52,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@favware/cliff-jumper": "^2.0.0",
|
"@favware/cliff-jumper": "^2.0.0",
|
||||||
"@react-icons/all-files": "^4.1.0",
|
"@react-icons/all-files": "^4.1.0",
|
||||||
"@storybook/addon-essentials": "^7.0.4",
|
"@storybook/addon-essentials": "^7.0.5",
|
||||||
"@storybook/addon-interactions": "^7.0.4",
|
"@storybook/addon-interactions": "^7.0.5",
|
||||||
"@storybook/addon-links": "^7.0.4",
|
"@storybook/addon-links": "^7.0.5",
|
||||||
"@storybook/addon-styling": "^1.0.0",
|
"@storybook/addon-styling": "^1.0.1",
|
||||||
"@storybook/blocks": "^7.0.4",
|
"@storybook/blocks": "^7.0.5",
|
||||||
"@storybook/react": "^7.0.4",
|
"@storybook/react": "^7.0.5",
|
||||||
"@storybook/react-vite": "^7.0.4",
|
"@storybook/react-vite": "^7.0.5",
|
||||||
"@storybook/testing-library": "^0.1.0",
|
"@storybook/testing-library": "^0.1.0",
|
||||||
"@types/node": "16.18.23",
|
"@types/node": "16.18.23",
|
||||||
"@types/react": "^18.0.35",
|
"@types/react": "^18.0.35",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"eslint-plugin-storybook": "^0.6.11",
|
"eslint-plugin-storybook": "^0.6.11",
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"storybook": "^7.0.4",
|
"storybook": "^7.0.5",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"unocss": "^0.51.4",
|
"unocss": "^0.51.4",
|
||||||
"vite": "^4.2.1",
|
"vite": "^4.2.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user