Skip to content

Conversation

@VedantMadane
Copy link

@VedantMadane VedantMadane commented Jan 15, 2026

Summary

When running
px astro add vercel, the .vercel\ directory (which contains build output) is now automatically added to .gitignore\ to prevent build artifacts from being committed.

Changes

  • Added handling in the \add\ CLI command to check for Vercel integration
  • If .gitignore\ exists, appends .vercel\ entry (if not already present)
  • If .gitignore\ doesn't exist, creates one with .vercel\ entry
  • Follows the same pattern as Cloudflare integration scaffolding

Testing

  • Builds successfully
  • Follows existing patterns for cloudflare/tailwind/svelte integrations

Fixes #15058

@changeset-bot
Copy link

changeset-bot bot commented Jan 15, 2026

⚠️ No Changeset found

Latest commit: 7c9b998

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jan 15, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 15, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing VedantMadane:fix-vercel-gitignore (7c9b998) with main (27d7ffb)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (44f4e78) during the generation of this report, so 27d7ffb was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Astro Vercel integration missing .gitignore entry

1 participant