The next major versions of all Lightning components will remove all their dependencies. This will break sites unless those constraints are moved to the top-level composer.json.

Therefore, let's do here what was done in the 6.0.x branch, which is change the update:lightning Drush command so that it moves the dependencies' constraints into the top-level composer.json.

However, let's do it differently here -- in this branch, it should pin the dependencies to their installed versions, rather than use unpinned constraints. This will prevent unexpected updates.

The 6.0.x branch won't be able to do that, because it is related to the new major branches of the components...which remove the dependencies. So it will have no way to know what versions are installed (since they won't be installed).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Title: Make update:lightning command add components' dependencies directly into the top-level composer.json » Port the update:lightning command from the 6.0.x branch

  • phenaproxima committed fb78662c on 8.x-5.x
    Issue #3331131 by phenaproxima: Port the update:lightning command from...
phenaproxima’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.