We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bun
bun.lock
Bun is introducing a text-based lockfile called bun.lock.
At the time of writing this, the feature is in the canary version, but will soon land in stable and supposedly will be the default after v1.2.
package-manager-detector does not detect bun as the package manager when using bun.lock
package-manager-detector
Add a new line in src/constants.ts
export const LOCKS: Record<string, AgentName> = { 'bun.lockb': 'bun', + 'bun.lock': 'bun', 'deno.lock': 'deno', 'pnpm-lock.yaml': 'pnpm', 'yarn.lock': 'yarn', 'package-lock.json': 'npm', 'npm-shrinkwrap.json': 'npm', }
And of course add new tests for the above.
Happy to open a PR!
No response
The text was updated successfully, but these errors were encountered:
PR welcome!
Sorry, something went wrong.
No branches or pull requests
Clear and concise description of the problem
Bun is introducing a text-based lockfile called
bun.lock
.At the time of writing this, the feature is in the canary version, but will soon land in stable and supposedly will be the default after v1.2.
package-manager-detector
does not detectbun
as the package manager when usingbun.lock
Suggested solution
Add a new line in src/constants.ts
export const LOCKS: Record<string, AgentName> = { 'bun.lockb': 'bun', + 'bun.lock': 'bun', 'deno.lock': 'deno', 'pnpm-lock.yaml': 'pnpm', 'yarn.lock': 'yarn', 'package-lock.json': 'npm', 'npm-shrinkwrap.json': 'npm', }
And of course add new tests for the above.
Happy to open a PR!
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: