chore: update typecheck script to generate prisma types

This commit is contained in:
Bereket Engida
2025-04-21 20:36:09 +03:00
parent b2852227dd
commit 29fa14dc2c
+11 -12
View File
@@ -8,17 +8,16 @@
"url": "https://github.com/better-auth/better-auth",
"directory": "packages/better-auth"
},
"keywords": [
"auth",
"oauth",
"oidc",
"2fa",
"social",
"security",
"typescript",
"nextjs"
],
"auth",
"oauth",
"oidc",
"2fa",
"social",
"security",
"typescript",
"nextjs"
],
"scripts": {
"build": "unbuild --clean",
"dev": "concurrently \"unbuild --watch\" \"npm run dev:types\"",
@@ -30,7 +29,7 @@
"prisma:normal:push": "prisma db push --schema src/adapters/prisma-adapter/test/normal-tests/schema.prisma",
"prisma:number-id:push": "prisma db push --schema src/adapters/prisma-adapter/test/number-id-tests/schema.prisma",
"bump": "bumpp",
"typecheck": "tsc --noEmit"
"typecheck": "pnpm prisma:normal:push && pnpm prisma:number-id:push && tsc --noEmit"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
@@ -701,4 +700,4 @@
"files": [
"dist"
]
}
}