Skip to content

chore: wp-graphql-webhooks -> wpgraphql-webhooks #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ WORDPRESS_DB_USER=${DB_USER}
WORDPRESS_DB_PASSWORD=${DB_PASSWORD}
WORDPRESS_DB_NAME=${DB_NAME}

PLUGIN_SLUG=wp-graphql-webhooks
PLUGIN_SLUG=wpgraphql-webhooks
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/docs export-ignore
/phpstan export-ignore
/tests export-ignore
/wp-graphql-webhooks export-ignore
/wpgraphql-webhooks export-ignore

/.coveralls export-ignore
/.distignore export-ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>Sniffs for the WPGraphQL plugin ecosystem </description>

<!-- What to scan: include any root-level PHP files, and the /src folder -->
<file>./wp-graphql-webhooks.php</file>
<file>./wpgraphql-webhooks.php</file>
<file>./activation.php</file>
<file>./deactivation.php</file>
<file>./src/</file>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ setup_file_permissions() {

setup_plugin() {
if [ "${SKIP_WP_SETUP}" = "true" ]; then
echo -e "$(warning_message "Skipping wp-graphql--webhooks installation...")"
echo -e "$(warning_message "Skipping wpgraphql--webhooks installation...")"
return 0
fi

# Add this repo as a plugin to the repo
if [ ! -d $WORDPRESS_ROOT_DIR/wp-content/plugins/wp-graphql-webhooks ]; then
if [ ! -d $WORDPRESS_ROOT_DIR/wp-content/plugins/wpgraphql-webhooks ]; then
echo -e "$(status_message "Symlinking the plugin to the WordPress plugins directory...")"

cd "$ORIGINAL_PATH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ else
echo -e "${YELLOW}⚠ readme.txt not found${NC}"
fi

# Update wp-graphql-webhooks.php
PLUGIN_FILE="wp-graphql-webhooks.php"
# Update wpgraphql-webhooks.php
PLUGIN_FILE="wpgraphql-webhooks.php"

if [ -f "$PLUGIN_FILE" ]; then
echo "Updating main plugin file: $PLUGIN_FILE..."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "wpengine/wp-graphql-webhooks",
"name": "wpengine/wpgraphql-webhooks",
"description": "Headless webhooks for WPGraphQL",
"type": "library",
"license": "GPL-2.0",
Expand Down
Loading