-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from wp-graphql/issue-31-custom-buttons
Allow registration of custom buttons
- Loading branch information
Showing
25 changed files
with
23,286 additions
and
22,458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
name: WordPress Coding Standards | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
name: PHPCS | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
run: | ||
runs-on: ubuntu-latest | ||
name: PHPCS | ||
strategy: | ||
matrix: | ||
php: [8.1] | ||
|
||
steps: | ||
- name: Cancel previous runs of this workflow (pull requests only) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
steps: | ||
- name: Cancel previous runs of this workflow (pull requests only) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer:v2 | ||
coverage: none | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer:v2 | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
uses: ramsey/composer-install@v2 | ||
with: | ||
composer-options: "--no-progress" | ||
- name: Install dependencies | ||
uses: ramsey/composer-install@v2 | ||
with: | ||
composer-options: '--no-progress' | ||
|
||
- name: Run PHPCS | ||
run: composer run-script check-cs | ||
- name: Run PHPCS | ||
run: composer run-script check-cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Contributing | ||
|
||
## Commands | ||
|
||
### development | ||
|
||
```sh | ||
npm start | ||
``` | ||
|
||
### production | ||
|
||
```sh | ||
npm run build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
{ | ||
"name": "josephfusco/wpgraphql-ide", | ||
"description": "A next-gen query editor for WPGraphQL.", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Joseph Fusco", | ||
"homepage": "https://github.com/josephfusco", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0" | ||
}, | ||
"require-dev": { | ||
"automattic/vipwpcs": "^3.0", | ||
"slevomat/coding-standard": "^8.9", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1", | ||
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9" | ||
}, | ||
"scripts": { | ||
"phpcs-i": [ | ||
"php ./vendor/bin/phpcs -i" | ||
], | ||
"check-cs": [ | ||
"php ./vendor/bin/phpcs" | ||
], | ||
"fix-cs": [ | ||
"php ./vendor/bin/phpcbf" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
"name": "josephfusco/wpgraphql-ide", | ||
"description": "A next-gen query editor for WPGraphQL.", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Joseph Fusco", | ||
"homepage": "https://github.com/josephfusco", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0" | ||
}, | ||
"require-dev": { | ||
"automattic/vipwpcs": "^3.0", | ||
"slevomat/coding-standard": "^8.9", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1", | ||
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9" | ||
}, | ||
"scripts": { | ||
"phpcs-i": [ | ||
"php ./vendor/bin/phpcs -i" | ||
], | ||
"check-cs": [ | ||
"php ./vendor/bin/phpcs" | ||
], | ||
"fix-cs": [ | ||
"php ./vendor/bin/phpcbf" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.