瀏覽代碼

🔧 chore(tsconfig): update tsconfig.json to include test files

- 修改shared-crud包的tsconfig.json,添加tests/**/*到include并从exclude中移除tests
- 修改shared-utils包的tsconfig.json,添加tests/**/*到include并从exclude中移除tests
- 确保TypeScript能够正确编译和识别测试文件
yourname 4 周之前
父節點
當前提交
6ea86eb74e
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      packages/shared-crud/tsconfig.json
  2. 3 3
      packages/shared-utils/tsconfig.json

+ 3 - 3
packages/shared-crud/tsconfig.json

@@ -6,11 +6,11 @@
     "outDir": "dist"
   },
   "include": [
-    "src/**/*"
+    "src/**/*",
+    "tests/**/*"
   ],
   "exclude": [
     "node_modules",
-    "dist",
-    "tests"
+    "dist"
   ]
 }

+ 3 - 3
packages/shared-utils/tsconfig.json

@@ -6,11 +6,11 @@
     "outDir": "dist"
   },
   "include": [
-    "src/**/*"
+    "src/**/*",
+    "tests/**/*"
   ],
   "exclude": [
     "node_modules",
-    "dist",
-    "tests"
+    "dist"
   ]
 }