Commit Graph
2 Commits
Author SHA1 Message Date
黄健铭andClaude Opus 5.5 40bff0be94 新版界面挂载:/next/ 提供 web/dist 构建,单页回退并限制在目录内
试用、演示模式默认开启,云端需设置 WEB_NEXT=1;其余地址行为不变。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 18:36:57 -08:00
黄健铭andClaude Opus 5.5 3743d687e7 工程化:增加package.json、Prettier与ESLint配置,修复测试连接未关闭导致挂起
- 新账系统/package.json:仅开发依赖(prettier、eslint、@eslint/js、globals),运行时仍零依赖
- Prettier 只处理 .js/.mjs/.cjs/.css;ESLint 扁平配置区分后端、浏览器脚本、测试与 e2e
- scripts/gen-browser-globals.js 生成浏览器脚本间共享的全局变量清单
- 测试 after 钩子关闭服务前先 closeAllConnections(),避免未读完的响应让 server.close() 永久等待
- 4 处读取源码文本的测试断言改为不依赖空白写法(格式化前后均通过),断言含义不变

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 08:55:46 -08:00