-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)good first issueGood for newcomers. If you need additional guidance, feel free to post in #dev on DiscordGood for newcomers. If you need additional guidance, feel free to post in #dev on Discordpkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)
Description
Astro Info
Astro v5.16.6
Node v22.17.1 (local) / v20.19.1 (stackblitz)
System Windows 11 x64 (local) / Linux (stackblitz)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When running npx astro add vercel to add the Vercel adapter, the .vercel/output directory is not automatically added to .gitignore. This becomes problematic because the .vercel/output directory is generated during npm run build and contains build artifacts that shouldn't be committed to version control.
What's the expected result?
After running npx astro add vercel, the .gitignore file should be automatically updated to include .vercel/output (or .vercel/ more broadly) to prevent build artifacts from being committed to the repository.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-vdc2lc6c?file=package.json
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)good first issueGood for newcomers. If you need additional guidance, feel free to post in #dev on DiscordGood for newcomers. If you need additional guidance, feel free to post in #dev on Discordpkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)