Files
blog/package.json
T
wait4xandGLM-5.3 227bc24797 build(deps): Node 26.13.0 + Astro 7.4.4 升级(含 exif loader 句柄修复)
- 宿主 Node 22.22.3 → 用户级安装 26.13.0(~/.local/node),systemd
  unit PATH 前置,CI 构建链同步吃到新版本
- Astro 7.3.8 → 7.4.4(7.4 要求 Node ≥22.23.4,此前升级因 Node 版本
  不足被 CI 拒绝;本次先升 Node 再升框架)
- exif loader 修复:Node 22.23+/26 把"GC 时仍打开的 FileHandle"从警告
  升级为错误,exifr 接收文件路径时自开 fd 不显式关闭 → 全线 content/
  photos/*.jpg 触发构建失败。改为一律 readFile 成 Buffer 再喂 exifr
  (无 fd 参与)

验证: 全量构建 44 页 exit 0(node v26.13.0 + astro 7.4.4);E2E 37/37;
      content-lint 0/0/0;后处理链(字体子集/首页内联)复跑通过;
      unit PATH 实测已前置 node26

Spec: none (运行时与框架升级,全链验收)

Co-authored-by: GLM-5.3
2026-11-02 15:27:28 +08:00

31 lines
779 B
JSON

{
"name": "wait4x-blog",
"type": "module",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.4",
"@fontsource-variable/noto-sans-sc": "^5.3.1",
"@fontsource-variable/noto-serif-sc": "^5.3.1",
"@fontsource/jetbrains-mono": "^5.3.0",
"@fontsource/noto-sans-sc": "^5.3.1",
"astro": "^7.4.4",
"astro-pagefind": "^2.0.1",
"exifr": "^7.1.3",
"lxgw-wenkai-screen-webfont": "^1.7.0",
"sharp": "^0.35.5"
},
"devDependencies": {
"@astrojs/markdown-remark": "^7.3.5",
"@fontsource/noto-serif-sc": "^5.3.1",
"playwright": "^1.64.1"
}
}