SDC shouldn't be dependency for sites running core > 10.3

Created on 24 October 2024, 5 months ago

Problem/Motivation

As of Drupal > 10.3 the Single-Directory Components module no longer needs to be enabled.

See:
https://www.drupal.org/docs/develop/theming-drupal/using-single-director...

Specifically:
If using a version prior to Drupal 10.3, you must have the Single-Directory Components module enabled (at admin/modules).

Steps to reproduce

Install Drupal Core > 10.3 or > 11.0.
Create a theme using single directory components.
It works! We didn't need to enable the 'sdc' module as it is now part of core.
Composer require this module.
Enable using drush en sdc_component_library.
Observe following prompt: The following module(s) will be installed: sdc_component_library, sdc, serialization.

Proposed resolution

Create a new release supporting > 10.3 || > 11.0 and remove the dependency for the SDC module.

Remaining tasks

Create a branch and MR to remove the SDC module dependency.

User interface changes

None

API changes

None... I think!

Data model changes

None... I think!

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom darren.fisher

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024