- 项目 Phase 1 曾故意锁 7.3.8(Astro 7 换 Rust 版 Sätteri Markdown
处理器,自定义插件压在 legacy unified 路径上)——现 D 车道已装
@astrojs/markdown-remark 兜住该路径,升级窗口成熟
- 7.4.x 对本站有实际收益的三项修复:①<Image>/<Picture> 重复 srcset
候选(图库/书封/OG 卡缩略图大量使用)②ClientRouter 返回导航不再播放
smooth 滚动动画(本站开 View Transitions)③未使用组件 scoped 样式
泄漏(与 CSS 体积优化相关)
- 升级后清 node_modules/.astro(渲染缓存)全量重建
验证: 全量构建 45 页 exit 0;E2E 37/37 PASS;content-lint 0/0/0;
后处理链复跑(字体子集 8.0→3.2MB 60% 裁减、首页 CSS 内联、
SW 预缓存 19 路由);回归抽查(图库 srcset 零重复候选=7.4 修复
实证、灯箱开合、g s 弦、链接卡片渲染)全过
Spec: none (依赖小版本升级,全链验收)
Co-authored-by: GLM-5.3
31 lines
779 B
JSON
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"
|
|
}
|
|
}
|