mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
chore: bump deps
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
'@fumadocs/api-docs': patch
|
||||
'@fumadocs/asyncapi': patch
|
||||
'fumadocs-ui': patch
|
||||
'@fumadocs/base-ui': patch
|
||||
'fumadocs-openapi': patch
|
||||
'@fumadocs/story': patch
|
||||
---
|
||||
|
||||
Use stable `fuma-translate`
|
||||
+17
-17
@@ -14,23 +14,23 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ai-sdk/openai-compatible": "^2.0.48",
|
||||
"@ai-sdk/react": "^3.0.198",
|
||||
"@ai-sdk/react": "^3.0.201",
|
||||
"@floating-ui/react-dom": "^2.1.8",
|
||||
"@fumadocs/asyncapi": "workspace:*",
|
||||
"@fumadocs/story": "workspace:*",
|
||||
"@llmgateway/ai-sdk-provider": "^3.8.0",
|
||||
"@mixedbread/sdk": "^0.73.0",
|
||||
"@mixedbread/sdk": "^0.73.1",
|
||||
"@openrouter/ai-sdk-provider": "^2.9.0",
|
||||
"@orama/core": "^1.2.19",
|
||||
"@orama/orama": "^3.1.18",
|
||||
"@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",
|
||||
"@radix-ui/react-dialog": "^1.1.16",
|
||||
"@radix-ui/react-hover-card": "^1.1.16",
|
||||
"@radix-ui/react-presence": "^1.1.6",
|
||||
"@radix-ui/react-tooltip": "^1.2.9",
|
||||
"@shikijs/transformers": "^4.2.0",
|
||||
"@takumi-rs/image-response": "^1.7.0",
|
||||
"ai": "^6.0.196",
|
||||
"@takumi-rs/image-response": "^1.8.1",
|
||||
"ai": "^6.0.199",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"d3-force": "^3.0.0",
|
||||
"estree-util-build-jsx": "^3.0.1",
|
||||
@@ -51,10 +51,10 @@
|
||||
"lucide-react": "^1.17.0",
|
||||
"mermaid": "^11.15.0",
|
||||
"motion": "^12.40.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"next-themes": "^0.4.6",
|
||||
"octokit": "^5.0.5",
|
||||
"oxc-transform": "^0.134.0",
|
||||
"oxc-transform": "^0.135.0",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-force-graph-2d": "^1.29.1",
|
||||
@@ -73,16 +73,16 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fumadocs/cli": "workspace:*",
|
||||
"@next/bundle-analyzer": "16.2.7",
|
||||
"@next/env": "16.2.7",
|
||||
"@next/bundle-analyzer": "16.2.9",
|
||||
"@next/env": "16.2.9",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/d3-force": "^3.0.10",
|
||||
"@types/estree": "^1.0.9",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/three": "^0.184.1",
|
||||
"algoliasearch": "5.53.0",
|
||||
@@ -91,7 +91,7 @@
|
||||
"mcp-handler": "^1.1.0",
|
||||
"next-validate-link": "^1.6.6",
|
||||
"postcss": "^8.5.15",
|
||||
"shadcn": "4.10.0",
|
||||
"shadcn": "4.11.0",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tinyexec": "^1.2.4",
|
||||
@@ -100,7 +100,7 @@
|
||||
"tsconfig": "workspace:*",
|
||||
"typescript": "^6.0.3",
|
||||
"unified": "^11.0.5",
|
||||
"unrun": "^0.3.0"
|
||||
"unrun": "^0.3.1"
|
||||
},
|
||||
"browserslist": [
|
||||
"extends browserslist-config-baseline/2024"
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^6.0.2",
|
||||
"@astrojs/mdx": "^6.0.3",
|
||||
"@astrojs/react": "^5.0.7",
|
||||
"@orama/orama": "^3.1.18",
|
||||
"astro": "^6.4.4",
|
||||
"astro": "^6.4.5",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"sharp": "^0.34.5"
|
||||
"sharp": "^0.35.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"tailwindcss": "^4.3.0"
|
||||
}
|
||||
|
||||
@@ -13,15 +13,15 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"shiki": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"rimraf": "^6.1.3",
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"@fumadocs/content-collections": "workspace:*",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
},
|
||||
@@ -19,8 +19,8 @@
|
||||
"@content-collections/core": "^0.15.1",
|
||||
"@content-collections/mdx": "^0.2.2",
|
||||
"@content-collections/next": "^0.2.11",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"github-slugger": "^2.0.0",
|
||||
"html-react-parser": "^6.1.3",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"shiki": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-day-picker": "^10.0.1",
|
||||
"react-dom": "^19.2.7",
|
||||
"shadcn": "4.10.0"
|
||||
"shadcn": "4.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"serve": "^14.2.6",
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-obsidian": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -13,15 +13,15 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-openapi": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"shiki": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"rimraf": "^6.1.3",
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-python": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -15,22 +15,22 @@
|
||||
"dependencies": {
|
||||
"@fumadocs/language": "workspace:*",
|
||||
"@orama/tokenizers": "^3.1.18",
|
||||
"@react-router/node": "^7.16.0",
|
||||
"@react-router/serve": "^7.16.0",
|
||||
"@react-router/node": "^7.17.0",
|
||||
"@react-router/serve": "^7.17.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"isbot": "^5.1.40",
|
||||
"isbot": "^5.1.42",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router": "^7.16.0"
|
||||
"react-router": "^7.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-router/dev": "^7.16.0",
|
||||
"@react-router/dev": "^7.17.0",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"react-router-devtools": "^6.2.1",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
"types:check": "react-router typegen && fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-router/node": "^7.16.0",
|
||||
"@react-router/serve": "^7.16.0",
|
||||
"@react-router/node": "^7.17.0",
|
||||
"@react-router/serve": "^7.17.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"isbot": "^5.1.40",
|
||||
"isbot": "^5.1.42",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router": "^7.16.0"
|
||||
"react-router": "^7.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-router/dev": "^7.16.0",
|
||||
"@react-router/dev": "^7.17.0",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"react-router-devtools": "^6.2.1",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
"types:check": "react-router typegen && fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-router/node": "^7.16.0",
|
||||
"@react-router/serve": "^7.16.0",
|
||||
"@react-router/node": "^7.17.0",
|
||||
"@react-router/serve": "^7.17.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"isbot": "^5.1.40",
|
||||
"isbot": "^5.1.42",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router": "^7.16.0"
|
||||
"react-router": "^7.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-router/dev": "^7.16.0",
|
||||
"@react-router/dev": "^7.17.0",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-rsc": "^0.5.27",
|
||||
"react-router-devtools": "^6.2.1",
|
||||
|
||||
@@ -10,23 +10,23 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@orama/orama": "^3.1.18",
|
||||
"@react-router/node": "^7.16.0",
|
||||
"@react-router/node": "^7.17.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"isbot": "^5.1.40",
|
||||
"isbot": "^5.1.42",
|
||||
"lucide-react": "^1.17.0",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router": "^7.16.0",
|
||||
"react-router": "^7.17.0",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-router/dev": "^7.16.0",
|
||||
"@react-router/dev": "^7.17.0",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"react-router-devtools": "^6.2.1",
|
||||
"serve": "^14.2.6",
|
||||
|
||||
@@ -9,25 +9,25 @@
|
||||
"types:check": "react-router typegen && fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-router/node": "^7.16.0",
|
||||
"@react-router/serve": "^7.16.0",
|
||||
"@takumi-rs/image-response": "^1.7.0",
|
||||
"@react-router/node": "^7.17.0",
|
||||
"@react-router/serve": "^7.17.0",
|
||||
"@takumi-rs/image-response": "^1.8.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"isbot": "^5.1.40",
|
||||
"isbot": "^5.1.42",
|
||||
"lucide-react": "^1.17.0",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-router": "^7.16.0",
|
||||
"react-router": "^7.17.0",
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-router/dev": "^7.16.0",
|
||||
"@react-router/dev": "^7.17.0",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"react-router-devtools": "^6.2.1",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
"dependencies": {
|
||||
"@fumadocs/language": "workspace:*",
|
||||
"@orama/tokenizers": "^3.1.18",
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -26,9 +26,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fumadocs/local-md": "workspace:*",
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"lucide-react": "^1.17.0",
|
||||
@@ -25,9 +25,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"nitro": "3.0.260603-beta",
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
"types:check": "fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -24,9 +24,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"nitro": "3.0.260603-beta",
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
"types:check": "fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-openapi": "workspace:*",
|
||||
@@ -27,9 +27,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"nitro": "3.0.260603-beta",
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@orama/orama": "^3.1.18",
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/start-static-server-functions": "1.167.12",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"@tanstack/start-static-server-functions": "1.167.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -27,9 +27,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"nitro": "3.0.260603-beta",
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fumadocs/story": "workspace:*",
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -25,9 +25,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"tailwindcss": "^4.3.0",
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
"types:check": "fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@tanstack/react-router-devtools": "1.167.0",
|
||||
"@tanstack/react-start": "1.168.19",
|
||||
"@tanstack/react-start": "1.168.25",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -25,9 +25,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"nitro": "3.0.260603-beta",
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"types:check": "fumadocs-mdx && tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@takumi-rs/image-response": "^1.7.0",
|
||||
"@takumi-rs/image-response": "^1.8.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
@@ -23,9 +23,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3",
|
||||
|
||||
+3
-3
@@ -18,10 +18,10 @@
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.31.0",
|
||||
"concurrently": "^10.0.3",
|
||||
"oxfmt": "^0.53.0",
|
||||
"oxlint": "^1.68.0",
|
||||
"oxfmt": "^0.54.0",
|
||||
"oxlint": "^1.69.0",
|
||||
"rimraf": "^6.1.3",
|
||||
"turbo": "2.9.16",
|
||||
"turbo": "2.9.17",
|
||||
"typescript": "^6.0.3",
|
||||
"vitest": "^4.1.8"
|
||||
},
|
||||
|
||||
@@ -54,11 +54,11 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumari/stf": "workspace:*",
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
"@radix-ui/react-dialog": "^1.1.15",
|
||||
"@radix-ui/react-select": "^2.2.6",
|
||||
"@radix-ui/react-accordion": "^1.2.13",
|
||||
"@radix-ui/react-dialog": "^1.1.16",
|
||||
"@radix-ui/react-select": "^2.3.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"github-slugger": "^2.0.0",
|
||||
"js-yaml": "^4.2.0",
|
||||
@@ -69,14 +69,14 @@
|
||||
"@apidevtools/json-schema-ref-parser": "^15.3.5",
|
||||
"@fastify/deepmerge": "^3.2.1",
|
||||
"@tailwindcss/oxide": "^4.3.0",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"ajv": "^8.20.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"json-schema-typed": "^8.0.2",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
|
||||
import { mkdir, writeFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { Scanner } from '@tailwindcss/oxide';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -18,16 +18,7 @@ export default defineConfig({
|
||||
sourcemap: false,
|
||||
},
|
||||
sourcemap: false,
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin()],
|
||||
async onSuccess() {
|
||||
await compileInline();
|
||||
},
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumadocs/api-docs": "workspace:*",
|
||||
"@fumari/json-schema-ts": "^0.0.2",
|
||||
"@fumari/stf": "workspace:*",
|
||||
@@ -52,14 +52,14 @@
|
||||
"devDependencies": {
|
||||
"@tailwindcss/oxide": "^4.3.0",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"json-schema-typed": "^8.0.2",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
|
||||
import { mkdir, writeFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { Scanner } from '@tailwindcss/oxide';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -14,16 +14,7 @@ export default defineConfig({
|
||||
sourcemap: false,
|
||||
},
|
||||
sourcemap: false,
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin()],
|
||||
async onSuccess() {
|
||||
await compileInline();
|
||||
},
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@base-ui/react": "^1.5.0",
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumadocs/tailwind": "workspace:*",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"lucide-react": "^1.17.0",
|
||||
@@ -143,18 +143,18 @@
|
||||
"@fumadocs/cli": "workspace:*",
|
||||
"@tailwindcss/cli": "^4.3.0",
|
||||
"@tailwindcss/oxide": "^4.3.0",
|
||||
"@tsdown/css": "^0.22.1",
|
||||
"@tsdown/css": "^0.22.2",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"fuma-cli": "^0.1.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"react-medium-image-zoom": "^5.4.6",
|
||||
"react-medium-image-zoom": "^5.4.7",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"unified": "^11.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -181,6 +181,6 @@
|
||||
}
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"react-medium-image-zoom": "5.4.6"
|
||||
"react-medium-image-zoom": "5.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
|
||||
import { Scanner } from '@tailwindcss/oxide';
|
||||
import { mkdir, writeFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -26,17 +26,7 @@ export default defineConfig({
|
||||
css: {
|
||||
inject: true,
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
extraKeys: ['displayName'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin({ extraKeys: ['displayName'] })],
|
||||
async onSuccess() {
|
||||
await compileInline();
|
||||
},
|
||||
|
||||
@@ -29,15 +29,15 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"basehub": "9.6.0",
|
||||
"fuma-cli": "^0.1.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"react": "^19.2.7",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
"zod": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "25.9.1",
|
||||
"@types/node": "25.9.2",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,10 +44,10 @@
|
||||
"devDependencies": {
|
||||
"@content-collections/core": "0.15.1",
|
||||
"@content-collections/mdx": "^0.2.2",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/node": "25.9.2",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@content-collections/core": "0.x.x",
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
"@standard-schema/spec": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/node": "^25.9.2",
|
||||
"fuma-content": "^1.4.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"react-dom": "^19.2.7",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"fuma-content": "^1.2.3",
|
||||
|
||||
+11
-11
@@ -106,7 +106,7 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@orama/orama": "^3.1.18",
|
||||
"estree-util-value-to-estree": "^3.5.0",
|
||||
"github-slugger": "^2.0.0",
|
||||
@@ -126,35 +126,35 @@
|
||||
"vfile": "^6.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@formatjs/intl-localematcher": "^0.8.9",
|
||||
"@formatjs/intl-localematcher": "^0.8.10",
|
||||
"@mdx-js/mdx": "^3.1.1",
|
||||
"@mixedbread/sdk": "0.73.0",
|
||||
"@mixedbread/sdk": "0.73.1",
|
||||
"@orama/core": "^1.2.19",
|
||||
"@oramacloud/client": "^2.1.4",
|
||||
"@shikijs/transformers": "^4.2.0",
|
||||
"@tanstack/react-router": "1.170.11",
|
||||
"@tanstack/react-router": "1.170.15",
|
||||
"@types/estree-jsx": "^1.0.5",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/negotiator": "^0.6.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"algoliasearch": "5.53.0",
|
||||
"flexsearch": "^0.8.212",
|
||||
"image-size": "^2.0.2",
|
||||
"lucide-react": "^1.17.0",
|
||||
"negotiator": "^1.0.0",
|
||||
"next": "16.2.7",
|
||||
"next": "16.2.9",
|
||||
"npm-to-yarn": "^3.0.1",
|
||||
"path-to-regexp": "^8.4.2",
|
||||
"react-router": "7.16.0",
|
||||
"react-router": "7.17.0",
|
||||
"remark-directive": "^4.0.0",
|
||||
"remark-mdx": "^3.1.1",
|
||||
"remove-markdown": "^0.6.4",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3",
|
||||
"waku": "1.0.0-beta.2",
|
||||
"zod": "4.4.3"
|
||||
@@ -236,8 +236,8 @@
|
||||
}
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"@formatjs/fast-memoize": "3.1.5",
|
||||
"@formatjs/intl-localematcher": "0.8.9",
|
||||
"@formatjs/fast-memoize": "3.1.6",
|
||||
"@formatjs/intl-localematcher": "0.8.10",
|
||||
"@shikijs/transformers": "4.2.0",
|
||||
"image-size": "2.0.2",
|
||||
"negotiator": "1.0.0",
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
"dependencies": {
|
||||
"@biomejs/biome": "^2.4.16",
|
||||
"@orama/core": "^1.2.19",
|
||||
"@takumi-rs/image-response": "^1.7.0",
|
||||
"@takumi-rs/image-response": "^1.8.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-mdx": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"oxlint": "^1.68.0",
|
||||
"oxlint": "^1.69.0",
|
||||
"react": "^19.2.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/node": "25.9.2",
|
||||
"tinyglobby": "^0.2.17",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -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.134.0",
|
||||
"oxc-transform": "^0.135.0",
|
||||
"unified": "^11.0.5",
|
||||
"unist-util-visit": "^5.1.0",
|
||||
"vfile": "^6.0.3",
|
||||
@@ -53,12 +53,12 @@
|
||||
"@types/estree": "^1.0.9",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/node": "25.9.2",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"mdast-util-mdx": "^3.0.0",
|
||||
"remark": "^15.0.1",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -45,11 +45,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/node": "25.9.2",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"rimraf": "^6.0.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3",
|
||||
"vfile": "^6.0.3"
|
||||
},
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"fumadocs-openapi": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
"@types/estree": "^1.0.9",
|
||||
"@types/estree-jsx": "^1.0.5",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/picomatch": "^4.0.3",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/unist": "^3.0.3",
|
||||
"@types/ws": "^8.18.1",
|
||||
@@ -68,7 +68,7 @@
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"unified": "^11.0.5",
|
||||
"vite": "^8.0.16"
|
||||
},
|
||||
|
||||
@@ -43,14 +43,14 @@
|
||||
"vfile": "^6.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"react": "^19.2.7",
|
||||
"tinyglobby": "^0.2.17",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/mdx": "*",
|
||||
|
||||
@@ -76,20 +76,20 @@
|
||||
"@types/bun": "^1.3.14",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/picomatch": "^4.0.3",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"mdast-util-directive": "^3.1.0",
|
||||
"next": "^16.2.7",
|
||||
"next": "^16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"remark": "^15.0.1",
|
||||
"remark-directive": "^4.0.0",
|
||||
"remark-mdx": "^3.1.1",
|
||||
"rolldown": "^1.1.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"vite": "^8.0.16",
|
||||
"webpack": "^5.107.2"
|
||||
},
|
||||
|
||||
@@ -59,13 +59,13 @@
|
||||
"@types/estree": "^1.0.9",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"mdast-util-mdx": "^3.0.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumadocs/api-docs": "workspace:*",
|
||||
"@fumari/json-schema-ts": "^0.0.2",
|
||||
"@fumari/stf": "workspace:*",
|
||||
@@ -61,18 +61,18 @@
|
||||
"tailwind-merge": "^3.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@scalar/api-client-react": "^2.0.21",
|
||||
"@scalar/api-client-react": "^2.0.24",
|
||||
"@scalar/openapi-upgrader": "^0.2.9",
|
||||
"@tailwindcss/oxide": "^4.3.0",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fast-content-type-parse": "^3.0.0",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"json-schema-typed": "^8.0.2",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
|
||||
import { mkdir, writeFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { Scanner } from '@tailwindcss/oxide';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -25,16 +25,7 @@ export default defineConfig({
|
||||
sourcemap: false,
|
||||
},
|
||||
sourcemap: false,
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin()],
|
||||
async onSuccess() {
|
||||
await compileInline();
|
||||
},
|
||||
|
||||
@@ -38,23 +38,23 @@
|
||||
"zod": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ai-sdk/react": "^3.0.198",
|
||||
"@ai-sdk/react": "^3.0.201",
|
||||
"@fumadocs/vite": "workspace:*",
|
||||
"@hono/node-server": "^2.0.4",
|
||||
"@hono/node-ws": "^1.3.1",
|
||||
"@openrouter/ai-sdk-provider": "^2.9.0",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-presence": "^1.1.6",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@takumi-rs/image-response": "^1.7.0",
|
||||
"@takumi-rs/image-response": "^1.8.1",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/picomatch": "^4.0.3",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/unist": "^3.0.3",
|
||||
"ai": "^6.0.196",
|
||||
"ai": "^6.0.199",
|
||||
"beautiful-mermaid": "^1.1.3",
|
||||
"chokidar": "^5.0.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
@@ -62,7 +62,7 @@
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"hast-util-to-jsx-runtime": "^2.3.6",
|
||||
"hono": "^4.12.23",
|
||||
"hono": "^4.12.25",
|
||||
"ignore": "^7.0.5",
|
||||
"katex": "0.17.0",
|
||||
"lucide-react": "^1.17.0",
|
||||
@@ -77,7 +77,7 @@
|
||||
"tailwind-merge": "^3.6.0",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tinyglobby": "^0.2.17",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3",
|
||||
"unified": "^11.0.5",
|
||||
"unist-util-visit": "^5.1.0",
|
||||
|
||||
@@ -48,12 +48,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
|
||||
@@ -129,18 +129,18 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumadocs/tailwind": "workspace:*",
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
"@radix-ui/react-collapsible": "^1.1.12",
|
||||
"@radix-ui/react-dialog": "^1.1.15",
|
||||
"@radix-ui/react-direction": "^1.1.1",
|
||||
"@radix-ui/react-navigation-menu": "^1.2.14",
|
||||
"@radix-ui/react-popover": "^1.1.15",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-scroll-area": "^1.2.10",
|
||||
"@radix-ui/react-slot": "^1.2.4",
|
||||
"@radix-ui/react-tabs": "^1.1.13",
|
||||
"@radix-ui/react-accordion": "^1.2.13",
|
||||
"@radix-ui/react-collapsible": "^1.1.13",
|
||||
"@radix-ui/react-dialog": "^1.1.16",
|
||||
"@radix-ui/react-direction": "^1.1.2",
|
||||
"@radix-ui/react-navigation-menu": "^1.2.15",
|
||||
"@radix-ui/react-popover": "^1.1.16",
|
||||
"@radix-ui/react-presence": "^1.1.6",
|
||||
"@radix-ui/react-scroll-area": "^1.2.11",
|
||||
"@radix-ui/react-slot": "^1.2.5",
|
||||
"@radix-ui/react-tabs": "^1.1.14",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"lucide-react": "^1.17.0",
|
||||
"motion": "^12.40.0",
|
||||
@@ -156,18 +156,18 @@
|
||||
"@fumadocs/cli": "workspace:*",
|
||||
"@tailwindcss/cli": "^4.3.0",
|
||||
"@tailwindcss/oxide": "^4.3.0",
|
||||
"@tsdown/css": "^0.22.1",
|
||||
"@tsdown/css": "^0.22.2",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"fuma-cli": "^0.1.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"react-medium-image-zoom": "^5.4.6",
|
||||
"react-medium-image-zoom": "^5.4.7",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"unified": "^11.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -194,6 +194,6 @@
|
||||
}
|
||||
},
|
||||
"inlinedDependencies": {
|
||||
"react-medium-image-zoom": "5.4.6"
|
||||
"react-medium-image-zoom": "5.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import { type HTMLAttributes, useEffect, useState } from 'react';
|
||||
import { type CSSProperties, type HTMLAttributes, useEffect, useState } from 'react';
|
||||
import { X } from 'lucide-react';
|
||||
import { cn } from '@/utils/cn';
|
||||
import { buttonVariants } from '@/components/ui/button';
|
||||
@@ -131,7 +131,7 @@ function flow({ colors }: { colors: string[] }) {
|
||||
backgroundImage: `repeating-linear-gradient(70deg, ${[...colors, colors[0]].map((color, i) => `${color} ${(i * 50) / colors.length}%`).join(', ')})`,
|
||||
backgroundSize: '200% 100%',
|
||||
filter: 'saturate(2)',
|
||||
} as object
|
||||
} as CSSProperties
|
||||
}
|
||||
/>
|
||||
<style>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CircleCheck, CircleX, Info, Lightbulb, TriangleAlert } from 'lucide-react';
|
||||
import type { ComponentProps, ReactNode } from 'react';
|
||||
import type { ComponentProps, CSSProperties, ReactNode } from 'react';
|
||||
import { cn } from '@/utils/cn';
|
||||
|
||||
export type CalloutType = 'info' | 'warn' | 'error' | 'success' | 'warning' | 'idea';
|
||||
@@ -57,7 +57,7 @@ export function CalloutContainer({
|
||||
{
|
||||
'--callout-color': `var(--color-fd-${type}, var(--color-fd-muted))`,
|
||||
...style,
|
||||
} as object
|
||||
} as CSSProperties
|
||||
}
|
||||
{...props}
|
||||
>
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Check, Clipboard } from 'lucide-react';
|
||||
import {
|
||||
type ComponentProps,
|
||||
createContext,
|
||||
type CSSProperties,
|
||||
type HTMLAttributes,
|
||||
type ReactNode,
|
||||
type RefObject,
|
||||
@@ -137,7 +138,7 @@ export function CodeBlock({
|
||||
? `line ${Number(props['data-line-numbers-start'] ?? 1) - 1}`
|
||||
: undefined,
|
||||
...viewportProps.style,
|
||||
} as object
|
||||
} as CSSProperties
|
||||
}
|
||||
>
|
||||
{children}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { cn } from '@/utils/cn';
|
||||
import { useEffect, useState, type ComponentProps } from 'react';
|
||||
import { type CSSProperties, useEffect, useState, type ComponentProps } from 'react';
|
||||
import { useDocsLayout } from '..';
|
||||
|
||||
export function Container(props: ComponentProps<'div'>) {
|
||||
@@ -31,7 +31,7 @@ export function Container(props: ComponentProps<'div'>) {
|
||||
'--fd-docs-row-3': 'calc(var(--fd-docs-row-2) + var(--fd-toc-popover-height))',
|
||||
'--fd-sidebar-col': collapsed ? '0px' : 'var(--fd-sidebar-width)',
|
||||
...props.style,
|
||||
} as object
|
||||
} as CSSProperties
|
||||
}
|
||||
className={cn(
|
||||
'grid overflow-x-clip min-h-(--fd-docs-height) [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-toc-popover-height:0px] [--fd-sidebar-width:0px] [--fd-toc-width:0px] data-[column-changed=true]:transition-[grid-template-columns]',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { cn } from '@/utils/cn';
|
||||
import { useEffect, useState, type ComponentProps } from 'react';
|
||||
import { type CSSProperties, useEffect, useState, type ComponentProps } from 'react';
|
||||
import { useNotebookLayout } from '../client';
|
||||
|
||||
export function Container(props: ComponentProps<'div'>) {
|
||||
@@ -41,7 +41,7 @@ export function Container(props: ComponentProps<'div'>) {
|
||||
'--fd-docs-row-3': 'calc(var(--fd-docs-row-2) + var(--fd-toc-popover-height))',
|
||||
'--fd-sidebar-col': collapsed ? '0px' : 'var(--fd-sidebar-width)',
|
||||
...props.style,
|
||||
} as object
|
||||
} as CSSProperties
|
||||
}
|
||||
className={cn(
|
||||
'grid overflow-x-clip min-h-(--fd-docs-height) auto-cols-auto auto-rows-auto [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-toc-popover-height:0px] [--fd-sidebar-width:0px] [--fd-toc-width:0px] data-[column-changed=true]:transition-[grid-template-columns]',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
|
||||
import { Scanner } from '@tailwindcss/oxide';
|
||||
import { mkdir, writeFile } from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -27,17 +27,7 @@ export default defineConfig({
|
||||
css: {
|
||||
inject: true,
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
extraKeys: ['displayName'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin({ extraKeys: ['displayName'] })],
|
||||
async onSuccess() {
|
||||
await compileInline();
|
||||
},
|
||||
|
||||
@@ -34,17 +34,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sanity/client": "^7.22.1",
|
||||
"@sanity/types": "^5.30.0",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@sanity/types": "^5.31.0",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fuma-cli": "^0.1.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next-sanity": "^13.0.11",
|
||||
"react": "^19.2.7",
|
||||
"sanity": "^5.30.0",
|
||||
"sanity": "^5.31.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -34,16 +34,16 @@
|
||||
"zod-3": "npm:zod@^3.25.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"shadcn": "^4.10.0",
|
||||
"shadcn": "^4.11.0",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface CompilePackageTranslationsOptions {
|
||||
*/
|
||||
cwd?: string;
|
||||
/** Glob patterns relative to `cwd`. */
|
||||
input: string[];
|
||||
input?: string[];
|
||||
/**
|
||||
* Output path for generated types.
|
||||
* @default 'src/.translations/index.ts'
|
||||
@@ -24,15 +24,16 @@ export interface CompilePackageTranslationsOptions {
|
||||
extraKeys?: string[];
|
||||
}
|
||||
|
||||
export async function compilePackageTranslations(
|
||||
async function compilePackageTranslations(
|
||||
options: CompilePackageTranslationsOptions,
|
||||
): Promise<void> {
|
||||
const start = performance.now();
|
||||
const cwd = options.cwd ?? process.cwd();
|
||||
const typesOutput = path.resolve(cwd, options.typesOutput ?? 'src/.translations/index.ts');
|
||||
const jsonOutput = path.resolve(cwd, options.jsonOutput ?? 'src/.translations/keys.json');
|
||||
|
||||
const output = await compile({
|
||||
input: options.input.map((pattern) => path.join(cwd, pattern)),
|
||||
input: options.input ?? ['src/**/*.ts', 'src/**/*.tsx'],
|
||||
});
|
||||
if (options.extraKeys) output.translationKeys.push(...options.extraKeys);
|
||||
|
||||
@@ -42,5 +43,15 @@ export async function compilePackageTranslations(
|
||||
await mkdir(path.dirname(jsonOutput), { recursive: true });
|
||||
await writeFile(jsonOutput, `${JSON.stringify(output.translationKeys, null, 2)}\n`, 'utf8');
|
||||
|
||||
console.log(`compiled ${output.translationKeys.length} translation keys`);
|
||||
const elapsed = Math.round(performance.now() - start);
|
||||
console.log(`compiled ${output.translationKeys.length} translation keys in ${elapsed}ms`);
|
||||
}
|
||||
|
||||
export function packageTranslationsPlugin(options: CompilePackageTranslationsOptions = {}) {
|
||||
return {
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations(options);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fumadocs/cli": "workspace:*",
|
||||
"@types/node": "^25.9.1",
|
||||
"fuma-translate": "^0.0.3",
|
||||
"@types/node": "^25.9.2",
|
||||
"fuma-translate": "^1.0.1",
|
||||
"tsconfig": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,10 +26,10 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "*",
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuma-translate/react": "^0.0.3",
|
||||
"@fuma-translate/react": "^1.0.1",
|
||||
"@fumari/stf": "workspace:*",
|
||||
"@radix-ui/react-select": "^2.2.6",
|
||||
"@radix-ui/react-select": "^2.3.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"lucide-react": "^1.17.0",
|
||||
"tailwind-merge": "^3.6.0",
|
||||
@@ -44,19 +44,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fastify/deepmerge": "^3.2.1",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/ungap__structured-clone": "^1.2.0",
|
||||
"@ungap/structured-clone": "^1.3.1",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"next": "^16.2.7",
|
||||
"next": "^16.2.9",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-error-boundary": "^6.1.2",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"vite": "^8.0.16",
|
||||
"webpack": "^5.107.2"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineConfig } from 'tsdown';
|
||||
import { compilePackageTranslations } from '../shared/compile-package-translations.ts';
|
||||
import { packageTranslationsPlugin } from '../shared/compile-package-translations.ts';
|
||||
|
||||
export default defineConfig({
|
||||
format: 'esm',
|
||||
@@ -18,16 +18,7 @@ export default defineConfig({
|
||||
sourcemap: false,
|
||||
},
|
||||
platform: 'browser',
|
||||
plugins: [
|
||||
{
|
||||
name: 'generate-translations',
|
||||
async buildStart() {
|
||||
await compilePackageTranslations({
|
||||
input: ['src/**/*.{ts,tsx}'],
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [packageTranslationsPlugin()],
|
||||
exports: {
|
||||
customExports(v) {
|
||||
v['./css/*'] = './css/*';
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fastify/deepmerge": "^3.2.1",
|
||||
"@types/node": "^25.9.1",
|
||||
"postcss-selector-parser": "^7.1.1",
|
||||
"@types/node": "^25.9.2",
|
||||
"postcss-selector-parser": "^7.1.2",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1"
|
||||
"tsdown": "0.22.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"tailwindcss": "^4.0.0"
|
||||
@@ -48,7 +48,7 @@
|
||||
"inlinedDependencies": {
|
||||
"@fastify/deepmerge": "3.2.1",
|
||||
"cssesc": "3.0.0",
|
||||
"postcss-selector-parser": "7.1.1",
|
||||
"postcss-selector-parser": "7.1.2",
|
||||
"util-deprecate": "1.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@radix-ui/react-popover": "^1.1.15",
|
||||
"@radix-ui/react-popover": "^1.1.16",
|
||||
"@shikijs/twoslash": "^4.2.0",
|
||||
"mdast-util-from-markdown": "^2.0.3",
|
||||
"mdast-util-gfm": "^3.1.0",
|
||||
@@ -54,13 +54,13 @@
|
||||
"devDependencies": {
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"shiki": "4.2.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -52,14 +52,14 @@
|
||||
"@types/estree": "^1.0.9",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/react": "^19.2.16",
|
||||
"@types/node": "25.9.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"fumadocs-core": "workspace:*",
|
||||
"fumadocs-ui": "workspace:*",
|
||||
"mdast-util-mdx": "^3.0.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3",
|
||||
"vfile": "^6.0.3"
|
||||
},
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.9.1",
|
||||
"@types/node": "^25.9.2",
|
||||
"tsconfig": "workspace:*",
|
||||
"tsdown": "0.22.1",
|
||||
"tsdown": "0.22.2",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^8.0.16"
|
||||
}
|
||||
|
||||
Generated
+2787
-2676
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user