Dry-run Deployment Feature Using Vercel CLI
Key point
A Dry-run feature has been added to Vercel CLI that lets you preview the framework configuration and included files before an actual deployment.
Details
Now, through Vercel CLI, you can use the Dry-run feature to preview the framework preset and the files that will be included before creating an actual deployment. Simply run the vercel deploy --dry command in a linked project.
The output includes the following information:
- The detected Framework Preset
- The number of included files and their total size
- Ignored paths
- File count and size distribution by directory
- A list of the largest files
Also, using the --format=json option lets you receive the full file manifest in JSON format. This JSON data also includes file mode and content hash information, making it easy to use with automation tools.
This feature is especially useful when AI agents perform pre-deployment checklists. Agents can iteratively check things like whether the framework was detected, missing files, or oversized assets, and update .vercelignore settings, all without actually uploading code or creating a deployment.
To use this feature, you need to update Vercel CLI to version v54.17.2 or later.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.