Addition to readme for composer

Created on 15 August 2024, 3 months ago
Updated 12 September 2024, 2 months ago

Hi,

Can we add something like this to the readme?

If you add this to the repository section of your composer.json, composer will install the library:

    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "garand/sticky",
                "version": "1.0.3",
                "type": "drupal-library",
                "source": {
                    "url": "https://github.com/garand/sticky.git",
                    "type": "git",
                    "reference": "1.0.3"
                }
            }
        },

You may need to add this to the installer paths (if needed).

        "installer-paths": {
            "web/libraries/{$name}": [
                "type:drupal-library",
                "type:npm-asset",
                "type:bower-asset"
            ],

Then run:

composer require garand/sticky

πŸ“Œ Task
Status

Fixed

Version

2.2

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States duckydan

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

Comments & Activities

Production build 0.71.5 2024