Skip to content

Commit a78dd0b

Browse files
committed
- replace wp-graphql-acf with wpgraphql-acf
1 parent a6c0a38 commit a78dd0b

File tree

13 files changed

+58
-58
lines changed

13 files changed

+58
-58
lines changed

.env.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ MYSQL_PASSWORD=${DB_PASSWORD}
3939
WP_VERSION=6.1
4040
PHP_VERSION=8.0
4141
WPGRAPHQL_VERSION=latest
42-
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wp-graphql-acf/tests/_data
42+
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wpgraphql-acf/tests/_data
4343

4444
# Define the version of ACF to test with
4545
ACF_VERSION="latest"

.env.testing.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ MYSQL_PASSWORD=${DB_PASSWORD}
6464
WP_VERSION=6.1
6565
PHP_VERSION=8.0
6666
WPGRAPHQL_VERSION=latest
67-
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wp-graphql-acf/tests/_data
67+
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wpgraphql-acf/tests/_data
6868
DOCKER_REGISTRY=ghcr.io/wp-graphql/
6969

7070
# Define the test suites to run

.github/workflows/schema-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
echo "Previous tagged schema ${{ steps.get-latest-tag.outputs.tag }}"
7878
7979
- name: Get Previous Released Schema
80-
run: curl 'https://github.com/wp-graphql/wp-graphql-acf-2/releases/download/${{ steps.get-latest-tag.outputs.tag }}/schema.graphql' -L --output /tmp/${{ steps.get-latest-tag.outputs.tag }}.graphql
80+
run: curl 'https://github.com/wp-graphql/wpgraphql-acf/releases/download/${{ steps.get-latest-tag.outputs.tag }}/schema.graphql' -L --output /tmp/${{ steps.get-latest-tag.outputs.tag }}.graphql
8181

8282
# https://github.com/marketplace/actions/graphql-inspector
8383
- name: Install Schema Inspector

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## WordPress Site
44

5-
The `app` docker image starts a running WordPress site with the local wp-graphql-acf directory installed and activated. Local changes to the source code is immediately reflects in the app.
5+
The `app` docker image starts a running WordPress site with the local wpgraphql-acf directory installed and activated. Local changes to the source code is immediately reflects in the app.
66

77
1. Build the plugin.
88
1.1 `composer install` or `docker run -v $PWD:/app composer --ignore-platform-reqs install`
@@ -66,7 +66,7 @@ If you have WordPress core files in a directory for local development, you can a
6666
"show_hidden": 1
6767
},
6868
"pathMappings": {
69-
"/var/www/html/wp-content/plugins/wp-graphql-acf": "${workspaceFolder}",
69+
"/var/www/html/wp-content/plugins/wpgraphql-acf": "${workspaceFolder}",
7070
"/var/www/html/wp-content/plugins/wp-graphql": "${workspaceFolder}../wp-graphql",
7171
"/var/www/html": "${workspaceFolder}/wordpress",
7272
}

bin/install-test-env.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ install_acf_pro() {
162162

163163
setup_plugin() {
164164
# Add this repo as a plugin to the repo
165-
if [ ! -d $WP_CORE_DIR/wp-content/plugins/wp-graphql-acf ]; then
166-
ln -s $PLUGIN_DIR $WP_CORE_DIR/wp-content/plugins/wp-graphql-acf
165+
if [ ! -d $WP_CORE_DIR/wp-content/plugins/wpgraphql-acf ]; then
166+
ln -s $PLUGIN_DIR $WP_CORE_DIR/wp-content/plugins/wpgraphql-acf
167167
cd $WP_CORE_DIR/wp-content/plugins
168168
pwd
169169
ls
@@ -180,7 +180,7 @@ setup_plugin() {
180180
wp plugin activate wp-graphql
181181

182182
# activate the plugin
183-
wp plugin activate wp-graphql-acf
183+
wp plugin activate wpgraphql-acf
184184

185185
# List the active plugins
186186
wp plugin list

bin/run-docker.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ case "$subcommand" in
6262
a )
6363
echo "Build app"
6464
docker build $BUILD_NO_CACHE -f docker/Dockerfile \
65-
-t wp-graphql-acf:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
65+
-t wpgraphql-acf:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
6666
--build-arg WP_VERSION=${WP_VERSION} \
6767
--build-arg PHP_VERSION=${PHP_VERSION} \
6868
--build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} \
@@ -71,15 +71,15 @@ case "$subcommand" in
7171
t )
7272
echo "Build app"
7373
docker build $BUILD_NO_CACHE -f docker/Dockerfile \
74-
-t wp-graphql-acf:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
74+
-t wpgraphql-acf:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
7575
--build-arg WP_VERSION=${WP_VERSION} \
7676
--build-arg PHP_VERSION=${PHP_VERSION} \
7777
--build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} \
7878
.
7979
echo "Build testing"
8080
source .env.testing
8181
docker build $BUILD_NO_CACHE -f docker/Dockerfile.testing \
82-
-t wp-graphql-acf-testing:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
82+
-t wpgraphql-acf-testing:${TAG}-wp${WP_VERSION}-php${PHP_VERSION} \
8383
--build-arg WP_VERSION=${WP_VERSION} \
8484
--build-arg PHP_VERSION=${PHP_VERSION} \
8585
--build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} \

