Allow dependency management via asset-packagist

Created on 22 June 2022, over 2 years ago
Updated 6 July 2023, over 1 year ago

Problem/Motivation

Requiring the library via asset-packagist stores it in
/libraries/drupal--autocomplete/
with the build files available under
/libraries/drupal--autocomplete/dist/

The current _a11y_autocomplete_element_find_library() doesn't find this location.

Steps to reproduce

* Add asset-packagist as a repository
* Add "vendor:npm-asset" to the "web/libraries/{$name}" installer-paths.
* composer require npm-asset/drupal--autocomplete

Proposed resolution

Add the missing detection to _a11y_autocomplete_element_find_library().

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany sanduhrs πŸ‡ͺπŸ‡Ί Heidelberg, Germany, Europe

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.

Production build 0.71.5 2024