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": {
|
"packages/create-mcfly": {
|
||||||
"version": "0.2.14",
|
"version": "0.3.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
|
|
|
@ -101,7 +101,7 @@ async function askPrompts(prompts) {
|
||||||
p.info && consola.info(p.info);
|
p.info && consola.info(p.info);
|
||||||
consola.start(p.startMessage);
|
consola.start(p.startMessage);
|
||||||
try {
|
try {
|
||||||
await exec(p.command);
|
await exec(p.command, { stdio: "inherit" });
|
||||||
consola.success("Done!");
|
consola.success("Done!");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
consola.error(e);
|
consola.error(e);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "create-mcfly",
|
"name": "create-mcfly",
|
||||||
"version": "0.2.14",
|
"version": "0.3.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
"create-mcfly": "./index.js"
|
"create-mcfly": "./index.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue