Skip to content

Commit

Permalink
chore: add Deno to current package manager candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuapp committed Oct 9, 2024
1 parent b88a91f commit 7323a55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function getCurrentPackageManager(): PackageManager {
const agent = process.env.npm_config_user_agent || 'npm' // Types say it might be undefined, just being cautious;

if (agent.startsWith('bun')) return 'bun'
if (agent.startsWith('deno')) return 'deno'
if (agent.startsWith('pnpm')) return 'pnpm'
if (agent.startsWith('yarn')) return 'yarn'

Expand Down

0 comments on commit 7323a55

Please sign in to comment.