Add a proper composer.json file

Created on 19 January 2024, 10 months ago
Updated 25 January 2024, 10 months ago

Problem/Motivation

  1. The Drupal.org packaging system doesn't show any releases on the project page for this module, and that is not allowing composer to grab the latest release of this project.
  2. The git project does not have a composer.json file, so directly downloading from composer via git fails.

Steps to reproduce

`composer require drupal/block_background_style`

OR

add a git source to your composer json first: https://git.drupalcode.org/project/block_background_style.git

Remaining tasks

  1. Use the Drupal.org release system to specify a full release
  2. Add a composer.json file to the project
📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States liberatr Portland, OR

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

Merge Requests

Comments & Activities

  • Issue created by @liberatr
  • 🇺🇸United States liberatr Portland, OR

    I am pushing a change in an issue fork, and will test in a few minutes.

    If you want to try this out, you need to modify your composer file to add the issue fork:

    "repositories": [
            {
                "type": "git",
                "url": "https://git.drupalcode.org/issue/block_background_style-3415943.git"
            },
            {
                "type": "composer",
                "url": "https://packages.drupal.org/8"
            }
            
        ],

    Then you can require the module with the branch name:
    composer require drupal/block_background_style:"dev-block_background_style-3415943"

  • Status changed to Needs review 10 months ago
Production build 0.71.5 2024