create-fumadocs-app 15.8.1 → 15.8.3
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-34R3NFAS.js → chunk-MKHTME3X.js} +22 -17
- package/dist/create-app.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/template/+next/README.md +1 -1
- package/template/+next/app/layout.tsx +1 -1
- package/template/+next/content/docs/index.mdx +1 -1
- package/template/+next/content/docs/test.mdx +1 -1
- package/template/+next+fuma-docs-mdx/README.md +1 -1
- package/template/+next+fuma-docs-mdx/lib/source.ts +3 -1
- package/template/+next+tailwindcss/app/layout.tsx +1 -1
- package/template/react-router/app/root.tsx +2 -5
- package/template/react-router/content/docs/index.mdx +1 -1
- package/template/react-router/content/docs/test.mdx +1 -1
- package/template/tanstack-start/content/index.mdx +1 -1
- package/template/tanstack-start/src/routes/__root.tsx +2 -6
- package/template/tanstack-start/tsconfig.json +1 -0
- package/template/waku/content/docs/index.mdx +1 -1
- package/template/waku/src/components/provider.tsx +2 -7
|
@@ -59,7 +59,7 @@ async function tryGitInit(cwd2) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// src/versions.js
|
|
62
|
-
var versions = { "fumadocs-core": "15.8.
|
|
62
|
+
var versions = { "fumadocs-core": "15.8.3", "fumadocs-ui": "15.8.3", "fumadocs-mdx": "12.0.2", "@fumadocs/mdx-remote": "1.4.1", "@fumadocs/content-collections": "1.2.3" };
|
|
63
63
|
|
|
64
64
|
// ../create-app-versions/package.json
|
|
65
65
|
var package_default = {
|
|
@@ -67,38 +67,38 @@ var package_default = {
|
|
|
67
67
|
version: "0.0.0",
|
|
68
68
|
private: true,
|
|
69
69
|
description: "Used to track dependency versions in create-fumadocs-app",
|
|
70
|
-
license: "MIT",
|
|
71
70
|
dependencies: {
|
|
72
|
-
"@biomejs/biome": "^2.2.
|
|
71
|
+
"@biomejs/biome": "^2.2.5",
|
|
73
72
|
"@content-collections/core": "^0.11.1",
|
|
74
73
|
"@content-collections/mdx": "^0.2.2",
|
|
75
74
|
"@content-collections/next": "^0.2.7",
|
|
76
75
|
"@react-router/dev": "^7.9.3",
|
|
77
76
|
"@react-router/node": "^7.9.3",
|
|
78
77
|
"@react-router/serve": "^7.9.3",
|
|
79
|
-
"@tailwindcss/postcss": "^4.1.
|
|
80
|
-
"@tailwindcss/vite": "^4.1.
|
|
81
|
-
"@tanstack/react-router": "^1.132.
|
|
82
|
-
"@tanstack/react-start": "^1.132.
|
|
78
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
79
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
80
|
+
"@tanstack/react-router": "^1.132.31",
|
|
81
|
+
"@tanstack/react-start": "^1.132.31",
|
|
83
82
|
"@types/mdx": "^2.0.13",
|
|
84
|
-
"@types/node": "24.
|
|
85
|
-
"@types/react": "^19.
|
|
86
|
-
"@types/react-dom": "^19.
|
|
87
|
-
"@vitejs/plugin-react": "^5.0.
|
|
83
|
+
"@types/node": "24.6.2",
|
|
84
|
+
"@types/react": "^19.2.0",
|
|
85
|
+
"@types/react-dom": "^19.2.0",
|
|
86
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
88
87
|
"gray-matter": "^4.0.3",
|
|
89
88
|
isbot: "^5.1.31",
|
|
89
|
+
"lucide-react": "^0.544.0",
|
|
90
90
|
next: "15.5.4",
|
|
91
91
|
postcss: "^8.5.6",
|
|
92
|
-
react: "^19.
|
|
93
|
-
"react-dom": "^19.
|
|
92
|
+
react: "^19.2.0",
|
|
93
|
+
"react-dom": "^19.2.0",
|
|
94
94
|
"react-router": "^7.9.3",
|
|
95
95
|
"react-router-devtools": "^5.1.3",
|
|
96
96
|
shiki: "^3.13.0",
|
|
97
|
-
tailwindcss: "^4.1.
|
|
97
|
+
tailwindcss: "^4.1.14",
|
|
98
98
|
tinyglobby: "^0.2.15",
|
|
99
|
-
typescript: "^5.9.
|
|
99
|
+
typescript: "^5.9.3",
|
|
100
100
|
vinxi: "^0.5.8",
|
|
101
|
-
vite: "^7.1.
|
|
101
|
+
vite: "^7.1.8",
|
|
102
102
|
"vite-tsconfig-paths": "^5.1.4"
|
|
103
103
|
}
|
|
104
104
|
};
|
|
@@ -286,7 +286,12 @@ async function createNextPackageJson(projectName, { template, lint, tailwindcss
|
|
|
286
286
|
}[lint]
|
|
287
287
|
},
|
|
288
288
|
dependencies: {
|
|
289
|
-
...pick(package_default.dependencies, [
|
|
289
|
+
...pick(package_default.dependencies, [
|
|
290
|
+
"next",
|
|
291
|
+
"react",
|
|
292
|
+
"react-dom",
|
|
293
|
+
"lucide-react"
|
|
294
|
+
]),
|
|
290
295
|
...pick(versions, ["fumadocs-ui", "fumadocs-core"]),
|
|
291
296
|
...{
|
|
292
297
|
"+next+content-collections": {
|
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.8.
|
|
3
|
+
"version": "15.8.3",
|
|
4
4
|
"description": "Create a new documentation site with Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"react",
|
|
9
9
|
"Docs"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://fumadocs.
|
|
11
|
+
"homepage": "https://fumadocs.dev",
|
|
12
12
|
"repository": "github:fuma-nama/fumadocs",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "Fuma Nama",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/cross-spawn": "^6.0.6",
|
|
31
|
-
"@types/node": "24.
|
|
31
|
+
"@types/node": "24.6.2",
|
|
32
32
|
"tinyglobby": "^0.2.15",
|
|
33
|
-
"typescript": "^5.9.
|
|
33
|
+
"typescript": "^5.9.3",
|
|
34
34
|
"eslint-config-custom": "0.0.0",
|
|
35
35
|
"tsconfig": "0.0.0"
|
|
36
36
|
},
|
package/template/+next/README.md
CHANGED
|
@@ -34,4 +34,4 @@ resources:
|
|
|
34
34
|
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
|
|
35
35
|
features and API.
|
|
36
36
|
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
37
|
-
- [Fumadocs](https://fumadocs.
|
|
37
|
+
- [Fumadocs](https://fumadocs.dev) - learn about Fumadocs
|
|
@@ -9,5 +9,5 @@ Welcome to the docs! You can start writing documents in `/content/docs`.
|
|
|
9
9
|
|
|
10
10
|
<Cards>
|
|
11
11
|
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" />
|
|
12
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
12
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
13
13
|
</Cards>
|
|
@@ -13,5 +13,5 @@ console.log('Hello World');
|
|
|
13
13
|
|
|
14
14
|
<Cards>
|
|
15
15
|
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" />
|
|
16
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
16
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
17
17
|
</Cards>
|
|
@@ -40,4 +40,4 @@ resources:
|
|
|
40
40
|
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
|
|
41
41
|
features and API.
|
|
42
42
|
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
43
|
-
- [Fumadocs](https://fumadocs.
|
|
43
|
+
- [Fumadocs](https://fumadocs.dev) - learn about Fumadocs
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { docs } from '@/.source';
|
|
2
2
|
import { type InferPageType, loader } from 'fumadocs-core/source';
|
|
3
|
+
import { lucideIconsPlugin } from 'fumadocs-core/source/lucide-icons';
|
|
3
4
|
|
|
4
|
-
// See https://fumadocs.
|
|
5
|
+
// See https://fumadocs.dev/docs/headless/source-api for more info
|
|
5
6
|
export const source = loader({
|
|
6
7
|
baseUrl: '/docs',
|
|
7
8
|
source: docs.toFumadocsSource(),
|
|
9
|
+
plugins: [lucideIconsPlugin()],
|
|
8
10
|
});
|
|
9
11
|
|
|
10
12
|
export function getPageImage(page: InferPageType<typeof source>) {
|
|
@@ -6,8 +6,7 @@ import {
|
|
|
6
6
|
Scripts,
|
|
7
7
|
ScrollRestoration,
|
|
8
8
|
} from 'react-router';
|
|
9
|
-
import { RootProvider } from 'fumadocs-ui/provider/
|
|
10
|
-
import { ReactRouterProvider } from 'fumadocs-core/framework/react-router';
|
|
9
|
+
import { RootProvider } from 'fumadocs-ui/provider/react-router';
|
|
11
10
|
import type { Route } from './+types/root';
|
|
12
11
|
import './app.css';
|
|
13
12
|
|
|
@@ -34,9 +33,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
34
33
|
<Links />
|
|
35
34
|
</head>
|
|
36
35
|
<body className="flex flex-col min-h-screen">
|
|
37
|
-
<
|
|
38
|
-
<RootProvider>{children}</RootProvider>
|
|
39
|
-
</ReactRouterProvider>
|
|
36
|
+
<RootProvider>{children}</RootProvider>
|
|
40
37
|
<ScrollRestoration />
|
|
41
38
|
<Scripts />
|
|
42
39
|
</body>
|
|
@@ -13,7 +13,7 @@ Hello World
|
|
|
13
13
|
|
|
14
14
|
<Cards>
|
|
15
15
|
<Card title="Learn more about React Router" href="https://reactrouter.com" />
|
|
16
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
16
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
17
17
|
</Cards>
|
|
18
18
|
|
|
19
19
|
```ts
|
|
@@ -9,7 +9,7 @@ Hey there!
|
|
|
9
9
|
|
|
10
10
|
<Cards>
|
|
11
11
|
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" />
|
|
12
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
12
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
13
13
|
</Cards>
|
|
14
14
|
|
|
15
15
|
### CodeBlock
|
|
@@ -15,7 +15,7 @@ Hello World!
|
|
|
15
15
|
title="Learn more about Tanstack Start"
|
|
16
16
|
href="https://tanstack.com/start"
|
|
17
17
|
/>
|
|
18
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
18
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
19
19
|
</Cards>
|
|
20
20
|
|
|
21
21
|
### CodeBlock
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
1
|
import {
|
|
3
2
|
createRootRoute,
|
|
4
3
|
HeadContent,
|
|
@@ -7,8 +6,7 @@ import {
|
|
|
7
6
|
} from '@tanstack/react-router';
|
|
8
7
|
import * as React from 'react';
|
|
9
8
|
import appCss from '@/styles/app.css?url';
|
|
10
|
-
import { RootProvider } from 'fumadocs-ui/provider/
|
|
11
|
-
import { TanstackProvider } from 'fumadocs-core/framework/tanstack';
|
|
9
|
+
import { RootProvider } from 'fumadocs-ui/provider/tanstack';
|
|
12
10
|
|
|
13
11
|
export const Route = createRootRoute({
|
|
14
12
|
head: () => ({
|
|
@@ -44,9 +42,7 @@ function RootDocument({ children }: { children: React.ReactNode }) {
|
|
|
44
42
|
<HeadContent />
|
|
45
43
|
</head>
|
|
46
44
|
<body className="flex flex-col min-h-screen">
|
|
47
|
-
<
|
|
48
|
-
<RootProvider>{children}</RootProvider>
|
|
49
|
-
</TanstackProvider>
|
|
45
|
+
<RootProvider>{children}</RootProvider>
|
|
50
46
|
<Scripts />
|
|
51
47
|
</body>
|
|
52
48
|
</html>
|
|
@@ -12,7 +12,7 @@ Hello World!
|
|
|
12
12
|
|
|
13
13
|
<Cards>
|
|
14
14
|
<Card title="Learn more about Waku" href="https://waku.gg" />
|
|
15
|
-
<Card title="Learn more about Fumadocs" href="https://fumadocs.
|
|
15
|
+
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
|
16
16
|
</Cards>
|
|
17
17
|
|
|
18
18
|
### CodeBlock
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { RootProvider } from 'fumadocs-ui/provider/base';
|
|
3
|
+
import { RootProvider } from 'fumadocs-ui/provider/waku';
|
|
5
4
|
|
|
6
5
|
export function Provider({ children }: { children: ReactNode }) {
|
|
7
|
-
return
|
|
8
|
-
<WakuProvider>
|
|
9
|
-
<RootProvider>{children}</RootProvider>
|
|
10
|
-
</WakuProvider>
|
|
11
|
-
);
|
|
6
|
+
return <RootProvider>{children}</RootProvider>;
|
|
12
7
|
}
|