Change8

vercel@54.18.7

📦 vercel-cliView on GitHub →
1 features🐛 2 fixes🔧 1 symbols

Summary

This patch introduces a fix for `vc build` in monorepo setups using in-place linking, ensuring correct root detection and dependency resolution. It also bridges WebSocket close events to response close.

Migration Steps

  1. To utilize the fix for `vc build` in monorepos with in-place linking, set the environment variable `VERCEL_RESOLVE_ROOT_DIRECTORY=1` when running the build command.

✨ New Features

  • Bridge WebSocket close event to response close.

🐛 Bug Fixes

  • Fixed `vc build` failing when run from a monorepo subdirectory by correctly resolving the repository root when using in-place project links, resolving issues with dependency resolution and build tracing when dependencies are hoisted.
  • Ensured package-manager symlinks are preserved during standalone builds when running `vc build` from a monorepo subdirectory with in-place linking, allowing dependencies to resolve correctly at runtime.

Affected Symbols