fix(create-mcfly): install deps on win32

This commit is contained in:
Ayo 2023-12-04 20:00:57 +01:00
parent 278572da89
commit 4146a5cc3d
3 changed files with 4 additions and 2 deletions

2
package-lock.json generated
View file

@ -4017,7 +4017,7 @@
} }
}, },
"packages/create-mcfly": { "packages/create-mcfly": {
"version": "0.3.6", "version": "0.3.7",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"consola": "^3.2.3", "consola": "^3.2.3",

View file

@ -126,6 +126,8 @@ async function askPrompts(prompts, cwd) {
try { try {
spawnSync(p.command, [p.subCommand], { spawnSync(p.command, [p.subCommand], {
cwd, cwd,
shell: true,
timeout: 100_000,
stdio: 'inherit' stdio: 'inherit'
}) })
consola.success("Done!"); consola.success("Done!");

View file

@ -1,6 +1,6 @@
{ {
"name": "create-mcfly", "name": "create-mcfly",
"version": "0.3.6", "version": "0.3.7-beta.2",
"description": "Create a new McFly app", "description": "Create a new McFly app",
"type": "module", "type": "module",
"bin": { "bin": {