From ae8271fc8b0232332954effe9caf20c4931f965d Mon Sep 17 00:00:00 2001 From: cadywang <109458837+cadywang@users.noreply.github.com> Date: Fri, 23 Oct 2026 12:39:31 +0800 Subject: [PATCH] repo: record the hexo version in package.json The hexo 8.1.2 bump updated the dependency range but left the "hexo": { "version": ... } field at 7.3.0. Hexo rewrites that field with the version it is actually running, so every "hexo generate" leaves the working tree dirty -- the next person to run the site sees an unrelated modification in git status. Set it to 8.1.2 so the file matches the installed CLI. Signed-off-by: cadywang <109458837+cadywang@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fade6cb..d14904e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "check:posts": "node tools/check-posts.mjs --all" }, "hexo": { - "version": "7.3.0" + "version": "8.1.2" }, "dependencies": { "hexo": "^8.1.2",