fix type error in prisma.config.ts

This commit is contained in:
Aman Varshney
2025-06-13 21:49:38 +05:30
parent a0fb387def
commit 4cae3b7b2b
4 changed files with 16 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
fix prisma type error

View File

@@ -23,7 +23,10 @@
],
"paths": {
"@/*": ["./src/*"]
}
{{#if (eq orm 'prisma')}},
"prisma": ["node_modules/prisma"]
{{/if}}
},
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]

View File

@@ -9,6 +9,9 @@
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
{{#if (eq orm 'prisma')}},
"prisma": ["node_modules/prisma"]
{{/if}}
},
"outDir": "./dist",
"types": [

View File

@@ -14,7 +14,7 @@
},
"apps/cli": {
"name": "create-better-t-stack",
"version": "2.18.1",
"version": "2.18.3",
"bin": {
"create-better-t-stack": "dist/index.js",
},