mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
docs(create-discord-bot): support bun in create-discord-bot (#9798)
This commit is contained in:
@@ -31,6 +31,10 @@ export function resolvePackageManager(): PackageManager {
|
||||
return 'pnpm';
|
||||
}
|
||||
|
||||
if (npmConfigUserAgent.startsWith('bun')) {
|
||||
return 'bun';
|
||||
}
|
||||
|
||||
console.error(
|
||||
picocolors.yellow(
|
||||
`Detected an unsupported package manager (${npmConfigUserAgent}). Falling back to ${DEFAULT_PACKAGE_MANAGER}.`,
|
||||
|
||||
Reference in New Issue
Block a user