feat(create-mcfly): display prompt action progress
This commit is contained in:
parent
91c25b7865
commit
7f1d6ce140
3 changed files with 3 additions and 3 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -3975,7 +3975,7 @@
|
|||
}
|
||||
},
|
||||
"packages/create-mcfly": {
|
||||
"version": "0.2.14",
|
||||
"version": "0.3.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"consola": "^3.2.3",
|
||||
|
|
|
@ -101,7 +101,7 @@ async function askPrompts(prompts) {
|
|||
p.info && consola.info(p.info);
|
||||
consola.start(p.startMessage);
|
||||
try {
|
||||
await exec(p.command);
|
||||
await exec(p.command, { stdio: "inherit" });
|
||||
consola.success("Done!");
|
||||
} catch (e) {
|
||||
consola.error(e);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "create-mcfly",
|
||||
"version": "0.2.14",
|
||||
"version": "0.3.0",
|
||||
"bin": {
|
||||
"create-mcfly": "./index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue