File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ export async function createProject(options: ProjectOptions) {
3636 await setupTurso ( projectDir ) ;
3737 }
3838
39- console . log ( "\n✨ Project created successfully!\n" ) ;
40- console . log ( "Next steps:" ) ;
41- console . log ( ` cd ${ options . projectName } ` ) ;
42- console . log ( " bun dev" ) ;
39+ logger . success ( "\n✨ Project created successfully!\n" ) ;
40+ logger . info ( "Next steps:" ) ;
41+ logger . info ( ` cd ${ options . projectName } ` ) ;
42+ logger . info ( " bun dev" ) ;
4343 } catch ( error ) {
4444 spinner . fail ( "Failed to create project" ) ;
4545 logger . error ( "Error during project creation:" , error ) ;
Original file line number Diff line number Diff line change @@ -132,15 +132,15 @@ TURSO_AUTH_TOKEN=`;
132132
133133 await fs . writeFile ( envPath , envContent ) ;
134134
135- console . log ( "\n📝 Manual Turso Setup Instructions:" ) ;
136- console . log ( "1. Visit https://turso.tech and create an account" ) ;
137- console . log ( "2. Create a new database from the dashboard" ) ;
138- console . log ( "3. Get your database URL and authentication token" ) ;
139- console . log (
135+ logger . info ( "\n📝 Manual Turso Setup Instructions:" ) ;
136+ logger . info ( "1. Visit https://turso.tech and create an account" ) ;
137+ logger . info ( "2. Create a new database from the dashboard" ) ;
138+ logger . info ( "3. Get your database URL and authentication token" ) ;
139+ logger . info (
140140 "4. Add these credentials to the .env file in your project root" ,
141141 ) ;
142- console . log ( "\nThe .env file has been created with placeholder variables:" ) ;
143- console . log ( "TURSO_DATABASE_URL=your_database_url" ) ;
144- console . log ( "TURSO_AUTH_TOKEN=your_auth_token" ) ;
142+ logger . info ( "\nThe .env file has been created with placeholder variables:" ) ;
143+ logger . info ( "TURSO_DATABASE_URL=your_database_url" ) ;
144+ logger . info ( "TURSO_AUTH_TOKEN=your_auth_token" ) ;
145145 }
146146}
You can’t perform that action at this time.
0 commit comments