- Issue created by @danrod
- 🇨🇦Canada danrod Ottawa
I added the library in the main
composer.json
file and I was able to download it with no issues:daniel@drupal:/var/www/html$ composer require "infusion/infusion" ./composer.json has been updated Running composer update infusion/infusion Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking infusion/infusion (4.8.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Downloading infusion/infusion (4.8.0) - Installing infusion/infusion (4.8.0): Extracting archive Generating autoload files 96 packages you are using are looking for funding. Use the `composer fund` command to find out more! phpstan/extension-installer: Extensions installed > composer/composer: installed > composer/pcre: installed > mglaman/phpstan-drupal: installed > phpstan/phpstan-deprecation-rules: installed > phpstan/phpstan-phpunit: installed No security vulnerability advisories found. Using version ^4.8 for infusion/infusion
- 🇨🇦Canada danrod Ottawa
I'll merge it to the 3.0.x branch and open a new MR for the 2.0.x branch.
- Merge request !24Issue # 3520877: Added composer.libraries.json in the 2.0.x branch → (Open) created by danrod
- 🇨🇦Canada danrod Ottawa
This MR worked as well:
daniel@drupal:/var/www/html$ composer require "infusion/infusion" ./composer.json has been updated Running composer update infusion/infusion Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking infusion/infusion (4.8.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing infusion/infusion (4.8.0): Extracting archive Generating autoload files 94 packages you are using are looking for funding. Use the `composer fund` command to find out more! phpstan/extension-installer: Extensions installed Found 8 security vulnerability advisories affecting 1 package. Run "composer audit" for a full list of advisories. Using version ^4.8 for infusion/infusion daniel@drupal:/var/www/html$ cd web/libraries/ daniel@drupal:/var/www/html/web/libraries$ ls bootstrap-languages infusion jonthornton-jquery-timepicker jquery-timepicker-addon jquery-ui-timepicker daniel@drupal:/var/www/html/web/libraries$ cd .. daniel@drupal:/var/www/html/web$ cd .. daniel@drupal:/var/www/html$ cat composer.json | grep core "drupal/core-composer-scaffold": "^10.2", "drupal/core-dev": "^10.4", "drupal/core-project-message": "^10.2", "drupal/core-recommended": "^10.2", "drupal/core-composer-scaffold": true, "drupal/core-project-message": true, "web/core": [ "type:drupal-core" "drupal-core-project-message": { " composer remove drupal/core-project-message" daniel@drupal:/var/www/html$ I'll merge this to the 2.0.x branch and update the <code>README.md
files on both branches to indicate the user that they can download the library from this alternative way.
For now I'll mark this as "Fixed" unless someone has any issues, I can re-open it of course.