更新依赖版本;重构代码以使用环境变量中的令牌;添加身份验证中间件以增强安全性

This commit is contained in:
xiongxiao
2026-03-22 02:03:52 +08:00
committed by cnb
parent c5a8d22249
commit c222a007c1
6 changed files with 51 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"cli": "bun run src/cli.ts "
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
@@ -12,10 +12,10 @@
"packageManager": "pnpm@10.32.1",
"type": "module",
"dependencies": {
"@kevisual/cnb": "^0.0.53",
"@kevisual/cnb": "^0.0.56",
"@kevisual/context": "^0.0.8",
"@kevisual/gitea": "^0.0.6",
"@kevisual/router": "^0.1.5",
"@kevisual/router": "^0.1.6",
"dayjs": "^1.11.20"
}
}