diff --git a/docs/package.json b/docs/package.json index d9214f6618..b792548af6 100644 --- a/docs/package.json +++ b/docs/package.json @@ -45,11 +45,11 @@ "cmdk": "1.0.0", "date-fns": "^3.6.0", "embla-carousel-react": "^8.5.1", - "fumadocs-core": "15.7.0", + "fumadocs-core": "15.0.15", "fumadocs-docgen": "2.1.0", - "fumadocs-mdx": "11.8.0", - "fumadocs-typescript": "4.0.6", - "fumadocs-ui": "15.7.0", + "fumadocs-mdx": "11.5.6", + "fumadocs-typescript": "^4.0.6", + "fumadocs-ui": "15.0.15", "gray-matter": "^4.0.3", "input-otp": "^1.4.1", "jotai": "^2.12.1", diff --git a/docs/source.config.ts b/docs/source.config.ts index b532a883d5..0d8ea29729 100644 --- a/docs/source.config.ts +++ b/docs/source.config.ts @@ -4,7 +4,7 @@ import { defineCollections, } from "fumadocs-mdx/config"; import { z } from "zod"; -import { remarkNpm } from "fumadocs-core/mdx-plugins"; +import { remarkInstall } from "fumadocs-docgen"; import { remarkAutoTypeTable, createGenerator } from "fumadocs-typescript"; export const docs = defineDocs({ @@ -44,7 +44,7 @@ export default defineConfig({ mdxOptions: { remarkPlugins: [ [ - remarkNpm, + remarkInstall, { persist: { id: "persist-install", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d3c61525a2..a3d1b77570 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -446,20 +446,20 @@ importers: specifier: ^8.5.1 version: 8.6.0(react@19.1.1) fumadocs-core: - specifier: 15.7.0 - version: 15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + specifier: 15.0.15 + version: 15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) fumadocs-docgen: specifier: 2.1.0 version: 2.1.0 fumadocs-mdx: - specifier: 11.8.0 - version: 11.8.0(acorn@8.15.0)(fumadocs-core@15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react@19.1.1)(vite@6.3.5(@types/node@24.3.0)(jiti@2.5.1)(less@4.3.0)(lightningcss@1.30.1)(sass@1.89.1)(terser@5.40.0)(tsx@4.20.4)(yaml@2.8.0)) + specifier: 11.5.6 + version: 11.5.6(acorn@8.15.0)(fumadocs-core@15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1)) fumadocs-typescript: - specifier: 4.0.6 + specifier: ^4.0.6 version: 4.0.6(@types/react@19.1.6)(typescript@5.9.2) fumadocs-ui: - specifier: 15.7.0 - version: 15.7.0(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(tailwindcss@4.1.8) + specifier: 15.0.15 + version: 15.0.15(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(fumadocs-core@15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(tailwindcss@4.1.8) gray-matter: specifier: ^4.0.3 version: 4.0.3 @@ -8560,24 +8560,17 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] - fumadocs-core@15.7.0: - resolution: {integrity: sha512-KBRzqbk4pkrGgIeX8uVoJaBsvBu6qr7m9Hz52774jIZcEGDY1Rr6Rqqdi40cQhEYIkXKaGDyUsiLmWxHrGviwQ==} + fumadocs-core@15.0.15: + resolution: {integrity: sha512-roWAf6voyhpLpbdWalCBW4x4h2LVEJZ/J1sGG+3cR27QLn/5Vv/AEjPB0mFRcoH/fkEVU1wilxvgfDOpRXWDcA==} peerDependencies: - '@mixedbread/sdk': ^0.19.0 '@oramacloud/client': 1.x.x || 2.x.x - '@types/react': '*' - algoliasearch: 5.x.x + algoliasearch: 4.24.0 next: 14.x.x || 15.x.x react: 18.x.x || 19.x.x react-dom: 18.x.x || 19.x.x - react-router: 7.x.x peerDependenciesMeta: - '@mixedbread/sdk': - optional: true '@oramacloud/client': optional: true - '@types/react': - optional: true algoliasearch: optional: true next: @@ -8586,30 +8579,20 @@ packages: optional: true react-dom: optional: true - react-router: - optional: true fumadocs-docgen@2.1.0: resolution: {integrity: sha512-OX1JKA3dqIuUxwpt66i6GyT2ZiYT937dvTR3vuHtUi9zx9Nft03h9Z2aLuVcdTaH5WmLdGvZUTYHPyYa9xeHrw==} - fumadocs-mdx@11.8.0: - resolution: {integrity: sha512-svbJBgkvLHG3GX2tG+TxiMPDnvE2QDHCIT2wgcYf+flWoDIMgh8ZWTvv4r5/BpU+svYeEd6sKFq3sEjlgDM4ag==} + fumadocs-mdx@11.5.6: + resolution: {integrity: sha512-XhzfR7WsI4qO9EdmRZQc/mRxMkSY2HQ7Fg2fv7ia4R3LN0Km7X8KSEry9lU2c0XmSHcospniW5o1FFgsAq4+mQ==} hasBin: true peerDependencies: - '@fumadocs/mdx-remote': ^1.4.0 + '@fumadocs/mdx-remote': ^1.2.0 fumadocs-core: ^14.0.0 || ^15.0.0 - next: ^15.3.0 - react: '*' - vite: 6.x.x || 7.x.x + next: 14.x.x || 15.x.x peerDependenciesMeta: '@fumadocs/mdx-remote': optional: true - next: - optional: true - react: - optional: true - vite: - optional: true fumadocs-typescript@4.0.6: resolution: {integrity: sha512-cr2GPMH1TSHQJXRBDbxWGMXpOd7F5uLU8Y2xMOXMc6kQqEpvM2KYlq+QJ/lHTfXmhNgJBr/iKZJtQ2xHSWxaaQ==} @@ -8620,19 +8603,15 @@ packages: '@types/react': optional: true - fumadocs-ui@15.7.0: - resolution: {integrity: sha512-uVBtBV+0Yqp0n+PyB6ZJBu6n56Ae87b7v8PLYJ7j/P0N9CEgtmXNNMCIaDr/Sk4nisa65uJN29N7ibIMc8WJig==} + fumadocs-ui@15.0.15: + resolution: {integrity: sha512-D9x+GJlTgFe+te6h22Xp3OHDYGzEp/iWm86HiQkJQLhT5jwZ5/2htF/ehzBwOm+bizGvH6WIe3ZYfJ3dfer0/A==} peerDependencies: - '@types/react': '*' + fumadocs-core: 15.0.15 next: 14.x.x || 15.x.x react: 18.x.x || 19.x.x react-dom: 18.x.x || 19.x.x tailwindcss: ^3.4.14 || ^4.0.0 peerDependenciesMeta: - '@types/react': - optional: true - next: - optional: true tailwindcss: optional: true @@ -9861,10 +9840,6 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@11.1.0: - resolution: {integrity: sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==} - engines: {node: 20 || >=22} - lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -12594,9 +12569,6 @@ packages: tinyexec@0.3.2: resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} - tinyexec@1.0.1: - resolution: {integrity: sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==} - tinyglobby@0.2.14: resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} engines: {node: '>=12.0.0'} @@ -16200,7 +16172,7 @@ snapshots: unixify: 1.0.0 urlpattern-polyfill: 8.0.2 yargs: 17.7.2 - zod: 3.25.42 + zod: 3.25.76 transitivePeerDependencies: - encoding - rollup @@ -16737,7 +16709,7 @@ snapshots: aria-hidden: 1.2.6 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - react-remove-scroll: 2.7.0(@types/react@19.1.6)(react@19.1.1) + react-remove-scroll: 2.7.1(@types/react@19.1.6)(react@19.1.1) optionalDependencies: '@types/react': 19.1.6 '@types/react-dom': 19.1.5(@types/react@19.1.6) @@ -17019,7 +16991,7 @@ snapshots: aria-hidden: 1.2.6 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) - react-remove-scroll: 2.7.0(@types/react@19.1.6)(react@19.1.1) + react-remove-scroll: 2.7.1(@types/react@19.1.6)(react@19.1.1) optionalDependencies: '@types/react': 19.1.6 '@types/react-dom': 19.1.5(@types/react@19.1.6) @@ -18574,7 +18546,7 @@ snapshots: recast: 0.23.11 source-map: 0.7.6 tsx: 4.19.4 - zod: 3.25.42 + zod: 3.25.76 transitivePeerDependencies: - supports-color @@ -18593,7 +18565,7 @@ snapshots: babel-dead-code-elimination: 1.0.10 chokidar: 3.6.0 unplugin: 2.3.5 - zod: 3.25.42 + zod: 3.25.76 optionalDependencies: '@tanstack/react-router': 1.131.3(react-dom@19.1.1(react@19.1.1))(react@19.1.1) vite: 6.3.5(@types/node@24.3.0)(jiti@2.5.1)(less@4.3.0)(lightningcss@1.30.1)(sass@1.89.1)(terser@5.40.0)(tsx@4.20.4)(yaml@2.8.0) @@ -20027,9 +19999,9 @@ snapshots: dependencies: run-applescript: 7.0.0 - bundle-require@5.1.0(esbuild@0.25.5): + bundle-require@5.1.0(esbuild@0.25.9): dependencies: - esbuild: 0.25.5 + esbuild: 0.25.9 load-tsconfig: 0.2.5 bytes@3.1.2: {} @@ -22109,7 +22081,7 @@ snapshots: fsevents@2.3.3: optional: true - fumadocs-core@15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1): + fumadocs-core@15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1): dependencies: '@formatjs/intl-localematcher': 0.6.1 '@orama/orama': 3.1.11 @@ -22120,20 +22092,18 @@ snapshots: hast-util-to-jsx-runtime: 2.3.6 image-size: 2.0.2 negotiator: 1.0.0 - npm-to-yarn: 3.0.1 react-remove-scroll: 2.7.1(@types/react@19.1.6)(react@19.1.1) remark: 15.0.1 remark-gfm: 4.0.1 - remark-rehype: 11.1.2 scroll-into-view-if-needed: 3.1.0 shiki: 3.11.0 unist-util-visit: 5.0.0 optionalDependencies: - '@types/react': 19.1.6 next: 15.5.0(@babel/core@7.28.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1) react: 19.1.1 react-dom: 19.1.1(react@19.1.1) transitivePeerDependencies: + - '@types/react' - supports-color fumadocs-docgen@2.1.0: @@ -22145,25 +22115,20 @@ snapshots: unist-util-visit: 5.0.0 zod: 3.25.76 - fumadocs-mdx@11.8.0(acorn@8.15.0)(fumadocs-core@15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react@19.1.1)(vite@6.3.5(@types/node@24.3.0)(jiti@2.5.1)(less@4.3.0)(lightningcss@1.30.1)(sass@1.89.1)(terser@5.40.0)(tsx@4.20.4)(yaml@2.8.0)): + fumadocs-mdx@11.5.6(acorn@8.15.0)(fumadocs-core@15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1)): dependencies: '@mdx-js/mdx': 3.1.0(acorn@8.15.0) '@standard-schema/spec': 1.0.0 chokidar: 4.0.3 + cross-spawn: 7.0.6 esbuild: 0.25.9 estree-util-value-to-estree: 3.4.0 - fumadocs-core: 15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - js-yaml: 4.1.0 - lru-cache: 11.1.0 - picocolors: 1.1.1 - tinyexec: 1.0.1 - tinyglobby: 0.2.14 - unist-util-visit: 5.0.0 - zod: 4.0.17 - optionalDependencies: + fast-glob: 3.3.3 + fumadocs-core: 15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + gray-matter: 4.0.3 next: 15.5.0(@babel/core@7.28.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1) - react: 19.1.1 - vite: 6.3.5(@types/node@24.3.0)(jiti@2.5.1)(less@4.3.0)(lightningcss@1.30.1)(sass@1.89.1)(terser@5.40.0)(tsx@4.20.4)(yaml@2.8.0) + unist-util-visit: 5.0.0 + zod: 3.25.76 transitivePeerDependencies: - acorn - supports-color @@ -22185,7 +22150,7 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-ui@15.7.0(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(tailwindcss@4.1.8): + fumadocs-ui@15.0.15(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(fumadocs-core@15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1))(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(tailwindcss@4.1.8): dependencies: '@radix-ui/react-accordion': 1.2.12(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@radix-ui/react-collapsible': 1.1.12(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) @@ -22193,31 +22158,25 @@ snapshots: '@radix-ui/react-direction': 1.1.1(@types/react@19.1.6)(react@19.1.1) '@radix-ui/react-navigation-menu': 1.2.14(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@radix-ui/react-popover': 1.1.15(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@radix-ui/react-scroll-area': 1.2.10(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) '@radix-ui/react-slot': 1.2.3(@types/react@19.1.6)(react@19.1.1) '@radix-ui/react-tabs': 1.1.13(@types/react-dom@19.1.5(@types/react@19.1.6))(@types/react@19.1.6)(react-dom@19.1.1(react@19.1.1))(react@19.1.1) class-variance-authority: 0.7.1 - fumadocs-core: 15.7.0(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) + fumadocs-core: 15.0.15(@types/react@19.1.6)(next@15.5.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1) lodash.merge: 4.6.2 + lucide-react: 0.477.0(react@19.1.1) + next: 15.5.0(@babel/core@7.28.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1) next-themes: 0.4.6(react-dom@19.1.1(react@19.1.1))(react@19.1.1) postcss-selector-parser: 7.1.0 react: 19.1.1 react-dom: 19.1.1(react@19.1.1) react-medium-image-zoom: 5.3.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1) - scroll-into-view-if-needed: 3.1.0 tailwind-merge: 3.3.1 optionalDependencies: - '@types/react': 19.1.6 - next: 15.5.0(@babel/core@7.28.0)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(sass@1.89.1) tailwindcss: 4.1.8 transitivePeerDependencies: - - '@mixedbread/sdk' - - '@oramacloud/client' + - '@types/react' - '@types/react-dom' - - algoliasearch - - react-router - - supports-color function-bind@1.1.2: {} @@ -22690,9 +22649,9 @@ snapshots: importx@0.5.2: dependencies: - bundle-require: 5.1.0(esbuild@0.25.5) + bundle-require: 5.1.0(esbuild@0.25.9) debug: 4.4.1 - esbuild: 0.25.5 + esbuild: 0.25.9 jiti: 2.4.2 pathe: 2.0.3 tsx: 4.19.4 @@ -22897,7 +22856,7 @@ snapshots: is-reference@1.2.1: dependencies: - '@types/estree': 1.0.7 + '@types/estree': 1.0.8 is-reference@3.0.3: dependencies: @@ -23556,8 +23515,6 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@11.1.0: {} - lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -24586,7 +24543,7 @@ snapshots: defu: 6.1.4 destr: 2.0.5 dot-prop: 9.0.0 - esbuild: 0.25.5 + esbuild: 0.25.9 escape-string-regexp: 5.0.0 etag: 1.8.1 exsolve: 1.0.7 @@ -27151,8 +27108,6 @@ snapshots: tinyexec@0.3.2: {} - tinyexec@1.0.1: {} - tinyglobby@0.2.14: dependencies: fdir: 6.4.5(picomatch@4.0.2) @@ -27221,7 +27176,7 @@ snapshots: tsx@4.19.4: dependencies: - esbuild: 0.25.5 + esbuild: 0.25.9 get-tsconfig: 4.10.1 optionalDependencies: fsevents: 2.3.3