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.
Files changed (55) hide show
  1. package/dist/bin.cjs +294 -257
  2. package/dist/{build-mdx-CzrQDBRZ.d.ts → build-mdx-CCNr86q6.d.ts} +1 -1
  3. package/dist/{build-mdx-BHG-_uxo.d.cts → build-mdx-D-r3_eQL.d.cts} +1 -1
  4. package/dist/bun/index.cjs +114 -34
  5. package/dist/bun/index.d.cts +8 -3
  6. package/dist/bun/index.d.ts +8 -3
  7. package/dist/bun/index.js +20 -10
  8. package/dist/{chunk-6Y5JDZHD.js → chunk-CXA4JO4Z.js} +1 -21
  9. package/dist/chunk-EELYB2XC.js +207 -0
  10. package/dist/{chunk-CEA6MYJU.js → chunk-XQ5O7IPO.js} +29 -27
  11. package/dist/chunk-XZY2AWJI.js +81 -0
  12. package/dist/{chunk-XV5Z4BFL.js → chunk-YVCR6FUH.js} +1 -1
  13. package/dist/config/index.d.cts +2 -2
  14. package/dist/config/index.d.ts +2 -2
  15. package/dist/{define-BCNh3n4O.d.cts → core-B6j6Fxse.d.cts} +101 -38
  16. package/dist/{define-bck_EB4t.d.ts → core-B6j6Fxse.d.ts} +101 -38
  17. package/dist/index.d.cts +7 -2
  18. package/dist/index.d.ts +7 -2
  19. package/dist/next/index.cjs +195 -163
  20. package/dist/next/index.js +79 -71
  21. package/dist/node/loader.cjs +120 -35
  22. package/dist/node/loader.js +10 -5
  23. package/dist/plugins/json-schema.cjs +103 -2
  24. package/dist/plugins/json-schema.d.cts +12 -4
  25. package/dist/plugins/json-schema.d.ts +12 -4
  26. package/dist/plugins/json-schema.js +40 -2
  27. package/dist/runtime/next/async.d.cts +4 -4
  28. package/dist/runtime/next/async.d.ts +4 -4
  29. package/dist/runtime/next/async.js +3 -3
  30. package/dist/runtime/next/index.d.cts +5 -5
  31. package/dist/runtime/next/index.d.ts +5 -5
  32. package/dist/runtime/vite/browser.d.cts +3 -3
  33. package/dist/runtime/vite/browser.d.ts +3 -3
  34. package/dist/runtime/vite/server.d.cts +3 -3
  35. package/dist/runtime/vite/server.d.ts +3 -3
  36. package/dist/{types-1cCFEzWt.d.ts → types-AGzTfBmf.d.ts} +1 -1
  37. package/dist/{types-D5NhXTJY.d.cts → types-DKGMoay5.d.cts} +1 -1
  38. package/dist/vite/index.cjs +145 -108
  39. package/dist/vite/index.js +53 -45
  40. package/dist/{loader-mdx.cjs → webpack/index.cjs} +151 -58
  41. package/dist/webpack/index.js +44 -0
  42. package/loader-mdx.cjs +1 -1
  43. package/package.json +4 -3
  44. package/dist/chunk-4MAYA5QX.js +0 -44
  45. package/dist/chunk-HI62EXSB.js +0 -127
  46. package/dist/loader-mdx.js +0 -39
  47. package/dist/plugins/index.cjs +0 -78
  48. package/dist/plugins/index.d.cts +0 -7
  49. package/dist/plugins/index.d.ts +0 -7
  50. package/dist/plugins/index.js +0 -6
  51. package/dist/remark-postprocess-K233ZVBK.d.cts +0 -22
  52. package/dist/remark-postprocess-K233ZVBK.d.ts +0 -22
  53. package/dist/watcher-WXJDWRZY.js +0 -22
  54. /package/dist/{loader-mdx.d.cts → webpack/index.d.cts} +0 -0
  55. /package/dist/{loader-mdx.d.ts → webpack/index.d.ts} +0 -0
@@ -1,6 +0,0 @@
1
- import {
2
- createPluginHandler
3
- } from "../chunk-4MAYA5QX.js";
4
- export {
5
- createPluginHandler
6
- };
@@ -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 };
@@ -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