diff --git a/README.md b/README.md index 09a66ac..4b7718f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Package manager detector is based on lock files and the `packageManager` field in the current project's `package.json` file. -It will detect your `yarn.lock` / `pnpm-lock.yaml` / `package-lock.json` / `bun.lockb` / `deno.lock` to know the current package manager and use the `packageManager` field in your `package.json` if present. +It will detect your `yarn.lock` / `pnpm-lock.yaml` / `package-lock.json` / `bun.lock` / `bun.lockb` / `deno.lock` to know the current package manager and use the `packageManager` field in your `package.json` if present. ## Install diff --git a/src/constants.ts b/src/constants.ts index 3d9fb81..1ba19bd 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -12,6 +12,7 @@ export const AGENTS: Agent[] = [ // the order here matters, more specific one comes first export const LOCKS: Record = { + 'bun.lock': 'bun', 'bun.lockb': 'bun', 'deno.lock': 'deno', 'pnpm-lock.yaml': 'pnpm',