fumadocs-mdx 15.0.7 → 15.0.8
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/{adapter-BSlBR-2Y.js → adapter-SOG2Ph3F.js} +5 -3
- package/dist/{build-mdx-H6gA2VPm.js → build-mdx-crmskweX.js} +1 -1
- package/dist/bun/index.d.ts +1 -1
- package/dist/bun/index.js +4 -4
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.js +2 -2
- package/dist/{core-BFnJKNy5.d.ts → core-BvmtMMzw.d.ts} +2 -1
- package/dist/{core-DlDe_Eze.js → core-S7-E6nw6.js} +3 -3
- package/dist/{index-file-DBypGEp7.js → index-file-BVl9QE9I.js} +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/{load-from-file-CiyxzRPF.js → load-from-file-sPBN4sa2.js} +1 -1
- package/dist/{mdx-C6JG017v.js → mdx-CZrAaQYP.js} +4 -4
- package/dist/{meta-_7-eciVa.js → meta-lCKGUvzm.js} +1 -1
- package/dist/next/index.d.ts +1 -1
- package/dist/next/index.js +3 -3
- package/dist/node/_loader.js +4 -4
- package/dist/node/index.d.ts +1 -1
- package/dist/node/loader.js +4 -4
- package/dist/plugins/index-file.d.ts +1 -1
- package/dist/plugins/index-file.js +1 -1
- package/dist/plugins/json-schema.d.ts +1 -1
- package/dist/plugins/json-schema.js +2 -2
- package/dist/plugins/last-modified.d.ts +1 -1
- package/dist/plugins/last-modified.js +1 -1
- package/dist/rolldown/index.js +5 -5
- package/dist/runtime/browser.d.ts +1 -1
- package/dist/runtime/dynamic.d.ts +1 -1
- package/dist/runtime/dynamic.js +3 -3
- package/dist/runtime/server.d.ts +1 -1
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +7 -7
- package/dist/webpack/mdx.js +3 -3
- package/dist/webpack/meta.js +3 -3
- package/dist/{webpack-C4iZ7HjD.js → webpack-DSN3z2Wf.js} +1 -1
- package/package.json +2 -2
- package/dist/{codegen-sWuQ5hQ_.js → codegen-B8EhLmbU.js} +0 -0
- package/dist/{dist-AsMH2g66.js → dist-B2YB1_F_.js} +1 -1
- package/dist/{preset-B0H8HalE.js → preset-D-H8UZ2F.js} +0 -0
- package/dist/{remark-include-BG_6eQl6.js → remark-include-BAPtfHSE.js} +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as loadConfig } from "./load-from-file-
|
|
2
|
-
import { r as ValidationError } from "./core-
|
|
1
|
+
import { t as loadConfig } from "./load-from-file-sPBN4sa2.js";
|
|
2
|
+
import { r as ValidationError } from "./core-S7-E6nw6.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -62,9 +62,11 @@ function toVite(loader) {
|
|
|
62
62
|
async transform(value, id) {
|
|
63
63
|
const [file, query = ""] = id.split("?", 2);
|
|
64
64
|
try {
|
|
65
|
+
const parsedQuery = parse(query);
|
|
66
|
+
if ("raw" in parsedQuery) return null;
|
|
65
67
|
const result = await loader.load({
|
|
66
68
|
filePath: file,
|
|
67
|
-
query:
|
|
69
|
+
query: parsedQuery,
|
|
68
70
|
getSource() {
|
|
69
71
|
return value;
|
|
70
72
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-CiIaOW0V.js";
|
|
2
|
-
import { n as flattenNode, t as remarkInclude } from "./remark-include-
|
|
2
|
+
import { n as flattenNode, t as remarkInclude } from "./remark-include-BAPtfHSE.js";
|
|
3
3
|
import { visit } from "unist-util-visit";
|
|
4
4
|
import { VFile } from "vfile";
|
|
5
5
|
import { createProcessor } from "@mdx-js/mdx";
|
package/dist/bun/index.d.ts
CHANGED
package/dist/bun/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createMdxLoader } from "../mdx-
|
|
2
|
-
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-
|
|
3
|
-
import { a as createIntegratedConfigLoader, t as toBun } from "../adapter-
|
|
4
|
-
import { t as createMetaLoader } from "../meta-
|
|
1
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
2
|
+
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
3
|
+
import { a as createIntegratedConfigLoader, t as toBun } from "../adapter-SOG2Ph3F.js";
|
|
4
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
//#region src/bun/index.ts
|
|
7
7
|
function createMdxPlugin(options = {}) {
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as DocCollection, B as MDXPresetOptions, D as AnyCollection, E as remarkInclude, F as defineConfig, I as defineDocs, M as GlobalConfig, N as MetaCollection, O as BaseCollection, P as defineCollections, R as PostprocessOptions, T as metaSchema, V as applyMdxPreset, j as DocsCollection, k as CollectionSchema, w as frontmatterSchema, z as DefaultMDXOptions } from "../core-
|
|
1
|
+
import { A as DocCollection, B as MDXPresetOptions, D as AnyCollection, E as remarkInclude, F as defineConfig, I as defineDocs, M as GlobalConfig, N as MetaCollection, O as BaseCollection, P as defineCollections, R as PostprocessOptions, T as metaSchema, V as applyMdxPreset, j as DocsCollection, k as CollectionSchema, w as frontmatterSchema, z as DefaultMDXOptions } from "../core-BvmtMMzw.js";
|
|
2
2
|
export { AnyCollection, BaseCollection, CollectionSchema, DefaultMDXOptions, DocCollection, DocsCollection, GlobalConfig, MDXPresetOptions, MetaCollection, PostprocessOptions, applyMdxPreset, defineCollections, defineConfig, defineDocs, frontmatterSchema, metaSchema, remarkInclude };
|
package/dist/config/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as applyMdxPreset } from "../preset-
|
|
2
|
-
import { t as remarkInclude } from "../remark-include-
|
|
1
|
+
import { t as applyMdxPreset } from "../preset-D-H8UZ2F.js";
|
|
2
|
+
import { t as remarkInclude } from "../remark-include-BAPtfHSE.js";
|
|
3
3
|
import { metaSchema as metaSchema$1, pageSchema } from "fumadocs-core/source/schema";
|
|
4
4
|
//#region src/config/define.ts
|
|
5
5
|
function defineCollections(options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as MetaMethods, i as InternalTypeConfig, n as DocMethods, t as DocData } from "./types-BRJOx-ji.js";
|
|
2
|
-
import * as _$zod from "zod";
|
|
3
2
|
import * as _$fumadocs_core_source_schema0 from "fumadocs-core/source/schema";
|
|
4
3
|
import { metaSchema, pageSchema } from "fumadocs-core/source/schema";
|
|
5
4
|
import { Pluggable, Processor, Transformer } from "unified";
|
|
6
5
|
import * as Plugins from "fumadocs-core/mdx-plugins";
|
|
7
6
|
import { LLMsOptions } from "fumadocs-core/mdx-plugins";
|
|
8
7
|
import { VFile } from "vfile";
|
|
8
|
+
import * as _$zod from "zod";
|
|
9
9
|
import { ProcessorOptions } from "@mdx-js/mdx";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
import { Root } from "mdast";
|
|
@@ -193,6 +193,7 @@ declare const frontmatterSchema: _$zod.ZodObject<{
|
|
|
193
193
|
declare const metaSchema$1: _$zod.ZodObject<{
|
|
194
194
|
title: _$zod.ZodOptional<_$zod.ZodString>;
|
|
195
195
|
pages: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
196
|
+
pagesIndex: _$zod.ZodOptional<_$zod.ZodString>;
|
|
196
197
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
197
198
|
root: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
198
199
|
defaultOpen: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as applyMdxPreset } from "./preset-
|
|
2
|
-
import { n as ident } from "./codegen-
|
|
3
|
-
import fs from "node:fs/promises";
|
|
1
|
+
import { t as applyMdxPreset } from "./preset-D-H8UZ2F.js";
|
|
2
|
+
import { n as ident } from "./codegen-B8EhLmbU.js";
|
|
4
3
|
import path from "node:path";
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import picomatch from "picomatch";
|
|
6
6
|
//#region src/config/build.ts
|
|
7
7
|
const SupportedFormats = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ident, r as slash, t as createCodegen } from "./codegen-
|
|
2
|
-
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
3
|
-
import fs from "node:fs/promises";
|
|
1
|
+
import { n as ident, r as slash, t as createCodegen } from "./codegen-B8EhLmbU.js";
|
|
4
2
|
import path from "node:path";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
|
+
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { glob } from "tinyglobby";
|
|
7
7
|
//#region src/utils/fs-cache.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { L as ExtractedReference, a as EmitOptions, c as PluginContext, d as TransformOptions, i as EmitEntry, l as PluginOption, n as Core, o as EmitOutput, r as CoreOptions, s as Plugin, t as CompilationContext, u as ServerContext } from "./core-
|
|
1
|
+
import { L as ExtractedReference, a as EmitOptions, c as PluginContext, d as TransformOptions, i as EmitEntry, l as PluginOption, n as Core, o as EmitOutput, r as CoreOptions, s as Plugin, t as CompilationContext, u as ServerContext } from "./core-BvmtMMzw.js";
|
|
2
2
|
import { t as CompiledMDXProperties } from "./build-mdx-CDcIdtZ2.js";
|
|
3
3
|
export { type CompilationContext, type CompiledMDXProperties, type Core, type CoreOptions, type EmitEntry, type EmitOptions, type EmitOutput, type ExtractedReference, type Plugin, type PluginContext, type PluginOption, type ServerContext, type TransformOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-CiIaOW0V.js";
|
|
2
|
-
import { i as buildConfig } from "./core-
|
|
2
|
+
import { i as buildConfig } from "./core-S7-E6nw6.js";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
//#region src/loaders/index.ts
|
|
5
5
|
const metaLoaderGlob = /\.(json|yaml)(\?.+?)?$/;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as mdxLoaderGlob } from "./load-from-file-
|
|
1
|
+
import { r as mdxLoaderGlob } from "./load-from-file-sPBN4sa2.js";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
2
4
|
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
3
5
|
import { z } from "zod";
|
|
4
|
-
import fs from "node:fs/promises";
|
|
5
|
-
import path from "node:path";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
//#region src/loaders/mdx/index.ts
|
|
8
8
|
const querySchema = z.looseObject({
|
|
@@ -58,7 +58,7 @@ function createMdxLoader({ getCore }) {
|
|
|
58
58
|
code: `export const frontmatter = ${JSON.stringify(matter.data)}`,
|
|
59
59
|
map: null
|
|
60
60
|
};
|
|
61
|
-
const { buildMDX } = await import("./build-mdx-
|
|
61
|
+
const { buildMDX } = await import("./build-mdx-crmskweX.js").then((n) => n.n);
|
|
62
62
|
const compiled = await buildMDX(core, docCollection, {
|
|
63
63
|
isDevelopment,
|
|
64
64
|
source: "\n".repeat(countLines(matter.matter)) + matter.content,
|
package/dist/next/index.d.ts
CHANGED
package/dist/next/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as metaLoaderGlob, r as mdxLoaderGlob, t as loadConfig } from "../load-from-file-
|
|
2
|
-
import { n as createCore, t as _Defaults } from "../core-
|
|
3
|
-
import { t as indexFile } from "../index-file-
|
|
1
|
+
import { i as metaLoaderGlob, r as mdxLoaderGlob, t as loadConfig } from "../load-from-file-sPBN4sa2.js";
|
|
2
|
+
import { n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
3
|
+
import { t as indexFile } from "../index-file-BVl9QE9I.js";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
//#region src/next/index.ts
|
|
6
6
|
const defaultPageExtensions = [
|
package/dist/node/_loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createMdxLoader } from "../mdx-
|
|
2
|
-
import { n as createCore, t as _Defaults } from "../core-
|
|
3
|
-
import { n as toNode, o as createStandaloneConfigLoader } from "../adapter-
|
|
4
|
-
import { t as createMetaLoader } from "../meta-
|
|
1
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
2
|
+
import { n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
3
|
+
import { n as toNode, o as createStandaloneConfigLoader } from "../adapter-SOG2Ph3F.js";
|
|
4
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
5
5
|
//#region src/node/_loader.ts
|
|
6
6
|
let cachedLoaders;
|
|
7
7
|
const initialize = (options) => {
|
package/dist/node/index.d.ts
CHANGED
package/dist/node/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createMdxLoader } from "../mdx-
|
|
2
|
-
import { n as createCore, t as _Defaults } from "../core-
|
|
3
|
-
import { n as toNode, o as createStandaloneConfigLoader } from "../adapter-
|
|
4
|
-
import { t as createMetaLoader } from "../meta-
|
|
1
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
2
|
+
import { n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
3
|
+
import { n as toNode, o as createStandaloneConfigLoader } from "../adapter-SOG2Ph3F.js";
|
|
4
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
5
5
|
//#region src/node/loader.ts
|
|
6
6
|
const configLoader = createStandaloneConfigLoader({
|
|
7
7
|
core: createCore({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as IndexFilePlugin, m as indexFile, p as IndexFilePluginOptions } from "../core-
|
|
1
|
+
import { f as IndexFilePlugin, m as indexFile, p as IndexFilePluginOptions } from "../core-BvmtMMzw.js";
|
|
2
2
|
export { IndexFilePlugin, IndexFilePluginOptions, indexFile as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as indexFile } from "../index-file-
|
|
1
|
+
import { t as indexFile } from "../index-file-BVl9QE9I.js";
|
|
2
2
|
export { indexFile as default };
|
package/dist/rolldown/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as metaLoaderGlob, r as mdxLoaderGlob } from "../load-from-file-
|
|
2
|
-
import { t as createMdxLoader } from "../mdx-
|
|
3
|
-
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-
|
|
4
|
-
import { a as createIntegratedConfigLoader, r as toVite } from "../adapter-
|
|
5
|
-
import { t as createMetaLoader } from "../meta-
|
|
1
|
+
import { i as metaLoaderGlob, r as mdxLoaderGlob } from "../load-from-file-sPBN4sa2.js";
|
|
2
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
3
|
+
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
4
|
+
import { a as createIntegratedConfigLoader, r as toVite } from "../adapter-SOG2Ph3F.js";
|
|
5
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
//#region src/rolldown/index.ts
|
|
8
8
|
async function mdx(config, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DocCollection, j as DocsCollection } from "../core-
|
|
1
|
+
import { A as DocCollection, j as DocsCollection } from "../core-BvmtMMzw.js";
|
|
2
2
|
import { i as InternalTypeConfig } from "../types-BRJOx-ji.js";
|
|
3
3
|
import { t as CompiledMDXProperties } from "../build-mdx-CDcIdtZ2.js";
|
|
4
4
|
import { FC, ReactNode } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DocCollection, g as AsyncDocsCollectionEntry, h as AsyncDocCollectionEntry, j as DocsCollection, r as CoreOptions, x as ServerOptions } from "../core-
|
|
1
|
+
import { A as DocCollection, g as AsyncDocsCollectionEntry, h as AsyncDocCollectionEntry, j as DocsCollection, r as CoreOptions, x as ServerOptions } from "../core-BvmtMMzw.js";
|
|
2
2
|
import { i as InternalTypeConfig, r as FileInfo } from "../types-BRJOx-ji.js";
|
|
3
3
|
import * as _$_standard_schema_spec0 from "@standard-schema/spec";
|
|
4
4
|
import * as _$fumadocs_core_source0 from "fumadocs-core/source";
|
package/dist/runtime/dynamic.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as buildConfig, n as createCore } from "../core-
|
|
2
|
-
import { t as buildMDX } from "../build-mdx-
|
|
1
|
+
import { i as buildConfig, n as createCore } from "../core-S7-E6nw6.js";
|
|
2
|
+
import { t as buildMDX } from "../build-mdx-crmskweX.js";
|
|
3
3
|
import { server } from "./server.js";
|
|
4
|
-
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
5
4
|
import fs from "node:fs/promises";
|
|
5
|
+
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
7
7
|
import jsxRuntimeDefault from "react/jsx-runtime";
|
|
8
8
|
//#region src/runtime/dynamic.ts
|
package/dist/runtime/server.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as toFumadocsSource, S as server, _ as DocCollectionEntry, b as ServerCreate, g as AsyncDocsCollectionEntry, h as AsyncDocCollectionEntry, v as DocsCollectionEntry, x as ServerOptions, y as MetaCollectionEntry } from "../core-
|
|
1
|
+
import { C as toFumadocsSource, S as server, _ as DocCollectionEntry, b as ServerCreate, g as AsyncDocsCollectionEntry, h as AsyncDocCollectionEntry, v as DocsCollectionEntry, x as ServerOptions, y as MetaCollectionEntry } from "../core-BvmtMMzw.js";
|
|
2
2
|
export { AsyncDocCollectionEntry, AsyncDocsCollectionEntry, DocCollectionEntry, DocsCollectionEntry, MetaCollectionEntry, ServerCreate, ServerOptions, server, toFumadocsSource };
|
package/dist/vite/index.d.ts
CHANGED
package/dist/vite/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as createMdxLoader } from "../mdx-
|
|
2
|
-
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-
|
|
3
|
-
import { a as createIntegratedConfigLoader, r as toVite } from "../adapter-
|
|
4
|
-
import { t as createMetaLoader } from "../meta-
|
|
5
|
-
import { t as indexFile } from "../index-file-
|
|
1
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
2
|
+
import { i as buildConfig, n as createCore, t as _Defaults } from "../core-S7-E6nw6.js";
|
|
3
|
+
import { a as createIntegratedConfigLoader, r as toVite } from "../adapter-SOG2Ph3F.js";
|
|
4
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
5
|
+
import { t as indexFile } from "../index-file-BVl9QE9I.js";
|
|
6
6
|
import { runnerImport } from "vite";
|
|
7
7
|
//#region src/vite/index.ts
|
|
8
8
|
async function mdx(_config, pluginOptions = {}) {
|
|
@@ -18,7 +18,7 @@ async function mdx(_config, pluginOptions = {}) {
|
|
|
18
18
|
name: "fumadocs-mdx",
|
|
19
19
|
async config() {
|
|
20
20
|
if (!options.updateViteConfig) return;
|
|
21
|
-
const { getConfig } = await import("../dist-
|
|
21
|
+
const { getConfig } = await import("../dist-B2YB1_F_.js");
|
|
22
22
|
return getConfig({ root: process.cwd() });
|
|
23
23
|
},
|
|
24
24
|
async buildStart() {
|
|
@@ -50,7 +50,7 @@ async function mdx(_config, pluginOptions = {}) {
|
|
|
50
50
|
];
|
|
51
51
|
}
|
|
52
52
|
async function postInstall(pluginOptions = {}) {
|
|
53
|
-
const { loadConfig } = await import("../load-from-file-
|
|
53
|
+
const { loadConfig } = await import("../load-from-file-sPBN4sa2.js").then((n) => n.n);
|
|
54
54
|
const core = createViteCore(applyDefaults(pluginOptions));
|
|
55
55
|
await core.init({ config: loadConfig(core, true) });
|
|
56
56
|
await core.emit({ write: true });
|
package/dist/webpack/mdx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createMdxLoader } from "../mdx-
|
|
2
|
-
import { i as toWebpack, o as createStandaloneConfigLoader } from "../adapter-
|
|
3
|
-
import { t as getCore } from "../webpack-
|
|
1
|
+
import { t as createMdxLoader } from "../mdx-CZrAaQYP.js";
|
|
2
|
+
import { i as toWebpack, o as createStandaloneConfigLoader } from "../adapter-SOG2Ph3F.js";
|
|
3
|
+
import { t as getCore } from "../webpack-DSN3z2Wf.js";
|
|
4
4
|
//#region src/webpack/mdx.ts
|
|
5
5
|
let instance;
|
|
6
6
|
const loader = function loader(source) {
|
package/dist/webpack/meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as toWebpack, o as createStandaloneConfigLoader } from "../adapter-
|
|
2
|
-
import { t as createMetaLoader } from "../meta-
|
|
3
|
-
import { t as getCore } from "../webpack-
|
|
1
|
+
import { i as toWebpack, o as createStandaloneConfigLoader } from "../adapter-SOG2Ph3F.js";
|
|
2
|
+
import { t as createMetaLoader } from "../meta-lCKGUvzm.js";
|
|
3
|
+
import { t as getCore } from "../webpack-DSN3z2Wf.js";
|
|
4
4
|
//#region src/webpack/meta.ts
|
|
5
5
|
let instance;
|
|
6
6
|
const loader = function(source) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-mdx",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.8",
|
|
4
4
|
"description": "The built-in source for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"vite": "^8.0.13",
|
|
81
81
|
"webpack": "^5.106.2",
|
|
82
82
|
"@fumadocs/vite": "0.0.2",
|
|
83
|
-
"fumadocs-core": "16.
|
|
83
|
+
"fumadocs-core": "16.9.1",
|
|
84
84
|
"tsconfig": "0.0.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import fs from "node:fs/promises";
|
|
2
1
|
import path from "node:path";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
//#region ../vite/dist/index.js
|
|
4
4
|
async function findClosestPkgJsonPath(dir, predicate) {
|
|
5
5
|
let currentDir = dir.endsWith("package.json") ? path.dirname(dir) : dir;
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
2
|
-
import * as fs$1 from "node:fs/promises";
|
|
3
|
-
import * as path$1 from "node:path";
|
|
4
1
|
import { unified } from "unified";
|
|
5
2
|
import { visit } from "unist-util-visit";
|
|
3
|
+
import * as path$1 from "node:path";
|
|
4
|
+
import * as fs$1 from "node:fs/promises";
|
|
5
|
+
import { frontmatter } from "fumadocs-core/content/md/frontmatter";
|
|
6
6
|
import { remarkHeading } from "fumadocs-core/mdx-plugins";
|
|
7
7
|
import { VFile } from "vfile";
|
|
8
8
|
//#region src/loaders/mdx/remark-unravel.ts
|