Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 81a557c

Browse files
committed
Namespace tags for php artisan vendor:publish under graphql-playground- prefix
Resolves #40
1 parent e852748 commit 81a557c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## v2.3.0
11+
12+
### Changed
13+
14+
- Namespace tags for `php artisan vendor:publish` under `graphql-playground-` prefix
15+
1016
## v2.2.1
1117

1218
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and assumes a running GraphQL endpoint at `/graphql`.
2828

2929
To change the defaults, publish the configuration with the following command:
3030

31-
php artisan vendor:publish --provider="MLL\GraphQLPlayground\GraphQLPlaygroundServiceProvider" --tag=config
31+
php artisan vendor:publish --tag=graphql-playground-config
3232

3333
You will find the configuration file at `config/graphql-playground.php`.
3434

@@ -43,7 +43,7 @@ $app->configure('graphql-playground');
4343

4444
To customize the Playground even further, publish the view:
4545

46-
php artisan vendor:publish --provider="MLL\GraphQLPlayground\GraphQLPlaygroundServiceProvider" --tag=views
46+
php artisan vendor:publish --tag=graphql-playground-views
4747

4848
You can use that for all kinds of customization.
4949

src/GraphQLPlaygroundServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ public function boot(ConfigRepository $config): void
2626

2727
$this->publishes([
2828
self::CONFIG_PATH => $this->configPath('graphql-playground.php'),
29-
], 'config');
29+
], 'graphql-playground-config');
3030

3131
$this->publishes([
3232
self::VIEW_PATH => $this->resourcePath('views/vendor/graphql-playground'),
33-
], 'views');
33+
], 'graphql-playground-view');
3434

3535
if (! $config->get('graphql-playground.enabled', true)) {
3636
return;

0 commit comments

Comments
 (0)