Filter roster to direct requirements only#811
Conversation
|
Frankly, the current approach is correct. If someone uses filament without explicitly adding a livewire we expect it to add livewire guidleines. Currently we can only identify prod direct dependency because pint will be dev deps in most of the project. |
|
I see what you're saying about the Filament-Livewire relationship, I agree the Livewire guidelines should be added. Perhaps Boost should only filter out specific indirect dependencies? I didn't catch that indirect dev dependencies don't show up in Laravel Roster. Looks like the reason Pint guidelines keep showing up for me is because Laravel Ranger is including Pint as a prod dependency. Switching that to |
|
@pushpak1300 I completely overlooked that this problem was already addressed with |
Boost uses Laravel Roster to determine which packages are installed in the current environment, and uses the results to add guidelines, offer MCP tools, and search documentation. However, it includes indirect packages in the results. I don't have Pint installed in my environment, but Pint keeps showing up in my guidelines because other Laravel packages require it. This PR filters out indirect packages when checking the current Laravel environment.