Compare commits

...

10 Commits

Author SHA1 Message Date
Trek Glowacki
1622f1e032 Remove stray lockfile 2023-09-26 15:45:18 -05:00
Trek Glowacki
63a2e2c4d8 Just code. 2023-09-26 13:58:30 -05:00
Trek Glowacki
57858247a2 Remove errant blob file 2023-09-26 08:57:43 -05:00
Trek Glowacki
cad931e47d Correct fixture name 2023-09-25 15:36:16 -05:00
Trek Glowacki
5d32cbe4ab Merge branch 'main' into add-more-package-detection-tests 2023-09-25 15:15:19 -05:00
Trek Glowacki
2e207291e9 Create plenty-seahorses-watch.md
Updated lock file via GH UI
2023-09-25 15:09:27 -05:00
Trek Glowacki
52a1a4d944 Update fixture reference in tests 2023-09-25 15:06:58 -05:00
Trek Glowacki
9ee495461e Remove lockfile so I can add it via Github UI 2023-09-25 15:03:45 -05:00
Trek Glowacki
71fb5164a6 Add more tests for bun with yarn 2023-09-25 14:14:57 -05:00
Trek Glowacki
e2b3aac66b Add tests for bun projects with yarn.lock files 2023-09-25 13:16:20 -05:00
5 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
"@vercel/build-utils": patch
"@vercel/fs-detectors": patch
---
[cli] Update bun detection and add tests for projects with both bunlock binary and yarn.lock text files

View File

@@ -312,7 +312,12 @@ export async function scanParentDirs(
]);
// Priority order is Yarn > pnpm > npm > bun
if (hasYarnLock) {
if (bunLockBin && hasYarnLock) {
cliType = 'bun';
lockfilePath = bunLockPath;
// TODO: read "bun-lockfile-format-v0"
lockfileVersion = 0;
} else if (hasYarnLock) {
cliType = 'yarn';
lockfilePath = yarnLockPath;
} else if (pnpmLockYaml) {