From 7323a5529b63ea0059c08b307e10c66f59a9347c Mon Sep 17 00:00:00 2001 From: ryu <114303361+ryuapp@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:36:39 +0900 Subject: [PATCH] chore: add Deno to current package manager candidates --- src/hooks/dependencies.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/dependencies.ts b/src/hooks/dependencies.ts index ebe892a..ef4cd92 100644 --- a/src/hooks/dependencies.ts +++ b/src/hooks/dependencies.ts @@ -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'