add automatic prisma postgres setup

fix tanstack auth template
This commit is contained in:
Aman Varshney
2025-04-03 18:32:10 +05:30
parent 31c7f8f7f7
commit cc563816ea
22 changed files with 499 additions and 79 deletions

View File

@@ -19,6 +19,7 @@ export const DEFAULT_CONFIG: ProjectConfig = {
packageManager: getUserPkgManager(),
noInstall: false,
turso: false,
prismaPostgres: false,
backend: "hono",
runtime: "bun",
};
@@ -62,6 +63,8 @@ export const dependencyVersionMap = {
ai: "^4.2.8",
"@ai-sdk/google": "^1.2.3",
"@prisma/extension-accelerate": "^1.3.0",
} as const;
export type AvailableDependencies = keyof typeof dependencyVersionMap;