update: stack structure

This commit is contained in:
2026-04-23 09:53:10 -03:00
parent ee431c79df
commit 9892f2caf5
9 changed files with 20634 additions and 26 deletions
+15 -6
View File
@@ -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
}
}
}
}