Problem/Motivation

Following the recent requested changes in Drupal core around theming with single directory components, we are creating a new branch with the intention of implementing this structure. There are numerous tickets in core related to this but we are mostly following this issue: https://www.drupal.org/project/drupal/issues/3313520

Proposed resolution

Initial attempt at implementing this will be utilizing the SDC CL Components module as we figure out what the transition possibly away from the Components! module will be. After additional discussion we are refocusing to support the SDC components module as that is closer inline to what is being ported into Drupal Core.

View CL Components Module here: https://www.drupal.org/project/cl_components

View SDC Module here: https://www.drupal.org/project/sdc

Issue fork prototype-3353795

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

jldust created an issue. See original summary.

b-ry made their first commit to this issue’s fork.

b-ry’s picture

@pixelwhip @brentrobbins Please take a look at this initial pass at getting single directory components integrated into Prototype. Please let me know there are any issues. Here is the Merge request

jldust’s picture

Status: Active » Needs review

Thanks so much for getting this started! After some additional discussion I've gone ahead and switched the 5.x branch to support the SDC components module as that is closer inline to what is being ported into Drupal Core. This needs additional review prior to the initial release of the 5.x-alpha branch.

jldust’s picture

Issue summary: View changes
b-ry’s picture

Right on! Looks good to me.

  • jldust committed 1c0ff4c9 on 5.x authored by b-ry
    Issue #3353795 by jldust, b-ry: Introduce Single Directory Components
    
jldust’s picture

Status: Needs review » Reviewed & tested by the community

Documenting conversations for visibility:

We will be creating a 5.0.x tag supporting SDC on D9 & then add a 5.1.x that supports D10, the only difference between these branches will be the difference of supported SDC & Core versions.

This will allow D9 sites that are not yet ready to move to D10 utilize SDC, however after November the 5.0.x branch will no longer be supported.

Thanks all for helping dig into the code and for your feedback!

jldust’s picture

Status: Reviewed & tested by the community » Fixed
jldust’s picture

Status: Fixed » Closed (fixed)

The new initial 5.x branches have been released.