chore: remove unused fumadocs-typescript dependency and clean up AutoTypeTable
- Deleted the fumadocs-typescript dependency from package.json and pnpm-lock.yaml. - Removed the props.ts file as it was no longer needed. - Updated various MDX files to comment out AutoTypeTable references to props.ts for better clarity and maintainability.
This commit is contained in:
parent
78a6684f53
commit
5a20dc5837
@ -20,11 +20,11 @@ import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
|
||||
|
||||
### Accordions
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="AccordionsProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="AccordionsProps" /> */}
|
||||
|
||||
### Accordion
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="AccordionProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="AccordionProps" /> */}
|
||||
|
||||
### Linking to Accordion
|
||||
|
||||
|
@ -1,142 +0,0 @@
|
||||
---
|
||||
title: Auto Type Table
|
||||
description: Auto-generated type table
|
||||
---
|
||||
|
||||
<Wrapper>
|
||||
|
||||
<div className="bg-fd-background p-4 rounded-xl">
|
||||
|
||||
<AutoTypeTable name="AutoTypeTableExample" type={`export interface AutoTypeTableExample {
|
||||
/**
|
||||
* Markdown syntax like links, \`code\` are supported.
|
||||
*
|
||||
* See https://fumadocs.vercel.app/docs/components/type-table
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* We love Shiki.
|
||||
*
|
||||
* \`\`\`ts
|
||||
* console.log("Hello World, powered by Shiki");
|
||||
* \`\`\`
|
||||
*/
|
||||
options: Partial<{ a: unknown }>;
|
||||
|
||||
}`} />
|
||||
|
||||
</div>
|
||||
|
||||
</Wrapper>
|
||||
|
||||
It generates a table for your docs based on TypeScript definitions.
|
||||
|
||||
## Usage
|
||||
|
||||
```package-install
|
||||
fumadocs-typescript
|
||||
```
|
||||
|
||||
Initialize the TypeScript compiler and add it as a MDX component.
|
||||
|
||||
```tsx title="page.tsx"
|
||||
import { createGenerator } from 'fumadocs-typescript';
|
||||
import { AutoTypeTable } from 'fumadocs-typescript/ui';
|
||||
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
||||
|
||||
const generator = createGenerator();
|
||||
|
||||
return (
|
||||
<MDX
|
||||
components={{
|
||||
...defaultMdxComponents,
|
||||
AutoTypeTable: (props) => (
|
||||
<AutoTypeTable {...props} generator={generator} />
|
||||
),
|
||||
}}
|
||||
/>
|
||||
);
|
||||
```
|
||||
|
||||
### From File
|
||||
|
||||
It accepts a `path` prop that points to a typescript file, and `name` for the exported type name.
|
||||
|
||||
```ts title="path/to/file.ts"
|
||||
export interface MyInterface {
|
||||
name: string;
|
||||
}
|
||||
```
|
||||
|
||||
```mdx
|
||||
<AutoTypeTable path="./path/to/file.ts" name="MyInterface" />
|
||||
```
|
||||
|
||||
The path is relative to your project directory (`cwd`), because `AutoTypeTable` is a React Server Component, it cannot access build-time information like MDX file path.
|
||||
|
||||
<Callout title="Server Component only" type="warn">
|
||||
|
||||
You cannot use this in a client component.
|
||||
|
||||
</Callout>
|
||||
|
||||
### From Type
|
||||
|
||||
You can specify the type to generate, without an actual TypeScript file.
|
||||
|
||||
```mdx
|
||||
import { AutoTypeTable } from 'fumadocs-typescript/ui';
|
||||
|
||||
<AutoTypeTable type="{ hello: string }" />
|
||||
```
|
||||
|
||||
When a `path` is given, it shares the same context as the TypeScript file.
|
||||
|
||||
```ts title="file.ts"
|
||||
export type A = { hello: string };
|
||||
```
|
||||
|
||||
```mdx
|
||||
<AutoTypeTable path="file.ts" type="A & { world: string }" />
|
||||
```
|
||||
|
||||
When `type` has multiple lines, the export statement and `name` prop are required.
|
||||
|
||||
```mdx
|
||||
<AutoTypeTable
|
||||
path="file.ts"
|
||||
name="B"
|
||||
type={`
|
||||
import { ReactNode } from "react"
|
||||
export type B = ReactNode | { world: string }
|
||||
`}
|
||||
/>
|
||||
```
|
||||
|
||||
### Functions
|
||||
|
||||
Notice that only object type is allowed. For functions, you should wrap them into an object instead.
|
||||
|
||||
```ts
|
||||
export interface MyInterface {
|
||||
myFn: (input: string) => void;
|
||||
}
|
||||
```
|
||||
|
||||
### References
|
||||
|
||||
<auto-type-table path="../props.ts" name="AutoTypeTableProps" />
|
||||
|
||||
### File System
|
||||
|
||||
It relies on the file system, hence, the page referencing this component must be built in **build time**. Rendering the component on serverless runtime may cause problems.
|
||||
|
||||
### Deep Dive
|
||||
|
||||
Under the hood, it uses the [Typescript Compiler API](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API) to extract type information.
|
||||
Your `tsconfig.json` file in the current working directory will be loaded.
|
||||
|
||||
To change the compiler settings, pass a `options` prop to the component.
|
||||
|
||||
Learn more about [Typescript Docs Generation](/docs/typescript).
|
@ -28,8 +28,8 @@ import { File, Folder, Files } from 'fumadocs-ui/components/files';
|
||||
|
||||
### File
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="FileProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="FileProps" /> */}
|
||||
|
||||
### Folder
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="FolderProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="FolderProps" /> */}
|
||||
|
@ -28,4 +28,4 @@ You can add inline TOC into every page.
|
||||
|
||||
## Reference
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="InlineTOCProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="InlineTOCProps" /> */}
|
||||
|
@ -27,8 +27,8 @@ import { TypeTable } from 'fumadocs-ui/components/type-table';
|
||||
|
||||
### Type Table
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="TypeTableProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="TypeTableProps" /> */}
|
||||
|
||||
### Object Type
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="ObjectTypeProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="ObjectTypeProps" /> */}
|
||||
|
@ -25,10 +25,10 @@ export default function Layout({ children }: { children: ReactNode }) {
|
||||
}
|
||||
```
|
||||
|
||||
<AutoTypeTable
|
||||
{/* <AutoTypeTable
|
||||
path="./content/docs/props.ts"
|
||||
type="Omit<DocsLayoutProps, 'children' | 'disableThemeSwitch'>"
|
||||
/>
|
||||
/> */}
|
||||
|
||||
## Sidebar
|
||||
|
||||
@ -43,7 +43,7 @@ import { DocsLayout } from 'fumadocs-ui/layouts/docs';
|
||||
/>;
|
||||
```
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="SidebarProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="SidebarProps" /> */}
|
||||
|
||||
### Sidebar Tabs
|
||||
|
||||
@ -89,10 +89,10 @@ export const baseOptions: BaseLayoutProps = {
|
||||
};
|
||||
```
|
||||
|
||||
<AutoTypeTable
|
||||
{/* <AutoTypeTable
|
||||
path="./content/docs/props.ts"
|
||||
type="Omit<NavbarProps, 'children'>"
|
||||
/>
|
||||
/> */}
|
||||
|
||||
### Transparent Mode
|
||||
|
||||
|
@ -96,7 +96,7 @@ import { DocsPage } from 'fumadocs-ui/page';
|
||||
<DocsPage tableOfContent={options}>...</DocsPage>;
|
||||
```
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="TOCProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="TOCProps" /> */}
|
||||
|
||||
#### Style
|
||||
|
||||
@ -125,7 +125,7 @@ import { DocsPage } from 'fumadocs-ui/page';
|
||||
<DocsPage tableOfContentPopover={options}>...</DocsPage>;
|
||||
```
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="TOCPopoverProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="TOCPopoverProps" /> */}
|
||||
|
||||
### Last Updated Time
|
||||
|
||||
@ -196,13 +196,13 @@ import { DocsPage, DocsBody } from 'fumadocs-ui/page';
|
||||
</DocsPage>;
|
||||
```
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="FooterProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="FooterProps" /> */}
|
||||
|
||||
### Breadcrumb
|
||||
|
||||
A navigation element, shown only when user is navigating in folders.
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="BreadcrumbProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="BreadcrumbProps" /> */}
|
||||
|
||||
### MDX Page
|
||||
|
||||
|
@ -22,4 +22,4 @@ See [Markdown](/docs/markdown#callouts) for usages.
|
||||
|
||||
### Reference
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="CalloutProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="CalloutProps" /> */}
|
||||
|
@ -29,7 +29,7 @@ The container of cards.
|
||||
|
||||
Based on Next.js `<Link />`.
|
||||
|
||||
<AutoTypeTable path="./content/docs/props.ts" name="CardProps" />
|
||||
{/* <AutoTypeTable path="./content/docs/props.ts" name="CardProps" /> */}
|
||||
|
||||
<Callout title="Tree Shaking on icons" type="warn">
|
||||
|
||||
|
@ -1,77 +0,0 @@
|
||||
import type { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
|
||||
import type { Callout } from 'fumadocs-ui/components/callout';
|
||||
import type { File, Folder } from 'fumadocs-ui/components/files';
|
||||
import type { InlineTOC } from 'fumadocs-ui/components/inline-toc';
|
||||
import type { TypeTable } from 'fumadocs-ui/components/type-table';
|
||||
import type { Card } from 'fumadocs-ui/components/card';
|
||||
import type { DocsLayoutProps } from 'fumadocs-ui/layouts/docs';
|
||||
import type {
|
||||
AnchorHTMLAttributes,
|
||||
ComponentPropsWithoutRef,
|
||||
HTMLAttributes,
|
||||
} from 'react';
|
||||
import type { DocsPageProps } from 'fumadocs-ui/page';
|
||||
import type { AutoTypeTable } from 'fumadocs-typescript/ui';
|
||||
|
||||
export type AccordionsProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof Accordions>,
|
||||
keyof ComponentPropsWithoutRef<'div'> | 'value' | 'onValueChange'
|
||||
>;
|
||||
|
||||
export type AccordionProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof Accordion>,
|
||||
keyof ComponentPropsWithoutRef<'div'>
|
||||
>;
|
||||
|
||||
export type CalloutProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof Callout>,
|
||||
keyof ComponentPropsWithoutRef<'div'>
|
||||
>;
|
||||
|
||||
export type FileProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof File>,
|
||||
keyof ComponentPropsWithoutRef<'div'>
|
||||
>;
|
||||
|
||||
export type FolderProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof Folder>,
|
||||
keyof ComponentPropsWithoutRef<'div'>
|
||||
>;
|
||||
|
||||
export type InlineTOCProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof InlineTOC>,
|
||||
keyof ComponentPropsWithoutRef<'div'>
|
||||
>;
|
||||
|
||||
export type CardProps = Omit<
|
||||
ComponentPropsWithoutRef<typeof Card>,
|
||||
keyof Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>
|
||||
>;
|
||||
|
||||
export type TypeTableProps = ComponentPropsWithoutRef<typeof TypeTable>;
|
||||
|
||||
export type ObjectTypeProps = ComponentPropsWithoutRef<
|
||||
typeof TypeTable
|
||||
>['type'][string];
|
||||
|
||||
export type { DocsLayoutProps };
|
||||
|
||||
export type NavbarProps = NonNullable<DocsLayoutProps['nav']>;
|
||||
|
||||
export type SidebarProps = Omit<
|
||||
NonNullable<DocsLayoutProps['sidebar']>,
|
||||
keyof HTMLAttributes<HTMLElement>
|
||||
>;
|
||||
|
||||
export type PageProps = DocsPageProps;
|
||||
|
||||
export type BreadcrumbProps = NonNullable<DocsPageProps['breadcrumb']>;
|
||||
|
||||
export type TOCProps = NonNullable<DocsPageProps['tableOfContent']>;
|
||||
export type TOCPopoverProps = NonNullable<
|
||||
DocsPageProps['tableOfContentPopover']
|
||||
>;
|
||||
|
||||
export type FooterProps = NonNullable<DocsPageProps['footer']>;
|
||||
|
||||
export type AutoTypeTableProps = ComponentPropsWithoutRef<typeof AutoTypeTable>;
|
@ -77,7 +77,6 @@
|
||||
"framer-motion": "^12.4.7",
|
||||
"fumadocs-core": "^15.1.2",
|
||||
"fumadocs-twoslash": "^3.1.0",
|
||||
"fumadocs-typescript": "^4.0.1",
|
||||
"fumadocs-ui": "^15.1.2",
|
||||
"geist": "^1.3.1",
|
||||
"input-otp": "^1.4.2",
|
||||
|
125
pnpm-lock.yaml
generated
125
pnpm-lock.yaml
generated
@ -206,9 +206,6 @@ importers:
|
||||
fumadocs-twoslash:
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0(@types/react-dom@19.0.3(@types/react@19.0.9))(@types/react@19.0.9)(fumadocs-ui@15.1.2(@types/react-dom@19.0.3(@types/react@19.0.9))(@types/react@19.0.9)(fumadocs-core@15.1.2(@types/react@19.0.9)(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(tailwindcss@4.0.14))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(shiki@2.4.2)(typescript@5.7.3)
|
||||
fumadocs-typescript:
|
||||
specifier: ^4.0.1
|
||||
version: 4.0.1(typescript@5.7.3)
|
||||
fumadocs-ui:
|
||||
specifier: ^15.1.2
|
||||
version: 15.1.2(@types/react-dom@19.0.3(@types/react@19.0.9))(@types/react@19.0.9)(fumadocs-core@15.1.2(@types/react@19.0.9)(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(tailwindcss@4.0.14)
|
||||
@ -1822,18 +1819,6 @@ packages:
|
||||
resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==}
|
||||
engines: {node: ^14.21.3 || >=16}
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
'@nodelib/fs.stat@2.0.5':
|
||||
resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
'@nodelib/fs.walk@1.2.8':
|
||||
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
'@one-ini/wasm@0.1.1':
|
||||
resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==}
|
||||
|
||||
@ -3077,9 +3062,6 @@ packages:
|
||||
resolution: {integrity: sha512-uvXk/U4cBiFMxt+p9/G7yUWI/UbHYbyghLCjlpWZ3mLeIZiUBSKcUnw9UnKkdRz7Z/N4UBuFLWQdJCjUe7HjvA==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
'@ts-morph/common@0.26.1':
|
||||
resolution: {integrity: sha512-Sn28TGl/4cFpcM+jwsH1wLncYq3FtN/BIpem+HOygfBWPT5pAeS5dB4VFVzV8FbnOKHpDLZmvAl4AjPEev5idA==}
|
||||
|
||||
'@turf/boolean-point-in-polygon@6.5.0':
|
||||
resolution: {integrity: sha512-DtSuVFB26SI+hj0SjrvXowGTUCHlgevPAIsukssW6BG5MlNSBQAo70wpICBNJL6RjukXg8d2eXaAWuD/CqL00A==}
|
||||
|
||||
@ -3380,9 +3362,6 @@ packages:
|
||||
react: ^18 || ^19 || ^19.0.0-rc
|
||||
react-dom: ^18 || ^19 || ^19.0.0-rc
|
||||
|
||||
code-block-writer@13.0.3:
|
||||
resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==}
|
||||
|
||||
collapse-white-space@2.1.0:
|
||||
resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}
|
||||
|
||||
@ -3841,17 +3820,10 @@ packages:
|
||||
resolution: {integrity: sha512-V7/RktU11J3I36Nwq2JnZEM7tNm17eBJz+u25qdxBZeCKiX6BkVSZQjwWIr+IobgnZy+ag73tTZgZi7tr0LrBw==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
|
||||
fast-glob@3.3.3:
|
||||
resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
|
||||
engines: {node: '>=8.6.0'}
|
||||
|
||||
fast-xml-parser@4.4.1:
|
||||
resolution: {integrity: sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==}
|
||||
hasBin: true
|
||||
|
||||
fastq@1.19.1:
|
||||
resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
|
||||
|
||||
fault@2.0.1:
|
||||
resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}
|
||||
|
||||
@ -3921,11 +3893,6 @@ packages:
|
||||
react: 18.x.x || 19.x.x
|
||||
shiki: 1.x.x || 2.x.x || 3.x.x
|
||||
|
||||
fumadocs-typescript@4.0.1:
|
||||
resolution: {integrity: sha512-z9FUaCRbesjukJaSbg46FpTRHyfhfI4ydFHOm6Lpp7GDQsX4aJJwj7bI5PfyN1BqJAfoTym2QYv4+PHmqyNZiw==}
|
||||
peerDependencies:
|
||||
typescript: '*'
|
||||
|
||||
fumadocs-ui@15.1.2:
|
||||
resolution: {integrity: sha512-Jel9zhg85BfMfzDW2YX0lE0qeqnQmWj4s9QpbdKnPnrqeq2jRJJnpJExk3kaeWGG5KousEWG5ihsz3sFQvYCYw==}
|
||||
peerDependencies:
|
||||
@ -3972,10 +3939,6 @@ packages:
|
||||
github-slugger@2.0.0:
|
||||
resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}
|
||||
|
||||
glob-parent@5.1.2:
|
||||
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
|
||||
engines: {node: '>= 6'}
|
||||
|
||||
glob@10.3.4:
|
||||
resolution: {integrity: sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==}
|
||||
engines: {node: '>=16 || 14 >=14.17'}
|
||||
@ -4390,10 +4353,6 @@ packages:
|
||||
peerDependencies:
|
||||
esbuild: 0.*
|
||||
|
||||
merge2@1.4.1:
|
||||
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
mgrs@1.0.0:
|
||||
resolution: {integrity: sha512-awNbTOqCxK1DBGjalK3xqWIstBZgN6fxsMSiXLs9/spqWkF2pAhb2rrYCFSsr1/tT7PhcDGjZndG8SWYn0byYA==}
|
||||
|
||||
@ -4731,9 +4690,6 @@ packages:
|
||||
parseley@0.12.1:
|
||||
resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==}
|
||||
|
||||
path-browserify@1.0.1:
|
||||
resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}
|
||||
|
||||
path-key@3.1.1:
|
||||
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
|
||||
engines: {node: '>=8'}
|
||||
@ -4890,9 +4846,6 @@ packages:
|
||||
resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
|
||||
engines: {node: '>=0.6'}
|
||||
|
||||
queue-microtask@1.2.3:
|
||||
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
|
||||
|
||||
randombytes@2.1.0:
|
||||
resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}
|
||||
|
||||
@ -5102,16 +5055,9 @@ packages:
|
||||
resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
reusify@1.1.0:
|
||||
resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
|
||||
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
|
||||
|
||||
rou3@0.5.1:
|
||||
resolution: {integrity: sha512-OXMmJ3zRk2xeXFGfA3K+EOPHC5u7RDFG7lIOx0X1pdnhUkI8MdVrbV+sNsD80ElpUZ+MRHdyxPnFthq9VHs8uQ==}
|
||||
|
||||
run-parallel@1.2.0:
|
||||
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
|
||||
|
||||
rxjs@7.8.1:
|
||||
resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
|
||||
|
||||
@ -5373,9 +5319,6 @@ packages:
|
||||
trough@2.2.0:
|
||||
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
|
||||
|
||||
ts-morph@25.0.1:
|
||||
resolution: {integrity: sha512-QJEiTdnz1YjrB3JFhd626gX4rKHDLSjSVMvGGG4v7ONc3RBwa0Eei98G9AT9uNFDMtV54JyuXsFeC+OH0n6bXQ==}
|
||||
|
||||
tslib@2.8.1:
|
||||
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
|
||||
|
||||
@ -7052,18 +6995,6 @@ snapshots:
|
||||
|
||||
'@noble/hashes@1.7.1': {}
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
dependencies:
|
||||
'@nodelib/fs.stat': 2.0.5
|
||||
run-parallel: 1.2.0
|
||||
|
||||
'@nodelib/fs.stat@2.0.5': {}
|
||||
|
||||
'@nodelib/fs.walk@1.2.8':
|
||||
dependencies:
|
||||
'@nodelib/fs.scandir': 2.1.5
|
||||
fastq: 1.19.1
|
||||
|
||||
'@one-ini/wasm@0.1.1': {}
|
||||
|
||||
'@opentelemetry/api@1.9.0': {}
|
||||
@ -8477,12 +8408,6 @@ snapshots:
|
||||
|
||||
'@tanstack/table-core@8.21.2': {}
|
||||
|
||||
'@ts-morph/common@0.26.1':
|
||||
dependencies:
|
||||
fast-glob: 3.3.3
|
||||
minimatch: 9.0.5
|
||||
path-browserify: 1.0.1
|
||||
|
||||
'@turf/boolean-point-in-polygon@6.5.0':
|
||||
dependencies:
|
||||
'@turf/helpers': 6.5.0
|
||||
@ -8789,8 +8714,6 @@ snapshots:
|
||||
- '@types/react'
|
||||
- '@types/react-dom'
|
||||
|
||||
code-block-writer@13.0.3: {}
|
||||
|
||||
collapse-white-space@2.1.0: {}
|
||||
|
||||
color-convert@2.0.1:
|
||||
@ -9266,22 +9189,10 @@ snapshots:
|
||||
|
||||
fast-equals@5.2.2: {}
|
||||
|
||||
fast-glob@3.3.3:
|
||||
dependencies:
|
||||
'@nodelib/fs.stat': 2.0.5
|
||||
'@nodelib/fs.walk': 1.2.8
|
||||
glob-parent: 5.1.2
|
||||
merge2: 1.4.1
|
||||
micromatch: 4.0.8
|
||||
|
||||
fast-xml-parser@4.4.1:
|
||||
dependencies:
|
||||
strnum: 1.1.2
|
||||
|
||||
fastq@1.19.1:
|
||||
dependencies:
|
||||
reusify: 1.1.0
|
||||
|
||||
fault@2.0.1:
|
||||
dependencies:
|
||||
format: 0.2.2
|
||||
@ -9357,21 +9268,6 @@ snapshots:
|
||||
- supports-color
|
||||
- typescript
|
||||
|
||||
fumadocs-typescript@4.0.1(typescript@5.7.3):
|
||||
dependencies:
|
||||
estree-util-value-to-estree: 3.3.2
|
||||
fast-glob: 3.3.3
|
||||
hast-util-to-estree: 3.1.3
|
||||
hast-util-to-jsx-runtime: 2.3.6
|
||||
remark: 15.0.1
|
||||
remark-rehype: 11.1.1
|
||||
shiki: 3.2.1
|
||||
ts-morph: 25.0.1
|
||||
typescript: 5.7.3
|
||||
unist-util-visit: 5.0.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
fumadocs-ui@15.1.2(@types/react-dom@19.0.3(@types/react@19.0.9))(@types/react@19.0.9)(fumadocs-core@15.1.2(@types/react@19.0.9)(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(next@15.2.1(@babel/core@7.24.5)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(tailwindcss@4.0.14):
|
||||
dependencies:
|
||||
'@radix-ui/react-accordion': 1.2.3(@types/react-dom@19.0.3(@types/react@19.0.9))(@types/react@19.0.9)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
||||
@ -9436,10 +9332,6 @@ snapshots:
|
||||
|
||||
github-slugger@2.0.0: {}
|
||||
|
||||
glob-parent@5.1.2:
|
||||
dependencies:
|
||||
is-glob: 4.0.3
|
||||
|
||||
glob@10.3.4:
|
||||
dependencies:
|
||||
foreground-child: 3.3.0
|
||||
@ -10055,8 +9947,6 @@ snapshots:
|
||||
- acorn
|
||||
- supports-color
|
||||
|
||||
merge2@1.4.1: {}
|
||||
|
||||
mgrs@1.0.0: {}
|
||||
|
||||
micromark-core-commonmark@2.0.2:
|
||||
@ -10541,8 +10431,6 @@ snapshots:
|
||||
leac: 0.6.0
|
||||
peberminta: 0.9.0
|
||||
|
||||
path-browserify@1.0.1: {}
|
||||
|
||||
path-key@3.1.1: {}
|
||||
|
||||
path-parse@1.0.7: {}
|
||||
@ -10690,8 +10578,6 @@ snapshots:
|
||||
dependencies:
|
||||
side-channel: 1.1.0
|
||||
|
||||
queue-microtask@1.2.3: {}
|
||||
|
||||
randombytes@2.1.0:
|
||||
dependencies:
|
||||
safe-buffer: 5.2.1
|
||||
@ -11014,14 +10900,8 @@ snapshots:
|
||||
onetime: 5.1.2
|
||||
signal-exit: 3.0.7
|
||||
|
||||
reusify@1.1.0: {}
|
||||
|
||||
rou3@0.5.1: {}
|
||||
|
||||
run-parallel@1.2.0:
|
||||
dependencies:
|
||||
queue-microtask: 1.2.3
|
||||
|
||||
rxjs@7.8.1:
|
||||
dependencies:
|
||||
tslib: 2.8.1
|
||||
@ -11325,11 +11205,6 @@ snapshots:
|
||||
|
||||
trough@2.2.0: {}
|
||||
|
||||
ts-morph@25.0.1:
|
||||
dependencies:
|
||||
'@ts-morph/common': 0.26.1
|
||||
code-block-writer: 13.0.3
|
||||
|
||||
tslib@2.8.1: {}
|
||||
|
||||
tsx@4.19.3:
|
||||
|
@ -6,8 +6,6 @@ import { source } from '@/lib/docs/source';
|
||||
import { MDXContent } from '@content-collections/mdx/react';
|
||||
import Link from 'fumadocs-core/link';
|
||||
import { Popup, PopupContent, PopupTrigger } from 'fumadocs-twoslash/ui';
|
||||
import { createGenerator } from 'fumadocs-typescript';
|
||||
import { AutoTypeTable } from 'fumadocs-typescript/ui';
|
||||
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
|
||||
import { Callout } from 'fumadocs-ui/components/callout';
|
||||
import { File, Files, Folder } from 'fumadocs-ui/components/files';
|
||||
@ -147,12 +145,6 @@ export default async function DocPage({
|
||||
Tabs,
|
||||
Tab,
|
||||
TypeTable,
|
||||
AutoTypeTable: (props) => (
|
||||
<AutoTypeTable
|
||||
generator={createGenerator()}
|
||||
{...props}
|
||||
/>
|
||||
),
|
||||
Accordion,
|
||||
Accordions,
|
||||
Wrapper,
|
||||
|
Loading…
Reference in New Issue
Block a user