Skip to content

Commit 90faf1b

Browse files
committed
docs(changeset): Add Changeset for version managing
1 parent ac9d6b1 commit 90faf1b

10 files changed

+1102
-409
lines changed

.changeset/README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Changesets
2+
3+
This folder is used to manage versioning and changelogs for Suzu Blog.
4+
5+
## 🦋 What is Changesets?
6+
7+
Changesets is a tool that helps version and publish packages in single-package or monorepo setups.
8+
9+
For Suzu Blog, we use Changesets to:
10+
11+
- Track and document changes for each release.
12+
- Automatically update the version number in `package.json`.
13+
- Generate a `CHANGELOG.md` with structured release notes.
14+
15+
## How to Use
16+
17+
### 1. Adding a changeset
18+
19+
Run:
20+
21+
```sh
22+
pnpm changeset
23+
```
24+
25+
Select the type of change (`patch`, `minor`, `major`), write a summary, and a new changeset file will be created.
26+
27+
### 2. Versioning
28+
29+
To apply all pending changes and update the version:
30+
31+
```sh
32+
pnpm changeset version
33+
```
34+
35+
## More Information
36+
37+
For more details, check [Changesets documentation](https://github.com/changesets/changesets).

.changeset/config.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"baseBranch": "main",
8+
"updateInternalDependencies": "patch",
9+
"ignore": []
10+
}

.node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
22.14.0

