-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/nsfw-commands
- Loading branch information
Showing
196 changed files
with
6,917 additions
and
2,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
module.exports = require('../../.prettierrc.json'); | ||
module.exports = { | ||
...require('../../.prettierrc.json'), | ||
plugins: [ | ||
'prettier-plugin-astro', | ||
'prettier-plugin-tailwindcss', // MUST come last | ||
], | ||
pluginSearchDirs: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
module.exports = require('../../.prettierrc.json'); | ||
module.exports = { | ||
...require('../../.prettierrc.json'), | ||
plugins: [ | ||
'prettier-plugin-tailwindcss', // MUST come last | ||
], | ||
pluginSearchDirs: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,33 @@ | ||
/* eslint-disable tsdoc/syntax */ | ||
import { fileURLToPath } from 'node:url'; | ||
import bundleAnalyzer from '@next/bundle-analyzer'; | ||
|
||
const withBundleAnalyzer = bundleAnalyzer({ | ||
enabled: process.env.ANALYZE === 'true', | ||
}); | ||
|
||
/** | ||
* @type {import('next').NextConfig} | ||
*/ | ||
export default { | ||
export default withBundleAnalyzer({ | ||
reactStrictMode: true, | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
// Until Next.js fixes their type issues | ||
typescript: { | ||
ignoreBuildErrors: true, | ||
}, | ||
cleanDistDir: true, | ||
outputFileTracing: true, | ||
experimental: { | ||
appDir: true, | ||
serverComponentsExternalPackages: ['@microsoft/api-extractor-model', 'jju', 'shiki'], | ||
outputFileTracingRoot: fileURLToPath(new URL('../../', import.meta.url)), | ||
fallbackNodePolyfills: false, | ||
}, | ||
images: { | ||
dangerouslyAllowSVG: true, | ||
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", | ||
}, | ||
}; | ||
}); |
Oops, something went wrong.