feat: Support for Bun's new text-based lockfile (#1031)
Co-authored-by: Fabian-Lars <[email protected]>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
action: patch
|
||||
---
|
||||
|
||||
Add support for Bun's text-based lockfile.
|
||||
Vendored
+10
-10
File diff suppressed because one or more lines are too long
+3
-1
@@ -262,7 +262,9 @@ export function usesPnpm(root: string): boolean {
|
||||
}
|
||||
|
||||
export function usesBun(root: string): boolean {
|
||||
return existsSync(join(root, 'bun.lockb'));
|
||||
return (
|
||||
existsSync(join(root, 'bun.lockb')) || existsSync(join(root, 'bun.lock'))
|
||||
);
|
||||
}
|
||||
|
||||
export async function execCommand(
|
||||
|
||||
Reference in New Issue
Block a user