Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 3e97b75

Browse files
author
Mateu Aguiló Bosch
committed
feat: upgrade to JSON:API 2.x
1 parent fb4cd7e commit 3e97b75

3 files changed

Lines changed: 8 additions & 14 deletions

File tree

composer.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,18 @@
4949
"require": {
5050
"cweagans/composer-patches": "^1.6.0",
5151
"drupal/admin_toolbar": "^1.23",
52-
"drupal/consumer_image_styles": "^2.0@rc",
53-
"drupal/consumers": "^1.0",
52+
"drupal/consumers": "^1.2",
5453
"drupal/contentajs": "^1.0@beta",
5554
"drupal/core": "^8.6.0",
56-
"drupal/decoupled_router": "^1.0",
55+
"drupal/decoupled_router": "^1.1",
5756
"drupal/dropzonejs": "^2.0@alpha",
5857
"drupal/entity_browser": "^2.0@alpha",
59-
"drupal/graphql": "^3.0@beta",
6058
"drupal/image_widget_crop": "^2.1",
6159
"drupal/inline_entity_form": "^1.0@beta",
62-
"drupal/jsonapi": "^1.23",
63-
"drupal/jsonapi_extras": "^2.9",
60+
"drupal/jsonapi": "^2.0@rc",
61+
"drupal/jsonapi_extras": "^2.11",
6462
"drupal/jsonrpc": "^1.0@beta",
65-
"drupal/material_admin": "1.x-dev",
63+
"drupal/material_admin": "^1.0@alpha",
6664
"drupal/media_entity_browser": "^2.0@alpha",
6765
"drupal/openapi": "^1.0@beta",
6866
"drupal/schemata": "^1.0@alpha",
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
name: Contenta GraphQl
1+
name: Contenta GraphQL
22
type: module
3-
description: GraphQl API (Experimental)
3+
description: GraphQL implementation for Contenta
44
core: 8.x
5-
package: Contenta (Experimental)
6-
dependencies:
7-
- graphql_core

src/Plugin/Contenta/OptionalModule/ContentaGraphQL.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
3333
'#type' => 'item',
3434
'#description' => $this->t(
3535
"Contenta CMS is primarily focused on JSON API. If you want to expose a
36-
GraphQL API consider looking at the @link. If you still want to
37-
install GraphQL inside of Drupal select this module.",
36+
GraphQL API consider looking at the @link.",
3837
['@link' => $link]
3938
),
4039
];

0 commit comments

Comments
 (0)