mirror of
https://github.com/tauri-apps/tauri-action.git
synced 2026-01-31 00:35:20 +01:00
feat: Support for Bun's new text-based lockfile (#1031)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
This commit is contained in:
5
.changes/bun-text-based-lockfile-support.md
Normal file
5
.changes/bun-text-based-lockfile-support.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
action: patch
|
||||
---
|
||||
|
||||
Add support for Bun's text-based lockfile.
|
||||
20
dist/index.js
vendored
20
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -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