Skip to content

Commit 8f43240

Browse files
committed
build: multi-config build and dep update
1 parent 75fc7f2 commit 8f43240

File tree

124 files changed

+566
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+566
-252
lines changed

apps/guide/.lintstagedrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
/** @type {import('lint-staged').Config} */
12
module.exports = require('../../.lintstagedrc.json');

apps/guide/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"hastscript": "^8.0.0",
8787
"html-escaper": "^3.0.3",
8888
"postcss": "^8.4.31",
89-
"prettier": "^3.0.3",
89+
"prettier": "^3.1.0",
9090
"turbo": "^1.10.17-canary.0",
9191
"typescript": "^5.2.2",
9292
"unocss": "^0.57.3",

apps/website/.lintstagedrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/** @type {import('lint-staged').Config} */
2+
module.exports = require('../../.lintstagedrc.json');

apps/website/.lintstagedrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/website/.prettierrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/** @type {import('prettier').Config} */
2+
module.exports = require('../../.prettierrc.json');

apps/website/.prettierrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"eslint-formatter-pretty": "^5.0.0",
9393
"happy-dom": "^12.10.3",
9494
"postcss": "^8.4.31",
95-
"prettier": "^3.0.3",
95+
"prettier": "^3.1.0",
9696
"turbo": "^1.10.17-canary.0",
9797
"typescript": "^5.2.2",
9898
"vercel": "^32.5.3",

apps/website/src/app/docs/packages/[package]/[version]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const generateStaticParams = async () => {
2727
const params: VersionRouteParams[] = [];
2828

2929
await Promise.all(
30-
PACKAGES.slice(1).map(async (packageName) => {
30+
PACKAGES.map(async (packageName) => {
3131
const versions = (await fetchVersions(packageName)).slice(0, N_RECENT_VERSIONS);
3232

3333
params.push(...versions.map((version) => ({ package: packageName, version })));

apps/website/src/components/InstallButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ export function InstallButton() {
1717

1818
return (
1919
<button
20-
className={buttonVariants({ variant: 'secondary', className: 'cursor-copy font-mono' })}
20+
className={buttonVariants({
21+
variant: 'secondary',
22+
className: 'cursor-copy font-mono',
23+
})}
2124
onClick={() => {
2225
setInteracted(true);
2326
copyToClipboard('npm install discord.js');

apps/website/src/components/OverloadSwitcher.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ export default function OverloadSwitcher({
1515
methodName,
1616
overloads,
1717
children,
18-
}: PropsWithChildren<{ readonly methodName: string; readonly overloads: ReactNode[] }>) {
18+
}: PropsWithChildren<{
19+
readonly methodName: string;
20+
readonly overloads: ReactNode[];
21+
}>) {
1922
const [hash, setHash] = useState(() => (typeof window === 'undefined' ? '' : window.location.hash));
2023
const hashChangeHandler = useCallback(() => {
2124
setHash(window.location.hash);

0 commit comments

Comments
 (0)