feat(create-mcfly): even more helpful messages 😱

This commit is contained in:
Ayo 2023-10-22 19:00:43 +02:00
parent 5a4722c80e
commit e3b42101a9
3 changed files with 7 additions and 9 deletions

2
package-lock.json generated
View file

@ -3975,7 +3975,7 @@
}
},
"packages/create-mcfly": {
"version": "0.2.3",
"version": "0.2.4",
"license": "MIT",
"dependencies": {
"consola": "^3.2.3",

View file

@ -30,6 +30,7 @@ async function create() {
}
);
if (installDeps) {
consola.info("This might take some time depending on your connectivity.");
consola.start("Installing dependencies using npm...");
let done = false;
setTimeout(() => {
@ -63,15 +64,12 @@ async function create() {
}
}
let counter = 2;
consola.box(`🎉 Your new McFly app is now ready: ./${directory}
consola.box(`🎉 Your new McFly app is now ready: ./${directory}\n
Next actions:
1. Go to your project by running 'cd ./${directory}'
2. Run 'npm start' to start the dev server`);
2. Run 'npm start' to start the dev server
3. Join us at https://ayco.io/gh/McFly`);
}
consola.info(
"Need more info? Join the McFly community at https://ayco.io/gh/McFly \n"
);
return 1;
}

View file

@ -1,6 +1,6 @@
{
"name": "create-mcfly",
"version": "0.2.3",
"version": "0.2.4",
"bin": {
"create-mcfly": "./index.js"
},