create-skateboard-app 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +0 -2
- package/bin/cli.js +2 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/bin/cli.js
CHANGED
|
@@ -250,7 +250,7 @@ async function collectProjectConfig(projectName) {
|
|
|
250
250
|
|
|
251
251
|
// Installation preferences
|
|
252
252
|
const installDeps = true; // Always install dependencies
|
|
253
|
-
const initGit =
|
|
253
|
+
const initGit = true; // Always initialize git repository
|
|
254
254
|
|
|
255
255
|
return {
|
|
256
256
|
companyName,
|
|
@@ -436,13 +436,6 @@ async function main() {
|
|
|
436
436
|
// Success message
|
|
437
437
|
log(`\n${colors.bold}${colors.green}🎉 Success! Created ${config.appName}${colors.reset}\n`);
|
|
438
438
|
|
|
439
|
-
log(`\n${colors.cyan}Your app is configured with:${colors.reset}`);
|
|
440
|
-
log(` 📱 App: ${config.appName}`);
|
|
441
|
-
log(` 💬 Tagline: ${config.tagline}`);
|
|
442
|
-
log(` 🎨 Color: ${config.appColor}`);
|
|
443
|
-
log(` 🎯 Icon: ${config.appIcon}`);
|
|
444
|
-
log(` 🗃️ Database: ${config.database.value}`);
|
|
445
|
-
|
|
446
439
|
// Database-specific instructions (only if connection string not provided)
|
|
447
440
|
if (config.database.value === 'postgresql' && !config.connectionString) {
|
|
448
441
|
log(`\n${colors.yellow}📝 PostgreSQL Setup:${colors.reset}`);
|
|
@@ -463,10 +456,8 @@ async function main() {
|
|
|
463
456
|
|
|
464
457
|
log(`\n${colors.bold}Get started with:${colors.reset}`, 'yellow');
|
|
465
458
|
log(`\n ${colors.cyan}cd ${projectName}${colors.reset}`);
|
|
466
|
-
log(` ${colors.cyan}cp backend/.env.example backend/.env${colors.reset}`);
|
|
467
|
-
log(` ${colors.cyan}# Edit backend/.env with your credentials${colors.reset}`);
|
|
468
459
|
log(` ${colors.cyan}npm run start${colors.reset}`);
|
|
469
|
-
log(`\n${colors.yellow}Happy
|
|
460
|
+
log(`\n${colors.yellow}Happy skating! 🛹${colors.reset}\n`);
|
|
470
461
|
|
|
471
462
|
} catch (err) {
|
|
472
463
|
error(`Failed to create project: ${err.message}`);
|