This commit is contained in:
Aman Varshney
2025-04-14 21:45:28 +05:30
parent 8b03441909
commit 7f441ef670
268 changed files with 3513 additions and 3039 deletions

View File

@@ -42,9 +42,11 @@ async function addEnvVariablesToFile(
}
export async function setupEnvironmentVariables(
projectDir: string,
options: ProjectConfig,
config: ProjectConfig,
): Promise<void> {
const { projectName } = config;
const projectDir = path.resolve(process.cwd(), projectName);
const options = config;
const serverDir = path.join(projectDir, "apps/server");
const envPath = path.join(serverDir, ".env");