update: stack structure
This commit is contained in:
+15
-6
@@ -2,8 +2,17 @@
|
||||
"name": "hackeamos-org/wp-project",
|
||||
"type": "project",
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"wpackagist-theme/twentytwentyfive": "*"
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"./scripts/composer-loop.sh ./webroot/wp-content/themes install",
|
||||
"./scripts/composer-loop.sh ./webroot/wp-content/plugins install"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"./scripts/composer-loop.sh ./webroot/wp-content/themes update",
|
||||
"./scripts/composer-loop.sh ./webroot/wp-content/plugins update"
|
||||
]
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
@@ -16,13 +25,13 @@
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"wordpress-install-dir": "app",
|
||||
"wordpress-install-dir": "webroot",
|
||||
"installer-paths": {
|
||||
"app/plugins/{$name}/": [
|
||||
"webroot/plugins/{$name}/": [
|
||||
"type:wordpress-plugin",
|
||||
"type:wpackagist-plugin"
|
||||
],
|
||||
"app/themes/{$name}/": [
|
||||
"webroot/themes/{$name}/": [
|
||||
"type:wordpress-theme",
|
||||
"type:wpackagist-theme"
|
||||
]
|
||||
@@ -33,4 +42,4 @@
|
||||
"composer/installers": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user