mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-17 15:47:14 +00:00
chore(docs): bump dependencies and adapt to fumadocs-core 16.15.11
Updates the docs site's dependencies, including the Fumadocs packages, Next 16.3.5, React 19.3 and three majors: mermaid 12, vitest 5 and pnpm 12. Two code changes follow from the bump: - fumadocs-core 16.15.11 makes `llms().index()` return a Promise, so the llms.txt route now awaits it; tsc rejected the old synchronous call - lucide-react 1.46 renamed the BookMarked icon to BookBookmark. The old name is still exported, but lucideIconsPlugin looks names up in lucide's `icons` map, which only has the new one, so the Reference section lost its sidebar icon in all four locales. The build only printed a warning. minimumReleaseAgeExclude gains entries for the newly installed versions. Checked with typecheck, lint, vitest (106 tests) and a full build: no plugin warnings, and each locale's rendered /docs page contains the book-bookmark icon.
This commit is contained in:
@@ -3,6 +3,6 @@ import { llms } from 'fumadocs-core/source';
|
|||||||
|
|
||||||
export const revalidate = false;
|
export const revalidate = false;
|
||||||
|
|
||||||
export function GET() {
|
export async function GET() {
|
||||||
return new Response(llms(source).index());
|
return new Response(await llms(source).index());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title": "Reference",
|
"title": "Reference",
|
||||||
"icon": "BookMarked",
|
"icon": "BookBookmark",
|
||||||
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title": "مرجع",
|
"title": "مرجع",
|
||||||
"icon": "BookMarked",
|
"icon": "BookBookmark",
|
||||||
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title": "Справочник",
|
"title": "Справочник",
|
||||||
"icon": "BookMarked",
|
"icon": "BookBookmark",
|
||||||
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title": "参考",
|
"title": "参考",
|
||||||
"icon": "BookMarked",
|
"icon": "BookBookmark",
|
||||||
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
"pages": ["env-vars", "database", "ports-firewall", "api"]
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-20
@@ -18,34 +18,34 @@
|
|||||||
"test:watch": "vitest"
|
"test:watch": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fumadocs-core": "^16.15.5",
|
"fumadocs-core": "^16.15.11",
|
||||||
"fumadocs-docgen": "^3.1.0",
|
"fumadocs-docgen": "^3.1.1",
|
||||||
"fumadocs-mdx": "^15.4.0",
|
"fumadocs-mdx": "^15.4.1",
|
||||||
"fumadocs-openapi": "^11.4.0",
|
"fumadocs-openapi": "^11.4.3",
|
||||||
"fumadocs-ui": "^16.15.5",
|
"fumadocs-ui": "^16.15.11",
|
||||||
"lucide-react": "^1.39.0",
|
"lucide-react": "^1.46.0",
|
||||||
"mermaid": "^11.17.2",
|
"mermaid": "^12.0.0",
|
||||||
"next": "16.3.4",
|
"next": "16.3.5",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "^0.4.6",
|
||||||
"react": "^19.2.8",
|
"react": "^19.3.0",
|
||||||
"react-dom": "^19.2.8",
|
"react-dom": "^19.3.0",
|
||||||
"react-qr-code": "^2.2.0",
|
"react-qr-code": "^2.2.0",
|
||||||
"tailwind-merge": "^3.6.0",
|
"tailwind-merge": "^3.7.0",
|
||||||
"zbsearch": "4.0.0",
|
"zbsearch": "4.0.0",
|
||||||
"zod": "^4.5.4"
|
"zod": "^4.6.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/postcss": "^4.3.3",
|
"@tailwindcss/postcss": "^4.3.3",
|
||||||
"@types/mdx": "^2.0.14",
|
"@types/mdx": "^2.0.14",
|
||||||
"@types/node": "^26.4.1",
|
"@types/node": "^26.5.1",
|
||||||
"@types/react": "^19.2.18",
|
"@types/react": "^19.3.0",
|
||||||
"@types/react-dom": "^19.2.5",
|
"@types/react-dom": "^19.3.0",
|
||||||
"oxfmt": "0.66.0",
|
"oxfmt": "0.68.0",
|
||||||
"oxlint": "1.81.0",
|
"oxlint": "1.83.0",
|
||||||
"postcss": "^8.5.26",
|
"postcss": "^8.5.28",
|
||||||
"tailwindcss": "^4.3.3",
|
"tailwindcss": "^4.3.3",
|
||||||
"typescript": "7.0.2",
|
"typescript": "7.0.2",
|
||||||
"vitest": "^4.1.11"
|
"vitest": "^5.0.1"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@11.25.0"
|
"packageManager": "pnpm@12.4.2"
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1284
-1099
File diff suppressed because it is too large
Load Diff
@@ -12,9 +12,16 @@ minimumReleaseAgeExclude:
|
|||||||
- mermaid@11.17.0
|
- mermaid@11.17.0
|
||||||
- lucide-react@1.33.0
|
- lucide-react@1.33.0
|
||||||
- postcss@8.5.26
|
- postcss@8.5.26
|
||||||
- fumadocs-mdx@15.3.0
|
- fumadocs-mdx@15.3.0 || 15.4.1
|
||||||
- '@fumadocs/api-docs@0.2.7'
|
- '@fumadocs/api-docs@0.2.7 || 0.2.9'
|
||||||
- '@types/node@26.4.1'
|
- '@types/node@26.4.1'
|
||||||
- fumadocs-core@16.15.5
|
- fumadocs-core@16.15.5 || 16.15.11
|
||||||
- fumadocs-openapi@11.4.0
|
- fumadocs-openapi@11.4.0 || 11.4.3
|
||||||
- fumadocs-ui@16.15.5
|
- fumadocs-ui@16.15.5 || 16.15.11
|
||||||
|
- '@fumadocs/tailwind@0.1.2'
|
||||||
|
- '@fumari/image-size@0.1.1'
|
||||||
|
- '@fumari/stf@1.1.1'
|
||||||
|
- '@vitest/mocker@5.0.1'
|
||||||
|
- '@vitest/spy@5.0.1'
|
||||||
|
- fumadocs-docgen@3.1.1
|
||||||
|
- vitest@5.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user