File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
apps/cli/src/helpers/database-providers Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export async function setupMongoDBAtlas(
136136
137137 if ( manualDb ) {
138138 log . info ( "MongoDB Atlas manual setup selected" ) ;
139- await writeEnvFile ( projectDir ) ;
139+ await writeEnvFile ( projectDir , backend ) ;
140140 displayManualSetupInstructions ( ) ;
141141 return ;
142142 }
@@ -162,17 +162,15 @@ export async function setupMongoDBAtlas(
162162
163163 if ( mode === "manual" ) {
164164 log . info ( "MongoDB Atlas manual setup selected" ) ;
165- await writeEnvFile ( projectDir ) ;
165+ await writeEnvFile ( projectDir , backend ) ;
166166 displayManualSetupInstructions ( ) ;
167167 return ;
168168 }
169169
170- const atlasConfig = await initMongoDBAtlas ( serverDir ) ;
171-
172170 const config = await initMongoDBAtlas ( serverDir ) ;
173171
174172 if ( config ) {
175- await writeEnvFile ( projectDir , config ) ;
173+ await writeEnvFile ( projectDir , backend , config ) ;
176174 log . success (
177175 pc . green (
178176 "MongoDB Atlas setup complete! Connection saved to .env file." ,
Original file line number Diff line number Diff line change 44 "": {
55 "name": "better-t-stack",
66 "devDependencies": {
7- "@biomejs/biome": "latest ",
8- "@types/bun": "latest ",
9- "changelogithub": "latest ",
10- "husky": "latest ",
11- "lint-staged": "latest ",
12- "turbo": "latest ",
13- "typescript": "latest ",
7+ "@biomejs/biome": "2.2.5 ",
8+ "@types/bun": "^1.2.23 ",
9+ "changelogithub": "^13.16.0 ",
10+ "husky": "^9.1.7 ",
11+ "lint-staged": "^16.2.3 ",
12+ "turbo": "^2.5.8 ",
13+ "typescript": "5.9.3 ",
1414 },
1515 },
1616 "apps/cli": {
You can’t perform that action at this time.
0 commit comments