Switched to asset-packagist.org
This commit is contained in:
parent
927398596b
commit
fc2ec7dfee
@ -5,6 +5,7 @@ php:
|
|||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
|
- 7.1
|
||||||
# - hhvm
|
# - hhvm
|
||||||
|
|
||||||
# faster builds on new travis setup not using sudo
|
# faster builds on new travis setup not using sudo
|
||||||
@ -17,7 +18,6 @@ cache:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer self-update && composer --version
|
- travis_retry composer self-update && composer --version
|
||||||
- travis_retry composer global require "fxp/composer-asset-plugin:~1.3.1"
|
|
||||||
- travis_retry composer update --dev --prefer-dist --no-interaction
|
- travis_retry composer update --dev --prefer-dist --no-interaction
|
||||||
# setup application:
|
# setup application:
|
||||||
- |
|
- |
|
||||||
|
@ -46,7 +46,6 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
|
|||||||
You can then install this project template using the following command:
|
You can then install this project template using the following command:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
php composer.phar global require "fxp/composer-asset-plugin:^1.3.1"
|
|
||||||
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
|
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
@ -42,6 +42,12 @@
|
|||||||
"yii\\composer\\Installer::postCreateProject"
|
"yii\\composer\\Installer::postCreateProject"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "composer",
|
||||||
|
"url": "https://asset-packagist.org"
|
||||||
|
}
|
||||||
|
],
|
||||||
"extra": {
|
"extra": {
|
||||||
"yii\\composer\\Installer::postCreateProject": {
|
"yii\\composer\\Installer::postCreateProject": {
|
||||||
"setPermission": [
|
"setPermission": [
|
||||||
|
@ -7,6 +7,10 @@ $config = [
|
|||||||
'id' => 'basic',
|
'id' => 'basic',
|
||||||
'basePath' => dirname(__DIR__),
|
'basePath' => dirname(__DIR__),
|
||||||
'bootstrap' => ['log'],
|
'bootstrap' => ['log'],
|
||||||
|
'aliases' => [
|
||||||
|
'@bower' => '@vendor/bower-asset',
|
||||||
|
'@npm' => '@vendor/npm-asset',
|
||||||
|
],
|
||||||
'components' => [
|
'components' => [
|
||||||
'request' => [
|
'request' => [
|
||||||
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
|
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
|
||||||
|
Loading…
Reference in New Issue
Block a user