+ ADD CI/CD

This commit is contained in:
felegy
2025-08-29 11:44:13 +00:00
parent 696fb9b22c
commit cc84f76490
7 changed files with 352 additions and 153 deletions

View File

@@ -22,7 +22,12 @@
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
"bedrock",
"composer",
"roots",
"wordpress",
"wp",
"wp-config"
],
"support": {
"issues": "https://github.com/roots/bedrock/issues",
@@ -32,11 +37,14 @@
{
"type": "composer",
"url": "https://wpackagist.org",
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
},
{
"type": "vcs",
"url": "https://github.com/hvg-dev/hvg-blog-general"
"type": "vcs",
"url": "https://github.com/hvg-dev/hvg-blog-general"
}
],
"require": {
@@ -71,12 +79,11 @@
"wpackagist-plugin/menu-image": "^3.13",
"wpackagist-plugin/code-snippets": "^3.6",
"wpackagist-plugin/saml-sso-wp-single-sign-on": "^1.4"
},
"require-dev": {
"heroku/heroku-buildpack-php": "*",
"roave/security-advisories": "dev-latest",
"laravel/pint": "^1.18"
"squizlabs/php_codesniffer": "^3.7.1",
"roave/security-advisories": "dev-latest"
},
"config": {
"optimize-autoloader": true,
@@ -90,15 +97,20 @@
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
"web/app/mu-plugins/{$name}/": [
"type:wordpress-muplugin"
],
"web/app/plugins/{$name}/": [
"type:wordpress-plugin"
],
"web/app/themes/{$name}/": [
"type:wordpress-theme"
]
},
"wordpress-install-dir": "web/wp"
},
"scripts": {
"project-init": "php -v",
"lint": "pint --test",
"lint:fix": "pint"
"test": "phpcs",
"project-init": "php -v"
}
}