create-fumadocs-app 15.2.5 → 15.2.6
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/{chunk-TIC3QPNP.js → chunk-DE4IQCMH.js} +4 -4
- package/dist/create-app.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -4
- package/template/+next/mdx-components.tsx +1 -0
- package/template/+next+fuma-docs-mdx/lib/source.ts +1 -1
- package/template/+next+fuma-docs-mdx/source.config.ts +1 -0
|
@@ -60,7 +60,7 @@ function tryGitInit(root) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// src/versions.js
|
|
63
|
-
var versions = { "fumadocs-core": "15.2.
|
|
63
|
+
var versions = { "fumadocs-core": "15.2.6", "fumadocs-ui": "15.2.6", "fumadocs-mdx": "11.5.8", "@fumadocs/mdx-remote": "1.3.0", "@fumadocs/content-collections": "1.1.8" };
|
|
64
64
|
|
|
65
65
|
// ../create-app-versions/package.json
|
|
66
66
|
var package_default = {
|
|
@@ -78,8 +78,8 @@ var package_default = {
|
|
|
78
78
|
"@react-router/serve": "^7.5.0",
|
|
79
79
|
"@tailwindcss/postcss": "^4.1.3",
|
|
80
80
|
"@tailwindcss/vite": "^4.1.3",
|
|
81
|
-
"@tanstack/react-router": "^1.
|
|
82
|
-
"@tanstack/react-start": "^1.
|
|
81
|
+
"@tanstack/react-router": "^1.115.2",
|
|
82
|
+
"@tanstack/react-start": "^1.115.2",
|
|
83
83
|
"@types/mdx": "^2.0.13",
|
|
84
84
|
"@types/node": "22.14.0",
|
|
85
85
|
"@types/react": "^19.1.0",
|
|
@@ -93,7 +93,7 @@ var package_default = {
|
|
|
93
93
|
react: "^19.1.0",
|
|
94
94
|
"react-dom": "^19.1.0",
|
|
95
95
|
"react-router": "^7.5.0",
|
|
96
|
-
"react-router-devtools": "^1.1.
|
|
96
|
+
"react-router-devtools": "^1.1.10",
|
|
97
97
|
shiki: "^3.2.1",
|
|
98
98
|
tailwindcss: "^4.1.3",
|
|
99
99
|
typescript: "^5.8.3",
|
package/dist/create-app.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fumadocs-app",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.6",
|
|
4
4
|
"description": "Create a new documentation site with Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
"author": "Fuma Nama",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"bin": "./dist/index.js",
|
|
17
|
+
"module": "./dist/create-app.js",
|
|
18
|
+
"types": "./dist/create-app.d.ts",
|
|
17
19
|
"files": [
|
|
18
20
|
"template/*",
|
|
19
21
|
"dist/*"
|
|
20
22
|
],
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@clack/prompts": "^0.10.
|
|
24
|
+
"@clack/prompts": "^0.10.1",
|
|
23
25
|
"cross-spawn": "^7.0.6",
|
|
24
26
|
"picocolors": "^1.1.1"
|
|
25
27
|
},
|
|
@@ -27,8 +29,8 @@
|
|
|
27
29
|
"@types/cross-spawn": "^6.0.6",
|
|
28
30
|
"@types/node": "22.14.0",
|
|
29
31
|
"fast-glob": "^3.3.3",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
+
"tsconfig": "0.0.0",
|
|
33
|
+
"eslint-config-custom": "0.0.0"
|
|
32
34
|
},
|
|
33
35
|
"engines": {
|
|
34
36
|
"node": ">=18.17.0"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
|
2
2
|
import type { MDXComponents } from 'mdx/types';
|
|
3
3
|
|
|
4
|
+
// use this function to get MDX components, you will need it for rendering MDX
|
|
4
5
|
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
5
6
|
return {
|
|
6
7
|
...defaultMdxComponents,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { docs } from '@/.source';
|
|
2
2
|
import { loader } from 'fumadocs-core/source';
|
|
3
3
|
|
|
4
|
-
// `loader()` also assign a URL to your pages
|
|
5
4
|
// See https://fumadocs.vercel.app/docs/headless/source-api for more info
|
|
6
5
|
export const source = loader({
|
|
6
|
+
// it assigns a URL to your pages
|
|
7
7
|
baseUrl: '/docs',
|
|
8
8
|
source: docs.toFumadocsSource(),
|
|
9
9
|
});
|