Migration to Starshot

Created on 24 December 2024, 29 days ago

Intrigued by the news that CivicTheme will participate in Starshot, I am curious if the 1.9 version will be usable for the Drupal CMS release, or if there is a migration path?

Thanks!

๐Ÿ’ฌ Support request
Status

Active

Version

1.9

Component

Miscellaneous

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada karunadave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @karunadave
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States rraney

    Hello, I have Drupal CMS (D11) installed locally. I was hoping to fire up this theme/design system. I've attempted to apply the patch by installing cweagans, adding to composer.json and running composer install.

    I tried running this command:

    drush ev "require_once dirname(\Drupal::getContainer()->get('theme_handler')->rebuildThemeData()['civictheme']->getPathname()) . '/theme-settings.provision.inc'; civictheme_enable_modules();"

    It's giving me a long list of errors. Long story short, is the theme ready for Drupal CMS?

  • julien' โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia joshua1234511 Goa

    @richardgaunt

    Installed a fresh Drupal CMS setup and attempted to include Drupal CivicTheme via Composer.

    Findings.

    The issue arises because the CivicTheme monorepo specifies a dependency on the linkit module at ^6.1, while the GovCMS distribution you are using restricts the version of linkit to 7.0.2. This conflict blocks CivicTheme from being installed.

    GovCMS Dependency: GovCMS 3.20.0 restricts linkit to ^6.1 while the latest development version of GovCMS has updated linkit to 7.1.

    CivicTheme Dependency: CivicTheme's composer.json enforces a dependency structure that includes all modules, leading to conflicts when partial updates are attempted.

    Potential Workarounds:

    Use the development version of GovCMS with updated dependencies.

    Wait until GovCMS releases a new stable version.

    @rraney
    Temporary Override (Not Recommended for Production)

    If you cannot wait for a new release but are hesitant about using a dev version, you can temporarily override dependencies:

    composer require drupal/linkit:7.1 --no-update

    composer update drupal/civictheme drupal/linkit --ignore-platform-reqs

    The main cause of the issue is the use of the Composer Merge Plugin in the https://github.com/civictheme/monorepo-drupal/blob/develop/composer.json... . This plugin aggregates dependencies for all modules in the monorepo, resulting in rigid version constraints for individual components like linkit, which limits their independent use outside the monorepo.

Production build 0.71.5 2024