Explorar o código

🔧 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 hai 4 semanas
pai
achega
6ea86eb74e
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  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"
   ]
 }