mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Add useSortedClasses rule to Biome configuration
This commit is contained in:
@@ -101,21 +101,10 @@ DATABASE_URL="your_database_url"`);
|
||||
|
||||
export async function setupPrismaPostgres(
|
||||
projectDir: string,
|
||||
shouldSetupPrisma: boolean,
|
||||
packageManager: ProjectPackageManager = "npm",
|
||||
) {
|
||||
const serverDir = path.join(projectDir, "apps/server");
|
||||
|
||||
if (!shouldSetupPrisma) {
|
||||
await writeEnvFile(projectDir);
|
||||
log.info(
|
||||
pc.blue(
|
||||
"Using default Postgres configuration. You'll need to provide your own database.",
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const config = await initPrismaDatabase(serverDir, packageManager);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user