fumadocs-mdx 14.1.0 → 14.1.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/bun/index.d.ts +1 -1
- package/dist/bun/index.js +3 -3
- package/dist/{chunk-K7N6GD4M.js → chunk-257RZJEQ.js} +1 -1
- package/dist/{chunk-PW2AZGGD.js → chunk-2PY3JUIC.js} +1 -0
- package/dist/{chunk-VKSHE52K.js → chunk-KWSETXYC.js} +1 -1
- package/dist/{chunk-VITVHHR6.js → chunk-STLEUNK7.js} +4 -3
- package/dist/{chunk-WAAWFNDX.js → chunk-WSQ23PNV.js} +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/{core-X5ggQtBM.d.ts → core-nagEel33.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/next/index.cjs +1 -1
- package/dist/next/index.d.ts +1 -1
- package/dist/next/index.js +3 -3
- package/dist/node/loader.js +3 -3
- package/dist/plugins/index-file.d.ts +1 -1
- package/dist/plugins/index-file.js +2 -2
- package/dist/plugins/json-schema.d.ts +1 -1
- package/dist/plugins/last-modified.d.ts +1 -1
- package/dist/plugins/last-modified.js +1 -1
- package/dist/runtime/browser.d.ts +1 -1
- package/dist/runtime/dynamic.d.ts +1 -1
- package/dist/runtime/dynamic.js +2 -2
- package/dist/runtime/server.d.ts +1 -1
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +4 -4
- package/dist/webpack/mdx.js +4 -4
- package/dist/webpack/meta.js +4 -4
- package/package.json +9 -9
package/dist/bun/index.d.ts
CHANGED
package/dist/bun/index.js
CHANGED
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
createIntegratedConfigLoader,
|
|
13
13
|
toBun
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-WSQ23PNV.js";
|
|
15
15
|
import "../chunk-4JSFLXXT.js";
|
|
16
16
|
import {
|
|
17
17
|
_Defaults,
|
|
18
18
|
createCore
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-KWSETXYC.js";
|
|
20
|
+
import "../chunk-2PY3JUIC.js";
|
|
21
21
|
import "../chunk-VWJKRQZR.js";
|
|
22
22
|
|
|
23
23
|
// src/bun/index.ts
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCodegen,
|
|
3
|
-
ident
|
|
4
|
-
|
|
3
|
+
ident,
|
|
4
|
+
slash
|
|
5
|
+
} from "./chunk-2PY3JUIC.js";
|
|
5
6
|
import {
|
|
6
7
|
fumaMatter
|
|
7
8
|
} from "./chunk-VWJKRQZR.js";
|
|
@@ -293,7 +294,7 @@ async function generateBrowserIndexFile(ctx) {
|
|
|
293
294
|
codegen.lines.push("};", "export default browserCollections;");
|
|
294
295
|
}
|
|
295
296
|
function getBase(collection) {
|
|
296
|
-
return path2.relative(process.cwd(), collection.dir);
|
|
297
|
+
return slash(path2.relative(process.cwd(), collection.dir));
|
|
297
298
|
}
|
|
298
299
|
function generateDocCollectionFrontmatterGlob({ codegen, workspace }, collection, eager = false) {
|
|
299
300
|
return codegen.generateGlobImport(collection.patterns, {
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AnyCollection, B as BaseCollection,
|
|
1
|
+
export { A as AnyCollection, B as BaseCollection, C as CollectionSchema, e as DefaultMDXOptions, D as DocCollection, a as DocsCollection, G as GlobalConfig, f as MDXPresetOptions, M as MetaCollection, P as PostprocessOptions, g as applyMdxPreset, d as defineCollections, c as defineConfig, b as defineDocs } from '../core-nagEel33.js';
|
|
2
2
|
import { Processor, Transformer } from 'unified';
|
|
3
3
|
import { Root } from 'mdast';
|
|
4
4
|
export { pageSchema as frontmatterSchema, metaSchema } from 'fumadocs-core/source/schema';
|
|
@@ -347,4 +347,4 @@ declare function createCore(options: CoreOptions): {
|
|
|
347
347
|
};
|
|
348
348
|
type Core = ReturnType<typeof createCore>;
|
|
349
349
|
|
|
350
|
-
export { type AnyCollection as A, type BaseCollection as B, type
|
|
350
|
+
export { type AnyCollection as A, type BaseCollection as B, type CollectionSchema as C, type DocCollection as D, type ExtractedReference as E, indexFile as F, type GlobalConfig as G, type IndexFilePlugin as H, type IndexFilePluginOptions as I, type MetaCollection as M, type PostprocessOptions as P, type ServerOptions as S, type TransformOptions as T, _Defaults as _, type DocsCollection as a, defineDocs as b, defineConfig as c, defineCollections as d, type DefaultMDXOptions as e, type MDXPresetOptions as f, applyMdxPreset as g, type CoreOptions as h, type Plugin as i, type AsyncDocCollectionEntry as j, type AsyncDocsCollectionEntry as k, type EmitEntry as l, type PluginContext as m, type CompilationContext as n, type PluginOption as o, type ServerContext as p, type EmitOptions as q, type EmitOutput as r, createCore as s, type Core as t, type MetaCollectionEntry as u, type DocCollectionEntry as v, type DocsCollectionEntry as w, type ServerCreate as x, server as y, toFumadocsSource as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as CompilationContext, t as Core,
|
|
1
|
+
export { n as CompilationContext, t as Core, h as CoreOptions, l as EmitEntry, q as EmitOptions, r as EmitOutput, E as ExtractedReference, i as Plugin, m as PluginContext, o as PluginOption, p as ServerContext, T as TransformOptions, _ as _Defaults, s as createCore } from './core-nagEel33.js';
|
|
2
2
|
import { createProcessor } from '@mdx-js/mdx';
|
|
3
3
|
import { StructuredData } from 'fumadocs-core/mdx-plugins';
|
|
4
4
|
import { TOCItemType } from 'fumadocs-core/toc';
|
package/dist/next/index.cjs
CHANGED
|
@@ -965,7 +965,7 @@ async function generateBrowserIndexFile(ctx) {
|
|
|
965
965
|
codegen.lines.push("};", "export default browserCollections;");
|
|
966
966
|
}
|
|
967
967
|
function getBase(collection) {
|
|
968
|
-
return import_path.default.relative(process.cwd(), collection.dir);
|
|
968
|
+
return slash(import_path.default.relative(process.cwd(), collection.dir));
|
|
969
969
|
}
|
|
970
970
|
function generateDocCollectionFrontmatterGlob({ codegen, workspace }, collection, eager = false) {
|
|
971
971
|
return codegen.generateGlobImport(collection.patterns, {
|
package/dist/next/index.d.ts
CHANGED
package/dist/next/index.js
CHANGED
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
_Defaults,
|
|
12
12
|
createCore
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-KWSETXYC.js";
|
|
14
14
|
import {
|
|
15
15
|
indexFile
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-STLEUNK7.js";
|
|
17
|
+
import "../chunk-2PY3JUIC.js";
|
|
18
18
|
import "../chunk-VWJKRQZR.js";
|
|
19
19
|
|
|
20
20
|
// src/next/index.ts
|
package/dist/node/loader.js
CHANGED
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createStandaloneConfigLoader,
|
|
9
9
|
toNode
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-WSQ23PNV.js";
|
|
11
11
|
import "../chunk-4JSFLXXT.js";
|
|
12
12
|
import {
|
|
13
13
|
_Defaults,
|
|
14
14
|
createCore
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-KWSETXYC.js";
|
|
16
|
+
import "../chunk-2PY3JUIC.js";
|
|
17
17
|
import "../chunk-VWJKRQZR.js";
|
|
18
18
|
|
|
19
19
|
// src/node/loader.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as IndexFilePlugin, I as IndexFilePluginOptions, F as default } from '../core-
|
|
1
|
+
export { H as IndexFilePlugin, I as IndexFilePluginOptions, F as default } from '../core-nagEel33.js';
|
|
2
2
|
import '@mdx-js/mdx';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
import 'unified';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, FC } from 'react';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
|
-
import { D as DocCollection,
|
|
3
|
+
import { D as DocCollection, a as DocsCollection } from '../core-nagEel33.js';
|
|
4
4
|
import { CompiledMDXProperties } from '../index.js';
|
|
5
5
|
import { InternalTypeConfig } from './types.js';
|
|
6
6
|
import '@mdx-js/mdx';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as fumadocs_core_source from 'fumadocs-core/source';
|
|
2
|
-
import {
|
|
2
|
+
import { h as CoreOptions, S as ServerOptions, D as DocCollection, a as DocsCollection, j as AsyncDocCollectionEntry, k as AsyncDocsCollectionEntry } from '../core-nagEel33.js';
|
|
3
3
|
import * as _standard_schema_spec from '@standard-schema/spec';
|
|
4
4
|
import { FileInfo, InternalTypeConfig } from './types.js';
|
|
5
5
|
import '@mdx-js/mdx';
|
package/dist/runtime/dynamic.js
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
import "../chunk-S7KOJHHO.js";
|
|
12
12
|
import {
|
|
13
13
|
createCore
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-KWSETXYC.js";
|
|
15
|
+
import "../chunk-2PY3JUIC.js";
|
|
16
16
|
import {
|
|
17
17
|
fumaMatter
|
|
18
18
|
} from "../chunk-VWJKRQZR.js";
|
package/dist/runtime/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'fumadocs-core/source';
|
|
2
|
-
export { j as AsyncDocCollectionEntry, k as AsyncDocsCollectionEntry, v as DocCollectionEntry, w as DocsCollectionEntry, u as MetaCollectionEntry, x as ServerCreate, S as ServerOptions, y as server, z as toFumadocsSource } from '../core-
|
|
2
|
+
export { j as AsyncDocCollectionEntry, k as AsyncDocsCollectionEntry, v as DocCollectionEntry, w as DocsCollectionEntry, u as MetaCollectionEntry, x as ServerCreate, S as ServerOptions, y as server, z as toFumadocsSource } from '../core-nagEel33.js';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
import './types.js';
|
|
5
5
|
import '@mdx-js/mdx';
|
package/dist/vite/index.d.ts
CHANGED
package/dist/vite/index.js
CHANGED
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
createIntegratedConfigLoader,
|
|
13
13
|
toVite
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-WSQ23PNV.js";
|
|
15
15
|
import "../chunk-4JSFLXXT.js";
|
|
16
16
|
import {
|
|
17
17
|
ValidationError,
|
|
18
18
|
_Defaults,
|
|
19
19
|
createCore
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-KWSETXYC.js";
|
|
21
21
|
import {
|
|
22
22
|
indexFile
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-STLEUNK7.js";
|
|
24
|
+
import "../chunk-2PY3JUIC.js";
|
|
25
25
|
import "../chunk-VWJKRQZR.js";
|
|
26
26
|
|
|
27
27
|
// src/vite/index.ts
|
package/dist/webpack/mdx.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCore
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-257RZJEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
createMdxLoader
|
|
6
6
|
} from "../chunk-T6G5VOED.js";
|
|
7
7
|
import {
|
|
8
8
|
createStandaloneConfigLoader,
|
|
9
9
|
toWebpack
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-WSQ23PNV.js";
|
|
11
11
|
import "../chunk-4JSFLXXT.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-KWSETXYC.js";
|
|
13
|
+
import "../chunk-2PY3JUIC.js";
|
|
14
14
|
import "../chunk-VWJKRQZR.js";
|
|
15
15
|
|
|
16
16
|
// src/webpack/mdx.ts
|
package/dist/webpack/meta.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCore
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-257RZJEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
createMetaLoader
|
|
6
6
|
} from "../chunk-ZAYZWFWP.js";
|
|
7
7
|
import {
|
|
8
8
|
createStandaloneConfigLoader,
|
|
9
9
|
toWebpack
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-WSQ23PNV.js";
|
|
11
11
|
import "../chunk-4JSFLXXT.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-KWSETXYC.js";
|
|
13
|
+
import "../chunk-2PY3JUIC.js";
|
|
14
14
|
|
|
15
15
|
// src/webpack/meta.ts
|
|
16
16
|
var instance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-mdx",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"description": "The built-in source for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -76,28 +76,28 @@
|
|
|
76
76
|
"zod": "^4.1.13"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@types/bun": "^1.3.
|
|
79
|
+
"@types/bun": "^1.3.4",
|
|
80
80
|
"@types/js-yaml": "^4.0.9",
|
|
81
81
|
"@types/mdast": "^4.0.4",
|
|
82
82
|
"@types/mdx": "^2.0.13",
|
|
83
|
-
"@types/node": "^24.10.
|
|
83
|
+
"@types/node": "^24.10.2",
|
|
84
84
|
"@types/picomatch": "^4.0.2",
|
|
85
85
|
"@types/react": "^19.2.7",
|
|
86
|
-
"astro": "^5.16.
|
|
86
|
+
"astro": "^5.16.5",
|
|
87
87
|
"mdast-util-directive": "^3.1.0",
|
|
88
88
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
89
|
-
"next": "16.0.
|
|
90
|
-
"react": "^19.2.
|
|
89
|
+
"next": "16.0.10",
|
|
90
|
+
"react": "^19.2.3",
|
|
91
91
|
"remark": "^15.0.1",
|
|
92
92
|
"remark-directive": "^4.0.0",
|
|
93
93
|
"remark-stringify": "^11.0.0",
|
|
94
94
|
"rollup": "^4.53.3",
|
|
95
|
-
"vite": "^7.2.
|
|
95
|
+
"vite": "^7.2.7",
|
|
96
96
|
"webpack": "^5.103.0",
|
|
97
97
|
"@fumadocs/mdx-remote": "1.4.3",
|
|
98
98
|
"eslint-config-custom": "0.0.0",
|
|
99
|
-
"
|
|
100
|
-
"
|
|
99
|
+
"tsconfig": "0.0.0",
|
|
100
|
+
"fumadocs-core": "16.2.5"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"@fumadocs/mdx-remote": "^1.4.0",
|