Added recipe for wedrix/watchtower-bundle v2 (#1567)

This commit is contained in:
James Wedam Anewenah
2024-01-01 21:13:12 +00:00
committed by GitHub
parent c439704651
commit bb51dc1a03
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
wedrix_watchtower:
endpoint: '/graphql.json'
schema_file: '%kernel.project_dir%/config/watchtower/schema.graphql'
plugins_directory: '%kernel.project_dir%/config/watchtower/plugins'
scalar_type_definitions_directory: '%kernel.project_dir%/config/watchtower/scalar_type_definitions'
cache_directory: '%kernel.project_dir%/var/cache/watchtower'
optimize: false
debug: true
context:
# Register services here to access them in the context param.
# The service key can be any name of your choosing but the value should be the service id.
# For example: entity_manager: 'doctrine.orm.entity_manager'
entity_manager: 'doctrine.orm.entity_manager'
when@prod:
wedrix_watchtower:
optimize: true
debug: false

View File

@@ -0,0 +1,2 @@
wedrix_watchtower_bundle_routes:
resource: '@WedrixWatchtowerBundle/config/routes.yaml'

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}