 黄健铭andClaude Opus 5.5
|
d5c015f826
|
路由表化:迁移锁价、购料、库存与回收路由
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 12:31:26 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
babb914c59
|
路由表化:迁移订单及订单修改/归属/作废/售后审批路由
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 12:29:25 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
900fc2f527
|
路由表化:迁移资金/人数/报销与打印路由
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 12:28:18 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
e082069f55
|
路由表化:新增路由匹配器、中间件与表驱动分发,迁移店铺设置/员工/货盘路由
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 12:26:22 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
2b9cb825be
|
修复ESLint发现的问题:重复定义、无效代码
- recoveries-ui.js:删除较早的 recoveryCardRate(与后一份逐字相同,运行时生效的本就是后一份)
- server.js:删除不可达的重复 GET /api/shop-settings 处理与重复的店主校验;删除从未被读取的初始值
- 订单取消/归属表单:去掉每个分支都会覆盖的变量初始值
- 去掉无效转义;测试夹具中的重复键保留实际生效的值
- 浏览器脚本的 no-unused-vars 只检查局部变量(顶层声明为跨文件全局名字)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 09:02:52 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
ac143d73ce
|
git blame忽略格式化提交
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 08:58:54 -08:00 |
|
 黄健铭andClaude Opus 5.5
|
28c64814f0
|
格式化:Prettier统一代码风格(仅格式,无逻辑变化)
仅为 npm run format 的输出;黄金对照、旧库兼容、浏览器流程与单元测试全部通过且零差异。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 08:58:53 -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 |
|
 黄健铭andClaude Opus 5.5
|
91479fd13f
|
验证基线:端到端黄金对照、浏览器流程与旧库兼容检查
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-12-04 08:37:28 -08:00 |
|