This repository was archived by the owner on Feb 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## Unreleased
9
9
10
+ ## v2.3.0
11
+
12
+ ### Changed
13
+
14
+ - Namespace tags for ` php artisan vendor:publish ` under ` graphql-playground- ` prefix
15
+
10
16
## v2.2.1
11
17
12
18
### Fixed
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ and assumes a running GraphQL endpoint at `/graphql`.
28
28
29
29
To change the defaults, publish the configuration with the following command:
30
30
31
- php artisan vendor:publish --provider="MLL\GraphQLPlayground\GraphQLPlaygroundServiceProvider" --tag= config
31
+ php artisan vendor:publish --tag=graphql-playground- config
32
32
33
33
You will find the configuration file at ` config/graphql-playground.php ` .
34
34
@@ -43,7 +43,7 @@ $app->configure('graphql-playground');
43
43
44
44
To customize the Playground even further, publish the view:
45
45
46
- php artisan vendor:publish --provider="MLL\GraphQLPlayground\GraphQLPlaygroundServiceProvider" --tag= views
46
+ php artisan vendor:publish --tag=graphql-playground- views
47
47
48
48
You can use that for all kinds of customization.
49
49
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ public function boot(ConfigRepository $config): void
26
26
27
27
$ this ->publishes ([
28
28
self ::CONFIG_PATH => $ this ->configPath ('graphql-playground.php ' ),
29
- ], 'config ' );
29
+ ], 'graphql-playground- config ' );
30
30
31
31
$ this ->publishes ([
32
32
self ::VIEW_PATH => $ this ->resourcePath ('views/vendor/graphql-playground ' ),
33
- ], 'views ' );
33
+ ], 'graphql-playground-view ' );
34
34
35
35
if (! $ config ->get ('graphql-playground.enabled ' , true )) {
36
36
return ;
You can’t perform that action at this time.
0 commit comments