Skip to content

fix: leave the plugin template's bin/ out of generated plugins - #424

Merged
ogorzalka merged 2 commits into
developfrom
fix/make-plugin-remove-bin
Oct 7, 2026
Merged

ogorzalka merged 2 commits into
developfrom
fix/make-plugin-remove-bin

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

pollora:make:theme removes the template's bin/ after scaffolding (removeDirs: ['bin']); pollora:make:plugin did not, so every generated plugin carried bin/package-plugin.sh, bin/replacements.php and bin/tests from Pollora/plugin-default.

  • MakePluginCommand passes removeDirs: ['bin'], like MakeThemeCommand
  • New test tests/Feature/Plugin/MakePluginTemplateToolingTest.php (fails without the fix)
  • CHANGELOG [Unreleased] → Fixed

How to test: php artisan pollora:make:plugin acme → public/content/plugins/acme/bin no longer exists.

@ogorzalka
ogorzalka merged commit b0e0847 into develop Oct 7, 2026
11 checks passed
@ogorzalka
ogorzalka deleted the fix/make-plugin-remove-bin branch October 7, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant