Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/open-next/src/build/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ function findMonorepoRoot(appPath: string) {
let currentPath = appPath;
while (currentPath !== "/") {
const found = [
{ file: "bun.lockb", packager: "bun" as const },
{ file: "bun.lock", packager: "bun" as const },
{ file: "package-lock.json", packager: "npm" as const },
{ file: "yarn.lock", packager: "yarn" as const },
{ file: "pnpm-lock.yaml", packager: "pnpm" as const },
{ file: "bun.lockb", packager: "bun" as const },
].find((f) => fs.existsSync(path.join(currentPath, f.file)));

if (found) {
Expand Down
Loading