feat: 添加类型检查与模块别名配置

- 添加开发依赖 @furtherverse/tsconfig 和 typescript 到 utils 包中
- 配置模块导入别名并添加类型检查依赖项
- 添加工具函数库的初始化文件
This commit is contained in:
2026-01-23 15:50:59 +08:00
parent 5a0a899e93
commit b6c413aad9
3 changed files with 12 additions and 1 deletions

View File

@@ -73,6 +73,10 @@
"packages/utils": { "packages/utils": {
"name": "@furtherverse/utils", "name": "@furtherverse/utils",
"version": "1.0.0", "version": "1.0.0",
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"typescript": "catalog:",
},
}, },
}, },
"catalog": { "catalog": {

View File

@@ -2,5 +2,12 @@
"name": "@furtherverse/utils", "name": "@furtherverse/utils",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"type": "module" "type": "module",
"imports": {
"#*": "./src/*"
},
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"typescript": "catalog:"
}
} }

View File