- Issue created by @donm
- πΊπΈUnited States phenaproxima Massachusetts
Duplicate of π¬ drupal_cms_starter 1.0.3 locks Olivero theme to <1.1 Active ! π Closing this one and crediting you in there.
Fresh install of Drupal CMS two days ago, which brought in version 1.0.3 of the recipes.
Used Composer, per the webpage one-line instruction: composer create-project drupal/cms
Found here: https://new.drupal.org/download
Olivero CMS and the recipes now mostly at version 1.1 (composer outdated).
Trying to update Olivero CMS to 1.1; but can't figure out how to escape the lock (to 1.0.3) created by recipe .
Olivero CMS theme project page gives this, as the typical install command:
composer require 'drupal/drupal_cms_olivero:^1.1'
But that doesn't override the cms_starter recipe.
Editing the cms_starter .json file various ways to change the Olivero CMS version number didn't work (installed uses "~1.0.3" -- the tilde property may not see version 1.1, but changing to ~1.0 [which should see all the way to 1.9] or ^1.1 doesn't work.]
Even deleting altogether the Olivero CMS reference in composer.json (to cms_starter) does not help. Running composer update after that says "no changes here". I don't understand the logic there -- you're locking the theme version when it's mentioned, but removing the theme reference brings no need to update?
I tried using the above "composer require" for Olivero at the cms_starter .json file -- which ran successfully -- but then running "composer update" at the website root still says "no changes here". Again -- I don't follow the logic.
Removing cms_starter altogether does allow the 1.1 theme update to be applied, but of course the recipe removal trashes all of the many modules that it installs.
I went nuclear and deleted composer.lock, ran composer update [with the .json of cms_starter edited in the hope of bringing in Olivero 1.1], and still got Olivero 1.0.3 in the new lock file.
I can understand why some changes to recipes may need to be applied manually. I don't understand why a theme update can't be more independent of what is meant to be a foundational, general-application recipe.
Active
Olivero
Duplicate of π¬ drupal_cms_starter 1.0.3 locks Olivero theme to <1.1 Active ! π Closing this one and crediting you in there.