Skip to content

Commit 2dd7d47

Browse files
author
Dan Costello
committed
Update deps and bun
1 parent 1324414 commit 2dd7d47

File tree

8 files changed

+7518
-1672
lines changed

8 files changed

+7518
-1672
lines changed

README.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ This is a Next.js application generated with
66
Run development server:
77

88
```bash
9-
bun install
9+
pnpm install
1010
```
1111

1212
```bash
13-
bun dev
13+
pnpm dev
1414
```
1515

1616
or production build
1717

1818
```bash
19-
bun run build
20-
bun serve
19+
pnpm run build
20+
pnpm serve
2121
```
2222

2323
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

app/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'tailwindcss';
22
@import 'fumadocs-ui/css/neutral.css';
33
@import 'fumadocs-ui/css/preset.css';
4-
@import 'fumadocs-openapi/css/preset.css';
54

65
@theme {
76
--fd-sidebar-width: 0px;
@@ -58,3 +57,4 @@
5857
background-repeat: no-repeat;
5958
}
6059

60+
@import 'fumadocs-openapi/css/preset.css';

bun.lock

Lines changed: 0 additions & 1657 deletions
This file was deleted.

lib/source.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export const source = loader({
1919
export const openapi = createOpenAPI({
2020
shikiOptions: {
2121
themes: {
22-
dark: 'vesper',
23-
light: 'vitesse-light',
22+
dark: 'monokai',
23+
light: 'min-light',
2424
},
25-
},
25+
}
2626
});

mdx-components.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import { APIPage } from 'fumadocs-openapi/ui';
88
export function getMDXComponents(components?: MDXComponents): MDXComponents {
99
return {
1010
...defaultMdxComponents,
11-
APIPage: (props) => <APIPage {...openapi.getAPIPageProps(props)} />,
11+
APIPage: (props) => <APIPage
12+
{...openapi.getAPIPageProps(props)}
13+
disablePlayground={false}
14+
showResponseSchema={true}
15+
/>,
1216
Glossary,
1317
...components,
1418
};

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"fumadocs-ui": "15.2.15",
2121
"lucide-react": "^0.511.0",
2222
"next": "15.3.1",
23+
"prettier": "^3.5.3",
2324
"react": "^19.1.0",
2425
"react-dom": "^19.1.0",
2526
"serve": "^14.2.4",
@@ -34,6 +35,7 @@
3435
"eslint": "^8",
3536
"eslint-config-next": "15.3.1",
3637
"glob": "^11.0.2",
38+
"openapi-types": "^12.1.3",
3739
"postcss": "^8.5.3",
3840
"tailwindcss": "^4.1.7",
3941
"typescript": "^5.8.3"

0 commit comments

Comments
 (0)