diff --git a/wedrix/watchtower-bundle/1.0/manifest.json b/wedrix/watchtower-bundle/1.0/manifest.json index d47858037..4c9e0c7de 100644 --- a/wedrix/watchtower-bundle/1.0/manifest.json +++ b/wedrix/watchtower-bundle/1.0/manifest.json @@ -1,6 +1,7 @@ { "bundles": { - "Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"] + "Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"], + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" diff --git a/wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml b/wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml new file mode 100644 index 000000000..85c3d19d8 --- /dev/null +++ b/wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml @@ -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 diff --git a/wedrix/watchtower-bundle/2.0/config/routes/wedrix_watchtower_bundle_routes.yaml b/wedrix/watchtower-bundle/2.0/config/routes/wedrix_watchtower_bundle_routes.yaml new file mode 100644 index 000000000..0f2da8037 --- /dev/null +++ b/wedrix/watchtower-bundle/2.0/config/routes/wedrix_watchtower_bundle_routes.yaml @@ -0,0 +1,2 @@ +wedrix_watchtower_bundle_routes: + resource: '@WedrixWatchtowerBundle/config/routes.yaml' diff --git a/wedrix/watchtower-bundle/2.0/manifest.json b/wedrix/watchtower-bundle/2.0/manifest.json new file mode 100644 index 000000000..4c9e0c7de --- /dev/null +++ b/wedrix/watchtower-bundle/2.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"], + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}