Skip to content
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

Plugin: Implement block registering API #289

Merged
merged 24 commits into from
Mar 22, 2017
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8b8488c
Plugin: Implement block registering API
youknowriad Mar 17, 2017
203c2ba
Changes per review
youknowriad Mar 17, 2017
dfa146d
Remove namespace from PHP `register_block` stub
nylen Mar 17, 2017
e09b932
Add .nvmrc
nylen Mar 17, 2017
f81c876
Ignore yarn.lock
nylen Mar 17, 2017
9306751
Tweak docblock
nylen Mar 17, 2017
99b5fc3
Move block name validation to a separate function
nylen Mar 17, 2017
dd6e008
Add babel-plugin-transform-runtime
nylen Mar 17, 2017
43f241e
Add Mocha unit tests
nylen Mar 17, 2017
1fc3651
Bring back "modules": false to .babelrc
nylen Mar 17, 2017
3879318
Whitespace fix
nylen Mar 17, 2017
6e9986e
Rename "name" to "slug"
nylen Mar 17, 2017
086f993
- Using the env to config webpack for tests
youknowriad Mar 20, 2017
a7c6660
Fix tests after rebase
youknowriad Mar 20, 2017
59d3ea0
Add each submodule as modules root
aduth Mar 20, 2017
ee2b07f
Merge branch 'master' into update/implement-block-registering
youknowriad Mar 21, 2017
7482ebc
Plugin: Fix test runner. Use babel-register instead of mocha-webpack
youknowriad Mar 21, 2017
bce66e9
Remove unused dependency
aduth Mar 21, 2017
0f1ea2a
Avoid assigning globals
aduth Mar 21, 2017
a512271
Add `unregisterBlock` and resulting improvements:
nylen Mar 21, 2017
3f3469e
Remove .tmp from .gitignore
nylen Mar 21, 2017
65066e1
Exclude node modules from Webpack JS rules
aduth Mar 22, 2017
b95c775
Fix lint issues and correctly setup the `npm test` command
youknowriad Mar 22, 2017
e5f72ca
Fix registering the example text block
youknowriad Mar 22, 2017
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
Prev Previous commit
Next Next commit
Exclude node modules from Webpack JS rules
  • Loading branch information
aduth committed Mar 22, 2017
commit 65066e1679af1b7fafe794124b283317954a9a1a
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const config = {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: 'babel-loader'
},
{
Expand Down