create-fumadocs-app 15.6.4 → 15.6.5
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-KW5K7PMS.js → chunk-J4NXLHNR.js} +12 -12
- package/dist/create-app.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/template/tanstack-start/package.json +11 -10
- package/template/tanstack-start/src/components/NotFound.tsx +28 -0
- package/template/tanstack-start/src/router.tsx +2 -0
- package/template/tanstack-start/vite.config.ts +5 -1
|
@@ -59,7 +59,7 @@ async function tryGitInit(cwd2) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// src/versions.js
|
|
62
|
-
var versions = { "fumadocs-core": "15.6.
|
|
62
|
+
var versions = { "fumadocs-core": "15.6.5", "fumadocs-ui": "15.6.5", "fumadocs-mdx": "11.7.0", "@fumadocs/mdx-remote": "1.4.0", "@fumadocs/content-collections": "1.2.1" };
|
|
63
63
|
|
|
64
64
|
// ../create-app-versions/package.json
|
|
65
65
|
var package_default = {
|
|
@@ -72,32 +72,32 @@ var package_default = {
|
|
|
72
72
|
"@content-collections/core": "^0.10.0",
|
|
73
73
|
"@content-collections/mdx": "^0.2.2",
|
|
74
74
|
"@content-collections/next": "^0.2.6",
|
|
75
|
-
"@react-router/dev": "^7.
|
|
76
|
-
"@react-router/node": "^7.
|
|
77
|
-
"@react-router/serve": "^7.
|
|
75
|
+
"@react-router/dev": "^7.7.0",
|
|
76
|
+
"@react-router/node": "^7.7.0",
|
|
77
|
+
"@react-router/serve": "^7.7.0",
|
|
78
78
|
"@tailwindcss/postcss": "^4.1.11",
|
|
79
79
|
"@tailwindcss/vite": "^4.1.11",
|
|
80
|
-
"@tanstack/react-router": "^1.
|
|
81
|
-
"@tanstack/react-start": "^1.
|
|
80
|
+
"@tanstack/react-router": "^1.128.8",
|
|
81
|
+
"@tanstack/react-start": "^1.128.8",
|
|
82
82
|
"@types/mdx": "^2.0.13",
|
|
83
|
-
"@types/node": "24.0.
|
|
83
|
+
"@types/node": "24.0.15",
|
|
84
84
|
"@types/react": "^19.1.8",
|
|
85
85
|
"@types/react-dom": "^19.1.6",
|
|
86
|
-
"@vitejs/plugin-react": "^4.
|
|
86
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
87
87
|
"gray-matter": "^4.0.3",
|
|
88
88
|
isbot: "^5.1.28",
|
|
89
|
-
next: "15.4.
|
|
89
|
+
next: "15.4.2",
|
|
90
90
|
postcss: "^8.5.6",
|
|
91
91
|
react: "^19.1.0",
|
|
92
92
|
"react-dom": "^19.1.0",
|
|
93
|
-
"react-router": "^7.
|
|
93
|
+
"react-router": "^7.7.0",
|
|
94
94
|
"react-router-devtools": "^5.0.6",
|
|
95
|
-
shiki: "^3.8.
|
|
95
|
+
shiki: "^3.8.1",
|
|
96
96
|
tailwindcss: "^4.1.11",
|
|
97
97
|
tinyglobby: "^0.2.14",
|
|
98
98
|
typescript: "^5.8.3",
|
|
99
99
|
vinxi: "^0.5.8",
|
|
100
|
-
vite: "^7.0.
|
|
100
|
+
vite: "^7.0.5",
|
|
101
101
|
"vite-tsconfig-paths": "^5.1.4"
|
|
102
102
|
}
|
|
103
103
|
};
|
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.6.
|
|
3
|
+
"version": "15.6.5",
|
|
4
4
|
"description": "Create a new documentation site with Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/cross-spawn": "^6.0.6",
|
|
31
|
-
"@types/node": "24.0.
|
|
31
|
+
"@types/node": "24.0.15",
|
|
32
32
|
"tinyglobby": "^0.2.14",
|
|
33
33
|
"eslint-config-custom": "0.0.0",
|
|
34
34
|
"tsconfig": "0.0.0"
|
|
@@ -9,26 +9,27 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@fumadocs/mdx-remote": "workspace:*",
|
|
12
|
-
"@tanstack/react-router": "^1.
|
|
13
|
-
"@tanstack/react-router-devtools": "^1.
|
|
14
|
-
"@tanstack/react-start": "^1.
|
|
12
|
+
"@tanstack/react-router": "^1.128.0",
|
|
13
|
+
"@tanstack/react-router-devtools": "^1.128.0",
|
|
14
|
+
"@tanstack/react-start": "^1.128.1",
|
|
15
15
|
"fumadocs-core": "workspace:*",
|
|
16
16
|
"fumadocs-ui": "workspace:*",
|
|
17
17
|
"gray-matter": "^4.0.3",
|
|
18
18
|
"lucide-static": "^0.525.0",
|
|
19
|
-
"react": "^19.
|
|
20
|
-
"react-dom": "^19.
|
|
19
|
+
"react": "^19.1.0",
|
|
20
|
+
"react-dom": "^19.1.0",
|
|
21
21
|
"tailwind-merge": "^3.3.1",
|
|
22
|
-
"vite": "^7.0.
|
|
22
|
+
"vite": "^7.0.5",
|
|
23
23
|
"zod": "^4.0.5"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@tailwindcss/vite": "^4.1.11",
|
|
27
|
-
"@types/node": "^24.0.
|
|
28
|
-
"@types/react": "^19.
|
|
29
|
-
"@types/react-dom": "^19.
|
|
27
|
+
"@types/node": "^24.0.14",
|
|
28
|
+
"@types/react": "^19.1.8",
|
|
29
|
+
"@types/react-dom": "^19.1.6",
|
|
30
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
30
31
|
"tailwindcss": "^4.1.11",
|
|
31
|
-
"typescript": "^5.
|
|
32
|
+
"typescript": "^5.8.3",
|
|
32
33
|
"vite-tsconfig-paths": "^5.1.4"
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Link } from '@tanstack/react-router';
|
|
2
|
+
import { HomeLayout } from 'fumadocs-ui/layouts/home';
|
|
3
|
+
|
|
4
|
+
export function NotFound() {
|
|
5
|
+
return (
|
|
6
|
+
<HomeLayout
|
|
7
|
+
nav={{
|
|
8
|
+
title: 'Tanstack Start',
|
|
9
|
+
}}
|
|
10
|
+
className="text-center py-32 justify-center"
|
|
11
|
+
>
|
|
12
|
+
<div className="flex flex-col items-center gap-4">
|
|
13
|
+
<h1 className="text-6xl font-bold text-fd-muted-foreground">404</h1>
|
|
14
|
+
<h2 className="text-2xl font-semibold">Page Not Found</h2>
|
|
15
|
+
<p className="text-fd-muted-foreground max-w-md">
|
|
16
|
+
The page you are looking for might have been removed, had its name
|
|
17
|
+
changed, or is temporarily unavailable.
|
|
18
|
+
</p>
|
|
19
|
+
<Link
|
|
20
|
+
to="/"
|
|
21
|
+
className="mt-4 px-4 py-2 rounded-lg bg-fd-primary text-fd-primary-foreground font-medium text-sm hover:opacity-90 transition-opacity"
|
|
22
|
+
>
|
|
23
|
+
Back to Home
|
|
24
|
+
</Link>
|
|
25
|
+
</div>
|
|
26
|
+
</HomeLayout>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { createRouter as createTanStackRouter } from '@tanstack/react-router';
|
|
2
2
|
import { routeTree } from './routeTree.gen';
|
|
3
|
+
import { NotFound } from './components/NotFound';
|
|
3
4
|
|
|
4
5
|
export function createRouter() {
|
|
5
6
|
return createTanStackRouter({
|
|
6
7
|
routeTree,
|
|
7
8
|
defaultPreload: 'intent',
|
|
8
9
|
scrollRestoration: true,
|
|
10
|
+
defaultNotFoundComponent: NotFound,
|
|
9
11
|
});
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -2,6 +2,7 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite';
|
|
|
2
2
|
import { defineConfig } from 'vite';
|
|
3
3
|
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
4
4
|
import tailwindcss from '@tailwindcss/vite';
|
|
5
|
+
import react from '@vitejs/plugin-react';
|
|
5
6
|
|
|
6
7
|
export default defineConfig({
|
|
7
8
|
server: {
|
|
@@ -12,6 +13,9 @@ export default defineConfig({
|
|
|
12
13
|
tsConfigPaths({
|
|
13
14
|
projects: ['./tsconfig.json'],
|
|
14
15
|
}),
|
|
15
|
-
tanstackStart(
|
|
16
|
+
tanstackStart({
|
|
17
|
+
customViteReactPlugin: true,
|
|
18
|
+
}),
|
|
19
|
+
react(),
|
|
16
20
|
],
|
|
17
21
|
});
|