feat: 添加类型检查与模块别名配置
- 添加开发依赖 @furtherverse/tsconfig 和 typescript 到 utils 包中 - 配置模块导入别名并添加类型检查依赖项 - 添加工具函数库的初始化文件
This commit is contained in:
4
bun.lock
4
bun.lock
@@ -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": {
|
||||||
|
|||||||
@@ -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:"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
0
packages/utils/src/index.ts
Normal file
0
packages/utils/src/index.ts
Normal file
Reference in New Issue
Block a user