build(composer): 限制 flysystem-oss 的版本

This commit is contained in:
李东云
2023-04-07 16:15:33 +08:00
parent c2b56cf978
commit 3c5b77dda6

View File

@@ -40,7 +40,7 @@
"hyperf/snowflake": "~2.2.0", "hyperf/snowflake": "~2.2.0",
"hyperf/validation": "~2.2.0", "hyperf/validation": "~2.2.0",
"nette/php-generator": "^3.4", "nette/php-generator": "^3.4",
"xxtime/flysystem-aliyun-oss": "^1.5", "xxtime/flysystem-aliyun-oss": "~1.5",
"yadakhov/insert-on-duplicate-key": "^1.2", "yadakhov/insert-on-duplicate-key": "^1.2",
"zoujingli/ip2region": "^1.0" "zoujingli/ip2region": "^1.0"
}, },
@@ -104,5 +104,27 @@
"prefer-stable": true, "prefer-stable": true,
"config": { "config": {
"sort-packages": true "sort-packages": true
},
"scripts": {
"post-root-package-install": [],
"test": "vendor/bin/pest $1",
"cs-fix": "vendor/bin/php-cs-fixer fix $1 --rules=@PSR12 --allow-risky=yes",
"analyse": "vendor/bin/phpstan analyse $1",
"ci": [
"@analyse publish/ src/ tests/",
"@cs-fix",
"@test --ci",
"echo CI Success"
]
},
"repositories": {
"lux-map": {
"type": "composer",
"url": "https://satis.luxcreo.cn/"
},
"packagist": {
"type": "composer",
"url": "https://mirrors.cloud.tencent.com/composer/"
}
} }
} }