fumadocs-mdx 13.0.0 → 13.0.2
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/bin.cjs +294 -257
- package/dist/{build-mdx-CzrQDBRZ.d.ts → build-mdx-CCNr86q6.d.ts} +1 -1
- package/dist/{build-mdx-BHG-_uxo.d.cts → build-mdx-D-r3_eQL.d.cts} +1 -1
- package/dist/bun/index.cjs +114 -34
- package/dist/bun/index.d.cts +8 -3
- package/dist/bun/index.d.ts +8 -3
- package/dist/bun/index.js +20 -10
- package/dist/{chunk-6Y5JDZHD.js → chunk-CXA4JO4Z.js} +1 -21
- package/dist/chunk-EELYB2XC.js +207 -0
- package/dist/{chunk-CEA6MYJU.js → chunk-XQ5O7IPO.js} +29 -27
- package/dist/chunk-XZY2AWJI.js +81 -0
- package/dist/{chunk-XV5Z4BFL.js → chunk-YVCR6FUH.js} +1 -1
- package/dist/config/index.d.cts +2 -2
- package/dist/config/index.d.ts +2 -2
- package/dist/{define-BCNh3n4O.d.cts → core-B6j6Fxse.d.cts} +101 -38
- package/dist/{define-bck_EB4t.d.ts → core-B6j6Fxse.d.ts} +101 -38
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/next/index.cjs +195 -163
- package/dist/next/index.js +79 -71
- package/dist/node/loader.cjs +120 -35
- package/dist/node/loader.js +10 -5
- package/dist/plugins/json-schema.cjs +103 -2
- package/dist/plugins/json-schema.d.cts +12 -4
- package/dist/plugins/json-schema.d.ts +12 -4
- package/dist/plugins/json-schema.js +40 -2
- package/dist/runtime/next/async.d.cts +4 -4
- package/dist/runtime/next/async.d.ts +4 -4
- package/dist/runtime/next/async.js +3 -3
- package/dist/runtime/next/index.d.cts +5 -5
- package/dist/runtime/next/index.d.ts +5 -5
- package/dist/runtime/vite/browser.d.cts +3 -3
- package/dist/runtime/vite/browser.d.ts +3 -3
- package/dist/runtime/vite/server.d.cts +3 -3
- package/dist/runtime/vite/server.d.ts +3 -3
- package/dist/{types-1cCFEzWt.d.ts → types-AGzTfBmf.d.ts} +1 -1
- package/dist/{types-D5NhXTJY.d.cts → types-DKGMoay5.d.cts} +1 -1
- package/dist/vite/index.cjs +145 -108
- package/dist/vite/index.js +53 -45
- package/dist/{loader-mdx.cjs → webpack/index.cjs} +151 -58
- package/dist/webpack/index.js +44 -0
- package/loader-mdx.cjs +1 -1
- package/package.json +4 -3
- package/dist/chunk-4MAYA5QX.js +0 -44
- package/dist/chunk-HI62EXSB.js +0 -127
- package/dist/loader-mdx.js +0 -39
- package/dist/plugins/index.cjs +0 -78
- package/dist/plugins/index.d.cts +0 -7
- package/dist/plugins/index.d.ts +0 -7
- package/dist/plugins/index.js +0 -6
- package/dist/remark-postprocess-K233ZVBK.d.cts +0 -22
- package/dist/remark-postprocess-K233ZVBK.d.ts +0 -22
- package/dist/watcher-WXJDWRZY.js +0 -22
- /package/dist/{loader-mdx.d.cts → webpack/index.d.cts} +0 -0
- /package/dist/{loader-mdx.d.ts → webpack/index.d.ts} +0 -0
package/dist/plugins/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface ExtractedReference {
|
|
2
|
-
href: string;
|
|
3
|
-
}
|
|
4
|
-
interface PostprocessOptions {
|
|
5
|
-
_format: 'md' | 'mdx';
|
|
6
|
-
/**
|
|
7
|
-
* Properties to export from `vfile.data`
|
|
8
|
-
*/
|
|
9
|
-
valueToExport?: string[];
|
|
10
|
-
/**
|
|
11
|
-
* stringify MDAST and export via `_markdown`.
|
|
12
|
-
*/
|
|
13
|
-
includeProcessedMarkdown?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* store MDAST and export via `_mdast`.
|
|
16
|
-
*/
|
|
17
|
-
includeMDAST?: boolean | {
|
|
18
|
-
removePosition?: boolean;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type { ExtractedReference as E, PostprocessOptions as P };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface ExtractedReference {
|
|
2
|
-
href: string;
|
|
3
|
-
}
|
|
4
|
-
interface PostprocessOptions {
|
|
5
|
-
_format: 'md' | 'mdx';
|
|
6
|
-
/**
|
|
7
|
-
* Properties to export from `vfile.data`
|
|
8
|
-
*/
|
|
9
|
-
valueToExport?: string[];
|
|
10
|
-
/**
|
|
11
|
-
* stringify MDAST and export via `_markdown`.
|
|
12
|
-
*/
|
|
13
|
-
includeProcessedMarkdown?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* store MDAST and export via `_mdast`.
|
|
16
|
-
*/
|
|
17
|
-
includeMDAST?: boolean | {
|
|
18
|
-
removePosition?: boolean;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type { ExtractedReference as E, PostprocessOptions as P };
|
package/dist/watcher-WXJDWRZY.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// src/next/watcher.ts
|
|
2
|
-
import { FSWatcher } from "chokidar";
|
|
3
|
-
function watcher(configPath, config, ignored) {
|
|
4
|
-
const watcher2 = new FSWatcher({
|
|
5
|
-
ignoreInitial: true,
|
|
6
|
-
persistent: true,
|
|
7
|
-
ignored
|
|
8
|
-
});
|
|
9
|
-
watcher2.add(configPath);
|
|
10
|
-
for (const collection of config.collections.values()) {
|
|
11
|
-
if (collection.type === "docs") {
|
|
12
|
-
watcher2.add(collection.docs.dir);
|
|
13
|
-
watcher2.add(collection.meta.dir);
|
|
14
|
-
} else {
|
|
15
|
-
watcher2.add(collection.dir);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return watcher2;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
watcher
|
|
22
|
-
};
|
|
File without changes
|
|
File without changes
|