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