Skip to content

Commit

Permalink
fix: force pnpm as package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Aug 26, 2024
1 parent 2649168 commit 8bdc586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/init.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default defineCommand({
description: 'Initialize a fresh NuxtHub project, alias of `nuxi init -t hub`.',
},
async setup({ args }) {
await execa('npx', ['nuxi@latest', 'init', '-t', 'hub', ...args._], { stdio: 'inherit' })
await execa('npx', ['nuxi@latest', 'init', '-t', 'hub', '--package-manager', 'pnpm', ...args._], { stdio: 'inherit' })
},
})

0 comments on commit 8bdc586

Please sign in to comment.