fumadocs-mdx 11.1.0 → 11.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.
@@ -133,7 +133,7 @@ declare function defineDocs<DocData extends ZodTypeAny = typeof frontmatterSchem
133
133
  /**
134
134
  * The directory to scan files
135
135
  *
136
- * @defaultValue '/content/docs'
136
+ * @defaultValue 'content/docs'
137
137
  */
138
138
  dir?: string | string[];
139
139
  docs?: Partial<DocCollection<DocData, DocAsync, DocOut>>;
@@ -71,7 +71,7 @@ async function getCollectionFiles(collection) {
71
71
  await Promise.all(
72
72
  dirs.map(async (dir) => {
73
73
  const result = await fg(collection.files ?? "**/*", {
74
- cwd: dir,
74
+ cwd: path.resolve(dir),
75
75
  absolute: true
76
76
  });
77
77
  result.forEach((item) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-mdx",
3
- "version": "11.1.0",
3
+ "version": "11.1.1",
4
4
  "description": "The built-in source for Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -50,14 +50,14 @@
50
50
  "@types/mdast": "^4.0.3",
51
51
  "@types/mdx": "^2.0.13",
52
52
  "@types/micromatch": "^4.0.9",
53
- "@types/react": "^18.3.11",
53
+ "@types/react": "^18.3.12",
54
54
  "next": "^15.0.1",
55
55
  "unified": "^11.0.5",
56
56
  "vfile": "^6.0.3",
57
57
  "webpack": "^5.95.0",
58
- "fumadocs-core": "14.0.2",
59
- "tsconfig": "0.0.0",
60
- "eslint-config-custom": "0.0.0"
58
+ "eslint-config-custom": "0.0.0",
59
+ "fumadocs-core": "14.1.1",
60
+ "tsconfig": "0.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "fumadocs-core": "^14.0.0",