Skip to content

Commit

Permalink
Add recipe for watchtower-symfony-bundle v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wedrix committed Nov 11, 2023
1 parent ba61c00 commit 871aa04
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wedrix_watchtower_bundle_routes:
resource: '@WedrixWatchtowerBundle/config/routes.yaml'
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions wedrix/watchtower-bundle/2.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

0 comments on commit 871aa04

Please sign in to comment.