pnpm v11 support

Hi, My older projects in Vercel is failing because Vercel does not support pnpm v11. It would be nice if you add pnpm v11 support.

```log
Detected `pnpm-lock.yaml` 9 which may be generated by pnpm@9.x or pnpm@10.x

Using pnpm@9.x based on project creation date

To use pnpm@10.x, manually opt in using corepack (https://vercel.com/docs/deployments/configure-a-build#corepack)

Installing dependencies…

ERROR packages field missing or empty

For help, run: pnpm help install

Error: Command “pnpm install” exited with 1
```

Running into the same issue. With corepack enabled, I’d have expected Vercel to pick up the pinned pnpm version automatically.

Setting ENABLE_EXPERIMENTAL_COREPACK=1 env var in Vercel UI worked for me.

Edit: Ok weird, in another project it seems to work just fine :face_with_raised_eyebrow:

Edit 2: Found the issue: It’s a monorepo that had a sub-package that defined a pnpm@10 version. The error message picked up the root package.json hence my confusion.

Error message

Are you sure? This is what I see:

> Detected ENABLE_EXPERIMENTAL_COREPACK=1 and "pnpm@11.6.0" in package.json
Running "install" command: `pnpm install`...
! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.10.0.tgz

 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/vercel/path0".

Expected version: >=11
Got: 10.10.0