Skip to content

Commit

Permalink
feat(commitizen init): commitizen init && Home title change
Browse files Browse the repository at this point in the history
  • Loading branch information
PaloMiku committed Nov 3, 2024
1 parent fe924ca commit 3e08854
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ function Powered(): React.ReactElement {
);
}

// 在文件顶部添加 metadata 导出
export const metadata = {
title: "Mix Space - An Alternative Personal Space",
description: "Mix Space 是一个小型个人空间站点程序,采用前后端分离设计。"
}

export default function Page(): React.ReactElement {
return (
<>
Expand Down
Binary file modified bun.lockb
Binary file not shown.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
"dev": "next dev --turbo",
"start": "next start",
"postinstall": "fumadocs-mdx",
"sync-search": "bun run sync-index.mjs"
"sync-search": "bun run sync-index.mjs",
"commit": "cz"
},
"dependencies": {
"@orama/orama": "^3.0.1",
"@orama/react-components": "^0.1.11",
"@orama/tokenizers": "^3.0.1",
"@oramacloud/client": "^1.3.19",
"commitizen": "^4.3.1",
"copy-to-clipboard": "^3.3.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.4.5",
"framer-motion": "^11.11.11",
"fumadocs-core": "14.2.0",
Expand All @@ -37,5 +40,10 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}

0 comments on commit 3e08854

Please sign in to comment.