mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-12 16:22:30 +02:00
fix(scripts): detect modern bun.lock, ignore stray root lockfiles
Bun switched its default lockfile from the binary bun.lockb to the text-based bun.lock, but detectFromLockFile() only ever checked for bun.lockb — a project using modern Bun would never be detected as using Bun at all. Added bun.lock as the primary lockfile with bun.lockb kept as a recognized legacy alias, so either format is detected correctly. Also ignore stray bun.lock/bun.lockb at the repo root: yarn is this repo's canonical package manager (package.json "packageManager"), so a lockfile from someone running `bun install` locally shouldn't get picked up by git status.
This commit is contained in:
parent
754b8dd76c
commit
4da4c7802f
3 changed files with 24 additions and 4 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -99,6 +99,11 @@ ecc2/target/
|
|||
# Generated lock files in tool subdirectories
|
||||
.opencode/package-lock.json
|
||||
.opencode/node_modules/
|
||||
|
||||
# yarn is the canonical package manager for this repo (see package.json
|
||||
# "packageManager"); ignore stray lockfiles from running another manager locally
|
||||
/bun.lock
|
||||
/bun.lockb
|
||||
assets/images/security/badrudi-exploit.mp4
|
||||
|
||||
.aider*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue