Replies: 1 comment
-
Yarn has such a feature but it's much more => https://classic.yarnpkg.com/en/docs/cli/upgrade-interactive/ It's a godsend if you've LOTS of dependencies, and also the interactive part is useful: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really miss the update command to update all (or some) dependencies to their latest version. I mean to update
composer.json
as well.So a command that can update versions in
composer.json
fromto
There may be an option that decides whether to update within the version constaint (
^3.0 -> ^3.1
) or without (^2.4 -> ^3.1
). And packages could be updated by mask in this way: (frontline
is an example of a command name)Currently the same can be achieved by calling repeatedly
require
:But it would be really useful to automate it.
I implemented it as a script composer-frontline.php. I tried to implement it also as a composer plugin, but I don't know internals enough so I throw in the towel.
Beta Was this translation helpful? Give feedback.
All reactions