Files
cwd/cwd-api/package.json
anghunk b2fd3e72e6 feat: 添加评论文章链接字段并优化自动迁移脚本
- 在 Comment 表中添加 post_url 字段,用于存储文章完整 URL
- 更新前后端 API 以返回 post_url 字段
- 管理后台评论列表显示文章链接(优先显示 post_url)
- 移除前端调试日志并优化自动迁移脚本输出信息
- 通过脚本入口文件统一管理迁移任务
2026-02-09 13:18:58 +08:00

27 lines
580 B
JSON

{
"name": "cwd-api",
"version": "0.0.18",
"scripts": {
"deploy": "node scripts/index.js && wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest",
"cf-typegen": "wrangler types"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.8.19",
"@types/nodemailer": "^7.0.5",
"@types/ua-parser-js": "^0.7.39",
"typescript": "^5.5.2",
"vitest": "~3.2.0",
"wrangler": "^4.58.0"
},
"dependencies": {
"hono": "^4.11.3",
"marked": "^17.0.1",
"nodemailer": "^7.0.12",
"ua-parser-js": "^2.0.7",
"xss": "^1.0.15"
}
}