Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #502 from getblocklab/version-bump-to-1.5.3
Browse files Browse the repository at this point in the history
Version bump to 1.5.3
  • Loading branch information
lukecarbis committed Feb 4, 2020
2 parents 3229ff3 + 4aadc6c commit b8011cc
Show file tree
Hide file tree
Showing 10 changed files with 173 additions and 23 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ node_modules

# Composer
vendor
cghooks.lock

# Tests
tests/data/
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
## Changelog #

### 1.5.2 – 2019-12-02 ###
### 1.5.3 – 2020-01-20 ###

Some UI improvements, bugfixes, and improved stability.

* Fix: Improved import error feedback, and cleaner methods
* Fix: Editor bug from `@wordpress/nux` package being deprecated
* New: Improved stability, including JS tests and query limit
* New: Pre-commit hook to lint only staged files

### 1.5.2 – 2020-02-04 ###

Some small tweaks to the Block Importer and onboarding dialogs.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Block Lab #

Contributors: lukecarbis, ryankienstra, Stino11, rheinardkorf
Tags: Gutenberg, Blocks
Tags: gutenberg, blocks, block editor, fields, template
Requires at least: 5.0
Tested up to: 5.3
Requires PHP: 5.6
Expand Down Expand Up @@ -51,7 +51,7 @@ Block Lab Pro is here, with powerful features to take your block building to the

### Manually ###
* Clone Block Lab into a working directory with `https://github.com/getblocklab/block-lab.git`
* `cd` into the `block-lab` directory, and run `npm install`
* `cd` into the `block-lab` directory, and run `npm install && composer install`
* Next, build the scripts and styles with `npm build`
* Move the `block-lab` folder to your `/wp-content/plugins/` directory
* Activate the Block Lab plugin through the Plugins menu in WordPress
Expand Down
5 changes: 5 additions & 0 deletions bin/pre-commit.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

# Lint staged PHP files
php_files=$( git diff --diff-filter=d --staged --name-only | grep -E '/*\.php$' )
if [ ! -z "$php_files" ]; then
Expand All @@ -15,3 +17,6 @@ if [ ! -z "$js_files" ]; then
exit 1
fi
fi

# Lint package.json
npm run lint:pkg-json
2 changes: 1 addition & 1 deletion block-lab.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: Block Lab
* Plugin URI: https://getblocklab.com
* Description: The easy way to build custom blocks for Gutenberg.
* Version: 1.5.2
* Version: 1.5.3
* Author: Block Lab
* Author URI: https://getblocklab.com
* License: GPL2
Expand Down
10 changes: 0 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,10 @@
},
"require-dev": {
"brain/monkey": "^2",
"brainmaestro/composer-git-hooks": "^2.8",
"dealerdirect/phpcodesniffer-composer-installer": "0.5.0",
"mockery/mockery": "^1.2.4",
"phpcompatibility/phpcompatibility-wp": "2.1.0",
"squizlabs/php_codesniffer": "^3.4",
"wp-coding-standards/wpcs": "2.2.0"
},
"extra": {
"hooks": {
"pre-commit": "bash bin/pre-commit.sh"
}
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
}
}
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ gulp.task( 'clean:bundle', function () {
'package/trunk/Makefile',
'package/trunk/package*.json',
'package/trunk/phpunit.xml',
'package/trunk/phpcs.xml',
'package/trunk/README.md',
'package/trunk/CHANGELOG.md',
'package/trunk/CODE_OF_CONDUCT.md',
'package/trunk/CONTRIBUTING.md',
'package/trunk/webpack.config.js',
'package/trunk/.github',
'package/trunk/cghooks.lock',
'package/prepare',
] );
} );
Expand Down
1 change: 0 additions & 1 deletion js/blocks/helpers/test/registerBlocks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* Internal dependencies
*/
Expand Down
152 changes: 148 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "block-lab",
"title": "Block Lab",
"version": "1.5.2",
"version": "1.5.3",
"description": "WordPress plugin with a simple templating system for building custom blocks.",
"author": "Block Lab",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -51,10 +51,11 @@
"gulp": "^4.0.2",
"gulp-run": "^1.7.1",
"gulp-string-replace": "^1.1.2",
"husky": "^4.0.10",
"jest-silent-reporter": "0.1.2",
"merge-stream": "^2.0.0",
"mini-css-extract-plugin": "0.8.2",
"node-sass": "^4.13.0",
"node-sass": "^4.13.1",
"npm-run-all": "4.1.5",
"postcss-loader": "^3.0.0",
"raw-loader": "^4.0.0",
Expand All @@ -77,6 +78,7 @@
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:php": "vendor/bin/phpcs",
"lint:php:fix": "vendor/bin/phpcbf",
"precommit": "./bin/pre-commit.sh",
"test:js": "wp-scripts test-unit-js --config=tests/js/jest.config.js"
}
}

0 comments on commit b8011cc

Please sign in to comment.