Chore: bump deps

This commit is contained in:
Fuma Nama
2025-10-28 23:58:06 +08:00
parent c2bc60b6b9
commit 3668bafcad
42 changed files with 1509 additions and 1286 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'create-fumadocs-app': patch
---
bump deps & update templates
+15 -15
View File
@@ -12,8 +12,8 @@
"start": "next start"
},
"dependencies": {
"@ai-sdk/openai-compatible": "^1.0.22",
"@ai-sdk/react": "^2.0.76",
"@ai-sdk/openai-compatible": "^1.0.23",
"@ai-sdk/react": "^2.0.81",
"@fumadocs/mdx-remote": "workspace:*",
"@mixedbread/sdk": "^0.35.1",
"@orama/core": "^1.2.13",
@@ -22,12 +22,12 @@
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-presence": "^1.1.5",
"@radix-ui/react-tooltip": "^1.2.8",
"@shikijs/rehype": "^3.13.0",
"@shikijs/transformers": "^3.13.0",
"@takumi-rs/core": "^0.37.0",
"@takumi-rs/helpers": "^0.37.0",
"@takumi-rs/image-response": "^0.37.0",
"ai": "^5.0.76",
"@shikijs/rehype": "^3.14.0",
"@shikijs/transformers": "^3.14.0",
"@takumi-rs/core": "^0.40.1",
"@takumi-rs/helpers": "^0.40.1",
"@takumi-rs/image-response": "^0.40.1",
"ai": "^5.0.81",
"class-variance-authority": "^0.7.1",
"d3-force": "^3.0.0",
"estree-util-build-jsx": "^3.0.1",
@@ -42,8 +42,8 @@
"fumadocs-ui": "workspace:*",
"hast-util-to-jsx-runtime": "^2.3.6",
"katex": "^0.16.25",
"lucide-react": "^0.546.0",
"mermaid": "^11.12.0",
"lucide-react": "^0.548.0",
"mermaid": "^11.12.1",
"next": "16.0.0",
"next-themes": "^0.4.6",
"octokit": "^5.0.4",
@@ -59,7 +59,7 @@
"remark-mdx": "^3.1.1",
"remark-rehype": "^11.1.2",
"scroll-into-view-if-needed": "^3.1.0",
"shiki": "^3.13.0",
"shiki": "^3.14.0",
"tailwind-merge": "^3.3.1",
"twoslash": "^0.3.4",
"unist-util-visit": "^5.0.0",
@@ -70,7 +70,7 @@
"@next/bundle-analyzer": "16.0.0",
"@next/env": "16.0.0",
"@next/eslint-plugin-next": "16.0.0",
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/d3-force": "^3.0.10",
"@types/estree": "^1.0.8",
"@types/hast": "^3.0.4",
@@ -79,14 +79,14 @@
"@types/node": "24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"algoliasearch": "5.40.1",
"algoliasearch": "5.41.0",
"browserslist-config-baseline": "^0.5.0",
"eslint-config-custom": "workspace:*",
"gray-matter": "^4.0.3",
"next-validate-link": "^1.6.3",
"postcss": "^8.5.6",
"shadcn": "3.4.2",
"tailwindcss": "^4.1.15",
"shadcn": "3.5.0",
"tailwindcss": "^4.1.16",
"tailwindcss-animate": "^1.0.7",
"tinyexec": "^1.0.1",
"tinyglobby": "^0.2.15",
+4 -4
View File
@@ -18,16 +18,16 @@
"react-router": "^7.9.4"
},
"devDependencies": {
"@remix-run/node-fetch-server": "^0.10.0",
"@tailwindcss/vite": "^4.1.15",
"@remix-run/node-fetch-server": "^0.11.0",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"express": "^5.1.0",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11"
"vite": "^7.1.12"
}
}
+3 -3
View File
@@ -15,15 +15,15 @@
"next": "16.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"shiki": "^3.13.0"
"shiki": "^3.14.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/node": "24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+3 -3
View File
@@ -11,19 +11,19 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^0.546.0",
"lucide-react": "^0.548.0",
"next": "16.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+2 -2
View File
@@ -16,12 +16,12 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+2 -2
View File
@@ -17,12 +17,12 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+3 -3
View File
@@ -17,16 +17,16 @@
"next": "16.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"shiki": "^3.13.0"
"shiki": "^3.14.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+2 -2
View File
@@ -19,13 +19,13 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
+3 -3
View File
@@ -22,15 +22,15 @@
},
"devDependencies": {
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+4 -4
View File
@@ -21,16 +21,16 @@
},
"devDependencies": {
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-rsc": "^0.5.0",
"@vitejs/plugin-rsc": "^0.5.1",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+4 -4
View File
@@ -20,17 +20,17 @@
"react-router": "^7.9.4"
},
"devDependencies": {
"serve": "^14.2.5",
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"serve": "^14.2.5",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+3 -3
View File
@@ -21,15 +21,15 @@
},
"devDependencies": {
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+8 -8
View File
@@ -10,26 +10,26 @@
},
"dependencies": {
"@orama/tokenizers": "^3.1.16",
"@tanstack/react-router": "^1.133.21",
"@tanstack/react-router-devtools": "^1.133.21",
"@tanstack/react-start": "^1.133.21",
"@tanstack/react-router": "^1.133.32",
"@tanstack/react-router-devtools": "^1.133.34",
"@tanstack/react-start": "^1.133.34",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-static": "^0.546.0",
"lucide-static": "^0.548.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwind-merge": "^3.3.1",
"vite": "^7.1.11"
"vite": "^7.1.12"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"tailwindcss": "^4.1.15",
"@vitejs/plugin-react": "^5.1.0",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4"
}
+9 -9
View File
@@ -9,27 +9,27 @@
"start": "node dist/server/server.js"
},
"dependencies": {
"@tanstack/react-router": "^1.133.21",
"@tanstack/react-router-devtools": "^1.133.21",
"@tanstack/react-start": "^1.133.21",
"@tanstack/start-static-server-functions": "^1.133.20",
"@tanstack/react-router": "^1.133.32",
"@tanstack/react-router-devtools": "^1.133.34",
"@tanstack/react-start": "^1.133.34",
"@tanstack/start-static-server-functions": "^1.133.34",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-static": "^0.546.0",
"lucide-static": "^0.548.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwind-merge": "^3.3.1",
"vite": "^7.1.11"
"vite": "^7.1.12"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"tailwindcss": "^4.1.15",
"@vitejs/plugin-react": "^5.1.0",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4"
}
+8 -8
View File
@@ -9,26 +9,26 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
"@tanstack/react-router": "^1.133.21",
"@tanstack/react-router-devtools": "^1.133.21",
"@tanstack/react-start": "^1.133.21",
"@tanstack/react-router": "^1.133.32",
"@tanstack/react-router-devtools": "^1.133.34",
"@tanstack/react-start": "^1.133.34",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-static": "^0.546.0",
"lucide-static": "^0.548.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwind-merge": "^3.3.1",
"vite": "^7.1.11"
"vite": "^7.1.12"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"tailwindcss": "^4.1.15",
"@vitejs/plugin-react": "^5.1.0",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4"
}
+26 -19
View File
@@ -73,28 +73,35 @@ function Page() {
);
}
function transformPageTree(tree: PageTree.Folder): PageTree.Folder {
function transform<T extends PageTree.Item | PageTree.Separator>(item: T) {
if (typeof item.icon !== 'string') return item;
function transformPageTree(root: PageTree.Root): PageTree.Root {
function mapNode<T extends PageTree.Node>(item: T): T {
if (typeof item.icon === 'string') {
item = {
...item,
icon: (
<span
dangerouslySetInnerHTML={{
__html: item.icon,
}}
/>
),
};
}
return {
...item,
icon: (
<span
dangerouslySetInnerHTML={{
__html: item.icon,
}}
/>
),
};
if (item.type === 'folder') {
return {
...item,
index: item.index ? mapNode(item.index) : undefined,
children: item.children.map(mapNode),
};
}
return item;
}
return {
...tree,
index: tree.index ? transform(tree.index) : undefined,
children: tree.children.map((item) => {
if (item.type === 'folder') return transformPageTree(item);
return transform(item);
}),
...root,
children: root.children.map(mapNode),
fallback: root.fallback ? transformPageTree(root.fallback) : undefined,
};
}
+4 -4
View File
@@ -16,17 +16,17 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-server-dom-webpack": "^19.2.0",
"waku": "^0.26.1"
"waku": "^0.27.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+4 -4
View File
@@ -17,18 +17,18 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-server-dom-webpack": "^19.2.0",
"waku": "^0.26.1"
"waku": "^0.27.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "7.1.11",
"vite": "7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+4 -4
View File
@@ -15,17 +15,17 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-server-dom-webpack": "^19.2.0",
"waku": "^0.26.1"
"waku": "^0.27.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+3 -3
View File
@@ -19,11 +19,11 @@
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@eslint/js": "^9.38.0",
"bun": "^1.3.0",
"bun": "^1.3.1",
"concurrently": "^9.2.1",
"eslint": "^9.38.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "7.0.0",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-tailwindcss": "^3.18.2",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
@@ -32,7 +32,7 @@
"turbo": "2.5.8",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2",
"vitest": "^4.0.0"
"vitest": "^4.0.4"
},
"packageManager": "[email protected]",
"engines": {
+2 -2
View File
@@ -34,7 +34,7 @@
},
"dependencies": {
"@clack/prompts": "^0.11.0",
"commander": "^14.0.1",
"commander": "^14.0.2",
"package-manager-detector": "^1.5.0",
"picocolors": "^1.1.1",
"tinyexec": "^1.0.1",
@@ -44,7 +44,7 @@
"devDependencies": {
"@types/node": "24.9.1",
"eslint-config-custom": "workspace:*",
"shadcn": "3.4.2",
"shadcn": "3.5.0",
"tsconfig": "workspace:*"
},
"publishConfig": {
+7 -7
View File
@@ -110,8 +110,8 @@
"dependencies": {
"@formatjs/intl-localematcher": "^0.6.2",
"@orama/orama": "^3.1.16",
"@shikijs/rehype": "^3.13.0",
"@shikijs/transformers": "^3.13.0",
"@shikijs/rehype": "^3.14.0",
"@shikijs/transformers": "^3.14.0",
"github-slugger": "^2.0.0",
"hast-util-to-estree": "^3.1.3",
"hast-util-to-jsx-runtime": "^2.3.6",
@@ -123,14 +123,14 @@
"remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2",
"scroll-into-view-if-needed": "^3.1.0",
"shiki": "^3.13.0",
"shiki": "^3.14.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@mdx-js/mdx": "^3.1.1",
"@mixedbread/sdk": "^0.35.1",
"@orama/core": "^1.2.13",
"@tanstack/react-router": "^1.133.21",
"@tanstack/react-router": "^1.133.32",
"@types/estree-jsx": "^1.0.5",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
@@ -138,9 +138,9 @@
"@types/node": "24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"algoliasearch": "5.40.1",
"algoliasearch": "5.41.0",
"eslint-config-custom": "workspace:*",
"lucide-react": "^0.546.0",
"lucide-react": "^0.548.0",
"mdast-util-mdx-jsx": "^3.2.0",
"mdast-util-mdxjs-esm": "^2.0.1",
"next": "16.0.0",
@@ -151,7 +151,7 @@
"typescript": "^5.9.3",
"unified": "^11.0.5",
"vfile": "^6.0.3",
"waku": "^0.26.1"
"waku": "^0.27.0"
},
"peerDependencies": {
"@mixedbread/sdk": "^0.19.0",
+2 -2
View File
@@ -4,10 +4,10 @@
"private": true,
"description": "Used to track dependency versions in create-fumadocs-app",
"dependencies": {
"eslint": "^9.38.0",
"@biomejs/biome": "^2.2.6",
"@biomejs/biome": "^2.3.1",
"@eslint/eslintrc": "^3.3.1",
"@orama/core": "^1.2.13",
"eslint": "^9.38.0",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*"
+1 -1
View File
@@ -41,7 +41,7 @@
"dependencies": {
"@clack/prompts": "^0.11.0",
"@commander-js/extra-typings": "^14.0.0",
"commander": "^14.0.1",
"commander": "^14.0.2",
"picocolors": "^1.1.1",
"tinyexec": "^1.0.1",
"ts-morph": "^27.0.2"
+1
View File
@@ -49,6 +49,7 @@ async function main() {
switch (base) {
case 'node_modules':
case 'dist':
case 'out':
case 'build':
return false;
default:
@@ -11,19 +11,19 @@
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^0.546.0",
"lucide-react": "^0.548.0",
"next": "16.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.15",
"@tailwindcss/postcss": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3"
}
}
@@ -13,7 +13,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"paths": {
"@/*": ["./*"],
@@ -25,6 +25,12 @@
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
}
@@ -20,17 +20,17 @@
"react-router": "^7.9.4"
},
"devDependencies": {
"serve": "^14.2.5",
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"serve": "^14.2.5",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
@@ -21,15 +21,15 @@
},
"devDependencies": {
"@react-router/dev": "^7.9.4",
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"react-router-devtools": "^5.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
@@ -9,26 +9,26 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
"@tanstack/react-router": "^1.133.21",
"@tanstack/react-router-devtools": "^1.133.21",
"@tanstack/react-start": "^1.133.21",
"@tanstack/react-router": "^1.133.32",
"@tanstack/react-router-devtools": "^1.133.34",
"@tanstack/react-start": "^1.133.34",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-static": "^0.546.0",
"lucide-static": "^0.548.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwind-merge": "^3.3.1",
"vite": "^7.1.11"
"vite": "^7.1.12"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"tailwindcss": "^4.1.15",
"@vitejs/plugin-react": "^5.1.0",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4"
}
@@ -73,28 +73,35 @@ function Page() {
);
}
function transformPageTree(tree: PageTree.Folder): PageTree.Folder {
function transform<T extends PageTree.Item | PageTree.Separator>(item: T) {
if (typeof item.icon !== 'string') return item;
function transformPageTree(root: PageTree.Root): PageTree.Root {
function mapNode<T extends PageTree.Node>(item: T): T {
if (typeof item.icon === 'string') {
item = {
...item,
icon: (
<span
dangerouslySetInnerHTML={{
__html: item.icon,
}}
/>
),
};
}
return {
...item,
icon: (
<span
dangerouslySetInnerHTML={{
__html: item.icon,
}}
/>
),
};
if (item.type === 'folder') {
return {
...item,
index: item.index ? mapNode(item.index) : undefined,
children: item.children.map(mapNode),
};
}
return item;
}
return {
...tree,
index: tree.index ? transform(tree.index) : undefined,
children: tree.children.map((item) => {
if (item.type === 'folder') return transformPageTree(item);
return transform(item);
}),
...root,
children: root.children.map(mapNode),
fallback: root.fallback ? transformPageTree(root.fallback) : undefined,
};
}
@@ -15,17 +15,17 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-server-dom-webpack": "^19.2.0",
"waku": "^0.26.1"
"waku": "^0.27.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.15",
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}
+1 -1
View File
@@ -38,7 +38,7 @@
},
"dependencies": {
"estree-util-to-js": "^2.0.0",
"estree-util-value-to-estree": "^3.4.1",
"estree-util-value-to-estree": "^3.5.0",
"npm-to-yarn": "^3.0.1",
"oxc-transform": "^0.95.0",
"unist-util-visit": "^5.0.0",
+3 -3
View File
@@ -85,7 +85,7 @@
"@standard-schema/spec": "^1.0.0",
"chokidar": "^4.0.3",
"esbuild": "^0.25.11",
"estree-util-value-to-estree": "^3.4.1",
"estree-util-value-to-estree": "^3.5.0",
"js-yaml": "^4.1.0",
"lru-cache": "^11.2.2",
"mdast-util-to-markdown": "^2.1.2",
@@ -101,7 +101,7 @@
},
"devDependencies": {
"@fumadocs/mdx-remote": "workspace:*",
"@types/bun": "^1.3.0",
"@types/bun": "^1.3.1",
"@types/js-yaml": "^4.0.9",
"@types/mdast": "^4.0.4",
"@types/mdx": "^2.0.13",
@@ -120,7 +120,7 @@
"rollup": "^4.52.5",
"tsconfig": "workspace:*",
"vfile": "^6.0.3",
"vite": "^7.1.11",
"vite": "^7.1.12",
"webpack": "^5.102.1"
},
"peerDependencies": {
+1 -1
View File
@@ -84,7 +84,7 @@
"eslint-config-custom": "workspace:*",
"json-schema-typed": "^8.0.1",
"openapi-types": "^12.1.3",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"tsc-alias": "^1.8.16",
"tsconfig": "workspace:*"
},
+4 -4
View File
@@ -20,16 +20,16 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.4",
"@vitejs/plugin-rsc": "^0.5.0",
"commander": "^14.0.1",
"@vitejs/plugin-react": "^5.1.0",
"@vitejs/plugin-rsc": "^0.5.1",
"commander": "^14.0.2",
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"fumadocs-ui": "workspace:*",
"picocolors": "^1.1.1",
"react-router": "^7.9.4",
"tinyglobby": "^0.2.15",
"vite": "^7.1.11",
"vite": "^7.1.12",
"zod": "^4.1.12"
},
"devDependencies": {
+1 -1
View File
@@ -45,7 +45,7 @@
"eslint-config-custom": "workspace:*",
"fumadocs-core": "workspace:*",
"fumadocs-ui": "workspace:*",
"lucide-react": "^0.546.0",
"lucide-react": "^0.548.0",
"tsconfig": "workspace:*"
},
"peerDependencies": {
+2 -2
View File
@@ -42,11 +42,11 @@
},
"dependencies": {
"@radix-ui/react-popover": "^1.1.15",
"@shikijs/twoslash": "^3.13.0",
"@shikijs/twoslash": "^3.14.0",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-gfm": "^3.1.0",
"mdast-util-to-hast": "^13.2.0",
"shiki": "^3.13.0",
"shiki": "^3.14.0",
"tailwind-merge": "^3.3.1",
"twoslash": "^0.3.4"
},
+1 -1
View File
@@ -35,7 +35,7 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"estree-util-value-to-estree": "^3.4.1",
"estree-util-value-to-estree": "^3.5.0",
"hast-util-to-estree": "^3.1.3",
"hast-util-to-jsx-runtime": "^2.3.6",
"remark": "^15.0.1",
+2 -2
View File
@@ -136,14 +136,14 @@
"devDependencies": {
"@fumadocs/cli": "workspace:*",
"@next/eslint-plugin-next": "16.0.0",
"@tailwindcss/cli": "^4.1.15",
"@tailwindcss/cli": "^4.1.16",
"@types/lodash.merge": "^4.6.9",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"eslint-config-custom": "workspace:*",
"fumadocs-core": "workspace:*",
"next": "16.0.0",
"tailwindcss": "^4.1.15",
"tailwindcss": "^4.1.16",
"tsc-alias": "^1.8.16",
"tsconfig": "workspace:*"
},
+1306 -1109
View File
File diff suppressed because it is too large Load Diff