From 12515f3ffd0076bd44b7e6341c6428366b1bdc31 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 2 Sep 2024 16:26:03 +0600 Subject: [PATCH] Update composer --- composer.json | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index a76562e..d2eef40 100644 --- a/composer.json +++ b/composer.json @@ -1,30 +1,24 @@ { "name": "pluginever/wc-min-max-quantities", "description": "The plugin allows you to Set minimum and maximum allowable product quantities and price per product and order.", + "homepage": "https://pluginever.com/", "type": "wordpress-plugin", - "license": "GPL-3.0-or-later", - "prefer-stable": true, - "minimum-stability": "dev", - "repositories": [ - { - "url": "git@github.com:pluginever/framework-plugin.git", - "type": "github" - }, - { - "url": "git@github.com:pluginever/framework-settings.git", - "type": "github" - } - ], + "license": "GPL v2 or later", "require": { - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "byteever/byteever-sniffs": "dev-master", - "coenjacobs/mozart": "^0.7.1", - "phpcompatibility/php-compatibility": "9.3.5", - "pluginever/framework-plugin": "dev-master", - "pluginever/framework-settings": "dev-master" + "byteever/bytekit-plugin": "dev-master", + "byteever/bytekit-settings": "dev-master", + "coenjacobs/mozart": "^0.7.1" + }, + "autoload": { + "psr-4": { + "WooCommerceMinMaxQuantities\\": ["includes/", "lib/"] + } }, + "autoload-dev": {}, "config": { "optimize-autoloader": true, "sort-packages": true, @@ -33,7 +27,18 @@ "dealerdirect/phpcodesniffer-composer-installer": true } }, - "autoload": {}, + "minimum-stability": "dev", + "prefer-stable": true, + "repositories": [ + { + "type": "github", + "url": "git@github.com:byteever/bytekit-plugin.git" + }, + { + "type": "github", + "url": "git@github.com:byteever/bytekit-settings.git" + } + ], "scripts": { "post-install-cmd": [ "\"vendor/bin/mozart\" compose", @@ -54,8 +59,8 @@ "classmap_prefix": "WooCommerceMinMaxQuantities_", "delete_vendor_directories": true, "packages": [ - "pluginever/framework-plugin", - "pluginever/framework-settings" + "byteever/bytekit-plugin", + "byteever/bytekit-settings" ] } }