Add optional Laravel Boost AI artifact ignores during boost:install#798
Add optional Laravel Boost AI artifact ignores during boost:install#798SagarNaliyapara wants to merge 2 commits into
boost:install#798Conversation
|
I shared this feedback elsewhere but I'll include it here too: I think, if anything, the command should just print the suggested .gitignore entries in interactive sessions. Anything beyond that is over-engineered IMO, especially as the docs already cover this. |
|
Yes I agree adding entries directly to |
|
A few thoughts based on making an (internal) Skill which sets up a project for agentic development which does this too. The exact list is probably dev-specific which might add some nuance to the PR, but I think it's good in principle. Our company standard is to use All the other vendor-specific directories get gitignored. It certainly doesn't make sense to add In principle I do agree that Boost should helps manage gitignoring the files it generates (and recommends are gitignored) and adding Here's my list of what we add to .gitignore: |
Summary
Adds a small DX improvement to
php artisan boost:installby offering to append recommended AI artifact entries to.gitignore.If confirmed, Boost adds this grouped section:
The update is safe and idempotent:
.gitignoreif it does not existImplementation
InstallCommand.phpTests
Added focused coverage for:
.gitignore.gitignorewhen missingNote
This PR is intended to provide a convenient starting point for AI-related
.gitignoreentries duringboost:install, not to define a perfect universal ignore list.I’m not fully sure the current list for .gitignore is ideal for every workflow or at all.