mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Add dependency version constants and package management utility
This commit is contained in:
@@ -16,3 +16,23 @@ export const DEFAULT_CONFIG: ProjectConfig = {
|
||||
packageManager: "npm",
|
||||
noInstall: false,
|
||||
};
|
||||
|
||||
export const dependencyVersionMap = {
|
||||
// Authentication
|
||||
"better-auth": "^1.1.16",
|
||||
|
||||
// Database - Drizzle
|
||||
"drizzle-orm": "^0.38.4",
|
||||
"drizzle-kit": "^0.30.4",
|
||||
|
||||
// Database - SQLite/PostgreSQL
|
||||
"@libsql/client": "^0.14.0",
|
||||
postgres: "^3.4.5",
|
||||
|
||||
// Database - Prisma
|
||||
"@prisma/client": "^5.7.1",
|
||||
"@prisma/adapter-libsql": "^5.7.1",
|
||||
prisma: "^5.7.1",
|
||||
} as const;
|
||||
|
||||
export type AvailableDependencies = keyof typeof dependencyVersionMap;
|
||||
|
||||
Reference in New Issue
Block a user