From 796a3c168215447691f64a7f16462ae39b0bb71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Wed, 1 Feb 2023 18:57:42 +0800 Subject: [PATCH] =?UTF-8?q?build(composer):=20=E6=9B=B4=E6=96=B0=20hdk=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 093c52f..5258a03 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ }, "require": { "php": "~8.0", + "ext-redis": "*", "hyperf/config": "^2.2", "hyperf/constants": "^2.2", "hyperf/di": "2.2.*", @@ -26,9 +27,9 @@ "hyperf/translation": "^2.2", "hyperf/validation": "^2.2", "litesaml/lightsaml": "~3.0.0", - "singularity/hyperf-development-kit": "^0.1.0", - "teapot/status-code": "^1.1", - "ext-redis": "*" + "singularity/hdk-core": "0.1.x-dev", + "singularity/hyperf-development-kit": "dev-develop", + "teapot/status-code": "^1.1" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", @@ -50,10 +51,7 @@ "scripts": { "test": "phpunit -c phpunit.xml --colors=always", "analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src", - "cs-fix": "php-cs-fixer fix $1", - "post-autoload-dump": [ - "chown -R 1000:1000 ." - ] + "cs-fix": "php-cs-fixer fix $1" }, "extra": { "hyperf": { @@ -64,13 +62,21 @@ "bin/generate-cert" ], "repositories": { + "lux-map": { + "type": "composer", + "url": "https://satis.luxcreo.cn/" + }, "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" }, - "lux-map": { + "packagist-tx": { "type": "composer", - "url": "https://satis.luxcreo.cn/" + "url": "https://mirrors.cloud.tencent.com/composer/" + }, + "packagist-hw": { + "type": "composer", + "url": "https://repo.huaweicloud.com/repository/php/" } } }