mirror of
https://github.com/elyby/accounts.git
synced 2024-11-27 01:02:06 +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
|
# Next composer and global composer package, as their versions may change from time to time
|
||||||
RUN curl -sS https://getcomposer.org/installer | php \
|
RUN curl -sS https://getcomposer.org/installer | php \
|
||||||
&& mv composer.phar /usr/local/bin/composer.phar \
|
&& 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
|
COPY ./docker/php/composer.sh /usr/local/bin/composer
|
||||||
RUN chmod a+x /usr/local/bin/composer
|
RUN chmod a+x /usr/local/bin/composer
|
||||||
|
@ -23,4 +23,8 @@ return [
|
|||||||
'class' => \common\components\RabbitMQ\Component::class,
|
'class' => \common\components\RabbitMQ\Component::class,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'aliases' => [
|
||||||
|
'@bower' => '@vendor/bower-asset',
|
||||||
|
'@npm' => '@vendor/npm-asset',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
@ -36,21 +36,15 @@
|
|||||||
"codeception/verify": "*",
|
"codeception/verify": "*",
|
||||||
"phploc/phploc": "^3.0.1"
|
"phploc/phploc": "^3.0.1"
|
||||||
},
|
},
|
||||||
"provide": {
|
|
||||||
"bower-asset/jquery": "*",
|
|
||||||
"bower-asset/jquery.inputmask": "*",
|
|
||||||
"bower-asset/punycode": "*",
|
|
||||||
"bower-asset/yii2-pjax": "*"
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"process-timeout": 1800
|
"process-timeout": 1800
|
||||||
},
|
},
|
||||||
"extra": {
|
"repositories": [
|
||||||
"asset-installer-paths": {
|
{
|
||||||
"npm-asset-library": "vendor/npm",
|
"type": "composer",
|
||||||
"bower-asset-library": "vendor/bower"
|
"url": "https://asset-packagist.org"
|
||||||
}
|
}
|
||||||
},
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-tests" : "cd tests && codecept build",
|
"build-tests" : "cd tests && codecept build",
|
||||||
"test" : "codecept run -c tests",
|
"test" : "codecept run -c tests",
|
||||||
|
Loading…
Reference in New Issue
Block a user