Vercel projects
How oe.env resolves Vercel project names
When a --vercel target does not include an explicit project name, the tool
resolves the Vercel project automatically.
Resolution order
Each Vercel target resolves its project independently. The project is resolved from:
- The explicit project in
--vercel=<project>:<env> OE_ENV_VERCEL_PROJECTfor that source environment.vercel/repo.json, matched from the current project directory.vercel/project.json, using the linked project ID
Use --vercel=<project>:<env> to bypass automatic project resolution for that
target. Local .env.local values can override OE_ENV_VERCEL_PROJECT for local
sync runs.
pnpm oe.env sync --vercel=my-app:previewLinked Vercel projects
If you do not pass an explicit project name, make sure the repository is linked with the Vercel CLI:
vercel linkThe sync command validates that the Vercel CLI is installed and authenticated before syncing variables. If an explicit Vercel project does not match the source package's implicit project, or cannot be checked against one, the command asks for confirmation before writing. Dry runs show this warning without prompting.