Skip to content

Commit

Permalink
Merge pull request #72 from spacedmonkey/fix/rich-text
Browse files Browse the repository at this point in the history
Add support for rich-text type
  • Loading branch information
spacedmonkey authored Apr 18, 2024
2 parents c297137 + 93f274c commit e796fc0
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 2,984 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploytowp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '7.0'
coverage: none
tools: composer

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-unit-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jobs:
php-version: '8.0'
tools: composer

- name: Install prefixed dependencies
run: |
composer install --prefer-dist --no-suggest --no-progress --no-interaction
rm -rf vendor/*
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '7.0'
coverage: none
tools: composer, cs2pr

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ phpcs.xml
phpunit.xml
Thumbs.db
wp-cli.local.yml
composer.lock
node_modules/
vendor/
.idea/
Expand Down
33 changes: 14 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
{
"name": "spacedmonkey/wp-rest-blocks",
"type": "wordpress-plugin",
"description": "Add gutenberg blocks data into post / page / widget REST API endpoints.",
"homepage": "http://wp-api.org/",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Jonny Harris",
"homepage": "https://www.spacedmonkey.com/"
}
],
"homepage": "http://wp-api.org/",
"support": {
"issues": "https://github.com/spacedmonkey/wp-rest-blocks/issues"
},
"require": {
"composer/installers": "^1.10",
"php": "^7.0 || ^8.0",
"composer/installers": "^1.10",
"tburry/pquery": "^1.1"
},
"config": {
"discard-changes": true,
"platform": {
"php": "7.0"
},
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.6",
"wp-coding-standards/wpcs": "^3.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"yoast/wp-test-utils": "^1.0.0"
"sirbrillig/phpcs-variable-analysis": "^2.11",
"wp-coding-standards/wpcs": "^3.0",
"yoast/wp-test-utils": "^1.2.0"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"discard-changes": true,
"sort-packages": true
},
"scripts": {
"phpcbf": "phpcbf",
Expand Down
Loading

0 comments on commit e796fc0

Please sign in to comment.