create-fumadocs-app 13.2.1 → 13.3.0

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.
@@ -60,7 +60,7 @@ function tryGitInit(root) {
60
60
  }
61
61
 
62
62
  // versions.json
63
- var versions_default = { "fumadocs-core": "13.2.1", "fumadocs-ui": "13.2.1", "fumadocs-mdx": "9.0.1", "@fumadocs/content-collections": "1.1.1" };
63
+ var versions_default = { "fumadocs-core": "13.3.0", "fumadocs-ui": "13.3.0", "fumadocs-mdx": "9.0.2", "@fumadocs/content-collections": "1.1.2" };
64
64
 
65
65
  // ../create-app-versions/package.json
66
66
  var package_default = {
@@ -74,6 +74,7 @@ var package_default = {
74
74
  "@content-collections/mdx": "^0.1.3",
75
75
  "@content-collections/next": "^0.2.0",
76
76
  "@types/mdx": "^2.0.13",
77
+ "@types/node": "22.3.0",
77
78
  "@types/react": "^18.3.3",
78
79
  "@types/react-dom": "^18.3.0",
79
80
  autoprefixer: "^10.4.20",
@@ -81,7 +82,7 @@ var package_default = {
81
82
  postcss: "^8.4.41",
82
83
  react: "^18.3.1",
83
84
  "react-dom": "^18.3.1",
84
- tailwindcss: "^3.4.9",
85
+ tailwindcss: "^3.4.10",
85
86
  typescript: "^5.5.4"
86
87
  }
87
88
  };
@@ -200,6 +201,7 @@ function createPackageJson(projectName, { template, tailwindcss }) {
200
201
  "react-dom": package_default.dependencies["react-dom"]
201
202
  },
202
203
  devDependencies: {
204
+ "@types/node": package_default.dependencies["@types/node"],
203
205
  "@types/react": package_default.dependencies["@types/react"],
204
206
  "@types/react-dom": package_default.dependencies["@types/react-dom"],
205
207
  typescript: package_default.dependencies.typescript
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create
3
- } from "./chunk-ZAHU4TOX.js";
3
+ } from "./chunk-VH2OSEJS.js";
4
4
  export {
5
5
  create
6
6
  };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  create,
4
4
  cwd,
5
5
  getPackageManager
6
- } from "./chunk-ZAHU4TOX.js";
6
+ } from "./chunk-VH2OSEJS.js";
7
7
 
8
8
  // src/index.ts
9
9
  import { existsSync } from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fumadocs-app",
3
- "version": "13.2.1",
3
+ "version": "13.3.0",
4
4
  "description": "Create a new documentation site with Fumadocs",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/cross-spawn": "^6.0.6",
28
- "@types/node": "20.14.12",
28
+ "@types/node": "22.3.0",
29
29
  "fast-glob": "^3.3.1",
30
30
  "eslint-config-custom": "0.0.0",
31
31
  "tsconfig": "0.0.0"
@@ -1,6 +1,11 @@
1
1
  import { getPage, getPages } from '@/app/source';
2
2
  import type { Metadata } from 'next';
3
- import { DocsPage, DocsBody } from 'fumadocs-ui/page';
3
+ import {
4
+ DocsPage,
5
+ DocsBody,
6
+ DocsTitle,
7
+ DocsDescription,
8
+ } from 'fumadocs-ui/page';
4
9
  import { notFound } from 'next/navigation';
5
10
  import { MDXContent } from '@content-collections/mdx/react';
6
11
  import defaultMdxComponents from 'fumadocs-ui/mdx';
@@ -12,8 +17,9 @@ export default function Page({ params }: { params: { slug?: string[] } }) {
12
17
 
13
18
  return (
14
19
  <DocsPage toc={page.data.toc} full={page.data.full}>
20
+ <DocsTitle>{page.data.title}</DocsTitle>
21
+ <DocsDescription>{page.data.description}</DocsDescription>
15
22
  <DocsBody>
16
- <h1>{page.data.title}</h1>
17
23
  <MDXContent
18
24
  code={page.data.body}
19
25
  components={{ ...defaultMdxComponents }}
@@ -1,6 +1,11 @@
1
1
  import { getPage, getPages } from '@/app/source';
2
2
  import type { Metadata } from 'next';
3
- import { DocsPage, DocsBody } from 'fumadocs-ui/page';
3
+ import {
4
+ DocsPage,
5
+ DocsBody,
6
+ DocsDescription,
7
+ DocsTitle,
8
+ } from 'fumadocs-ui/page';
4
9
  import { notFound } from 'next/navigation';
5
10
 
6
11
  export default async function Page({
@@ -18,8 +23,9 @@ export default async function Page({
18
23
 
19
24
  return (
20
25
  <DocsPage toc={page.data.exports.toc} full={page.data.full}>
26
+ <DocsTitle>{page.data.title}</DocsTitle>
27
+ <DocsDescription>{page.data.description}</DocsDescription>
21
28
  <DocsBody>
22
- <h1>{page.data.title}</h1>
23
29
  <MDX />
24
30
  </DocsBody>
25
31
  </DocsPage>