Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from pana1990/17-switch-asset-packagist.org
Browse files Browse the repository at this point in the history
Fix #17
  • Loading branch information
tonydspaniard committed Jul 26, 2017
2 parents 53b6df2 + ec526de commit e4ff4e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -77,7 +77,6 @@ If you do not have Composer, you may install it by following the instructions at
You can then install this project template using the following command:

```
php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project --prefer-dist --stability=dev 2amigos/yii2-app-template your-site-name
```

Expand Down Expand Up @@ -111,7 +110,7 @@ web root so you will be able to run your functional and acceptance tests:
composer start-test-server
```

Then tests can be executeb by running:
Then tests can be execute by running:

```
composer exec codecept run
Expand Down
17 changes: 6 additions & 11 deletions composer.json
Expand Up @@ -71,6 +71,12 @@
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
Expand All @@ -86,17 +92,6 @@
"preferred-install": {
"sidekit/*": "source",
"*": "auto"
},
"fxp-asset": {
"installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
},
"vcs-driver-options": {
"github-no-api": true
},
"git-skip-update": "2 days",
"pattern-skip-version": "(-build|-patch)"
}
}
}
5 changes: 5 additions & 0 deletions config/web/app.php
Expand Up @@ -26,4 +26,9 @@
'language' => ConfigKit::env()->get('APP_LANGUAGE'),

'bootstrap' => ['log'],

'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
]
];

0 comments on commit e4ff4e6

Please sign in to comment.