Skip to content

Commit 4ee55df

Browse files
committed
feat: add a warning when no lockfile found
1 parent 083c316 commit 4ee55df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/open-next/src/build/helper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function findMonorepoRoot(appPath: string) {
8181
// note: a lock file (package-lock.json, yarn.lock, or pnpm-lock.yaml) is
8282
// not found in the app's directory or any of its parent directories.
8383
// We are going to assume that the app is not part of a monorepo.
84+
logger.warn("No lockfile found");
8485
return { root: appPath, packager: "npm" as const };
8586
}
8687

0 commit comments

Comments
 (0)