Dry-run deployments with Vercel CLI
Vercel CLI now supports the --dry flag to preview framework presets and deployment files before creating a deployment. The feature returns a JSON manifest with detected framework, included/ignored paths, file distributions, and content hashes, enabling agents and users to verify deployments without uploading code.
You can now preview the framework preset and files that Vercel CLI includes in a deployment before creating one.
Run from a linked project:vercel deploy --dry
For automation or further inspection, return the complete file manifest as JSON:
JSON output includes the detected framework, included and ignored paths, directory size distribution, largest files, file modes, and content hashes. Piped and other non-TTY output automatically uses JSON.
Agents can use this manifest as a pre-deployment check, verifying framework detection, identifying unexpected or missing files, flagging oversized assets or unusual file modes, and updating or project configuration. Agents can rerun the check until the manifest matches the intended deployment, without uploading code or creating a deployment..vercelignore
Update the Vercel CLI to or later to get started. Learn more in the .v54.17.2vercel deploy documentation
Source: original entry ↗