build(hdk): 更改引入方式为 nest

This commit is contained in:
李东云
2023-10-23 19:53:10 +08:00
parent 9ba6faf0d7
commit 04e4a8a24f
3 changed files with 3863 additions and 633 deletions

View File

@@ -14,7 +14,7 @@
}
},
"require": {
"php": ">=8.0",
"php": ">=8.1",
"ext-redis": "*",
"composer/composer": ">=2.5.8",
"donjan-deng/hyperf-casbin": "^3.22.2",
@@ -31,12 +31,11 @@
"suggest": {
"firebase/php-jwt": "^6.3"
},
"minimum-stability": "dev",
"minimum-stability": "alpha",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"secure-http": false
"sort-packages": true
},
"scripts": {
"post-root-package-install": [
@@ -47,13 +46,13 @@
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config"
},
"repositories": {
"lux-map": {
"nest": {
"type": "composer",
"url": "https://satis.luxcreo.cn/"
"url": "https://nest.doylee.cn/api/packages/HDK/composer"
},
"packagist": {
"type": "composer",
"url": "https://mirrors.cloud.tencent.com/composer/"
"url": "https://mirrors.aliyun.com/composer/"
}
},
"version": "1.0.0-alpha.1"

4481
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,4 +7,4 @@ docker run \
-w "/srv/www" \
-v "$(pwd)":/srv/www \
-v ~/.ssh:/root/.ssh \
harbor.luxcreo.cn/library/hyperf:8.0-swoole /bin/ash
harbor.luxcreo.cn/library/hyperf:8.1-swoole /bin/ash