mirror of
https://github.com/elyby/accounts.git
synced 2024-12-26 07:09:46 +05:30
Удалён composer-asset-plugin в пользу использования нативного asset packagist registry
This commit is contained in:
parent
61ea766fca
commit
73d07f355a
@ -46,7 +46,8 @@ RUN yes | pecl install xdebug \
|
||||
# Next composer and global composer package, as their versions may change from time to time
|
||||
RUN curl -sS https://getcomposer.org/installer | php \
|
||||
&& mv composer.phar /usr/local/bin/composer.phar \
|
||||
&& composer.phar global require --no-progress "fxp/composer-asset-plugin:~1.1.4" "hirak/prestissimo:>=0.3.1"
|
||||
&& echo '{"github-oauth": {"github.com": "***REMOVED***"}}' > ~/.composer/auth.json \
|
||||
&& composer.phar global require --no-progress "hirak/prestissimo:>=0.3.1"
|
||||
|
||||
COPY ./docker/php/composer.sh /usr/local/bin/composer
|
||||
RUN chmod a+x /usr/local/bin/composer
|
||||
|
@ -23,4 +23,8 @@ return [
|
||||
'class' => \common\components\RabbitMQ\Component::class,
|
||||
],
|
||||
],
|
||||
'aliases' => [
|
||||
'@bower' => '@vendor/bower-asset',
|
||||
'@npm' => '@vendor/npm-asset',
|
||||
],
|
||||
];
|
||||
|
@ -36,21 +36,15 @@
|
||||
"codeception/verify": "*",
|
||||
"phploc/phploc": "^3.0.1"
|
||||
},
|
||||
"provide": {
|
||||
"bower-asset/jquery": "*",
|
||||
"bower-asset/jquery.inputmask": "*",
|
||||
"bower-asset/punycode": "*",
|
||||
"bower-asset/yii2-pjax": "*"
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 1800
|
||||
},
|
||||
"extra": {
|
||||
"asset-installer-paths": {
|
||||
"npm-asset-library": "vendor/npm",
|
||||
"bower-asset-library": "vendor/bower"
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
"url": "https://asset-packagist.org"
|
||||
}
|
||||
},
|
||||
],
|
||||
"scripts": {
|
||||
"build-tests" : "cd tests && codecept build",
|
||||
"test" : "codecept run -c tests",
|
||||
|
Loading…
Reference in New Issue
Block a user