From 4c02205454542af3a663d70fb554ad64d18d7a75 Mon Sep 17 00:00:00 2001 From: Art4 Date: Fri, 1 Nov 2024 11:27:42 +0000 Subject: [PATCH] install composer/installers, add asset-packagist as new repository --- composer.json | 41 ++++++++------ composer.lock | 152 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 173 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index afd8bd063d..35b540a40c 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,11 @@ "ext-xml": "*", "asika/simple-console": "^1.0", "bacon/bacon-qr-code": "^2.0.0", + "bower-asset/base64": "^1.0", + "bower-asset/chart-js": "^2.8", + "bower-asset/dompurify": "^1.0", + "bower-asset/fork-awesome": "^1.1", + "composer/installers": "^2.3", "divineomega/password_exposed": "^3", "enyo/dropzone": "^5.9", "ezyang/htmlpurifier": "^4.7", @@ -46,6 +51,18 @@ "minishlink/web-push": "^6.0", "mobiledetect/mobiledetectlib": "^3.74", "nikic/fast-route": "^1.3", + "npm-asset/cropperjs": "1.2.2", + "npm-asset/es-jquery-sortable": "^0.9.13", + "npm-asset/fullcalendar": "^3.10", + "npm-asset/imagesloaded": "4.1.4", + "npm-asset/jgrowl": "^1.4", + "npm-asset/jquery": "^2.0", + "npm-asset/jquery-colorbox": "^1.6", + "npm-asset/jquery-datetimepicker": "^2.5", + "npm-asset/moment": "^2.24", + "npm-asset/perfect-scrollbar": "0.6.16", + "npm-asset/textcomplete": "^0.18.2", + "npm-asset/typeahead.js": "^0.11.1", "paragonie/hidden-string": "^1.0", "patrickschur/language-detection": "^5.0.0", "pear/console_table": "^1.3", @@ -58,23 +75,7 @@ "seld/cli-prompt": "^1.0", "smarty/smarty": "^4", "ua-parser/uap-php": "^3.9", - "xemlock/htmlpurifier-html5": "^0.1.11", - "bower-asset/base64": "^1.0", - "bower-asset/chart-js": "^2.8", - "bower-asset/dompurify": "^1.0", - "bower-asset/fork-awesome": "^1.1", - "npm-asset/cropperjs": "1.2.2", - "npm-asset/es-jquery-sortable": "^0.9.13", - "npm-asset/fullcalendar": "^3.10", - "npm-asset/imagesloaded": "4.1.4", - "npm-asset/jquery": "^2.0", - "npm-asset/jquery-colorbox": "^1.6", - "npm-asset/jquery-datetimepicker": "^2.5", - "npm-asset/jgrowl": "^1.4", - "npm-asset/moment": "^2.24", - "npm-asset/perfect-scrollbar": "0.6.16", - "npm-asset/textcomplete": "^0.18.2", - "npm-asset/typeahead.js": "^0.11.1" + "xemlock/htmlpurifier-html5": "^0.1.11" }, "suggest": { "ext-imagick": "For faster image processing", @@ -86,6 +87,10 @@ { "type": "vcs", "url": "https://git.friendi.ca/friendica/php-json-ld" + }, + { + "type": "composer", + "url": "https://asset-packagist.org" } ], "autoload": { @@ -103,6 +108,7 @@ "platform": { "php": "7.4" }, + "sort-packages": true, "autoloader-suffix": "Friendica", "optimize-autoloader": true, "preferred-install": "dist", @@ -113,6 +119,7 @@ } }, "allow-plugins": { + "composer/installers": true, "php-http/discovery": false } }, diff --git a/composer.lock b/composer.lock index cb51fa57c3..0850f5d93c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1de53d8a160b23a800acce98db22cd58", + "content-hash": "53be8ec2be633c18601d1b936e4d3b12", "packages": [ { "name": "asika/simple-console", @@ -368,6 +368,152 @@ ], "time": "2024-03-15T14:00:32+00:00" }, + { + "name": "composer/installers", + "version": "v2.3.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e", + "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "composer/composer": "^1.10.27 || ^2.7", + "composer/semver": "^1.7.2 || ^3.4.0", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-phpunit": "^1", + "symfony/phpunit-bridge": "^7.1.1", + "symfony/process": "^5 || ^6 || ^7" + }, + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true + }, + "autoload": { + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "https://composer.github.io/installers/", + "keywords": [ + "Dolibarr", + "Eliasis", + "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", + "MODX Evo", + "MantisBT", + "Mautic", + "Maya", + "OXID", + "Plentymarkets", + "Porto", + "RadPHP", + "SMF", + "Starbug", + "Thelia", + "Whmcs", + "WolfCMS", + "agl", + "annotatecms", + "attogram", + "bitrix", + "cakephp", + "chef", + "cockpit", + "codeigniter", + "concrete5", + "concreteCMS", + "croogo", + "dokuwiki", + "drupal", + "eZ Platform", + "elgg", + "expressionengine", + "fuelphp", + "grav", + "installer", + "itop", + "known", + "kohana", + "laravel", + "lavalite", + "lithium", + "magento", + "majima", + "mako", + "matomo", + "mediawiki", + "miaoxing", + "modulework", + "modx", + "moodle", + "osclass", + "pantheon", + "phpbb", + "piwik", + "ppi", + "processwire", + "puppet", + "pxcms", + "reindex", + "roundcube", + "shopware", + "silverstripe", + "sydes", + "sylius", + "tastyigniter", + "wordpress", + "yawik", + "zend", + "zikula" + ], + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v2.3.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2024-06-24T20:46:46+00:00" + }, { "name": "dasprid/enum", "version": "1.0.5", @@ -6567,9 +6713,9 @@ "ext-simplexml": "*", "ext-xml": "*" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "7.4" }, - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.6.0" }