mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
feat:允许模块更新 composer.json 的 config
This commit is contained in:
parent
3afca5351d
commit
8437fe4a9d
@ -701,6 +701,13 @@ class Manage
|
|||||||
$npm = false;
|
$npm = false;
|
||||||
$composer = false;
|
$composer = false;
|
||||||
$nuxtNpm = false;
|
$nuxtNpm = false;
|
||||||
|
|
||||||
|
// composer config 更新
|
||||||
|
$composerConfig = Server::getConfig($this->modulesDir, 'composerConfig');
|
||||||
|
if ($composerConfig) {
|
||||||
|
$serverDep->setComposerConfig($composerConfig);
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($depends as $key => $item) {
|
foreach ($depends as $key => $item) {
|
||||||
if (!$item) {
|
if (!$item) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user