Recipe per cloudflare-turnstile-bundle

This commit is contained in:
Giuseppe Fabiano
2025-10-22 11:54:37 +02:00
parent dd32130c09
commit 862ad7ce2b
2 changed files with 45 additions and 0 deletions

View File

@@ -26,6 +26,9 @@
],
"webindustry/meta-api-conversion-bundle": [
"1.0"
],
"webindustry/cloudflare-turnstile-bundle": [
"1.0"
]
},
"branch": "master",

View File

@@ -0,0 +1,42 @@
{
"manifests": {
"webindustry/cloudflare-turnstile-bundle": {
"manifest": {
"bundles": {
"CloudflareTurnstileBundle\\CloudflareTurnstileBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
}
},
"files": {
"config/packages/cloudflare_turnstile.yaml": {
"contents": [
"cloudflare_turnstile:",
" when@prod:",
" cloudflare_turnstile:",
" sites:",
" # site_key: 'not-a-realkey'",
" # site_secret: 'not-a-real-secret'",
" # enabled: true",
" when@dev:",
" cloudflare_turnstile:",
" sites:",
" always_pass:",
" site_key: !php/enum CloudflareTurnstileBundle\\Enum\\DummySiteKey::AlwaysPassVisible->value",
" site_secret: !php/enum CloudflareTurnstileBundle\\Enum\\DummySiteSecret::AlwaysPass->value",
" enabled: true",
" always_block:",
" site_key: !php/enum CloudflareTurnstileBundle\\Enum\\DummySiteKey::AlwaysBlockVisible->value",
" site_secret: !php/enum CloudflareTurnstileBundle\\Enum\\DummySiteSecret::AlwaysBlock->value",
" enabled: true"
],
"executable": false
}
},
"ref": "e48bc8f88657c66575d742e414743145f189e20f"
}
}
}