Menu

Dry-run deployments with Vercel CLI - Vercel
📰

Dry-run deployments with Vercel CLI - Vercel

Vercel News·Melkey Moksyakov·5 days ago
#1quah2ZB
#vercel#files#framework#deployment#deploy
Reading 0:00
15s threshold

You can now preview the framework preset and files that Vercel CLI includes in a deployment before creating one.

Run vercel deploy --dry from a linked project:

▲ vercel deploy --dry

Deployment Dry Run

Detected Framework Preset: Next.js ( nextjs )

Included: 4 files, 3KB

Ignored: 2 paths

Path Files Size

public 1 2KB

src 2 1KB

.vercelignore 1 12B

Largest Files

public/hero.png 2KB

src/data.json 1KB

src/index.js 20B

.vercelignore 12B

Output includes framework detection, file counts, sizes, and largest files.

For automation or further inspection, return the complete file manifest as JSON:

vercel deploy --dry --format = json

JSON output includes the detected framework, included and ignored paths, directory size distribution, largest files, file modes, and content hashes.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.