Drupal core recommends keeping recipes above the webroot

Created on 19 December 2024, 4 months ago

Problem/Motivation

In the readme, you advise to to keep recipes inside of Drupal. The recommended composer template in core places creates a recipes folder above the webroot as recipes are not a part of Drupal, but applied to Drupal.

Proposed resolution

Update the recommended path to:

        "installer-paths": {
            // existing entries omitted...
            "recipes/{$name}": ["type:drupal-recipe"]
        },

https://git.drupalcode.org/project/drupal/-/blob/11.x/composer/Template/...

And update the drush instructions:

drush recipe ../recipes/ai_ecosystem

Remaining tasks

MR to follow

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

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