Dependency Strings are incorrect.

Created on 18 August 2023, over 1 year ago

Problem/Motivation

in info.yml, the dependencies are labeled as such:

dependencies:
  - drupal:path_alias
  - drupal:paragraphs

This creates an incorrect composer entry in https://packages.drupal.org/8. Note that the paragraphs module is not installed below.

        {
            "name": "drupal/paragraphs_report",
            "version": "1.1.0",
            "source": {
                "type": "git",
                "url": "https://git.drupalcode.org/project/paragraphs_report.git",
                "reference": "8.x-1.1"
            },
            "dist": {
                "type": "zip",
                "url": "https://ftp.drupal.org/files/projects/paragraphs_report-8.x-1.1.zip",
                "reference": "8.x-1.1",
                "shasum": "241a487d4846df19e0d2fa0d93567e9b7c6c6db1"
            },
            "require": {
                "drupal/core": "^8.8 || ^9"
            },
            "type": "drupal-module",
            "extra": {
                "drupal": {
                    "version": "8.x-1.1",
                    "datestamp": "1641506005",
                    "security-coverage": {
                        "status": "covered",
                        "message": "Covered by Drupal's security advisory policy"
                    }
                }
            },
            "notification-url": "https://packages.drupal.org/8/downloads",
            "license": [
                "GPL-2.0-or-later"
            ],
            "authors": [
                {
                    "name": "aisforaaron",
                    "homepage": "https://www.drupal.org/user/116113"
                }
            ],
            "description": "Get an inventory of paragraphs in use.",
            "homepage": "https://www.drupal.org/project/paragraphs_report",
            "support": {
                "source": "https://git.drupalcode.org/project/paragraphs_report"
            }
        },

This is because drupal:paragraphs is telling drupal that paragraphs is part of the drupal project. See the documentation in https://www.drupal.org/docs/develop/creating-modules/let-drupal-know-abo... β†’

Proposed resolution

Replace drupal:paragraphs with paragraphs:paragraphs

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

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

Comments & Activities

Production build 0.71.5 2024