feat(cli): 增强 Node.js 服务端适配器 (#354)

* docs(network): 添加网络模块文档和 CLI 支持

- 添加中英文网络模块文档
- 将 network、network-protocols、network-server 加入 CLI 模块列表

* feat(cli): 增强 Node.js 服务端适配器

- 添加 @esengine/network-server 依赖支持
- 生成完整的 ECS 游戏服务器项目结构
- 修复 network-server 包支持 ESM/CJS 双格式
- 添加 ws@8.18.0 解决 Node.js 24 兼容性问题
- 组件使用 @ECSComponent 装饰器注册
- tsconfig 启用 experimentalDecorators
This commit is contained in:
YHH
2025-12-27 00:13:58 +08:00
committed by GitHub
parent 67c06720c5
commit 1e240e86f2
7 changed files with 507 additions and 305 deletions

3
pnpm-lock.yaml generated
View File

@@ -1705,6 +1705,9 @@ importers:
tsrpc:
specifier: ^3.4.15
version: 3.4.21
ws:
specifier: ^8.18.0
version: 8.18.3
devDependencies:
tsup:
specifier: ^8.5.1