Bump deps

This commit is contained in:
Fuma Nama
2026-04-19 22:23:53 +08:00
parent 6d51a6c60c
commit 75fe4cd4ea
57 changed files with 1972 additions and 1806 deletions
@@ -47,9 +47,9 @@ To plug your own content source, create a `Source` object.
Since Loader API doesn't rely on file system, file paths only allow virtual paths like `file.mdx` and `content/file.mdx`, `./file.mdx` and `D://content/file.mdx` are not allowed.
```ts twoslash
import { Source } from 'fumadocs-core/source';
import type { StaticSource } from 'fumadocs-core/source';
export function createMySource(): Source<{
export function createMySource(): StaticSource<{
metaData: { title: string; pages: string[] }; // Your custom type
pageData: { title: string; description?: string }; // Your custom type
}> {
+14 -14
View File
@@ -14,20 +14,20 @@
},
"dependencies": {
"@ai-sdk/openai-compatible": "^2.0.41",
"@ai-sdk/react": "^3.0.163",
"@ai-sdk/react": "^3.0.170",
"@fumadocs/story": "workspace:*",
"@mixedbread/sdk": "^0.61.0",
"@openrouter/ai-sdk-provider": "^2.6.0",
"@openrouter/ai-sdk-provider": "^2.8.0",
"@orama/core": "^1.2.19",
"@orama/orama": "^3.1.18",
"@paper-design/shaders-react": "^0.0.75",
"@paper-design/shaders-react": "^0.0.76",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-presence": "^1.1.5",
"@radix-ui/react-tooltip": "^1.2.8",
"@shikijs/transformers": "^4.0.2",
"@takumi-rs/image-response": "^1.0.9",
"ai": "^6.0.161",
"@takumi-rs/image-response": "^1.0.14",
"ai": "^6.0.168",
"class-variance-authority": "^0.7.1",
"d3-force": "^3.0.0",
"estree-util-build-jsx": "^3.0.1",
@@ -48,10 +48,10 @@
"lucide-react": "^1.8.0",
"mermaid": "^11.14.0",
"motion": "^12.38.0",
"next": "16.2.3",
"next": "16.2.4",
"next-themes": "^0.4.6",
"octokit": "^5.0.5",
"oxc-transform": "^0.125.0",
"oxc-transform": "^0.126.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-force-graph-2d": "^1.29.1",
@@ -64,14 +64,14 @@
"remark-rehype": "^11.1.2",
"shiki": "^4.0.2",
"tailwind-merge": "^3.5.0",
"twoslash": "^0.3.7",
"twoslash": "^0.3.8",
"unist-util-visit": "^5.1.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@fumadocs/cli": "workspace:*",
"@next/bundle-analyzer": "16.2.3",
"@next/env": "16.2.3",
"@next/bundle-analyzer": "16.2.4",
"@next/env": "16.2.4",
"@tailwindcss/postcss": "^4.2.2",
"@types/d3-force": "^3.0.10",
"@types/estree": "^1.0.8",
@@ -81,21 +81,21 @@
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.183.1",
"@types/three": "^0.184.0",
"algoliasearch": "5.50.2",
"browserslist-config-baseline": "^0.5.0",
"gray-matter": "^4.0.3",
"mcp-handler": "^1.1.0",
"next-validate-link": "^1.6.4",
"postcss": "^8.5.9",
"shadcn": "4.2.0",
"postcss": "^8.5.10",
"shadcn": "4.3.0",
"tailwindcss": "^4.2.2",
"tailwindcss-animate": "^1.0.7",
"tinyexec": "^1.1.1",
"tinyglobby": "^0.2.16",
"ts-morph": "^28.0.0",
"tsconfig": "workspace:*",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"unified": "^11.0.5"
},
"browserslist": [
+1 -1
View File
@@ -14,7 +14,7 @@
"@astrojs/mdx": "^5.0.3",
"@astrojs/react": "^5.0.3",
"@orama/orama": "^3.1.18",
"astro": "^6.1.6",
"astro": "^6.1.8",
"fumadocs-core": "workspace:*",
"fumadocs-ui": "workspace:*",
"react": "^19.2.5",
+2 -2
View File
@@ -1,4 +1,4 @@
import type { Source } from 'fumadocs-core/source';
import type { StaticSource } from 'fumadocs-core/source';
import { loader } from 'fumadocs-core/source';
import { type CollectionEntry, getCollection } from 'astro:content';
import * as path from 'node:path';
@@ -18,7 +18,7 @@ export async function getFullExport(entry: CollectionEntry<'docs'>) {
}
async function createMySource() {
const out: Source<{
const out: StaticSource<{
metaData: CollectionEntry<'meta'>['data'];
pageData: CollectionEntry<'docs'>['data'] & {
_raw: CollectionEntry<'docs'>;
+3 -3
View File
@@ -13,7 +13,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"lucide-react": "^1.8.0",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwind-merge": "^3.5.0"
@@ -24,8 +24,8 @@
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -11,17 +11,17 @@
"@fumadocs/content-collections": "workspace:*",
"fumadocs-core": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
"devDependencies": {
"@content-collections/core": "^0.14.3",
"@content-collections/core": "^0.15.0",
"@content-collections/mdx": "^0.2.2",
"@content-collections/next": "^0.2.11",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+2 -2
View File
@@ -13,7 +13,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
@@ -21,6 +21,6 @@
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
import { loader, type MetaData, type Source, type VirtualFile } from 'fumadocs-core/source';
import { loader, type MetaData, type StaticSource, type VirtualFile } from 'fumadocs-core/source';
import { getPosts } from '@/lib/query';
import type { Post } from '@/lib/types';
import type { StructuredData } from 'fumadocs-core/mdx-plugins';
@@ -12,7 +12,7 @@ export const source = loader({
});
async function createMarbleSource(): Promise<
Source<{
StaticSource<{
metaData: MetaData;
pageData: Post;
}>
+3 -3
View File
@@ -12,7 +12,7 @@
"fumadocs-ui": "workspace:*",
"github-slugger": "^2.0.0",
"html-react-parser": "^6.0.1",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"shiki": "^4.0.2"
@@ -22,8 +22,8 @@
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -13,7 +13,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^1.8.0",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwind-merge": "^3.5.0"
@@ -24,8 +24,8 @@
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -12,7 +12,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
@@ -21,8 +21,8 @@
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -14,7 +14,7 @@
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^1.8.0",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwind-merge": "^3.5.0"
@@ -25,9 +25,9 @@
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"serve": "^14.2.6",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -13,7 +13,7 @@
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^1.8.0",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwind-merge": "^3.5.0"
@@ -24,8 +24,8 @@
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -13,7 +13,7 @@
"fumadocs-mdx": "workspace:*",
"fumadocs-obsidian": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
@@ -22,8 +22,8 @@
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -14,7 +14,7 @@
"fumadocs-mdx": "workspace:*",
"fumadocs-openapi": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"shiki": "^4.0.2"
@@ -24,9 +24,9 @@
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"rimraf": "^6.1.3",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -15,7 +15,7 @@
"fumadocs-mdx": "workspace:*",
"fumadocs-python": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
@@ -25,8 +25,8 @@
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.9",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+2 -2
View File
@@ -15,7 +15,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"isbot": "^5.1.38",
"isbot": "^5.1.39",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-router": "^7.14.1"
@@ -29,7 +29,7 @@
"@types/react-dom": "^19.2.3",
"react-router-devtools": "^6.2.0",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+2 -2
View File
@@ -14,7 +14,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"isbot": "^5.1.38",
"isbot": "^5.1.39",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-router": "^7.14.1"
@@ -28,7 +28,7 @@
"@types/react-dom": "^19.2.3",
"react-router-devtools": "^6.2.0",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+2 -2
View File
@@ -14,7 +14,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"isbot": "^5.1.38",
"isbot": "^5.1.39",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-router": "^7.14.1"
@@ -29,7 +29,7 @@
"@vitejs/plugin-rsc": "^0.5.24",
"react-router-devtools": "^6.2.0",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+2 -2
View File
@@ -14,7 +14,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"isbot": "^5.1.38",
"isbot": "^5.1.39",
"lucide-react": "^1.8.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
@@ -31,7 +31,7 @@
"react-router-devtools": "^6.2.0",
"serve": "^14.2.6",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+3 -3
View File
@@ -11,11 +11,11 @@
"dependencies": {
"@react-router/node": "^7.14.1",
"@react-router/serve": "^7.14.1",
"@takumi-rs/image-response": "^1.0.9",
"@takumi-rs/image-response": "^1.0.14",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"isbot": "^5.1.38",
"isbot": "^5.1.39",
"lucide-react": "^1.8.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
@@ -31,7 +31,7 @@
"@types/react-dom": "^19.2.3",
"react-router-devtools": "^6.2.0",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+3 -3
View File
@@ -11,9 +11,9 @@
},
"dependencies": {
"@orama/tokenizers": "^3.1.18",
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
@@ -31,6 +31,6 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+4 -4
View File
@@ -11,9 +11,9 @@
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
@@ -29,9 +29,9 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"nitro": "^3.0.260311-beta",
"nitro": "3.0.260415-beta",
"srvx": "^0.11.15",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+4 -4
View File
@@ -11,9 +11,9 @@
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-openapi": "workspace:*",
@@ -32,8 +32,8 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"nitro": "^3.0.260311-beta",
"nitro": "3.0.260415-beta",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+4 -4
View File
@@ -12,9 +12,9 @@
},
"dependencies": {
"@orama/orama": "^3.1.18",
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"@tanstack/start-static-server-functions": "1.166.33",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
@@ -32,10 +32,10 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"nitro": "^3.0.260311-beta",
"nitro": "3.0.260415-beta",
"serve": "^14.2.6",
"srvx": "^0.11.15",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -11,9 +11,9 @@
},
"dependencies": {
"@fumadocs/story": "workspace:*",
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
@@ -32,6 +32,6 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+4 -4
View File
@@ -11,9 +11,9 @@
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@tanstack/react-router-devtools": "1.166.13",
"@tanstack/react-start": "1.167.41",
"@tanstack/react-start": "1.167.42",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
@@ -30,8 +30,8 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"nitro": "^3.0.260311-beta",
"nitro": "3.0.260415-beta",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
}
}
+1 -1
View File
@@ -26,7 +26,7 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+2 -2
View File
@@ -10,7 +10,7 @@
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"@takumi-rs/image-response": "^1.0.9",
"@takumi-rs/image-response": "^1.0.14",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
@@ -28,7 +28,7 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vite": "^8.0.8"
}
}
+2 -2
View File
@@ -17,14 +17,14 @@
"version": "changeset version && pnpm install --lockfile-only"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@changesets/cli": "^2.31.0",
"bun": "1.3.12",
"concurrently": "^9.2.1",
"oxfmt": "^0.45.0",
"oxlint": "^1.60.0",
"rimraf": "^6.1.3",
"turbo": "2.9.6",
"typescript": "^6.0.2",
"typescript": "^6.0.3",
"vitest": "^4.1.4"
},
"engines": {
+2 -2
View File
@@ -141,7 +141,7 @@
"devDependencies": {
"@fumadocs/cli": "workspace:*",
"@tailwindcss/cli": "^4.2.2",
"@tsdown/css": "^0.21.8",
"@tsdown/css": "^0.21.9",
"@types/hast": "^3.0.4",
"@types/mdx": "^2.0.13",
"@types/node": "^25.6.0",
@@ -152,7 +152,7 @@
"react-medium-image-zoom": "^5.4.3",
"tailwindcss": "^4.2.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"tsdown": "0.21.9",
"unified": "^11.0.5"
},
"peerDependencies": {
+1 -1
View File
@@ -43,6 +43,6 @@
"devDependencies": {
"@types/node": "25.6.0",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
}
}
+2 -2
View File
@@ -42,12 +42,12 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@content-collections/core": "^0.14.3",
"@content-collections/core": "^0.15.0",
"@content-collections/mdx": "^0.2.2",
"@types/node": "25.6.0",
"fumadocs-core": "workspace:*",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@content-collections/core": "0.x.x",
+2 -2
View File
@@ -1,10 +1,10 @@
import type { Source, VirtualFile } from 'fumadocs-core/source';
import type { StaticSource, VirtualFile } from 'fumadocs-core/source';
import type { BaseDocsData, BaseMetaData } from '@/types';
export function createMDXSource<Docs extends BaseDocsData, Meta extends BaseMetaData>(
allDocs: Docs[],
allMetas: Meta[],
): Source<{
): StaticSource<{
metaData: Meta;
pageData: Docs;
}> {
+1 -1
View File
@@ -38,7 +38,7 @@
"fumadocs-core": "workspace:*",
"react-dom": "^19.2.5",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"fuma-content": "^1.2.3",
+2 -2
View File
@@ -1,6 +1,6 @@
import type { FileCollectionStore } from 'fuma-content/collections/runtime/file-store';
import type { MDXStoreLazyData, MDXStoreData } from 'fuma-content/collections/mdx/runtime';
import type { MetaData, PageData, Source } from 'fumadocs-core/source';
import type { MetaData, PageData, StaticSource } from 'fumadocs-core/source';
type ToPageData<T> =
T extends MDXStoreData<infer Frontmatter>
@@ -16,7 +16,7 @@ export function toFumadocsSource<
>,
Meta extends { data: MetaData } = { data: MetaData },
>(mdxStore?: FileCollectionStore<Mdx>, metaStore?: FileCollectionStore<Meta>) {
const out: Source<{
const out: StaticSource<{
pageData: ToPageData<Mdx>;
metaData: Meta['data'];
}> = { files: [] };
+4 -4
View File
@@ -126,7 +126,7 @@
"@orama/core": "^1.2.19",
"@oramacloud/client": "^2.1.4",
"@shikijs/transformers": "^4.0.2",
"@tanstack/react-router": "1.168.22",
"@tanstack/react-router": "1.168.23",
"@types/estree-jsx": "^1.0.5",
"@types/hast": "^3.0.4",
"@types/js-yaml": "^4.0.9",
@@ -140,7 +140,7 @@
"image-size": "^2.0.2",
"lucide-react": "^1.8.0",
"negotiator": "^1.0.0",
"next": "16.2.3",
"next": "16.2.4",
"npm-to-yarn": "^3.0.1",
"path-to-regexp": "^8.4.2",
"react-router": "^7.14.1",
@@ -148,8 +148,8 @@
"remark-mdx": "^3.1.1",
"remove-markdown": "^0.6.3",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2",
"tsdown": "0.21.9",
"typescript": "^6.0.3",
"waku": "1.0.0-alpha.7",
"zod": "^4.3.6"
},
+2 -2
View File
@@ -6,8 +6,8 @@
"dependencies": {
"@biomejs/biome": "^2.4.12",
"@orama/core": "^1.2.19",
"@takumi-rs/image-response": "^1.0.9",
"eslint": "^10.2.0",
"@takumi-rs/image-response": "^1.0.14",
"eslint": "^10.2.1",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
+2 -2
View File
@@ -56,8 +56,8 @@
"@types/node": "25.6.0",
"tinyglobby": "^0.2.16",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2"
"tsdown": "0.21.9",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=18.17.0"
+3 -3
View File
@@ -42,7 +42,7 @@
"estree-util-to-js": "^2.0.0",
"estree-util-value-to-estree": "^3.5.0",
"npm-to-yarn": "^3.0.1",
"oxc-transform": "^0.125.0",
"oxc-transform": "^0.126.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0",
"vfile": "^6.0.3",
@@ -58,8 +58,8 @@
"mdast-util-mdx": "^3.0.0",
"remark": "^15.0.1",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2"
"tsdown": "0.21.9",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@types/estree": "*",
+2 -2
View File
@@ -49,8 +49,8 @@
"fumadocs-core": "workspace:*",
"rimraf": "^6.0.0",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2",
"tsdown": "0.21.9",
"typescript": "^6.0.3",
"vfile": "^6.0.3"
},
"peerDependencies": {
+1 -1
View File
@@ -66,7 +66,7 @@
"react-dom": "^19.2.5",
"stable-hash": "^0.0.6",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"tsdown": "0.21.9",
"vite": "^8.0.8"
},
"peerDependencies": {
+1 -1
View File
@@ -51,7 +51,7 @@
"react": "^19.2.5",
"tinyglobby": "^0.2.16",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@types/mdx": "*",
+4 -4
View File
@@ -78,16 +78,16 @@
"@types/react": "^19.2.14",
"fumadocs-core": "workspace:*",
"mdast-util-directive": "^3.1.0",
"next": "16.2.3",
"next": "16.2.4",
"react": "^19.2.5",
"remark": "^15.0.1",
"remark-directive": "^4.0.0",
"remark-mdx": "^3.1.1",
"rolldown": "1.0.0-rc.15",
"rolldown": "1.0.0-rc.16",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"tsdown": "0.21.9",
"vite": "^8.0.8",
"webpack": "^5.106.1"
"webpack": "^5.106.2"
},
"peerDependencies": {
"@types/mdast": "*",
+4 -4
View File
@@ -1,4 +1,4 @@
import type { MetaData, PageData, Source, VirtualFile } from 'fumadocs-core/source';
import type { MetaData, PageData, StaticSource, VirtualFile } from 'fumadocs-core/source';
import * as path from 'node:path';
import type { DocCollection, DocsCollection, MetaCollection } from '@/config';
import type { StandardSchemaV1 } from '@standard-schema/spec';
@@ -30,7 +30,7 @@ export interface DocsCollectionEntry<
> {
docs: DocCollectionEntry<Name, Frontmatter, TC>[];
meta: MetaCollectionEntry<Meta>[];
toFumadocsSource: () => Source<{
toFumadocsSource: () => StaticSource<{
pageData: DocCollectionEntry<Name, Frontmatter, TC>;
metaData: MetaCollectionEntry<Meta>;
}>;
@@ -44,7 +44,7 @@ export interface AsyncDocsCollectionEntry<
> {
docs: AsyncDocCollectionEntry<Name, Frontmatter, TC>[];
meta: MetaCollectionEntry<Meta>[];
toFumadocsSource: () => Source<{
toFumadocsSource: () => StaticSource<{
pageData: AsyncDocCollectionEntry<Name, Frontmatter, TC>;
metaData: MetaCollectionEntry<Meta>;
}>;
@@ -230,7 +230,7 @@ export function toFumadocsSource<
>(
pages: Page[],
metas: Meta[],
): Source<{
): StaticSource<{
pageData: Page;
metaData: Meta;
}> {
+2 -2
View File
@@ -66,8 +66,8 @@
"fumadocs-core": "workspace:*",
"mdast-util-mdx": "^3.0.0",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2"
"tsdown": "0.21.9",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@types/react": "*",
+4 -4
View File
@@ -72,9 +72,9 @@
"devDependencies": {
"@fastify/deepmerge": "^3.2.1",
"@fumadocs/tailwind": "workspace:*",
"@scalar/api-client-react": "^2.0.1",
"@scalar/json-magic": "^0.12.5",
"@scalar/openapi-upgrader": "^0.2.4",
"@scalar/api-client-react": "^2.0.3",
"@scalar/json-magic": "^0.12.7",
"@scalar/openapi-upgrader": "^0.2.5",
"@types/js-yaml": "^4.0.9",
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
@@ -84,7 +84,7 @@
"json-schema-typed": "^8.0.2",
"tailwindcss": "^4.2.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@scalar/api-client-react": "2.x.x",
+2 -2
View File
@@ -1,11 +1,11 @@
import { MethodLabel } from '@/ui/components/method-label';
import {
PathUtils,
type StaticSource,
type LoaderPlugin,
type MetaData,
type PageData,
type PageTreeTransformer,
type Source,
type VirtualFile,
} from 'fumadocs-core/source';
import type { OpenAPIServer } from '@/server/create';
@@ -101,7 +101,7 @@ export async function openapiSource(
server: OpenAPIServer,
options: OpenAPISourceOptions = {},
): Promise<
Source<{
StaticSource<{
metaData: MetaData;
pageData: OpenAPIPageData;
}>
+8 -8
View File
@@ -33,11 +33,11 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"@ai-sdk/react": "^3.0.163",
"@openrouter/ai-sdk-provider": "^2.6.0",
"@ai-sdk/react": "^3.0.170",
"@openrouter/ai-sdk-provider": "^2.8.0",
"@radix-ui/react-presence": "^1.1.5",
"@takumi-rs/image-response": "^1.0.9",
"ai": "^6.0.161",
"@takumi-rs/image-response": "^1.0.14",
"ai": "^6.0.168",
"chokidar": "^5.0.0",
"class-variance-authority": "^0.7.1",
"commander": "^14.0.3",
@@ -48,7 +48,7 @@
"remark-gfm": "^4.0.1",
"tinyglobby": "^0.2.16",
"unist-util-visit": "^5.1.0",
"unrun": "^0.2.35",
"unrun": "^0.2.36",
"waku": "1.0.0-alpha.7",
"zod": "^4.3.6"
},
@@ -66,7 +66,7 @@
"@types/unist": "^3.0.3",
"beautiful-mermaid": "^1.1.3",
"hast-util-to-jsx-runtime": "^2.3.6",
"hono": "^4.12.13",
"hono": "^4.12.14",
"ignore": "^7.0.5",
"katex": "0.16.45",
"lucide-react": "^1.8.0",
@@ -79,8 +79,8 @@
"remark-rehype": "^11.1.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"tsdown": "0.21.8",
"typescript": "^6.0.2",
"tsdown": "0.21.9",
"typescript": "^6.0.3",
"unified": "^11.0.5",
"vfile": "^6.0.3",
"vite": "^8.0.8"
+1 -1
View File
@@ -54,7 +54,7 @@
"fumadocs-core": "workspace:*",
"fumadocs-ui": "workspace:*",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@types/react": "*",
+2 -2
View File
@@ -158,7 +158,7 @@
"devDependencies": {
"@fumadocs/cli": "workspace:*",
"@tailwindcss/cli": "^4.2.2",
"@tsdown/css": "^0.21.8",
"@tsdown/css": "^0.21.9",
"@types/hast": "^3.0.4",
"@types/mdx": "^2.0.13",
"@types/node": "^25.6.0",
@@ -169,7 +169,7 @@
"react-medium-image-zoom": "^5.4.3",
"tailwindcss": "^4.2.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"tsdown": "0.21.9",
"unified": "^11.0.5"
},
"peerDependencies": {
+1 -1
View File
@@ -29,7 +29,7 @@
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@types/react": "*",
+1 -1
View File
@@ -46,7 +46,7 @@
"react-error-boundary": "^6.1.1",
"tailwindcss": "^4.2.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@types/react": "*",
+1 -1
View File
@@ -36,7 +36,7 @@
"postcss-selector-parser": "^7.1.1",
"tailwindcss": "^4.2.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8"
"tsdown": "0.21.9"
},
"peerDependencies": {
"@tailwindcss/oxide": "^4.0.0",
+3 -3
View File
@@ -50,7 +50,7 @@
"mdast-util-gfm": "^3.1.0",
"mdast-util-to-hast": "^13.2.1",
"tailwind-merge": "^3.5.0",
"twoslash": "^0.3.7"
"twoslash": "^0.3.8"
},
"devDependencies": {
"@types/hast": "^3.0.4",
@@ -61,8 +61,8 @@
"fumadocs-ui": "workspace:*",
"shiki": "^4.0.2",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2"
"tsdown": "0.21.9",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@types/react": "*",
+2 -2
View File
@@ -60,8 +60,8 @@
"fumadocs-ui": "workspace:*",
"mdast-util-mdx": "^3.0.0",
"tsconfig": "workspace:*",
"tsdown": "0.21.8",
"typescript": "^6.0.2",
"tsdown": "0.21.9",
"typescript": "^6.0.3",
"vfile": "^6.0.3"
},
"peerDependencies": {
+1821 -1655
View File
File diff suppressed because it is too large Load Diff