Add .gitignore entries when running astro add <adapter>
#1377
alexanderdombroski
started this conversation in
Proposal
Replies: 2 comments
-
|
PR definitely welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Great, here is the PR! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add
.gitignoreentries when adding adapters via theastro addcommand.Background & Motivation
Many adapters include generated types or build output that shouldn't be version controlled. This currently has to be configured manually each project. Astro should automate and standardize this behavior to provide these benefits:
There is already code for this when running
astro add vercel.Goals
These entries could be added to the
.gitignore:Cloudflare:
.wrangler/andworker-configuration.d.ts.Netlify:
.netlify/Proposal Champion
I would be happy to create a PR for this.
Beta Was this translation helpful? Give feedback.
All reactions