Added yii\composer\Installer::postCreateProject()
and modified the syntax of calling installer methods in composer.json [skip ci]
This commit is contained in:
parent
58842e3a24
commit
d2840ad8fc
@ -25,25 +25,26 @@
|
|||||||
"yiisoft/yii2-gii": "*",
|
"yiisoft/yii2-gii": "*",
|
||||||
"yiisoft/yii2-faker": "*"
|
"yiisoft/yii2-faker": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"post-create-project-cmd": [
|
|
||||||
"yii\\composer\\Installer::setPermission",
|
|
||||||
"yii\\composer\\Installer::generateCookieValidationKey"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"process-timeout": 1800
|
"process-timeout": 1800
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"yii\\composer\\Installer::postCreateProject"
|
||||||
|
]
|
||||||
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"writable": [
|
"yii\\composer\\Installer::postCreateProject": {
|
||||||
"runtime",
|
"setPermission": [
|
||||||
"web/assets"
|
{
|
||||||
|
"runtime": "0777",
|
||||||
|
"web/assets": "0777",
|
||||||
|
"yii": "0755"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"executable": [
|
"generateCookieValidationKey": [
|
||||||
"yii"
|
|
||||||
],
|
|
||||||
"config": [
|
|
||||||
"config/web.php"
|
"config/web.php"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user