mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
feat: 添加清理未使用图片资源的脚本
添加 clean-unused-images.js 脚本用于自动扫描并删除未被引用的图片文件 更新 package.json 添加 clean 命令 更新 README.md 文档说明新功能
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"astro": "astro",
|
||||
"type-check": "tsc --noEmit --isolatedDeclarations",
|
||||
"new-post": "node scripts/new-post.js",
|
||||
"clean": "node scripts/clean-unused-images.js",
|
||||
"format": "biome format --write ./src",
|
||||
"lint": "biome check --write ./src"
|
||||
},
|
||||
@@ -37,6 +38,7 @@
|
||||
"astro": "5.7.9",
|
||||
"astro-expressive-code": "^0.41.3",
|
||||
"astro-icon": "^1.1.5",
|
||||
"glob": "^11.0.3",
|
||||
"hastscript": "^9.0.1",
|
||||
"katex": "^0.16.22",
|
||||
"markdown-it": "^14.1.0",
|
||||
|
||||
Reference in New Issue
Block a user