We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374bbd1 commit 09a3ff8Copy full SHA for 09a3ff8
src/utils/installDependencies.ts
@@ -6,7 +6,9 @@ const userAgent = process.env.npm_config_user_agent ?? ''
6
7
export const packageManager = /bun/.test(userAgent)
8
? 'bun'
9
- : 'pnpm'
+ : (/pnpm/.test(userAgent)
10
+ ? 'pnpm'
11
+ : 'npm')
12
13
export async function installDependencies (root: string = process.cwd(), manager: 'npm' | 'pnpm' | 'yarn' | 'bun' = packageManager) {
14
if (manager === 'yarn') {
0 commit comments