Add headroom external library to composer.js

Created on 10 December 2018, over 6 years ago
Updated 11 April 2025, 15 days ago

I've tried adding the following to my composer.json file to download and install the Headroomjs library into my project like the rest of my external libraries.

"type": "package",
      "package": {
        "name": "wickynilliams/headroomjs",
        "version": "0.9.4",
        "type": "drupal-library",
        "extra": {
          "installer-name": "headroomjs"
        },
        "dist": {
          "url": "https://github.com/WickyNilliams/headroom.js",
          "type": "git"
        }
      }

I ran composer install but the library didn't install.

I also searched on Packagist and found weprovide/magento2-module-headroom and tried including that, but that didn't work either.

Am I missing something? Or are we simply not able to install the library this way?

💬 Support request
Status

Needs review

Component

Documentation

Created by

🇦🇺Australia Spanners Sydney

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024