mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
fix corepack detection for package manager version determination (#11596)
The previous logic was checking for the env var `ENABLE_EXPERIMENTAL_COREPACK` to determine if corepack was being used by a project. However, this value only means that the build system should consider corepack, not that it's actively being used. We need to check that flag AND the existence of a `packageManager` property in the project's `package.json`.
This commit is contained in:
5
.changeset/soft-bananas-care.md
Normal file
5
.changeset/soft-bananas-care.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@vercel/build-utils": minor
|
||||
---
|
||||
|
||||
fix corepack detection for package manager version determination
|
||||
Reference in New Issue
Block a user