Skip to content

Commit b850cba

Browse files
committed
renamed configs web, console <- hisite, hidev
1 parent ace352d commit b850cba

File tree

4 files changed

+51
-41
lines changed

4 files changed

+51
-41
lines changed

Diff for: composer.json

+4-8
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,10 @@
6666
"extra": {
6767
"config-plugin": {
6868
"params": "src/config/params.php",
69-
"hisite": [
70-
"src/config/common.php",
71-
"src/config/hisite.php"
72-
],
73-
"hidev": [
74-
"src/config/common.php",
75-
"src/config/hidev.php"
76-
]
69+
"common": "src/config/common.php",
70+
"console": "src/config/console.php",
71+
"hidev": "src/config/hidev.php",
72+
"web": "src/config/web.php"
7773
}
7874
},
7975
"repositories": [

Diff for: src/config/console.php

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
/**
3+
* Asset Packagist.
4+
*
5+
* @link https://github.com/hiqdev/asset-packagist
6+
* @package asset-packagist
7+
* @license BSD-3-Clause
8+
* @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
9+
*/
10+
11+
return [
12+
'bootstrap' => ['log'],
13+
'controllerMap' => [
14+
'asset-package' => [
15+
'class' => \hiqdev\assetpackagist\console\AssetPackageController::class,
16+
],
17+
'bower-package' => [
18+
'class' => \hiqdev\assetpackagist\console\BowerPackageController::class,
19+
],
20+
'queue' => [
21+
'class' => \hiqdev\assetpackagist\console\QueueController::class,
22+
],
23+
'maintenance' => [
24+
'class' => \hiqdev\assetpackagist\console\MaintenanceController::class,
25+
],
26+
'migrate' => [
27+
'class' => \yii\console\controllers\MigrateController::class,
28+
'migrationNamespaces' => [
29+
'hiqdev\assetpackagist\migrations',
30+
],
31+
'migrationPath' => null,
32+
],
33+
],
34+
'components' => [
35+
'log' => [
36+
'flushInterval' => 1,
37+
'targets' => [
38+
[
39+
'class' => \hiqdev\assetpackagist\log\StdoutTarget::class,
40+
'categories' => ['hiqdev\assetpackagist\commands\*'],
41+
'exportInterval' => 1,
42+
'logVars' => [],
43+
],
44+
],
45+
],
46+
],
47+
];

Diff for: src/config/hidev.php

-33
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,9 @@
99
*/
1010

1111
return [
12-
'bootstrap' => ['log'],
13-
'controllerMap' => [
14-
'asset-package' => [
15-
'class' => \hiqdev\assetpackagist\console\AssetPackageController::class,
16-
],
17-
'bower-package' => [
18-
'class' => \hiqdev\assetpackagist\console\BowerPackageController::class,
19-
],
20-
'queue' => [
21-
'class' => \hiqdev\assetpackagist\console\QueueController::class,
22-
],
23-
'maintenance' => [
24-
'class' => \hiqdev\assetpackagist\console\MaintenanceController::class,
25-
],
26-
'migrate' => [
27-
'class' => \yii\console\controllers\MigrateController::class,
28-
'migrationNamespaces' => [
29-
'hiqdev\assetpackagist\migrations',
30-
],
31-
'migrationPath' => null,
32-
],
33-
],
3412
'components' => [
3513
'include' => [
3614
__DIR__ . '/goals.yml',
3715
],
38-
'log' => [
39-
'flushInterval' => 1,
40-
'targets' => [
41-
[
42-
'class' => \hiqdev\assetpackagist\log\StdoutTarget::class,
43-
'categories' => ['hiqdev\assetpackagist\commands\*'],
44-
'exportInterval' => 1,
45-
'logVars' => [],
46-
],
47-
],
48-
],
4916
],
5017
];
File renamed without changes.

0 commit comments

Comments
 (0)