codeception.dist.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ settings:
1313
coverage:
1414
enabled: true
1515
remote: false
16-
c3_url: '%WP_URL%/wp-content/plugins/wp-graphql-acf/wp-graphql-acf.php'
16+
c3_url: '%WP_URL%/wp-content/plugins/wpgraphql-acf/wpgraphql-acf.php'
1717
include:
1818
- src/*
1919
exclude:
20-
- wp-graphql-acf.php
20+
- wpgraphql-acf.php
2121
- vendor/*
2222
show_only_summary: false
2323
extensions:
@@ -75,12 +75,12 @@ modules:
7575
- '%ACF_PLUGIN_SLUG%'
7676
- '%ACF_EXTENDED_PLUGIN_SLUG%'
7777
- wp-graphql/wp-graphql.php
78-
- wp-graphql-acf/wp-graphql-acf.php
78+
- wpgraphql-acf/wpgraphql-acf.php
7979
- '%WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_SLUG%'
8080
activatePlugins:
8181
- '%ACF_PLUGIN_SLUG%'
8282
- '%ACF_EXTENDED_PLUGIN_SLUG%'
8383
- wp-graphql/wp-graphql.php
84-
- wp-graphql-acf/wp-graphql-acf.php
84+
- wpgraphql-acf/wpgraphql-acf.php
8585
- '%WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_SLUG%'
8686
configFile: 'tests/_data/config.php'

composer.lock

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ services:
77
build:
88
context: .
99
dockerfile: docker/Dockerfile
10-
image: wp-graphql-acf:latest-wp${WP_VERSION}-php${PHP_VERSION}
10+
image: wpgraphql-acf:latest-wp${WP_VERSION}-php${PHP_VERSION}
1111
volumes:
12-
- '.:/var/www/html/wp-content/plugins/wp-graphql-acf'
12+
- '.:/var/www/html/wp-content/plugins/wpgraphql-acf'
1313
- './.log/app:/var/log/apache2'
1414
env_file:
1515
- .env
@@ -35,11 +35,11 @@ services:
3535
build:
3636
context: .
3737
dockerfile: docker/Dockerfile.testing
38-
image: wp-graphql-acf-testing:latest-wp${WP_VERSION}-php${PHP_VERSION}
38+
image: wpgraphql-acf-testing:latest-wp${WP_VERSION}-php${PHP_VERSION}
3939
volumes:
40-
- '.:/var/www/html/wp-content/plugins/wp-graphql-acf'
40+
- '.:/var/www/html/wp-content/plugins/wpgraphql-acf'
4141
- './.log/testing:/var/log/apache2'
42-
- './codeception.dist.yml:/var/www/html/wp-content/plugins/wp-graphql-acf/codeception.yml'
42+
- './codeception.dist.yml:/var/www/html/wp-content/plugins/wpgraphql-acf/codeception.yml'
4343
env_file:
4444
- .env.testing
4545
environment:

docker/Dockerfile.testing

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ FROM ${DOCKER_REGISTRY:-}wp-graphql-testing:latest-wp${WP_VERSION}-php${PHP_VERS
99
RUN cp /usr/local/bin/app-setup.sh /usr/local/bin/original-app-setup.sh
1010
COPY docker/app.setup.sh /usr/local/bin/app-setup.sh
1111

12-
ENV PROJECT_DIR="${PLUGINS_DIR}/wp-graphql-acf"
12+
ENV PROJECT_DIR="${PLUGINS_DIR}/wpgraphql-acf"
1313

14-
RUN echo "pcov.directory = /var/www/html/wp-content/plugins/wp-graphql-acf" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
14+
RUN echo "pcov.directory = /var/www/html/wp-content/plugins/wpgraphql-acf" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini

0 commit comments

Comments
 (0)