CHANGELOG.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SuzuBlog Changelog
2+
3+
## 1.4.2 (2025-03-12)
4+
5+
### Patch Changes
6+
7+
- 005a095: Add Changeset for version managing
8+
9+
- Bump up Next.js version to 15.2.2, which solved Twikoo support issue (crypto-js TypeError).
10+
- Add version badge in README.md.
11+
- Add more different grammar and syntax for Markdown inside sample-post.md.
12+
- Remove support in Browserlist for op_mini all, which is not necessary.
13+
14+
## 1.4.1 (2025-03-09)
15+
16+
- ac9d6b1: Lock Next.js verson to 15.2.0 due to Twikoo support issue
17+
18+
- 8d395f3: Update CI resealse workflow.
19+
20+
## 1.4.0 (2025-03-08)
21+
22+
- fbf97ab: Notes showing issue on hover and mobile in `about/anime` page
23+
24+
- Addressing anime page issue with notes on hover (desktop) and on click (mobile) (#141).
25+
- Extract `AnimeCard` and `Notes` components from `AnimeList` (#140).
26+
- Handle hover logic differently for desktop.
27+
- Add onClick() event to show notes on mobile.
28+
29+
- 0c9c327: add new markdown parsing logic
30+
31+
- markdown content parsing logic and improves styles (#139).
32+
- Fixed issues #137 and #138.
33+
34+
## 1.3.0 (2025-03-01)
35+
36+
- e5f644a: Set anime images to unoptimized
37+
38+
- Set anime images to unoptimized to prevent Next.js from optimizing them.
39+
40+
- b9a030f: Fix anime header issue #135
41+
42+
- 815a211: add anime tracking page (#134)
43+
44+
- This PR introduces the **Anime List** feature #133 , integrating AniList API to fetch and display my personal anime tracking data under `/about/anime`. It also includes a new API endpoint (`GET /api/anime`) to handle data retrieval. The header menu now highlights the current page dynamically, improving navigation clarity. Additionally, I refactored the scroll progress bar into its own component (`ScrollPositionBar.tsx`) for better maintainability. Fixed an issue where the scroll bar was hidden behind headers. The overall UI/UX could use some refinement, especially for submenu interactions and hover effects on different devices. Also, styling details need to be revisited to better align with the rest of the site.

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
> **Suzu** - "鈴" in Japanese, meaning "bell" - is a minimalist blog template built with **Next.js** and pure **Markdown**.
66
77
[![GitHub License][license-badge]][license-link]
8+
[![Latest Release][release-badge]][release-link]
89
[![Node.js][node-badge]][node-link]
9-
[![pnpm Version][pnpm-badge]][pnpm-link]
10+
[![pnpm Version][pnpm-badge]][pnpm-link] |
1011
[![Next.js][nextjs-badge]][nextjs-link]
1112
[![Tailwind CSS][tailwind-badge]][tailwind-link] |
1213
[![Vercel][vercel-badge]][vercel-link]
@@ -106,7 +107,9 @@ After years of frustration with the maintenance, security risks, and performance
106107
[pnpm-link]: https://pnpm.io/
107108
[prettier-badge]: https://img.shields.io/badge/Prettier-F7B93E?logo=Prettier&logoColor=white
108109
[prettier-link]: https://www.npmjs.com/package/@zl-asica/prettier-config
109-
[tailwind-badge]: https://img.shields.io/badge/Tailwind%20CSS-06B6D4?style=flat&logo=tailwindcss&logoColor=white
110+
[release-badge]: https://img.shields.io/github/v/release/ZL-Asica/SuzuBlog?display_name=release&label=SuzuBlog&color=fc8da3
111+
[release-link]: https://github.com/ZL-Asica/SuzuBlog/releases
112+
[tailwind-badge]: https://img.shields.io/badge/Tailwind%20CSS-06B6D4?logo=tailwindcss&logoColor=white
110113
[tailwind-link]: https://tailwindcss.com/
111114
[vercel-badge]: https://img.shields.io/badge/Vercel-%23000000.svg?logo=vercel&logoColor=white
112115
[vercel-link]: https://vercel.com

README_JA.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
> **Suzu** - 日本語の「鈴(すず)」を意味し、**Next.js** と純粋な **Markdown** を基盤としたミニマリストブログテンプレートです。
66
77
[![GitHub License][license-badge]][license-link]
8+
[![Latest Release][release-badge]][release-link]
89
[![Node.js][node-badge]][node-link]
9-
[![pnpm Version][pnpm-badge]][pnpm-link]
10+
[![pnpm Version][pnpm-badge]][pnpm-link] |
1011
[![Next.js][nextjs-badge]][nextjs-link]
1112
[![Tailwind CSS][tailwind-badge]][tailwind-link] |
1213
[![Vercel][vercel-badge]][vercel-link]
@@ -106,6 +107,8 @@ WordPress のメンテナンスコスト、安全性、性能問題に悩まさ
106107
[pnpm-link]: https://pnpm.io/
107108
[prettier-badge]: https://img.shields.io/badge/Prettier-F7B93E?logo=Prettier&logoColor=white
108109
[prettier-link]: https://www.npmjs.com/package/@zl-asica/prettier-config
110+
[release-badge]: https://img.shields.io/github/v/release/ZL-Asica/SuzuBlog?display_name=release&label=SuzuBlog&color=fc8da3
111+
[release-link]: https://github.com/ZL-Asica/SuzuBlog/releases
109112
[tailwind-badge]: https://img.shields.io/badge/Tailwind%20CSS-06B6D4?style=flat&logo=tailwindcss&logoColor=white
110113
[tailwind-link]: https://tailwindcss.com/
111114
[vercel-badge]: https://img.shields.io/badge/Vercel-%23000000.svg?logo=vercel&logoColor=white

README_ZH.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
77
[![GitHub License][license-badge]][license-link]
88
[![Node.js][node-badge]][node-link]
9-
[![pnpm Version][pnpm-badge]][pnpm-link]
9+
[![Latest Release][release-badge]][release-link]
10+
[![pnpm Version][pnpm-badge]][pnpm-link] |
1011
[![Next.js][nextjs-badge]][nextjs-link]
1112
[![Tailwind CSS][tailwind-badge]][tailwind-link] |
1213
[![Vercel][vercel-badge]][vercel-link]
@@ -107,6 +108,8 @@
107108
[pnpm-link]: https://pnpm.io/
108109
[prettier-badge]: https://img.shields.io/badge/Prettier-F7B93E?logo=Prettier&logoColor=white
109110
[prettier-link]: https://www.npmjs.com/package/@zl-asica/prettier-config
111+
[release-badge]: https://img.shields.io/github/v/release/ZL-Asica/SuzuBlog?display_name=release&label=SuzuBlog&color=fc8da3
112+
[release-link]: https://github.com/ZL-Asica/SuzuBlog/releases
110113
[tailwind-badge]: https://img.shields.io/badge/Tailwind%20CSS-06B6D4?style=flat&logo=tailwindcss&logoColor=white
111114
[tailwind-link]: https://tailwindcss.com/
112115
[vercel-badge]: https://img.shields.io/badge/Vercel-%23000000.svg?logo=vercel&logoColor=white

package.json

+17-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "suzu-blog",
3-
"version": "0.1.0",
3+
"version": "1.4.2",
44
"private": true,
5-
"packageManager": "[email protected].1",
5+
"packageManager": "[email protected].2",
66
"author": {
77
"name": "ZL Asica",
88
"email": "[email protected]",
@@ -16,6 +16,8 @@
1616
},
1717
"bugs": "https://github.com/ZL-Asica/SuzuBlog/issues",
1818
"scripts": {
19+
"changeset": "changeset",
20+
"version": "changeset version",
1921
"dev": "next dev --turbopack",
2022
"build": "NODE_NO_WARNINGS=1 next build",
2123
"start": "next start",
@@ -27,13 +29,13 @@
2729
"dependencies": {
2830
"@vercel/analytics": "^1.5.0",
2931
"@vercel/speed-insights": "^1.2.0",
30-
"@zl-asica/react": "^0.3.15",
32+
"@zl-asica/react": "^0.3.17",
3133
"clsx": "^2.1.1",
32-
"es-toolkit": "^1.32.0",
34+
"es-toolkit": "^1.33.0",
3335
"gray-matter": "^4.0.3",
3436
"katex": "^0.16.21",
3537
"lucide-react": "^0.479.0",
36-
"next": "15.2.0",
38+
"next": "15.2.2",
3739
"react": "19.0.0",
3840
"react-dom": "19.0.0",
3941
"react-icons": "^5.5.0",
@@ -49,10 +51,11 @@
4951
"zod": "^3.24.2"
5052
},
5153
"devDependencies": {
52-
"@antfu/eslint-config": "^4.8.1",
53-
"@eslint-react/eslint-plugin": "^1.31.0",
54-
"@next/eslint-plugin-next": "^15.2.1",
55-
"@tailwindcss/postcss": "^4.0.12",
54+
"@antfu/eslint-config": "^4.10.0",
55+
"@changesets/cli": "^2.28.1",
56+
"@eslint-react/eslint-plugin": "^1.32.0",
57+
"@next/eslint-plugin-next": "^15.2.2",
58+
"@tailwindcss/postcss": "^4.0.13",
5659
"@types/node": "^22.13.10",
5760
"@types/react": "^19.0.10",
5861
"@types/react-dom": "^19.0.4",
@@ -69,19 +72,14 @@
6972
"postcss-preset-env": "^10.1.5",
7073
"prettier": "^3.5.3",
7174
"rss": "^1.2.2",
72-
"tailwindcss": "^4.0.12",
75+
"tailwindcss": "^4.0.13",
7376
"typescript": "^5.8.2"
7477
},
75-
"pnpm": {
76-
"overrides": {
77-
"next": "15.2.0"
78-
}
79-
},
8078
"lint-staged": {
81-
"src/**/*.{js,jsx,ts,tsx,json,yml}": [
79+
"**/*.{js,jsx,ts,tsx,json,yml}": [
8280
"eslint --fix"
8381
],
84-
"src/**/*.{css,scss,less,styl,html,md}": [
82+
"**/*.{css,scss,less,styl,html,md}": [
8583
"prettier --write"
8684
]
8785
},
@@ -93,7 +91,8 @@
9391
"production": [
9492
">0.5%",
9593
"last 2 versions",
96-
"not dead"
94+
"not dead",
95+
"no op_mini all"
9796
],
9897
"development": [
9998
"last 1 chrome version",

0 commit comments

Comments
 (0)