Add composer.libraries.json in the 8.x-1.x library and fix the same file in the 2.0.x branch

Created on 23 April 2025, 1 day ago

Problem/Motivation

There is no composer.libraries.json file in the 8.x-1.x branch: https://git.drupalcode.org/project/radiostoslider

In addition to this, the same file in the 2.0.x branch needs some fixes:

- Change Download URL from the master zip to a a tagged release: https://github.com/rubentd/radios-to-slider/releases/tag/0.2.2

- add a "require" section

{
    "name": "drupal/radiostoslider",
    "description": "Loading libraries for radiostoslider",
    "type": "drupal-module",
    "license": "GPL-2.0-or-later",
    "minimum-stability": "dev",
    "homepage": "https://www.drupal.org/project/radiostoslider",
    "require": {
      "rubentd/radios-to-slider": "dev-master"
    },
    "repositories": {
      "radios-to-slider": {
        "type": "package",
        "package": {
          "name": "rubentd/radios-to-slider",
          "version": "dev-master",
          "type": "drupal-library",
          "extra": {
            "installer-name": "radios-to-slider"
          },
          "dist": {
            "url": "https://github.com/rubentd/radios-to-slider/archive/refs/heads/master.zip",
            "type": "zip"
          },
          "license": "MIT"
        }
      }
    }
  }

Steps to reproduce

N/A

Proposed resolution

Fix the files in question

Remaining tasks

Testing

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada danrod Ottawa

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024