Skip to content

Commit e8fb779

Browse files
authored
Merge pull request #339 from wpengine/wpgraphql-debug-extensions-plugin-start
feat: initial wpgraphql-debug-extensions plugin boilerplate
2 parents 65a0767 + 224c0e9 commit e8fb779

36 files changed

+13449
-0
lines changed

plugins/composer-packages.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,34 @@
132132
}
133133
}
134134
},
135+
"wpengine/wpgraphql-debug-extensions": {
136+
"0.0.1": {
137+
"name": "wpengine/wpgraphql-debug-extensions",
138+
"version": "0.0.1",
139+
"type": "wordpress-plugin",
140+
"description": "A WordPress plugin for wpgraphql debug extensions.",
141+
"homepage": "https://github.com/wpengine/hwptoolkit",
142+
"license": "GPL-2.0",
143+
"authors": [
144+
{
145+
"name": "WP Engine Headless OSS Development Team",
146+
"email": "[email protected]",
147+
"homepage": "https://wpengine.com/"
148+
}
149+
],
150+
"support": {
151+
"issues": "https://github.com/wpengine/hwptoolkit/issues",
152+
"email": "[email protected]"
153+
},
154+
"dist": {
155+
"url": "https://github.com/wpengine/hwptoolkit/releases/download/%40wpengine%2Fwpgraphql-debug-extensions-plugin-0.0.1/wpgraphql-debug-extensions.zip",
156+
"type": "zip"
157+
},
158+
"require": {
159+
"composer/installers": "~1.0 || ~2.0"
160+
}
161+
}
162+
},
135163
"wpengine/wp-graphql-webhooks": {
136164
"0.0.4": {
137165
"name": "wpengine/wp-graphql-webhooks",
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/.devcontainer
2+
/.git
3+
/.github
4+
/.idea
5+
/.log
6+
/.vscode
7+
/.wordpress-org
8+
/bin
9+
/docker
10+
/docker-output
11+
/docs
12+
/img
13+
/phpstan
14+
/plugin-build
15+
/tests
16+
17+
.coveralls.yml
18+
.distignore
19+
.dockerignore
20+
.DS_Store
21+
.env
22+
.env.dist
23+
.gitattributes
24+
.gitignore
25+
.phpcs.xml
26+
.phpcs.xml.dist
27+
.travis.yml
28+
CHANGELOG.md
29+
codeception.dist.yml
30+
codeception.yml
31+
composer.json
32+
composer.lock
33+
docker-compose.yml
34+
phpstan.neon.dist
35+
README.md
36+
schema.graphql
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
indent_size = 4
13+
tab_width = 4
14+
indent_style = tab
15+
insert_final_newline = true
16+
trim_trailing_whitespace = true
17+
18+
[*.txt]
19+
trim_trailing_whitespace = false
20+
21+
[*.{md,json,yml}]
22+
trim_trailing_whitespace = false
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.json]
27+
indent_style = tab
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
DB_NAME=wordpress
2+
DB_HOST=app_db
3+
DB_USER=wordpress
4+
DB_PASSWORD=wordpress
5+
WP_TABLE_PREFIX=wp_
6+
WP_URL=http://localhost
7+
WP_DOMAIN=localhost
8+
9+
ADMIN_USERNAME=admin
10+
ADMIN_PASSWORD=root
11+
ADMIN_PATH=/wp-admin
12+
13+
TEST_DB_NAME=wptests
14+
TEST_DB_HOST=127.0.0.1
15+
TEST_DB_USER=root
16+
TEST_DB_PASSWORD=
17+
TEST_WP_TABLE_PREFIX=wp_
18+
19+
SKIP_DB_CREATE=false
20+
TEST_WP_ROOT_FOLDER=/tmp/wordpress
21+
22+
23+
TESTS_DIR=tests
24+
TESTS_OUTPUT=tests/_output
25+
TESTS_DATA=tests/_data
26+
TESTS_SUPPORT=tests/_support
27+
TESTS_ENVS=tests/_envs
28+
29+
CORE_BRANCH=develop
30+
SKIP_TESTS_CLEANUP=1
31+
SUITES=wpunit
32+
33+
WORDPRESS_DB_HOST=${DB_HOST}
34+
WORDPRESS_DB_USER=${DB_USER}
35+
WORDPRESS_DB_PASSWORD=${DB_PASSWORD}
36+
WORDPRESS_DB_NAME=${DB_NAME}
37+
38+
PLUGIN_SLUG=wp-graphql-debug-extensions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
/.github export-ignore
3+
/assets export-ignore
4+
/bin export-ignore
5+
/docker export-ignore
6+
/docs export-ignore
7+
/phpstan export-ignore
8+
/tests export-ignore
9+
/wpgraphql-debug-extensions export-ignore
10+
11+
/.coveralls export-ignore
12+
/.distignore export-ignore
13+
/.dockerignore export-ignore
14+
/.env.dist export-ignore
15+
/.gitattributes export-ignore
16+
/.gitignore export-ignore
17+
/.phpcs.xml.dist export-ignore
18+
/composer.lock export-ignore
19+
/phpstan.neon.dist export-ignore
20+
/phpunit.xml.dist export-ignore
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Hidden files
2+
.DS_Store
3+
Thumbs.db
4+
5+
# IDE Files
6+
.devcontainer/*
7+
.devcontainer.json
8+
.vscode
9+
.idea
10+
11+
# Environment variables for testing
12+
.env
13+
.env.*
14+
!.env.dist
15+
16+
# Ruleset Overrides
17+
phpcs.xml
18+
phpunit.xml
19+
phpstan.neon
20+
21+
# Directory to generate the dist zipfile
22+
plugin-build
23+
24+
# Composer auth
25+
auth.json
26+
27+
# Composer deps
28+
vendor
29+
30+
# NPM deps
31+
node_modules
32+
33+
# Generated Schema used in some tooling. Versioned Schema is uploaded as a Release artifact to Github.
34+
schema.graphql
35+
36+
# WP CLI config overrides
37+
wp-cli.local.yml
38+
39+
# Tests
40+
*.sql
41+
*.tar.gz
42+
!tests
43+
tests/*.suite.yml
44+
coverage/*
45+
build/
46+
.log/
47+
48+
# Cache
49+
phpcs-cache.json

0 commit comments

Comments
 (0)