shipfeedAI news, curated daily

00:32:58 CET
21 MAY00:32:58shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

Sync projects with @vercel/related-projects

Vercel releases the @vercel/related-projects package to automatically sync deployment URLs across separate projects at build and runtime, removing the need for manual environment variable updates.

Feb 20 · · primary fetch1 sourceupdated Feb 20 ·

The new package helps sync deployment information across separate Vercel projects, ensuring your applications always reference the latest preview or production deployment URLs without manual updates or environment variable changes.@vercel/related-projects Previously, developers had to manually enter deployment URLs, manage connection strings, or use environment variables to keep the projects communicating effectively. Now, this data is automatically available and updated at both build and runtime. For example, a monorepo containing: Related Projects can now ensure that each preview deployment of the frontend automatically references the corresponding preview deployment of the backend, avoiding the need for hardcoded values when testing changes that span both projects.

Related Projects are linked using a Vercel project ID. You can in the project page in the Vercel dashboard.find your project IDSettings Learn more about .linking related projects Read more A frontend Next.js project that fetches data from an API An backend Express.js API project that serves the data

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comSync projects with @vercel/related-projectsprimary