refactor: 添加类型检查、测试用例及TS配置

- 添加类型检查和代码修复脚本以提升开发效率和代码质量。
- 添加硬件指纹生成函数的完整测试用例,覆盖正常情况、边界条件和mock数据验证。
- 添加通用工具包的 TypeScript 配置并继承基础配置文件
This commit is contained in:
2026-01-23 16:59:54 +08:00
parent 49d1f706e7
commit 49549b6e00
3 changed files with 164 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"fix": "biome check --write",
"typecheck": "tsc --noEmit"
},
"imports": {
"#*": "./src/*"
},