fumadocs-typescript 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/ui/index.d.ts +3 -4
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { a as GeneratedDoc, c as RawTag, d as TypescriptConfig, f as createProje
|
|
|
2
2
|
import { Root } from "mdast";
|
|
3
3
|
import { Transformer } from "unified";
|
|
4
4
|
//#region src/lib/remark-auto-type-table.d.ts
|
|
5
|
-
interface RemarkAutoTypeTableOptions {
|
|
5
|
+
export interface RemarkAutoTypeTableOptions {
|
|
6
6
|
/**
|
|
7
7
|
* @defaultValue 'auto-type-table'
|
|
8
8
|
*/
|
|
@@ -27,7 +27,7 @@ interface RemarkAutoTypeTableOptions {
|
|
|
27
27
|
remarkStringify?: boolean;
|
|
28
28
|
generator?: Generator;
|
|
29
29
|
}
|
|
30
|
-
interface TypeTableProps extends BaseTypeTableProps {
|
|
30
|
+
export interface TypeTableProps extends BaseTypeTableProps {
|
|
31
31
|
cwd?: true;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -35,9 +35,9 @@ interface TypeTableProps extends BaseTypeTableProps {
|
|
|
35
35
|
*
|
|
36
36
|
* MDX is required to use this plugin.
|
|
37
37
|
*/
|
|
38
|
-
declare function remarkAutoTypeTable(config?: RemarkAutoTypeTableOptions): Transformer<Root, Root>;
|
|
38
|
+
export declare function remarkAutoTypeTable(config?: RemarkAutoTypeTableOptions): Transformer<Root, Root>;
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/cache/fs-cache.d.ts
|
|
41
|
-
declare function createFileSystemGeneratorCache(dir: string): Cache;
|
|
41
|
+
export declare function createFileSystemGeneratorCache(dir: string): Cache;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { Cache, DocEntry, GenerateOptions, GeneratedDoc, Generator, GeneratorOptions, type MarkdownRenderer, type Project, RawTag,
|
|
43
|
+
export { Cache, DocEntry, GenerateOptions, GeneratedDoc, Generator, GeneratorOptions, type MarkdownRenderer, type Project, RawTag, type TypescriptConfig, createGenerator, createProject, generateHash };
|
package/dist/index.js
CHANGED
package/dist/ui/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { g as GenerateTypeTableOptions, h as BaseTypeTableProps, n as ShikiOptio
|
|
|
2
2
|
import * as JsxRuntime from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
4
|
//#region src/ui/auto-type-table.d.ts
|
|
5
|
-
interface AutoTypeTableProps extends BaseTypeTableProps, ComponentProps<'div'> {
|
|
5
|
+
export interface AutoTypeTableProps extends BaseTypeTableProps, ComponentProps<'div'> {
|
|
6
6
|
generator: Generator;
|
|
7
7
|
/** Shiki configuration when using default `renderMarkdown` & `renderType` */
|
|
8
8
|
shiki?: ShikiOptions;
|
|
@@ -10,6 +10,5 @@ interface AutoTypeTableProps extends BaseTypeTableProps, ComponentProps<'div'> {
|
|
|
10
10
|
renderMarkdown?: (md: string) => Promise<ReactNode>;
|
|
11
11
|
renderType?: (type: string) => Promise<ReactNode>;
|
|
12
12
|
}
|
|
13
|
-
declare function AutoTypeTable({ generator, options, renderType, renderMarkdown, shiki, name, path, type, ...props }: AutoTypeTableProps): Promise<Promise<JsxRuntime.JSX.Element>[]>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { AutoTypeTable, AutoTypeTableProps };
|
|
13
|
+
export declare function AutoTypeTable({ generator, options, renderType, renderMarkdown, shiki, name, path, type, ...props }: AutoTypeTableProps): Promise<Promise<JsxRuntime.JSX.Element>[]>;
|
|
14
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-typescript",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Typescript Integration for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
+
"sideEffects": false,
|
|
20
21
|
"main": "./dist/index.js",
|
|
21
22
|
"types": "./dist/index.d.ts",
|
|
22
23
|
"exports": {
|
|
@@ -48,14 +49,14 @@
|
|
|
48
49
|
"@types/estree": "^1.0.9",
|
|
49
50
|
"@types/hast": "^3.0.5",
|
|
50
51
|
"@types/mdast": "^4.0.4",
|
|
51
|
-
"@types/node": "26.
|
|
52
|
+
"@types/node": "26.5.0",
|
|
52
53
|
"@types/react": "^19.2.18",
|
|
53
|
-
"@types/react-dom": "^19.2.
|
|
54
|
+
"@types/react-dom": "^19.2.7",
|
|
54
55
|
"mdast-util-mdx": "^3.0.0",
|
|
55
|
-
"tsdown": "0.
|
|
56
|
+
"tsdown": "0.23.0",
|
|
56
57
|
"vfile": "^6.0.3",
|
|
57
|
-
"fumadocs-core": "16.15.
|
|
58
|
-
"fumadocs-ui": "npm:@fumadocs/base-ui@16.15.
|
|
58
|
+
"fumadocs-core": "16.15.11",
|
|
59
|
+
"fumadocs-ui": "npm:@fumadocs/base-ui@16.15.11",
|
|
59
60
|
"tsconfig": "0.0.0"
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|