From 512c3fa71c45085b66bba88cb7f91ebc0fab4736 Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Tue, 11 Mar 2025 16:28:49 -0700 Subject: [PATCH] fix: index.js logs --- bin/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/index.js b/bin/index.js index 0d163d4..825153e 100755 --- a/bin/index.js +++ b/bin/index.js @@ -34,7 +34,6 @@ async function init() { console.log(`\nCreating a new Frames v2 app in ${projectPath}`); // Clone the repository - console.log(`\nCloning the template into ${projectPath}...`); execSync(`git clone ${REPO_URL} "${projectPath}"`); // Remove the .git directory @@ -68,9 +67,9 @@ async function init() { if (fs.existsSync(envExamplePath)) { fs.copyFileSync(envExamplePath, envPath); fs.unlinkSync(envExamplePath); - console.log('Created .env file from .env.example'); + console.log('\nCreated .env file from .env.example'); } else { - console.log('.env.example does not exist, skipping copy and remove operations'); + console.log('\n.env.example does not exist, skipping copy and remove operations'); } // Update README @@ -95,7 +94,7 @@ async function init() { execSync('git add .', { cwd: projectPath }); execSync('git commit -m "initial commit from frames-v2-quickstart"', { cwd: projectPath }); - console.log(`\n🖼️ ✨ Successfully created ${projectName} with git and dependencies installed! ✨ 🖼️\n`); + console.log(`\n🖼️✨ Successfully created ${projectName} with git and dependencies installed! ✨🖼️\n`); console.log('Next steps:'); console.log(` cd ${projectName}`); console.log(' npm run dev');