feat: 添加部署脚本和文档并优化Kafka消费者配置

- 添加部署相关脚本(deploy.bat/update.bat/package.bat)和文档(deployment.md/package-guide.md)
 - 新增PM2配置文件(ecosystem.config.js/ecosystem.config.cjs)
 - 优化Kafka消费者配置支持动态fromOffset
 - 添加环境检查脚本(check-env.js)
 - 更新.gitignore添加release目录
 - 补充.env.example配置文件
This commit is contained in:
2026-01-16 16:19:31 +08:00
parent 455185ac5d
commit 625cb9eea4
13 changed files with 1028 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ export default defineConfig({
'kafka-node', 'pg', 'redis',
// Node.js core modules
'events', 'url', 'crypto', 'util', 'net', 'tls', 'buffer', 'path',
'node:zlib',
'node:zlib', 'node:fs', 'node:path', 'node:url',
// openspec is not actually used in the code, remove it
],
output: {