Skip to content

Commit d8cc254

Browse files
authored
feat(gatsby-source-wordpress): support wp-graphql@2 (#39263)
* fix: upgrade wordpress and wordpress plugins keeping wp-graphql on latest v1 * feat: support wp-graphql@2 * chore: format comment
1 parent dae8081 commit d8cc254

File tree

17 files changed

+12604
-11265
lines changed

17 files changed

+12604
-11265
lines changed

integration-tests/gatsby-source-wordpress/.env.test

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
WPGRAPHQL_VERSION=v1.13.4
2-
WPGATSBY_VERSION=v2.3.2
3-
WPGRAPHQL_ACF_VERSION=v0.5.3
1+
WPGRAPHQL_VERSION=v2.1.1
2+
WPGATSBY_VERSION=v2.3.3
3+
WPGRAPHQL_ACF_VERSION=v2.4.1
44
CPT_UI_VERSION=1.11.2
5-
ACF_VERSION=5.8.7
5+
ACF_VERSION=v6.3.12
66
YOAST_SEO_VERSION=18.7
7-
WPGRAPHQL_YOAST_VERSION=v4.17.0
8-
WPGRAPHQL_GUTENBERG_VERSION=v0.3.11
9-
SVG_SUPPORT_VERSION=2.4.2
7+
WPGRAPHQL_YOAST_VERSION=v4.23.2
8+
WPGRAPHQL_CONTENT_BLOCKS_VERSION=v4.8.2
9+
SVG_SUPPORT_VERSION=2.5.14
1010

1111
WPGRAPHQL_URL="http://localhost:8001/graphql"
1212
HTACCESS_USERNAME="admin"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# `gatsby-source-wordpress` integration test
2+
3+
## Tips
4+
5+
### Regenerate backup.sql
6+
7+
If you need to regenerate the `backup.sql` file, you can do so by running the following command:
8+
9+
```bash
10+
mysqldump --port=3306 --host=127.0.0.1 --user=wordpress --password=gtsb-wp-dckr-user --no-tablespaces --skip-extended-insert wordpress > ./docker/seed/backup.sql
11+
```

0 commit comments

Comments
 (0)