- 新增 quality-gate.sh 质量门禁脚本(tsc/eslint/build/any 计数) - ESLint 新增代码目录 any 规则升级为 error(generator/runtime/skills/memory/providers/vendor) - 修复新增代码中 30+ 处 any 类型(unknown 替代、具体类型定义) - 新增 9 个 NestJS 自定义参数装饰器(@CurrentUser/@SiteId/@MemberId/@ReqId/@CurrentLang/@CurrentChannel/@ClientIp/@UserAgent/@SiteIdStr) - RequestContextService 导出 RequestContextStore 接口和 REQUEST_CONTEXT_KEY 常量 - 请求中间件绑定上下文到 req 对象供装饰器使用 - 配置 husky + lint-staged pre-commit hook - 新增 npm scripts: quality-gate / quality-gate:tsc / quality-gate:lint / quality-gate:build / quality-gate:any - 新增代码目录 ESLint: 0 errors, 37 warnings - tsc --noEmit: 0 errors
2 lines
9 B
Plaintext
2 lines
9 B
Plaintext
npm test
|