You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
I am curious as to what necessitated this command when composer can be run with the --no-dev argument.
Here are the reasons, in no particular order, why I chose to go the route I went:
I wanted to get something working for my own needs on the client projects. I have often struggled to get Composer to do what I need it to do so it was easier just to write the logic than to fight Composer.
Composer then becomes a dependency and if it gets updated by the box user for their projects then if could break the API.
Composer tends to be pretty slow. Especially the version in the box that has XDEBUG enabled.
In general I am finding myself wanting to reduce dependencies that could end up breaking the box through no fault of our own.
I don't think we should make maintaining a composer.json file a requirement for people using the box, and if I implemented using Composer then my script would be very different because many of the steps the script takes would be changed if I used composer with --no-dev.
I am leaning towards us defining our own equivalent of composer.json(which we could read and then generate a composer.json file) because I find that while Composer has a great DX for framework-level PHP developers it has a horrible DX for WordPress developers who are not also skilled PHP developers but WP developers have to work-around so many of Composer's defaults, and Composer really does not want to accommodate how WP handles things.
That said, I am not set on any direction yet. I have my opinions but they can change. Bottom line the most important answer to your question is my reply #1.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am curious as to what necessitated this command when composer can be run with the
--no-dev
argument.The text was updated successfully, but these errors were encountered: