Export recipe: fix dependencies for composer.json

Created on 7 August 2024, 4 months ago
Updated 21 August 2024, 3 months ago

Problem/Motivation

From config dependencies, the list of required modules is available. Currently, the recipe export writes that list into the require section of the composer.json file. That's not perfect, as those modules could be sub-modules of either core or another contrib module. That can then cause dependency issues when later requiring that recipe with composer.

Proposed resolution

Sub-modules of Drupal core can be ignored entirely. And for contrib, we should try and find the main module and add that instead.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024