- 修改shared-crud包的tsconfig.json,添加tests/**/*到include并从exclude中移除tests - 修改shared-utils包的tsconfig.json,添加tests/**/*到include并从exclude中移除tests - 确保TypeScript能够正确编译和识别测试文件
@@ -6,11 +6,11 @@
"outDir": "dist"
},
"include": [
- "src/**/*"
+ "src/**/*",
+ "tests/**/*"
],
"exclude": [
"node_modules",
- "dist",
- "tests"
+ "dist"
]
}