fumadocs-typescript 5.2.5 → 5.2.7
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 +2 -2
- package/dist/index.js +3 -3
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +15 -13
- /package/dist/{get-simple-form-Bya17G4R.js → get-simple-form-B_lm5cA2.js} +0 -0
- /package/dist/{markdown-cnIFnWzR.d.ts → markdown-CM2iLQC-.d.ts} +0 -0
- /package/dist/{parse-tags-CaW74X-R.js → parse-tags-Cikh_NrX.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as GeneratedDoc, c as RawTag, d as createProject, f as Cache, h as GenerateTypeTableOptions, i as GenerateOptions, l as TypescriptConfig, m as BaseTypeTableProps, n as ShikiOptions, o as Generator, p as generateHash, r as DocEntry, s as GeneratorOptions, t as MarkdownRenderer, u as createGenerator } from "./markdown-
|
|
1
|
+
import { a as GeneratedDoc, c as RawTag, d as createProject, f as Cache, h as GenerateTypeTableOptions, i as GenerateOptions, l as TypescriptConfig, m as BaseTypeTableProps, n as ShikiOptions, o as Generator, p as generateHash, r as DocEntry, s as GeneratorOptions, t as MarkdownRenderer, u as createGenerator } from "./markdown-CM2iLQC-.js";
|
|
2
2
|
import { Root } from "mdast";
|
|
3
3
|
import { Transformer } from "unified";
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ interface RemarkAutoTypeTableOptions {
|
|
|
19
19
|
renderMarkdown?: MarkdownRenderer['renderMarkdownToHast'];
|
|
20
20
|
renderType?: MarkdownRenderer['renderTypeToHast'];
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Customize type table generation
|
|
23
23
|
*/
|
|
24
24
|
options?: GenerateTypeTableOptions;
|
|
25
25
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as markdownRenderer, t as parseTags } from "./parse-tags-
|
|
1
|
+
import { n as markdownRenderer, t as parseTags } from "./parse-tags-Cikh_NrX.js";
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
@@ -30,7 +30,7 @@ function generateHash(str) {
|
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region package.json
|
|
33
|
-
var version = "5.2.
|
|
33
|
+
var version = "5.2.7";
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/lib/base.ts
|
|
36
36
|
async function createProject(options = {}) {
|
|
@@ -110,7 +110,7 @@ async function generate(id, name, entryContext) {
|
|
|
110
110
|
}
|
|
111
111
|
async function getDocEntry(prop, context) {
|
|
112
112
|
const { ts } = await import("ts-morph");
|
|
113
|
-
const { getSimpleForm } = await import("./get-simple-form-
|
|
113
|
+
const { getSimpleForm } = await import("./get-simple-form-B_lm5cA2.js");
|
|
114
114
|
const { transform, allowInternal = false, program } = context;
|
|
115
115
|
if (context.type.isClass() && prop.getName().startsWith("#")) return;
|
|
116
116
|
const subType = prop.getTypeAtLocation(context.declaration);
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as GenerateTypeTableOptions, m as BaseTypeTableProps, n as ShikiOptions, o as Generator } from "../markdown-
|
|
1
|
+
import { h as GenerateTypeTableOptions, m as BaseTypeTableProps, n as ShikiOptions, o as Generator } from "../markdown-CM2iLQC-.js";
|
|
2
2
|
import * as JsxRuntime from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
4
|
|
package/dist/ui/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as markdownRenderer, t as parseTags } from "../parse-tags-
|
|
1
|
+
import { n as markdownRenderer, t as parseTags } from "../parse-tags-Cikh_NrX.js";
|
|
2
2
|
import { TypeTable } from "fumadocs-ui/components/type-table";
|
|
3
3
|
import { toJsxRuntime } from "hast-util-to-jsx-runtime";
|
|
4
4
|
import * as JsxRuntime from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-typescript",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.7",
|
|
4
4
|
"description": "Typescript Integration for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
7
|
-
"NextJs",
|
|
8
7
|
"fumadocs"
|
|
9
8
|
],
|
|
10
9
|
"homepage": "https://fumadocs.dev",
|
|
11
10
|
"license": "MIT",
|
|
12
11
|
"author": "Fuma Nama",
|
|
13
|
-
"repository":
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "github:fuma-nama/fumadocs"
|
|
15
|
+
},
|
|
14
16
|
"files": [
|
|
15
17
|
"dist"
|
|
16
18
|
],
|
|
@@ -36,26 +38,26 @@
|
|
|
36
38
|
"hast-util-to-jsx-runtime": "^2.3.6",
|
|
37
39
|
"remark": "^15.0.1",
|
|
38
40
|
"remark-rehype": "^11.1.2",
|
|
39
|
-
"shiki": "^4.0
|
|
40
|
-
"ts-morph": "^
|
|
41
|
+
"shiki": "^4.2.0",
|
|
42
|
+
"ts-morph": "^28.0.0",
|
|
41
43
|
"unified": "^11.0.5",
|
|
42
44
|
"unist-util-visit": "^5.1.0"
|
|
43
45
|
},
|
|
44
46
|
"devDependencies": {
|
|
45
47
|
"@mdx-js/mdx": "^3.1.1",
|
|
46
|
-
"@types/estree": "^1.0.
|
|
48
|
+
"@types/estree": "^1.0.9",
|
|
47
49
|
"@types/hast": "^3.0.4",
|
|
48
50
|
"@types/mdast": "^4.0.4",
|
|
49
|
-
"@types/node": "
|
|
50
|
-
"@types/react": "^19.2.
|
|
51
|
+
"@types/node": "26.0.0",
|
|
52
|
+
"@types/react": "^19.2.17",
|
|
51
53
|
"@types/react-dom": "^19.2.3",
|
|
52
54
|
"mdast-util-mdx": "^3.0.0",
|
|
53
|
-
"tsdown": "0.
|
|
54
|
-
"typescript": "^6.0.
|
|
55
|
+
"tsdown": "0.22.3",
|
|
56
|
+
"typescript": "^6.0.3",
|
|
55
57
|
"vfile": "^6.0.3",
|
|
56
|
-
"
|
|
57
|
-
"fumadocs-ui": "16.
|
|
58
|
-
"
|
|
58
|
+
"tsconfig": "0.0.0",
|
|
59
|
+
"fumadocs-ui": "16.10.6",
|
|
60
|
+
"fumadocs-core": "16.10.6"
|
|
59
61
|
},
|
|
60
62
|
"peerDependencies": {
|
|
61
63
|
"@types/estree": "*",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|