In November 2021, the Acquia Lightning project will end its support, as announced on the project page in DO, it will coincide with the end of support for Drupal 8.
This was a project sponsored by Acquia through which we wanted to have a distribution prepared for any development in Drupal aimed at providing a good experience to the editor. With the advancement of Drupal 9 and Acquia's focus on its optimized version for its DXP called Acquia CMS, Lightning no longer has the same impact as it did at the beginning of the project.
There have been many developments that have used Lightning as a basis for their projects since then, which is why the Acquia team developed a series of steps to remove the dependency on the installation profile so that any development can evolve like any Drupal implementation. standard.
The steps to follow are described in this guide for developers, in my experience running it I can assure you that it is very simple and practical, I was able to carry it out without problems, I just want to leave some notes:
1. You can update to the latest version of Lightning with the following commands (If it is version 4, if you have another version, refer to the corresponding version):
composer require acquia/lightning:~4.1 --no-update
composer update acquia/lightning --with-all-dependencies
to. Then clear the cache and run the database updates
drush cache:rebuild
drush updatedb
b. Run any lightning specific updates
drush config:export
2. If your deployment of changes is executed with a continuous integration tool, you may experience what happened to me, in which the drush pm:uninstall lightning command I also had to execute in my environments when lightning was still functional, that is, after updating it, since if I uploaded my changes in code and configurations and tried to import them I found that they were still waiting for lightning to be available as code to be able to execute all the uninstall tasks.
3. A composer package justinrainbow/json-schema was uninstalled by the script however, apparently one of the remaining modules still requires it, so it needs to be reinstalled once the process is finished
composer require justinrainbow/json-schema
These are my only recommendations, the process itself is simple and I hope these tips are useful to you.