Skip to content

Commit

Permalink
refactor: 增加 Vercel/Cloudflare 兼容性测试;移除部分未使用依赖;升级最低 Node.js 版本要求
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Oct 24, 2024
1 parent 0e3e244 commit c4ec385
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 137 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ temp
.vercel
.wrangler
.dev.vars

.vercel
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="https://github.com/CaoMeiYouRen/rsshub-never-die/actions?query=workflow%3ARelease" target="_blank">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/CaoMeiYouRen/rsshub-never-die/release.yml?branch=master">
</a>
<img src="https://img.shields.io/badge/node-%3E%3D16-blue.svg" />
<img src="https://img.shields.io/badge/node-%3E%3D18-blue.svg" />
<a href="https://github.com/CaoMeiYouRen/rsshub-never-die#readme" target="_blank">
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
</a>
Expand Down
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dist"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"lint": "cross-env NODE_ENV=production eslint src --fix --ext .ts,.js,.cjs,.mjs",
Expand Down Expand Up @@ -68,7 +68,7 @@
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vercel": "^37.12.1",
"wrangler": "^3.82.0"
"wrangler": "^3.83.0"
},
"config": {
"commitizen": {
Expand Down Expand Up @@ -102,13 +102,8 @@
},
"dependencies": {
"@hono/node-server": "^1.13.2",
"await-to-js": "^3.0.0",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"fs-extra": "^11.2.0",
"hono": "^4.6.6",
"isomorphic-unfetch": "^4.0.2",
"lodash-es": "^4.17.21",
"tslib": "^2.8.0",
"winston": "^3.15.0",
"winston-daily-rotate-file": "^5.0.0"
Expand All @@ -119,4 +114,4 @@
}
},
"type": "module"
}
}
Loading

0 comments on commit c4ec385

Please sign in to comment.