From b6d944a1c5e6175afb8cf38f6cce73c7d76019b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=88=D0=B0?= Date: Sun, 26 Mar 2023 00:33:30 +0600 Subject: [PATCH] Add requeries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавил зависимости, что бы наглядно было видно, как их добавлять --- _build/build.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_build/build.php b/_build/build.php index c24dd11..58df6f7 100644 --- a/_build/build.php +++ b/_build/build.php @@ -733,6 +733,12 @@ public function process() 'changelog' => file_get_contents($this->config['core'] . 'docs/changelog.txt'), 'license' => file_get_contents($this->config['core'] . 'docs/license.txt'), 'readme' => file_get_contents($this->config['core'] . 'docs/readme.txt'), + 'requires' => [ + 'php' => '>=7.0.0', + 'modx' => '<3.0.0', + //'MIGX' => '>=1.0.0', //Example add package + //'translit' => '>=1.0.0-beta', //Example add package + ], ]); $this->modx->log(modX::LOG_LEVEL_INFO, 'Added package attributes and setup options.');