fumadocs-mdx 11.6.10 → 11.6.11
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/{chunk-OTM6WYMS.js → chunk-22SBT5SQ.js} +1 -1
- package/dist/config/index.cjs +1 -1
- package/dist/config/index.d.cts +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.js +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/loader-mdx.cjs +1 -1
- package/dist/loader-mdx.js +2 -2
- package/dist/next/index.cjs +1 -1
- package/dist/next/index.js +1 -1
- package/dist/runtime/async.d.cts +2 -2
- package/dist/runtime/async.d.ts +2 -2
- package/dist/runtime/async.js +3 -3
- package/dist/{types-ZwLebhOl.d.cts → types-BcUhOIxN.d.cts} +1 -1
- package/dist/{types-DvTNxAvo.d.cts → types-DVeuYiq5.d.cts} +4 -30
- package/dist/{types-DvTNxAvo.d.ts → types-DVeuYiq5.d.ts} +4 -30
- package/dist/{types-Dk7DhSKZ.d.ts → types-HIdjlLo0.d.ts} +1 -1
- package/dist/vite/index.js +3 -3
- package/package.json +7 -7
|
@@ -15,7 +15,7 @@ var frontmatterSchema = z.object({
|
|
|
15
15
|
icon: z.string().optional(),
|
|
16
16
|
full: z.boolean().optional(),
|
|
17
17
|
// Fumadocs OpenAPI generated
|
|
18
|
-
_openapi: z.
|
|
18
|
+
_openapi: z.looseObject({}).optional()
|
|
19
19
|
});
|
|
20
20
|
var ValidationError = class extends Error {
|
|
21
21
|
constructor(message, issues) {
|
package/dist/config/index.cjs
CHANGED
|
@@ -57,7 +57,7 @@ var frontmatterSchema = import_zod.z.object({
|
|
|
57
57
|
icon: import_zod.z.string().optional(),
|
|
58
58
|
full: import_zod.z.boolean().optional(),
|
|
59
59
|
// Fumadocs OpenAPI generated
|
|
60
|
-
_openapi: import_zod.z.
|
|
60
|
+
_openapi: import_zod.z.looseObject({}).optional()
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
// src/config/define.ts
|
package/dist/config/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as BaseCollection, B as BaseCollectionEntry, C as CollectionSchema, D as DefaultMDXOptions, c as DocCollection, d as DocsCollection, F as FileInfo, G as GlobalConfig, M as MarkdownProps, b as MetaCollection, e as defineCollections, h as defineConfig, g as defineDocs, f as frontmatterSchema, l as loadDefaultOptions, m as metaSchema } from '../types-
|
|
1
|
+
export { a as BaseCollection, B as BaseCollectionEntry, C as CollectionSchema, D as DefaultMDXOptions, c as DocCollection, d as DocsCollection, F as FileInfo, G as GlobalConfig, M as MarkdownProps, b as MetaCollection, e as defineCollections, h as defineConfig, g as defineDocs, f as frontmatterSchema, l as loadDefaultOptions, m as metaSchema } from '../types-DVeuYiq5.cjs';
|
|
2
2
|
import { Processor, Transformer } from 'unified';
|
|
3
3
|
import { Root } from 'mdast';
|
|
4
4
|
import 'mdx/types';
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as BaseCollection, B as BaseCollectionEntry, C as CollectionSchema, D as DefaultMDXOptions, c as DocCollection, d as DocsCollection, F as FileInfo, G as GlobalConfig, M as MarkdownProps, b as MetaCollection, e as defineCollections, h as defineConfig, g as defineDocs, f as frontmatterSchema, l as loadDefaultOptions, m as metaSchema } from '../types-
|
|
1
|
+
export { a as BaseCollection, B as BaseCollectionEntry, C as CollectionSchema, D as DefaultMDXOptions, c as DocCollection, d as DocsCollection, F as FileInfo, G as GlobalConfig, M as MarkdownProps, b as MetaCollection, e as defineCollections, h as defineConfig, g as defineDocs, f as frontmatterSchema, l as loadDefaultOptions, m as metaSchema } from '../types-DVeuYiq5.js';
|
|
2
2
|
import { Processor, Transformer } from 'unified';
|
|
3
3
|
import { Root } from 'mdast';
|
|
4
4
|
import 'mdx/types';
|
package/dist/config/index.js
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageData, MetaData, Source, VirtualFile } from 'fumadocs-core/source';
|
|
2
|
-
import { B as BaseCollectionEntry } from './types-
|
|
3
|
-
import { R as Runtime } from './types-
|
|
2
|
+
import { B as BaseCollectionEntry } from './types-DVeuYiq5.cjs';
|
|
3
|
+
import { R as Runtime } from './types-BcUhOIxN.cjs';
|
|
4
4
|
import 'mdx/types';
|
|
5
5
|
import 'fumadocs-core/mdx-plugins';
|
|
6
6
|
import 'fumadocs-core/server';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageData, MetaData, Source, VirtualFile } from 'fumadocs-core/source';
|
|
2
|
-
import { B as BaseCollectionEntry } from './types-
|
|
3
|
-
import { R as Runtime } from './types-
|
|
2
|
+
import { B as BaseCollectionEntry } from './types-DVeuYiq5.js';
|
|
3
|
+
import { R as Runtime } from './types-HIdjlLo0.js';
|
|
4
4
|
import 'mdx/types';
|
|
5
5
|
import 'fumadocs-core/mdx-plugins';
|
|
6
6
|
import 'fumadocs-core/server';
|
package/dist/loader-mdx.cjs
CHANGED
|
@@ -290,7 +290,7 @@ var frontmatterSchema = import_zod.z.object({
|
|
|
290
290
|
icon: import_zod.z.string().optional(),
|
|
291
291
|
full: import_zod.z.boolean().optional(),
|
|
292
292
|
// Fumadocs OpenAPI generated
|
|
293
|
-
_openapi: import_zod.z.
|
|
293
|
+
_openapi: import_zod.z.looseObject({}).optional()
|
|
294
294
|
});
|
|
295
295
|
var ValidationError = class extends Error {
|
|
296
296
|
constructor(message, issues) {
|
package/dist/loader-mdx.js
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
ValidationError,
|
|
8
8
|
validate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-22SBT5SQ.js";
|
|
10
10
|
import {
|
|
11
11
|
buildMDX,
|
|
12
12
|
countLines
|
|
13
13
|
} from "./chunk-6PDS7MUA.js";
|
|
14
|
+
import "./chunk-DRVUBK5B.js";
|
|
14
15
|
import {
|
|
15
16
|
loadDefaultOptions
|
|
16
17
|
} from "./chunk-64MMPGML.js";
|
|
17
18
|
import "./chunk-AVMO2SRO.js";
|
|
18
|
-
import "./chunk-DRVUBK5B.js";
|
|
19
19
|
import {
|
|
20
20
|
fumaMatter
|
|
21
21
|
} from "./chunk-KVWX6THC.js";
|
package/dist/next/index.cjs
CHANGED
|
@@ -196,7 +196,7 @@ var frontmatterSchema = import_zod.z.object({
|
|
|
196
196
|
icon: import_zod.z.string().optional(),
|
|
197
197
|
full: import_zod.z.boolean().optional(),
|
|
198
198
|
// Fumadocs OpenAPI generated
|
|
199
|
-
_openapi: import_zod.z.
|
|
199
|
+
_openapi: import_zod.z.looseObject({}).optional()
|
|
200
200
|
});
|
|
201
201
|
var ValidationError = class extends Error {
|
|
202
202
|
constructor(message, issues) {
|
package/dist/next/index.js
CHANGED
package/dist/runtime/async.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as RuntimeAsync } from '../types-
|
|
2
|
-
import { L as LoadedConfig } from '../types-
|
|
1
|
+
import { a as RuntimeAsync } from '../types-BcUhOIxN.cjs';
|
|
2
|
+
import { L as LoadedConfig } from '../types-DVeuYiq5.cjs';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
import 'fumadocs-core/source';
|
|
5
5
|
import 'mdx/types';
|
package/dist/runtime/async.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as RuntimeAsync } from '../types-
|
|
2
|
-
import { L as LoadedConfig } from '../types-
|
|
1
|
+
import { a as RuntimeAsync } from '../types-HIdjlLo0.js';
|
|
2
|
+
import { L as LoadedConfig } from '../types-DVeuYiq5.js';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
import 'fumadocs-core/source';
|
|
5
5
|
import 'mdx/types';
|
package/dist/runtime/async.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
_runtime,
|
|
3
3
|
createMDXSource
|
|
4
4
|
} from "../chunk-NUDEC6C5.js";
|
|
5
|
-
import {
|
|
6
|
-
remarkInclude
|
|
7
|
-
} from "../chunk-AVMO2SRO.js";
|
|
8
5
|
import {
|
|
9
6
|
buildConfig
|
|
10
7
|
} from "../chunk-DRVUBK5B.js";
|
|
8
|
+
import {
|
|
9
|
+
remarkInclude
|
|
10
|
+
} from "../chunk-AVMO2SRO.js";
|
|
11
11
|
import "../chunk-KVWX6THC.js";
|
|
12
12
|
|
|
13
13
|
// src/runtime/async.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FileInfo, M as MarkdownProps, B as BaseCollectionEntry, L as LoadedConfig } from './types-
|
|
1
|
+
import { F as FileInfo, M as MarkdownProps, B as BaseCollectionEntry, L as LoadedConfig } from './types-DVeuYiq5.cjs';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
3
|
import { Source, PageData, MetaData } from 'fumadocs-core/source';
|
|
4
4
|
|
|
@@ -39,45 +39,19 @@ declare module 'vfile' {
|
|
|
39
39
|
|
|
40
40
|
declare const metaSchema: z.ZodObject<{
|
|
41
41
|
title: z.ZodOptional<z.ZodString>;
|
|
42
|
-
pages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
42
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
43
|
description: z.ZodOptional<z.ZodString>;
|
|
44
44
|
root: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
icon: z.ZodOptional<z.ZodString>;
|
|
47
|
-
},
|
|
48
|
-
root?: boolean | undefined;
|
|
49
|
-
title?: string | undefined;
|
|
50
|
-
pages?: string[] | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
defaultOpen?: boolean | undefined;
|
|
53
|
-
icon?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
root?: boolean | undefined;
|
|
56
|
-
title?: string | undefined;
|
|
57
|
-
pages?: string[] | undefined;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
defaultOpen?: boolean | undefined;
|
|
60
|
-
icon?: string | undefined;
|
|
61
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
62
48
|
declare const frontmatterSchema: z.ZodObject<{
|
|
63
49
|
title: z.ZodString;
|
|
64
50
|
description: z.ZodOptional<z.ZodString>;
|
|
65
51
|
icon: z.ZodOptional<z.ZodString>;
|
|
66
52
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
_openapi: z.ZodOptional<z.ZodObject<{},
|
|
68
|
-
},
|
|
69
|
-
title: string;
|
|
70
|
-
description?: string | undefined;
|
|
71
|
-
icon?: string | undefined;
|
|
72
|
-
full?: boolean | undefined;
|
|
73
|
-
_openapi?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
74
|
-
}, {
|
|
75
|
-
title: string;
|
|
76
|
-
description?: string | undefined;
|
|
77
|
-
icon?: string | undefined;
|
|
78
|
-
full?: boolean | undefined;
|
|
79
|
-
_openapi?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
80
|
-
}>;
|
|
53
|
+
_openapi: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
81
55
|
|
|
82
56
|
type CollectionSchema<Schema extends StandardSchemaV1, Context> = Schema | ((ctx: Context) => Schema);
|
|
83
57
|
interface BaseCollection {
|
|
@@ -39,45 +39,19 @@ declare module 'vfile' {
|
|
|
39
39
|
|
|
40
40
|
declare const metaSchema: z.ZodObject<{
|
|
41
41
|
title: z.ZodOptional<z.ZodString>;
|
|
42
|
-
pages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
42
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
43
|
description: z.ZodOptional<z.ZodString>;
|
|
44
44
|
root: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
icon: z.ZodOptional<z.ZodString>;
|
|
47
|
-
},
|
|
48
|
-
root?: boolean | undefined;
|
|
49
|
-
title?: string | undefined;
|
|
50
|
-
pages?: string[] | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
defaultOpen?: boolean | undefined;
|
|
53
|
-
icon?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
root?: boolean | undefined;
|
|
56
|
-
title?: string | undefined;
|
|
57
|
-
pages?: string[] | undefined;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
defaultOpen?: boolean | undefined;
|
|
60
|
-
icon?: string | undefined;
|
|
61
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
62
48
|
declare const frontmatterSchema: z.ZodObject<{
|
|
63
49
|
title: z.ZodString;
|
|
64
50
|
description: z.ZodOptional<z.ZodString>;
|
|
65
51
|
icon: z.ZodOptional<z.ZodString>;
|
|
66
52
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
_openapi: z.ZodOptional<z.ZodObject<{},
|
|
68
|
-
},
|
|
69
|
-
title: string;
|
|
70
|
-
description?: string | undefined;
|
|
71
|
-
icon?: string | undefined;
|
|
72
|
-
full?: boolean | undefined;
|
|
73
|
-
_openapi?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
74
|
-
}, {
|
|
75
|
-
title: string;
|
|
76
|
-
description?: string | undefined;
|
|
77
|
-
icon?: string | undefined;
|
|
78
|
-
full?: boolean | undefined;
|
|
79
|
-
_openapi?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
80
|
-
}>;
|
|
53
|
+
_openapi: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
81
55
|
|
|
82
56
|
type CollectionSchema<Schema extends StandardSchemaV1, Context> = Schema | ((ctx: Context) => Schema);
|
|
83
57
|
interface BaseCollection {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FileInfo, M as MarkdownProps, B as BaseCollectionEntry, L as LoadedConfig } from './types-
|
|
1
|
+
import { F as FileInfo, M as MarkdownProps, B as BaseCollectionEntry, L as LoadedConfig } from './types-DVeuYiq5.js';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
3
|
import { Source, PageData, MetaData } from 'fumadocs-core/source';
|
|
4
4
|
|
package/dist/vite/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
buildMDX,
|
|
3
3
|
countLines
|
|
4
4
|
} from "../chunk-6PDS7MUA.js";
|
|
5
|
+
import {
|
|
6
|
+
buildConfig
|
|
7
|
+
} from "../chunk-DRVUBK5B.js";
|
|
5
8
|
import {
|
|
6
9
|
loadDefaultOptions
|
|
7
10
|
} from "../chunk-64MMPGML.js";
|
|
8
11
|
import "../chunk-AVMO2SRO.js";
|
|
9
|
-
import {
|
|
10
|
-
buildConfig
|
|
11
|
-
} from "../chunk-DRVUBK5B.js";
|
|
12
12
|
import {
|
|
13
13
|
fumaMatter
|
|
14
14
|
} from "../chunk-KVWX6THC.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-mdx",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.11",
|
|
4
4
|
"description": "The built-in source for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@mdx-js/mdx": "^3.1.0",
|
|
51
51
|
"@standard-schema/spec": "^1.0.0",
|
|
52
52
|
"chokidar": "^4.0.3",
|
|
53
|
-
"esbuild": "^0.25.
|
|
53
|
+
"esbuild": "^0.25.6",
|
|
54
54
|
"estree-util-value-to-estree": "^3.4.0",
|
|
55
55
|
"js-yaml": "^4.1.0",
|
|
56
56
|
"lru-cache": "^11.1.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"tinyexec": "^1.0.1",
|
|
59
59
|
"tinyglobby": "^0.2.14",
|
|
60
60
|
"unist-util-visit": "^5.0.0",
|
|
61
|
-
"zod": "^
|
|
61
|
+
"zod": "^4.0.5"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
"@types/mdx": "^2.0.13",
|
|
67
67
|
"@types/react": "^19.1.8",
|
|
68
68
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
69
|
-
"next": "^15.3.
|
|
69
|
+
"next": "^15.3.5",
|
|
70
70
|
"unified": "^11.0.5",
|
|
71
71
|
"vfile": "^6.0.3",
|
|
72
|
-
"vite": "^7.0.
|
|
73
|
-
"webpack": "^5.
|
|
72
|
+
"vite": "^7.0.4",
|
|
73
|
+
"webpack": "^5.100.0",
|
|
74
74
|
"@fumadocs/mdx-remote": "1.3.4",
|
|
75
75
|
"eslint-config-custom": "0.0.0",
|
|
76
|
-
"fumadocs-core": "15.6.
|
|
76
|
+
"fumadocs-core": "15.6.3",
|
|
77
77
|
"tsconfig": "0.0.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|