-
-
Notifications
You must be signed in to change notification settings - Fork 196
Packs could add both to "require" and "require-dev" #654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Well, if we keep packs as composer (meta-)packages in the solver, that's impossible (as |
Yep, I have a proposal to work around this: Inside a pack, listing a package twice, both in "require" and in "require-dev" (with a Unpacking would use this convention to work. When not-unpacking, these deps would be considered part of "require" so there would be a slight difference in the exact meaning, but maybe that's good enough? |
This is one of the most consistent complaints about Flex. It would indeed be awesome to solve - the |
Right now, a pack can only be added to "require" xor "require-dev".
It could be great to be able to have a pack add things to both "require" and "require-dev" with a single
composer require my-pack
.The text was updated successfully, but these errors were encountered: