feat: 创建 Node.js 22 模板项目
- 基于 node20-template 创建 node22-template - 更新项目名称为 node22-hello-world - 更新 Node.js 版本要求为 >=22.0.0 - 更新 Docker 基础镜像为 node22 - 更新所有文档和配置文件中的版本信息 - 配置新的 Git 远程仓库地址
Showing
| { | ||
| "name": "node20-hello-world", | ||
| "name": "node22-hello-world", | ||
| "version": "1.0.0", | ||
| "description": "Node.js 20 HTTP 服务器示例", | ||
| "description": "Node.js 22 HTTP 服务器示例", | ||
| "main": "hello_world.js", | ||
| "scripts": { | ||
| "start": "node hello_world.js", | ||
| ... | ... | @@ -17,6 +17,6 @@ |
| "author": "", | ||
| "license": "MIT", | ||
| "engines": { | ||
| "node": ">=20.0.0" | ||
| "node": ">=22.0.0" | ||
| } | ||
| } |
Please register or sign in to comment