Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for wedrix/watchtower-bundle v2 #1563

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion wedrix/watchtower-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"bundles": {
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"]
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"],
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
Expand Down
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'
9 changes: 9 additions & 0 deletions wedrix/watchtower-bundle/2.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bundles": {
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"],
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
Loading