Vercel Agent can install private dependencies from npm and custom registries using credentials stored as shared environment variables on Vercel.
To get started, add a shared environment variable for Development or Preview:
Vercel Agent reads only team-shared variables, not project-scoped ones. Credential values stay outside the sandbox, so the agent cannot read them.
Learn more in the private dependencies docs.
Read more
Continue reading...
npm, pnpm, and classic Yarn running in Agent sessions authenticate as they do in Vercel builds.To get started, add a shared environment variable for Development or Preview:
UseNPM_TOKENfor private packages hosted on registry.npmjs.org.
UseNPM_RCto configure custom or multiple registries.
Vercel Agent reads only team-shared variables, not project-scoped ones. Credential values stay outside the sandbox, so the agent cannot read them.
Learn more in the private dependencies docs.
Read more
Continue reading...