You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2037b91
Browse filesBrowse the repository at this point in the historyBrowse files
fix(@angular/cli): improve bun lockfile detection and optimize lockfile checks
This commit refactors the package manager lockfile detection logic to:
- Introduce a `LOCKFILE_NAMES` constant for better maintainability and clarity.
- Enhance Bun lockfile detection by checking for both `bun.lockb` and `bun.lock`.
- Optimize lockfile checks by reading the root directory files once and passing them to the `hasLockfile` method, reducing redundant file system operations.
This addresses issues where Bun lockfiles might not have been correctly identified.
closesangular#31128
0 commit comments