@mindbase/express-common 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ export function generateDrizzleSchemasJson(
14
14
  ): void {
15
15
  // 过滤 ORM schema(路径包含 /orm/)
16
16
  const ormSchemaFiles = scannedResults
17
- .filter((r) => r.type === "schema" && r.filePath.includes("/orm/"))
17
+ .filter((r) => r.type === "schema" && /[/\\]orm[/\\]/.test(r.filePath))
18
18
  .map((f) => path.relative(cwd, f.filePath).replace(/\\/g, "/"));
19
19
 
20
20
  // 生成到当前工作目录(宿主项目根目录)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindbase/express-common",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "exports": {
5
5
  ".": "./index.ts"
6
6
  },
@@ -28,8 +28,8 @@
28
28
  "cookie-parser": "^1.4.7",
29
29
  "cron": "^3.1.9",
30
30
  "dayjs": "^1.11.13",
31
- "drizzle-orm": "^0.44.7",
32
- "drizzle-zod": "^0.5.0",
31
+ "drizzle-orm": "^0.45.1",
32
+ "drizzle-zod": "^0.5.1",
33
33
  "express": "^5.2.1",
34
34
  "glob": "^10.0.0",
35
35
  "ipip-ipdb": "^0.6.0",